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

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

/* Header offset for fixed navigation */
.page-poker__hero-section {
  padding-top: var(--header-offset, 120px); /* Desktop: 120px or from shared variable */
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px;
}

.page-poker__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for readability */
  border-radius: 10px;
  max-width: 800px;
  margin-top: 50px; /* Space between image and content if image is not full bleed */
}

.page-poker__hero-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #FFD36B; /* Glow color */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-poker__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #FFF6D6;
}

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

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

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

.page-poker__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

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

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

.page-poker__section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

.page-poker__introduction-section,
.page-poker__why-choose-section,
.page-poker__getting-started-section,
.page-poker__responsible-gaming-section,
.page-poker__cta-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background */
}

.page-poker__game-types-section,
.page-poker__promotions-section,
.page-poker__mobile-section,
.page-poker__faq-section {
  padding: 80px 0;
  background-color: #111111; /* Card BG */
}

.page-poker__text-block {
  font-size: 1.1rem;
  color: #FFF6D6;
  margin-bottom: 20px;
  text-align: justify;
}

.page-poker__text-block--center {
  text-align: center;
}

.page-poker__game-grid,
.page-poker__feature-grid,
.page-poker__promo-grid,
.page-poker__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-poker__game-card,
.page-poker__feature-card,
.page-poker__promo-card,
.page-poker__step-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  color: #FFF6D6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__game-card:hover,
.page-poker__feature-card:hover,
.page-poker__promo-card:hover,
.page-poker__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 211, 107, 0.4);
}

.page-poker__game-card img,
.page-poker__feature-card img,
.page-poker__promo-card img {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
  display: block;
}

.page-poker__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #F2C14E;
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-poker__card-description {
  font-size: 1rem;
  color: #FFF6D6;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-poker__promo-card .page-poker__btn-primary {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
}

.page-poker__step-card .page-poker__btn-secondary {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
}

.page-poker__step-number {
  font-size: 3rem;
  font-weight: 700;
  color: #FFD36B;
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-poker__mobile-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
}

.page-poker__mobile-text {
  flex: 1;
}

.page-poker__mobile-image {
  flex: 1;
  text-align: center;
}

.page-poker__mobile-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-poker__cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-poker__cta-buttons--center {
  justify-content: center;
  margin-top: 40px;
}

.page-poker__cta-section .page-poker__cta-content {
  text-align: center;
}

/* FAQ Section */
.page-poker__faq-section {
  padding: 80px 0;
}

.page-poker__faq-list {
  margin-top: 40px;
}

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

.page-poker__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #1a1a1a;
  color: #F2C14E;
  font-size: 1.2rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

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

.page-poker__faq-question h3 {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

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

.page-poker__faq-item.active .page-poker__faq-toggle {
  transform: rotate(0deg); /* '−' is already rotated, so no additional rotation */
}

.page-poker__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  text-align: justify;
}

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

.page-poker__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

.page-poker__keyword {
  color: #FFD36B; /* Highlight keywords */
  font-weight: bold;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-content {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding-top: var(--header-offset, 100px) !important; /* Mobile: adjust based on shared header height */
    min-height: 400px;
  }

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

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

  .page-poker__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
    padding-top: 40px;
  }

  .page-poker__introduction-section,
  .page-poker__game-types-section,
  .page-poker__why-choose-section,
  .page-poker__promotions-section,
  .page-poker__getting-started-section,
  .page-poker__mobile-section,
  .page-poker__responsible-gaming-section,
  .page-poker__faq-section,
  .page-poker__cta-section {
    padding: 40px 0;
  }

  .page-poker__text-block {
    font-size: 1rem;
  }

  .page-poker__game-grid,
  .page-poker__feature-grid,
  .page-poker__promo-grid,
  .page-poker__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-poker__mobile-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-poker__cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .page-poker__btn-primary,
  .page-poker__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-poker__game-card img,
  .page-poker__feature-card img,
  .page-poker__promo-card img,
  .page-poker__mobile-image img,
  .page-poker img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-poker__container,
  .page-poker__section,
  .page-poker__card,
  .page-poker__cta-buttons,
  .page-poker__game-card,
  .page-poker__feature-card,
  .page-poker__promo-card,
  .page-poker__step-card,
  .page-poker__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-poker__game-card img,
  .page-poker__feature-card img,
  .page-poker__promo-card img {
    height: auto; /* Allow auto height for mobile images */
    max-height: 200px; /* Optional: cap height for smaller images */
  }

  .page-poker__faq-question {
    font-size: 1.1rem;
    padding: 15px;
  }

  .page-poker__faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-content {
    padding: 20px;
  }

  .page-poker__hero-title {
    font-size: clamp(1.8rem, 10vw, 2.2rem);
  }

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

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

  .page-poker__btn-primary,
  .page-poker__btn-secondary {
    font-size: 0.9rem;
  }

  .page-poker__card-title {
    font-size: 1.3rem;
  }

  .page-poker__card-description {
    font-size: 0.9rem;
  }
}