/* style/poker.css */

/* Base styles for the poker page */
.page-poker {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main for dark background */
  background-color: var(--bg-color); /* Inherited from shared.css, assumed dark */
}

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

.page-poker__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Primary color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-poker__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #FFF6D6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding for first section */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
  background: #0A0A0A; /* Background color */
}

.page-poker__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height of image wrapper */
  overflow: hidden;
}

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

.page-poker__hero-content {
  position: relative; /* Ensure content is above any background elements */
  padding: 40px 20px;
  max-width: 900px;
  margin-top: 20px; /* Space between image and text */
}

.page-poker__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #FFD36B; /* Glow color for main title */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 1px;
}

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

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

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

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

.page-poker__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

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

.page-poker__btn-secondary:hover {
  background: #F2C14E;
  color: #0A0A0A; /* Dark text on hover */
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

/* Why Choose Section */
.page-poker__why-choose-section {
  padding: 80px 0;
  background: #0A0A0A; /* Background color */
}

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

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

.page-poker__feature-title {
  font-size: 1.5em;
  color: #FFD36B; /* Auxiliary color for feature titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-poker__feature-description {
  color: #FFF6D6;
}

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

/* Game Selection Section */
.page-poker__game-selection-section {
  padding: 80px 0;
  background: #0A0A0A; /* Background color */
}

.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 color */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid #3A2A12; /* Border color */
}

.page-poker__game-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-poker__game-card-title {
  font-size: 1.4em;
  color: #FFD36B;
  margin: 20px 15px 10px 15px;
  font-weight: bold;
}

.page-poker__game-card-description {
  color: #FFF6D6;
  padding: 0 15px 20px 15px;
}

/* Promotions Section */
.page-poker__promotions-section {
  padding: 80px 0;
  background: #0A0A0A; /* Background color */
}

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

.page-poker__promo-card {
  background: #111111; /* Card BG color */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid #3A2A12; /* Border color */
}

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

.page-poker__promo-title {
  font-size: 1.4em;
  color: #FFD36B;
  margin: 20px 15px 10px 15px;
  font-weight: bold;
}

.page-poker__promo-description {
  color: #FFF6D6;
  padding: 0 15px 20px 15px;
}

/* Seamless Experience Section */
.page-poker__seamless-experience-section {
  padding: 80px 0;
  background: #0A0A0A; /* Background color */
}

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

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

.page-poker__step-title {
  font-size: 1.5em;
  color: #FFD36B;
  margin-bottom: 15px;
  font-weight: bold;
}

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

/* Secure Gaming Section */
.page-poker__secure-gaming-section {
  padding: 80px 0;
  background: #0A0A0A; /* Background color */
}

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

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

.page-poker__security-title {
  font-size: 1.5em;
  color: #FFD36B;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-poker__security-description {
  color: #FFF6D6;
}

/* Payment Methods Section */
.page-poker__payment-methods-section {
  padding: 80px 0;
  background: #0A0A0A; /* Background color */
}

.page-poker__payment-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-poker__payment-icon {
  max-width: 200px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border color */
}

/* FAQ Section */
.page-poker__faq-section {
  padding: 80px 0;
  background: #0A0A0A; /* Background color */
}

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

.page-poker__faq-item {
  background: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  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;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD36B;
  background: #111111; /* Card BG color */
  transition: background-color 0.3s ease;
}

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

.page-poker__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #F2C14E;
  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;
}

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

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

/* Call to Action Section */
.page-poker__cta-section {
  padding: 80px 0;
  background: #0A0A0A; /* Background color */
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-poker__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-poker {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-poker__container {
    padding: 0 15px;
  }
  .page-poker__hero-section {
    padding-top: 10px !important; /* Ensure small padding */
    padding-bottom: 40px;
  }
  .page-poker__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-poker__btn-primary,
  .page-poker__btn-secondary,
  .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__hero-image,
  .page-poker__content-image,
  .page-poker__game-card-image,
  .page-poker__promo-image,
  .page-poker__payment-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-poker__section,
  .page-poker__card,
  .page-poker__container,
  .page-poker__hero-section,
  .page-poker__why-choose-section,
  .page-poker__game-selection-section,
  .page-poker__promotions-section,
  .page-poker__seamless-experience-section,
  .page-poker__secure-gaming-section,
  .page-poker__payment-methods-section,
  .page-poker__faq-section,
  .page-poker__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-poker__game-card-image {
    height: auto;
  }
  .page-poker__promo-image {
    height: auto;
  }

  .page-poker__faq-question h3 {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__hero-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }
  .page-poker__feature-title,
  .page-poker__game-card-title,
  .page-poker__promo-title,
  .page-poker__step-title,
  .page-poker__security-title {
    font-size: 1.3em;
  }
  .page-poker__btn-primary, .page-poker__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
  }
}