.page-poker {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  padding-top: 10px; /* Small top spacing for the first section */
}

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

/* Hero Section */
.page-poker__hero-section {
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  text-align: center;
  padding-bottom: 80px;
  background: linear-gradient(135deg, #F2C14E, #FFD36B); /* Adjusted for contrast */
  overflow: hidden;
}

.page-poker__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 700px; /* Limit hero image height */
}

.page-poker__hero-content {
  padding: 40px 20px;
  width: 100%;
  max-width: 800px;
  box-sizing: border-box;
  background-color: #111111; /* Card BG */
  border-radius: 8px;
  margin-top: -60px; /* Overlap slightly for design */
  position: relative;
  z-index: 1; /* Ensure content is above the image but not overlapping it visually */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-poker__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-poker__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #FFF6D6; /* Text Main */
}

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

/* Sections */
.page-poker__section {
  padding: 80px 0;
}

.page-poker__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #F2C14E; /* Main Color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-poker__section-intro {
  font-size: 1.1rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #FFF6D6; /* Text Main */
}

.page-poker__dark-section {
  background-color: #0A0A0A; /* Background */
  color: #FFF6D6; /* Text Main */
}

.page-poker__light-bg {
  background-color: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
}

/* Buttons */
.page-poker__btn-primary,
.page-poker__btn-secondary,
.page-poker__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-poker__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button Color */
  color: #111111; /* Dark text for bright button */
  border: none;
}

.page-poker__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-poker__btn-secondary {
  background-color: transparent;
  color: #F2C14E; /* Main Color */
  border: 2px solid #F2C14E; /* Main Color */
}

.page-poker__btn-secondary:hover {
  background-color: #F2C14E;
  color: #111111; /* Dark text for bright button */
  transform: translateY(-2px);
}

.page-poker__btn-tertiary {
  background-color: #3A2A12; /* Border Color */
  color: #FFF6D6; /* Text Main */
  border: none;
  padding: 10px 20px;
  font-size: 0.9rem;
}

.page-poker__btn-tertiary:hover {
  background-color: #F2C14E;
  color: #111111;
}

/* Feature Grid */
.page-poker__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-poker__feature-card {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12; /* Border */
}

.page-poker__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-poker__feature-title {
  font-size: 1.5rem;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
}

.page-poker__feature-description {
  font-size: 1rem;
  color: #FFF6D6; /* Text Main */
}

/* Games Overview */
.page-poker__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-poker__game-card {
  background-color: #111111; /* Card BG */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12; /* Border */
  display: flex;
  flex-direction: column;
}

.page-poker__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-poker__game-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-poker__game-title {
  font-size: 1.6rem;
  color: #FFD36B; /* Glow */
  margin-bottom: 10px;
}

.page-poker__game-description {
  font-size: 0.95rem;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Strategies */
.page-poker__strategy-block {
  background-color: #111111; /* Card BG */
  padding: 40px;
  border-radius: 8px;
  margin-bottom: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12; /* Border */
}

.page-poker__strategy-block:last-child {
  margin-bottom: 0;
}

.page-poker__strategy-subtitle {
  font-size: 1.8rem;
  color: #F2C14E; /* Main Color */
  margin-bottom: 20px;
  text-align: center;
}

.page-poker__strategy-block p {
  font-size: 1.05rem;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
  text-align: justify;
}

.page-poker__strategy-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 20px auto 0 auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Get Started */
.page-poker__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-poker__step-card {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12; /* Border */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-poker__step-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
}

.page-poker__step-title {
  font-size: 1.4rem;
  color: #F2C14E; /* Main Color */
  margin-bottom: 15px;
}

.page-poker__step-description {
  font-size: 0.95rem;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Promotions */
.page-poker__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-poker__promo-card {
  background-color: #111111; /* Card BG */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12; /* Border */
  display: flex;
  flex-direction: column;
}

.page-poker__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.page-poker__promo-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-poker__promo-title {
  font-size: 1.6rem;
  color: #FFD36B; /* Glow */
  margin-bottom: 10px;
}

.page-poker__promo-description {
  font-size: 0.95rem;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-poker__vip-cta {
  background-color: #0A0A0A; /* Background */
  padding: 40px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #F2C14E; /* Main Color */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-poker__vip-title {
  font-size: 2rem;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
}

.page-poker__vip-description {
  font-size: 1.1rem;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 30px;
}

/* Responsible Gaming */
.page-poker__responsible-gaming p {
  text-align: center;
  max-width: 900px;
  margin: 20px auto;
  font-size: 1.05rem;
  color: #FFF6D6; /* Text Main */
}

.page-poker__responsible-gaming a {
  color: #F2C14E; /* Main Color */
  text-decoration: underline;
}

.page-poker__responsible-gaming .page-poker__btn-secondary {
  margin-top: 30px;
}

/* FAQ */
.page-poker__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-poker__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.page-poker__faq-question:hover {
  background-color: #1a1a1a;
}

.page-poker__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-poker__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6; /* Text Main */
  font-size: 1rem;
}

.page-poker__faq-item.active .page-poker__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to reveal content */
  padding: 15px 25px;
}

.page-poker__faq-answer p {
  margin: 0;
  padding-bottom: 10px; /* Adjust as needed */
}

.page-poker__faq-answer a {
  color: #FFD36B; /* Glow */
  text-decoration: underline;
}

/* Final CTA */
.page-poker__cta-final {
  text-align: center;
  padding-bottom: 100px;
}

.page-poker__cta-final .page-poker__cta-buttons {
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-section {
    padding-bottom: 60px;
  }

  .page-poker__hero-content {
    margin-top: -40px;
    padding: 30px 20px;
  }

  .page-poker__section {
    padding: 60px 0;
  }

  .page-poker__section-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .page-poker {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-poker__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile: controlled by shared */
    padding-bottom: 40px;
  }

  .page-poker__hero-image-wrapper {
    max-height: 400px; /* Smaller hero image on mobile */
  }

  .page-poker__hero-content {
    margin-top: -30px;
    padding: 25px 15px;
    max-width: calc(100% - 30px); /* Account for padding */
  }

  .page-poker__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

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

  .page-poker__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
  }

  .page-poker__btn-primary,
  .page-poker__btn-secondary,
  .page-poker__btn-tertiary,
  .page-poker a[class*="button"],
  .page-poker a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-poker__cta-buttons,
  .page-poker__button-group,
  .page-poker__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-poker__section {
    padding: 40px 0;
  }

  .page-poker__section-title {
    font-size: 2rem;
  }

  .page-poker__section-intro {
    font-size: 1rem;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-poker__features-grid,
  .page-poker__games-grid,
  .page-poker__steps-grid,
  .page-poker__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-poker__feature-card,
  .page-poker__game-card,
  .page-poker__step-card,
  .page-poker__promo-card {
    padding: 25px;
  }

  .page-poker__feature-title,
  .page-poker__game-title,
  .page-poker__step-title,
  .page-poker__promo-title {
    font-size: 1.3rem;
  }

  .page-poker__strategy-block {
    padding: 30px;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-poker__strategy-subtitle {
    font-size: 1.5rem;
  }

  .page-poker__strategy-block p {
    font-size: 0.95rem;
  }

  .page-poker__promo-image,
  .page-poker__game-image {
    height: 180px;
  }

  .page-poker__vip-cta {
    padding: 30px 15px;
    margin: 0 15px;
  }

  .page-poker__vip-title {
    font-size: 1.6rem;
  }

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

  .page-poker__responsible-gaming p {
    padding: 0 15px;
  }

  .page-poker__faq-item {
    margin: 0 15px;
  }
  
  .page-poker__faq-question {
    padding: 18px 20px;
    font-size: 1rem;
  }

  .page-poker__faq-answer {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  .page-poker__cta-final {
    padding-bottom: 60px;
  }

  /* Image responsive rules */
  .page-poker img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-poker__section,
  .page-poker__card,
  .page-poker__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}