/* style/poker.css */

/* Base styles for the poker page */
.page-poker {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Main text color */
  background-color: #0A0A0A; /* Background color */
}

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

.page-poker__section-title {
  font-size: clamp(2em, 4vw, 3.2em);
  color: #FFD36B; /* Auxiliary color for titles */
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.2;
}

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

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
  background: #0A0A0A;
}

.page-poker__hero-image {
  width: 100%;
  max-width: 1920px;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 40px;
  border-radius: 10px;
}

.page-poker__hero-content {
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
}

.page-poker__main-title {
  font-size: clamp(2.5em, 5vw, 3.8em);
  color: #FFD36B;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
}

.page-poker__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  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 {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  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: #111111; /* Dark text for bright button */
  border: none;
}

.page-poker__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-poker__btn-secondary:hover {
  background: #FFD36B;
  color: #111111;
}

.page-poker__btn-tertiary {
  background: transparent;
  color: #FFD36B;
  border: 1px solid #FFD36B;
  padding: 10px 20px;
  font-size: 0.9em;
}

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

/* General Section Styling */
.page-poker__about-section,
.page-poker__games-section,
.page-poker__tournaments-section,
.page-poker__bonuses-section,
.page-poker__get-started-section,
.page-poker__strategy-section,
.page-poker__security-section,
.page-poker__mobile-section,
.page-poker__payment-section,
.page-poker__support-section,
.page-poker__why-choose-section,
.page-poker__faq-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

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

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

.page-poker__card-description {
  font-size: 1em;
  line-height: 1.5;
  color: #FFF6D6;
}

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

.page-poker__game-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

/* Feature List */
.page-poker__feature-list,
.page-poker__promo-grid,
.page-poker__security-features,
.page-poker__payment-options,
.page-poker__support-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Steps List */
.page-poker__steps-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  list-style: none;
  padding: 0;
}

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

.page-poker__step-item .page-poker__card-description {
  flex-grow: 1;
  margin-bottom: 20px;
}

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

.page-poker__strategy-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

/* Mobile Section */
.page-poker__mobile-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-poker__mobile-image {
  width: 50%;
  height: auto;
  max-width: 400px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-poker__mobile-text {
  width: 50%;
  text-align: left;
}

.page-poker__mobile-text .page-poker__btn-primary {
  margin-top: 20px;
}

/* Benefits List */
.page-poker__benefits-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-poker__benefit-item {
  text-align: left;
}

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

.page-poker__faq-item {
  margin-bottom: 20px;
  text-align: left;
  padding: 0;
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  overflow: hidden;
}

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

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

.page-poker__faq-question h3 {
  margin: 0;
  color: #FFD36B;
  font-size: 1em; /* Adjust to fit within the question div */
}

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

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

.page-poker__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  background-color: #1a1a1a;
}

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

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

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

/* Mobile Responsiveness */
@media (max-width: 992px) {
  .page-poker__hero-content {
    max-width: 700px;
  }

  .page-poker__mobile-content {
    flex-direction: column;
    text-align: center;
  }

  .page-poker__mobile-image,
  .page-poker__mobile-text {
    width: 100%;
    max-width: 500px;
  }

  .page-poker__mobile-image {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-poker {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-poker__hero-section {
    padding: 40px 0;
    padding-top: 10px !important;
  }

  .page-poker__hero-image {
    margin-bottom: 20px;
  }

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

  .page-poker__hero-description {
    font-size: 1.1em;
  }

  .page-poker__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-poker__btn-primary,
  .page-poker__btn-secondary,
  .page-poker__btn-tertiary {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-poker__section-description {
    font-size: 0.95em;
  }

  .page-poker__card {
    padding: 20px;
  }

  .page-poker__game-grid,
  .page-poker__feature-list,
  .page-poker__promo-grid,
  .page-poker__steps-list,
  .page-poker__strategy-grid,
  .page-poker__security-features,
  .page-poker__payment-options,
  .page-poker__support-channels,
  .page-poker__benefits-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Image responsiveness */
  .page-poker img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .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__mobile-text {
    text-align: center;
  }
  
  .page-poker__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-poker__faq-answer {
    padding: 0 20px;
  }

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

@media (max-width: 480px) {
  .page-poker__hero-section {
    padding: 30px 0;
    padding-top: 10px !important;
  }

  .page-poker__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }

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

  .page-poker__btn-primary,
  .page-poker__btn-secondary {
    padding: 12px 20px;
    font-size: 0.9em;
  }

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

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

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