/* style/poker.css */

/* Base styles for the poker page */
.page-poker {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Main text color on dark background */
  background-color: #0A0A0A; /* Dark background as per palette */
}

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  text-align: center;
  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;
  border-radius: 8px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-poker__hero-content {
  max-width: 900px;
  margin: 40px auto 0;
  padding: 0 20px;
}

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

.page-poker__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #FFF6D6;
}

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

/* General Section Styles */
.page-poker__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

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

.page-poker__section-intro {
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #FFF6D6;
}

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

.page-poker__feature-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFF6D6;
}

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

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

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

/* Game Types Grid */
.page-poker__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-poker__game-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFF6D6;
}

.page-poker__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

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

.page-poker__game-description {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #FFF6D6;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-poker__game-btn {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-poker__game-btn:hover {
  background: linear-gradient(180deg, #FFE07F 0%, #E8AD2A 100%);
  transform: translateY(-2px);
}

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

.page-poker__step-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #FFF6D6;
}

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

.page-poker__step-text {
  font-size: 1rem;
  line-height: 1.5;
  color: #FFF6D6;
  margin-bottom: 20px;
}

.page-poker__step-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #F2C14E;
  color: #111111;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-poker__step-btn:hover {
  background: #FFD36B;
  transform: translateY(-2px);
}

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

.page-poker__promo-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #FFF6D6;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-poker__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

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

.page-poker__promo-description {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #FFF6D6;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-poker__promo-btn {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-poker__promo-btn:hover {
  background: linear-gradient(180deg, #FFE07F 0%, #E8AD2A 100%);
  transform: translateY(-2px);
}

/* Responsible Gaming */
.page-poker__info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-poker__info-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #FFF6D6;
}

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

.page-poker__info-text {
  font-size: 1rem;
  line-height: 1.5;
  color: #FFF6D6;
  margin-bottom: 20px;
}

.page-poker__info-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #F2C14E;
  color: #111111;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-poker__info-btn:hover {
  background: #FFD36B;
  transform: translateY(-2px);
}

/* FAQ Section */
.page-poker__faq-list {
  margin-top: 40px;
}

.page-poker__faq-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF6D6;
}

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

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

.page-poker__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #FFD36B;
  transition: transform 0.3s ease;
}

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

.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;
  line-height: 1.6;
}

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

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

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

/* Global Button Styles (applied via BEM classes or specific selectors) */
.page-poker__btn-primary,
.page-poker__btn-secondary,
.page-poker a[class*="button"],
.page-poker a[class*="btn"] {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease, border-color 0.3s ease;
  cursor: pointer;
  border: none;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-poker__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
}

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

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

.page-poker__btn-secondary:hover {
  background-color: rgba(242, 193, 78, 0.1);
  border-color: #FFD36B;
  color: #FFD36B;
  transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-poker__hero-image {
    max-height: 500px;
  }
  .page-poker__hero-content {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding-top: 10px !important; /* Ensure small padding for mobile */
    padding-bottom: 40px;
  }

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

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

  .page-poker__hero-buttons,
  .page-poker__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 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__section {
    padding: 40px 15px;
  }

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

  .page-poker__section-intro {
    font-size: 0.95rem;
  }

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

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

  .page-poker__game-image,
  .page-poker__promo-image {
    height: 180px;
  }
  
  /* All images responsive */
  .page-poker img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All image containers responsive */
  .page-poker__hero-image-wrapper,
  .page-poker__feature-card,
  .page-poker__game-card,
  .page-poker__step-card,
  .page-poker__promo-card,
  .page-poker__info-card,
  .page-poker__section,
  .page-poker__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .page-poker__faq-question {
    font-size: 1rem;
    padding: 15px;
  }
  
  .page-poker__faq-answer {
    padding: 0 15px;
  }
  .page-poker__faq-item.active .page-poker__faq-answer {
    padding: 15px !important;
  }

  .page-poker__game-btn,
  .page-poker__step-btn,
  .page-poker__promo-btn,
  .page-poker__info-btn {
    padding: 10px 15px;
    font-size: 1rem;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }
}