.page-online-poker {
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-online-poker__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-online-poker__center-text {
  text-align: center;
}

/* Hero Section */
.page-online-poker__hero-section {
  background: linear-gradient(135deg, #F2C14E, #FFD36B);
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
  padding-bottom: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.page-online-poker__hero-content-wrapper {
  display: flex;
  flex-direction: column; /* Default to column for mobile first */
  align-items: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  width: 100%;
}

.page-online-poker__hero-text-content {
  text-align: center;
  max-width: 800px;
}

.page-online-poker__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  color: #0A0A0A; /* Dark background, use dark text for contrast on the light hero gradient */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-online-poker__hero-description {
  font-size: 1.1rem;
  color: #333333; /* Darker text for readability on light background */
  margin-bottom: 30px;
}

.page-online-poker__hero-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-online-poker__hero-image-wrapper {
  width: 100%;
  max-width: 800px;
  margin-top: 30px;
}

.page-online-poker__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

/* General Sections */
.page-online-poker__section {
  padding: 60px 0;
  border-bottom: 1px solid #3A2A12; /* Border */
}

.page-online-poker__dark-bg {
  background-color: #111111; /* Card BG */
  color: #FFF6D6;
}

.page-online-poker__heading {
  font-size: 2.5rem;
  color: #F2C14E; /* Main color for headings */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-online-poker__subheading {
  font-size: 1.5rem;
  color: #FFD36B; /* Auxiliary color for subheadings */
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-online-poker__paragraph {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #FFF6D6; /* Text Main */
}

.page-online-poker__list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-online-poker__list li {
  background-color: #111111; /* Card BG */
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 8px;
  border: 1px solid #3A2A12; /* Border */
  display: flex;
  align-items: flex-start;
  gap: 15px;
  color: #FFF6D6; /* Text Main */
}

.page-online-poker__list li::before {
  content: '★';
  color: #F2C14E; /* Main color */
  font-size: 1.2rem;
  line-height: 1.5;
  flex-shrink: 0;
}

.page-online-poker__list li .page-online-poker__subheading {
  margin: 0;
  color: #FFD36B; /* Auxiliary color */
}

.page-online-poker__image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

/* Buttons */
.page-online-poker__btn-primary,
.page-online-poker__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box; /* Include padding in width calculation */
  max-width: 100%;
  min-width: 180px; /* Ensure buttons are not too small */
  height: auto; /* Allow height to adjust based on content */
}

.page-online-poker__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #0A0A0A; /* Dark text on light button */
  border: none;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-online-poker__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

.page-online-poker__btn-secondary {
  background-color: transparent;
  color: #FFD36B; /* Auxiliary color */
  border: 2px solid #FFD36B; /* Auxiliary color for border */
}

.page-online-poker__btn-secondary:hover {
  background-color: #FFD36B;
  color: #0A0A0A; /* Dark text on light button */
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

.page-online-poker__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* FAQ Section */
.page-online-poker__faq-list {
  margin-top: 30px;
}

.page-online-poker__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-online-poker__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #111111; /* Card BG */
  color: #F2C14E; /* Main color */
  font-weight: bold;
  font-size: 1.2rem;
}

.page-online-poker__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.1);
}

.page-online-poker__faq-title {
  margin: 0;
  color: inherit;
  font-size: 1.2rem;
}

.page-online-poker__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD36B; /* Auxiliary color */
}

.page-online-poker__faq-item.active .page-online-poker__faq-toggle {
  transform: rotate(45deg);
}

.page-online-poker__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
}

.page-online-poker__faq-item.active .page-online-poker__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 20px !important;
}

.page-online-poker__faq-answer .page-online-poker__paragraph {
  margin-bottom: 0;
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-online-poker__hero-content-wrapper {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

  .page-online-poker__hero-text-content {
    text-align: left;
    max-width: 50%;
  }

  .page-online-poker__hero-image-wrapper {
    max-width: 45%;
    margin-top: 0;
  }

  .page-online-poker__hero-cta-buttons {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .page-online-poker__hero-section {
    padding-top: var(--header-offset, 100px) !important; /* Mobile padding for fixed header */
    padding-bottom: 30px;
  }

  .page-online-poker__hero-title {
    font-size: 2.2rem;
  }

  .page-online-poker__hero-description {
    font-size: 1rem;
  }

  .page-online-poker__heading {
    font-size: 2rem;
  }

  .page-online-poker__subheading {
    font-size: 1.3rem;
  }

  .page-online-poker__paragraph {
    font-size: 1rem;
  }

  .page-online-poker__list li {
    padding: 10px 15px;
  }

  .page-online-poker__list li::before {
    font-size: 1rem;
  }

  /* Images */
  .page-online-poker img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important; /* Ensure minimum size even on mobile */
    min-height: 200px !important;
  }

  /* Containers for images/buttons */
  .page-online-poker__section,
  .page-online-poker__container,
  .page-online-poker__hero-content-wrapper,
  .page-online-poker__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons */
  .page-online-poker__btn-primary,
  .page-online-poker__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    min-width: unset; /* Allow to shrink with width 100% */
  }

  .page-online-poker__hero-cta-buttons,
  .page-online-poker__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }

  .page-online-poker__faq-question {
    padding: 15px;
    font-size: 1rem;
  }
  .page-online-poker__faq-title {
    font-size: 1rem;
  }
  .page-online-poker__faq-answer {
    padding: 0 15px;
  }
  .page-online-poker__faq-item.active .page-online-poker__faq-answer {
    padding: 15px !important;
  }
}