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

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

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

.page-poker__card {
  background-color: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-poker__section-header {
  text-align: center;
  margin-bottom: 40px;
}

.page-poker__section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #F2C14E; /* Main Color */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-poker__section-description {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 800px;
  margin: 0 auto;
  color: #FFF6D6;
}

.page-poker__btn-primary,
.page-poker__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

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

.page-poker__btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 15px #FFD36B;
}

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

.page-poker__btn-secondary:hover {
  background-color: #F2C14E;
  color: #0A0A0A; /* Background */
}

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  padding: 80px 0 40px;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding-top: 10px; /* Small top padding */
}

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

.page-poker__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(17, 17, 17, 0.7); /* Card BG with transparency */
  border-radius: 10px;
  margin-top: 20px;
}

.page-poker__main-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  color: #F2C14E;
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-poker__hero-description {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  margin-bottom: 30px;
  color: #FFF6D6;
}

/* Video Section */
.page-poker__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px;
  text-align: center;
}

.page-poker__video-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-poker__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.page-poker__video-cta {
  margin-top: 30px;
}

/* Why Choose Section */
.page-poker__why-choose {
  padding: 80px 0;
}

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

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

/* Popular Games Section */
.page-poker__popular-games {
  padding: 80px 0;
}

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

.page-poker__game-card {
  text-align: center;
}

.page-poker__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 20px;
}

.page-poker__game-title {
  font-size: 1.8rem;
  color: #FFD36B;
  margin-bottom: 10px;
}

/* Tournaments & Cash Games Section */
.page-poker__tournaments-cash {
  padding: 80px 0;
}

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

.page-poker__grid-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 20px;
}

.page-poker__grid-title {
  font-size: 1.8rem;
  color: #FFD36B;
  margin-bottom: 15px;
}

/* Bonuses Section */
.page-poker__bonuses {
  padding: 80px 0;
}

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

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

/* Getting Started Section */
.page-poker__getting-started {
  padding: 80px 0;
}

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

.page-poker__step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-poker__step-number {
  width: 50px;
  height: 50px;
  background: #F2C14E;
  color: #0A0A0A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.page-poker__step-title {
  font-size: 1.8rem;
  color: #FFD36B;
  margin-bottom: 15px;
}

/* Mobile Poker Section */
.page-poker__mobile-poker {
  padding: 80px 0;
}

.page-poker__mobile-layout {
  display: flex;
  align-items: center;
  gap: 50px;
}

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

.page-poker__mobile-image {
  flex: 1;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-poker__mobile-benefits {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}

.page-poker__mobile-benefits li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
  color: #FFF6D6;
}

.page-poker__mobile-benefits li::before {
  content: '✓';
  color: #FFD36B;
  position: absolute;
  left: 0;
  font-weight: 700;
}

/* Security & Fair Play Section */
.page-poker__security-fair-play {
  padding: 80px 0;
}

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

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

/* Strategies Section */
.page-poker__strategies {
  padding: 80px 0;
}

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

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

.page-poker__strategy-list {
  list-style: disc;
  padding-left: 20px;
  color: #FFF6D6;
}

.page-poker__strategy-list li {
  margin-bottom: 8px;
}

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

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

.page-poker__faq-item {
  margin-bottom: 20px;
  overflow: hidden;
}

.page-poker__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 15px 20px;
  background-color: #3A2A12; /* Border color for question background */
  border-radius: 8px;
  color: #F2C14E;
  font-size: 1.2rem;
  font-weight: 700;
  transition: background-color 0.3s ease;
}

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

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

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

.page-poker__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  background-color: #111111; /* Card BG */
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

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

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

/* Final CTA Section */
.page-poker__final-cta {
  padding: 80px 0;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__mobile-layout {
    flex-direction: column;
    text-align: center;
  }
  .page-poker__mobile-image {
    order: -1;
    margin-bottom: 30px;
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding: 60px 0 30px;
  }

  .page-poker__hero-content {
    padding: 15px;
  }

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

  .page-poker__hero-description {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
  }

  .page-poker__btn-primary,
  .page-poker__btn-secondary {
    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;
    margin-bottom: 10px; /* For stacked buttons */
  }

  .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__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  .page-poker__video-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Small top padding for video section */
  }

  .page-poker__video-container {
    padding-bottom: 75%; /* Adjust for 4:3 or more compact video on mobile */
  }

  .page-poker__section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }

  .page-poker__section-description {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  }

  .page-poker__features-grid,
  .page-poker__game-showcase,
  .page-poker__content-grid,
  .page-poker__promo-grid,
  .page-poker__steps-grid,
  .page-poker__security-grid,
  .page-poker__strategy-grid {
    grid-template-columns: 1fr;
  }

  .page-poker__game-image,
  .page-poker__grid-image,
  .page-poker__mobile-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !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;
  }

  .page-poker img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-poker__faq-question {
    font-size: 1rem;
    padding: 12px 15px;
  }

  .page-poker__faq-toggle {
    font-size: 1.5rem;
  }

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