/* style/poker.css */

/* Base styles for the poker page content */
.page-poker {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Inherit from body for contrast */
  background-color: var(--bg-color);
}

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

.page-poker__section {
  padding: 60px 0;
  text-align: center;
}

.page-poker__dark-section {
  background-color: var(--bg-color);
  color: var(--text-main);
}

.page-poker__card-bg {
  background-color: var(--card-bg);
  color: var(--text-main);
}

.page-poker__text-main {
  color: var(--text-main);
}

.page-poker__section-title {
  font-size: clamp(2em, 3.5vw, 2.8em);
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-poker__sub-title {
  font-size: clamp(1.5em, 2.5vw, 2em);
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-poker__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-poker__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

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

.page-poker__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
}

.page-poker__main-title {
  font-size: clamp(2.5em, 4.5vw, 3.8em);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.page-poker__hero-description {
  font-size: clamp(1.1em, 1.5vw, 1.4em);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.page-poker__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

.page-poker__cta-buttons--center {
  margin-top: 40px;
}

.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;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  width: auto;
}

.page-poker__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff; /* Explicitly white as per instruction, assuming contrast */
  border: 2px solid transparent;
}

.page-poker__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-poker__btn-secondary {
  background-color: transparent;
  color: var(--main-color);
  border: 2px solid var(--border-color);
}

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

/* Feature List (Why Choose) */
.page-poker__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  text-align: left;
}

.page-poker__feature-item {
  background-color: var(--card-bg);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-poker__feature-item strong {
  color: var(--main-color);
  font-size: 1.2em;
  display: block;
  margin-bottom: 10px;
}

/* Game Grid (Game Variants) */
.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-color: var(--card-bg);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-poker__game-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  flex-grow: 1;
}

.page-poker__game-description {
  font-size: 0.95em;
  line-height: 1.5;
}

/* Content Grid (Tournaments, Strategies, Secure Gaming) */
.page-poker__content-grid,
.page-poker__info-grid,
.page-poker__promo-grid,
.page-poker__support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-poker__content-block,
.page-poker__promo-card,
.page-poker__info-card,
.page-poker__support-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-poker__content-image,
.page-poker__promo-image,
.page-poker__info-image,
.page-poker__support-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

/* Mobile Experience */
.page-poker__mobile-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-poker__mobile-image {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.page-poker__mobile-features {
  list-style: none;
  padding: 0;
  flex: 1;
  min-width: 300px;
}

.page-poker__mobile-features li {
  background-color: var(--card-bg);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  font-size: 1.1em;
}

.page-poker__mobile-features li strong {
  color: var(--main-color);
}

/* FAQ Section */
.page-poker__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-poker__faq-item {
  background-color: var(--card-bg);
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.page-poker__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(242, 193, 78, 0.05);
  transition: background-color 0.3s ease;
}

.page-poker__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.1);
}

.page-poker__faq-title {
  font-size: 1.2em;
  font-weight: bold;
  margin: 0;
  flex-grow: 1;
}

.page-poker__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  font-weight: bold;
  color: var(--main-color);
  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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 1em;
  line-height: 1.6;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-poker__hero-section {
    padding-bottom: 40px;
  }
  .page-poker__hero-content {
    max-width: 800px;
  }
  .page-poker__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em);
  }
  .page-poker__hero-description {
    font-size: clamp(1em, 1.4vw, 1.3em);
  }
  .page-poker__section {
    padding: 50px 0;
  }
}

@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;
    padding-bottom: 30px;
  }
  .page-poker__hero-image-wrapper {
    margin-bottom: 20px;
  }
  .page-poker__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-poker__main-title {
    font-size: clamp(2em, 7vw, 2.8em);
  }
  .page-poker__hero-description {
    font-size: clamp(0.95em, 3.5vw, 1.1em);
  }
  .page-poker__section-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-poker__paragraph {
    font-size: 1em;
  }
  .page-poker__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }
  .page-poker__btn-primary,
  .page-poker__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-poker__feature-list,
  .page-poker__game-grid,
  .page-poker__content-grid,
  .page-poker__info-grid,
  .page-poker__promo-grid,
  .page-poker__support-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }
  .page-poker__feature-item,
  .page-poker__game-card,
  .page-poker__content-block,
  .page-poker__promo-card,
  .page-poker__info-card,
  .page-poker__support-card {
    padding: 20px;
  }
  .page-poker__game-image,
  .page-poker__content-image,
  .page-poker__promo-image,
  .page-poker__info-image,
  .page-poker__support-image {
    height: 180px;
    max-width: 100% !important;
    width: 100% !important;
  }
  .page-poker__mobile-content {
    flex-direction: column;
    gap: 20px;
    padding: 0 15px;
  }
  .page-poker__mobile-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-poker__mobile-features {
    min-width: unset;
    width: 100%;
  }
  .page-poker__faq-list {
    padding: 0 15px;
  }
  .page-poker__faq-question {
    padding: 15px 20px;
  }
  .page-poker__faq-title {
    font-size: 1.1em;
  }
  .page-poker__faq-answer {
    padding: 10px 20px 20px 20px;
  }
}

@media (max-width: 480px) {
  .page-poker__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }
  .page-poker__section-title {
    font-size: clamp(1.6em, 7vw, 2.2em);
  }
  .page-poker__sub-title {
    font-size: clamp(1.3em, 5vw, 1.8em);
  }
}