/* style/poker.css */
.page-poker {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main color */
  background-color: #0A0A0A; /* Background color */
  padding-bottom: 60px; /* Ensure space above footer */
}

.page-poker__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  background: linear-gradient(135deg, #F2C14E, #FFD36B);
  padding-bottom: 50px;
}

.page-poker__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-poker__hero-content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-poker__hero-text-content {
  padding: 20px;
  max-width: 900px;
  margin-top: 20px;
}

.page-poker__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-poker__intro-text {
  font-size: 1.15rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6;
}

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

.page-poker__btn-primary,
.page-poker__btn-secondary,
.page-poker__btn-tertiary,
.page-poker__btn-link {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-poker__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-poker__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  transform: translateY(-2px);
}

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

.page-poker__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
  transform: translateY(-2px);
}

.page-poker__btn-tertiary {
  background: #3A2A12; /* Border color */
  color: #FFF6D6;
  border: 1px solid #3A2A12;
}

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

.page-poker__btn-link {
  background: transparent;
  color: #F2C14E;
  border: 1px solid transparent;
  padding: 8px 15px;
  font-size: 0.95rem;
}

.page-poker__btn-link:hover {
  text-decoration: underline;
  color: #FFD36B;
}

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

.page-poker__container--reverse {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 40px;
}

.page-poker__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #F2C14E;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-poker__section-description {
  font-size: 1.05rem;
  color: #FFF6D6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-poker__about-section,
.page-poker__games-section,
.page-poker__how-to-play-section,
.page-poker__promotions-section,
.page-poker__security-section,
.page-poker__mobile-section,
.page-poker__responsible-gaming-section,
.page-poker__why-choose-section,
.page-poker__faq-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

.page-poker__feature-item {
  background: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #3A2A12; /* Border */
}

.page-poker__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__feature-title {
  font-size: 1.5rem;
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-poker__feature-text {
  color: #FFF6D6;
  font-size: 1rem;
}

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

.page-poker__game-card {
  background: #111111; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #3A2A12; /* Border */
  display: flex;
  flex-direction: column;
}

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

.page-poker__game-title {
  font-size: 1.4rem;
  color: #F2C14E;
  padding: 15px 20px 5px;
}

.page-poker__game-text {
  color: #FFF6D6;
  padding: 0 20px 15px;
  flex-grow: 1;
}

.page-poker__game-card .page-poker__btn-tertiary {
  margin: 0 20px 20px;
}

.page-poker__button-group {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-poker__button-group--center {
  justify-content: center;
}

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

.page-poker__step-item {
  background: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #3A2A12; /* Border */
}

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

.page-poker__step-title {
  font-size: 1.5rem;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-poker__step-text {
  color: #FFF6D6;
  margin-bottom: 20px;
}

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

.page-poker__promo-card {
  background: #111111; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #3A2A12; /* Border */
  display: flex;
  flex-direction: column;
}

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

.page-poker__promo-title {
  font-size: 1.4rem;
  color: #F2C14E;
  padding: 15px 20px 5px;
}

.page-poker__promo-text {
  color: #FFF6D6;
  padding: 0 20px 15px;
  flex-grow: 1;
}

.page-poker__promo-card .page-poker__btn-primary {
  margin: 0 20px 20px;
}

.page-poker__security-list,
.page-poker__mobile-features,
.page-poker__benefits-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto;
}

.page-poker__security-list li,
.page-poker__mobile-features li,
.page-poker__benefits-list li {
  background: #111111; /* Card BG */
  color: #FFF6D6;
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  border: 1px solid #3A2A12; /* Border */
  font-size: 1.05rem;
}

.page-poker__list-icon {
  color: #F2C14E;
  font-size: 1.3rem;
  margin-right: 15px;
  line-height: 1;
}

.page-poker__mobile-section {
  background-color: #0A0A0A;
}

.page-poker__mobile-content {
  flex: 1;
  padding-right: 20px;
}

.page-poker__mobile-image {
  flex: 1;
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  border-radius: 10px;
}

.page-poker__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-poker__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background: #111111;
}

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

.page-poker__faq-title {
  font-size: 1.2rem;
  color: #F2C14E;
  margin: 0;
  flex-grow: 1;
}

.page-poker__faq-toggle {
  font-size: 2rem;
  color: #FFD36B;
  margin-left: 20px;
  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 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  font-size: 1rem;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-poker__container--reverse {
    flex-direction: column;
  }
  .page-poker__mobile-content {
    padding-right: 0;
    margin-bottom: 30px;
  }
  .page-poker__mobile-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding-top: var(--header-offset, 100px) !important; /* Mobile header offset */
    padding-bottom: 30px;
  }
  .page-poker__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }
  .page-poker__intro-text {
    font-size: 1rem;
  }
  .page-poker__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
  }
  .page-poker__btn-primary,
  .page-poker__btn-secondary,
  .page-poker__btn-tertiary,
  .page-poker__btn-link,
  .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__button-group,
  .page-poker__button-group--center {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-poker__container,
  .page-poker__about-section,
  .page-poker__games-section,
  .page-poker__how-to-play-section,
  .page-poker__promotions-section,
  .page-poker__security-section,
  .page-poker__mobile-section,
  .page-poker__responsible-gaming-section,
  .page-poker__why-choose-section,
  .page-poker__faq-section {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-poker__section-title {
    font-size: 1.8rem;
  }
  .page-poker__section-description,
  .page-poker__feature-text,
  .page-poker__game-text,
  .page-poker__step-text,
  .page-poker__promo-text,
  .page-poker__security-list li,
  .page-poker__mobile-features li,
  .page-poker__benefits-list li,
  .page-poker__faq-answer p {
    font-size: 0.95rem;
  }
  .page-poker img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-poker__hero-image,
  .page-poker__feature-icon,
  .page-poker__game-image,
  .page-poker__promo-image,
  .page-poker__mobile-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
  .page-poker__faq-question {
    padding: 15px;
  }
  .page-poker__faq-title {
    font-size: 1.1rem;
  }
  .page-poker__faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-poker__section-title {
    font-size: 1.5rem;
  }
  .page-poker__feature-item,
  .page-poker__game-card,
  .page-poker__step-item,
  .page-poker__promo-card {
    padding: 20px;
  }
  .page-poker__feature-icon {
    width: 60px;
    height: 60px;
  }
}