/* style/poker.css */
.page-poker {
  font-family: Arial, sans-serif;
  color: #333333;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
  background-color: #FFFFFF;
}

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

.page-poker__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
  position: relative;
}

.page-poker__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  margin: 10px auto 0;
}

.page-poker__text-content {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 20px auto;
  color: #333333;
}

.page-poker__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
  font-size: 1em;
  text-align: center;
}

.page-poker__button--register,
.page-poker__button--register-cta {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-poker__button--register:hover,
.page-poker__button--register-cta:hover {
  background-color: #e0a53b;
  color: #000000;
}

.page-poker__button--login {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-poker__button--login:hover {
  background-color: #333333;
  color: #FFFFFF;
}

.page-poker__button--play {
  background-color: #FCBC45;
  color: #000000;
  border: none;
  margin-top: 15px;
}

.page-poker__button--play:hover {
  background-color: #e0a53b;
}

.page-poker__button--learn-more,
.page-poker__button--view-all,
.page-poker__button--faq {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  margin-top: 30px;
}

.page-poker__button--learn-more:hover,
.page-poker__button--view-all:hover,
.page-poker__button--faq:hover {
  background-color: #333333;
}

.page-poker__button--claim {
  background-color: #FCBC45;
  color: #000000;
  border: none;
  margin-top: 15px;
}

.page-poker__button--claim:hover {
  background-color: #e0a53b;
}

.page-poker__button--download {
  background-color: #000000;
  color: #FFFFFF;
  border: none;
  margin-top: 30px;
}

.page-poker__button--download:hover {
  background-color: #333333;
}

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

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

.page-poker__hero-container {
  position: relative;
  z-index: 2;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-poker__hero-content {
  position: relative;
  z-index: 3;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 10px;
  max-width: 900px;
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45;
  line-height: 1.2;
}

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

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

/* About JiliJili Poker */
.page-poker__about-jilijili-poker {
  padding: 80px 0;
  background-color: #f8f8f8;
}

/* Game Variations */
.page-poker__game-variations {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-poker__game-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-poker__game-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-poker__game-description {
  font-size: 1em;
  color: #555555;
  padding: 0 20px;
  flex-grow: 1;
}

/* Strategy Guide */
.page-poker__strategy-guide {
  padding: 80px 0;
  background-color: #f0f0f0;
}

.page-poker__strategy-columns {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.page-poker__strategy-column {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.page-poker__column-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 20px;
  text-align: center;
}

.page-poker__strategy-list {
  list-style: none;
  padding: 0;
  text-align: left;
}

.page-poker__strategy-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
  color: #333333;
  position: relative;
  padding-left: 25px;
}

.page-poker__strategy-list li::before {
  content: '▶';
  color: #FCBC45;
  position: absolute;
  left: 0;
  font-size: 0.8em;
  top: 3px;
}

/* Promotions */
.page-poker__promotions {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-poker__promo-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-poker__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-poker__promo-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-poker__promo-description {
  font-size: 1em;
  color: #555555;
  padding: 0 20px;
  flex-grow: 1;
}

/* Security */
.page-poker__security {
  padding: 80px 0;
  background-color: #f0f0f0;
}

.page-poker__security-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-poker__link {
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  padding: 10px 20px;
  border: 2px solid #000000;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-poker__link:hover {
  background-color: #000000;
  color: #FFFFFF;
}

/* Mobile Experience */
.page-poker__mobile-experience {
  padding: 80px 0;
  background-color: #FFFFFF;
  text-align: center;
}

.page-poker__mobile-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 50px auto 0;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* FAQ */
.page-poker__faq {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-poker__faq-item {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.page-poker__faq-question {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-poker__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-poker__faq-question.active::after {
  content: '-';
  transform: rotate(0deg);
}

.page-poker__faq-answer {
  font-size: 1.05em;
  color: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
  opacity: 0;
  padding-top: 0;
}

.page-poker__faq-answer.active {
  max-height: 200px; /* Adjust as needed for content */
  opacity: 1;
  padding-top: 15px;
}

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

.page-poker__cta-section .page-poker__section-title {
  color: #FCBC45;
}

.page-poker__cta-section .page-poker__text-content {
  color: #f0f0f0;
}

.page-poker__cta-section .page-poker__section-title::after {
  background-color: #FCBC45;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3em;
  }
  .page-poker__hero-description {
    font-size: 1.2em;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-poker {
    padding-top: var(--header-offset, 80px);
  }
  .page-poker__hero-title {
    font-size: 2.2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__text-content {
    font-size: 1em;
  }
  .page-poker__game-grid,
  .page-poker__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__strategy-columns {
    flex-direction: column;
    gap: 30px;
  }
  .page-poker__strategy-column {
    max-width: 100%;
  }
  .page-poker__faq-question {
    font-size: 1.2em;
  }
  .page-poker__faq-answer {
    font-size: 0.95em;
  }
  /* Mobile content image constraint */
  .page-poker__hero-image,
  .page-poker__game-image,
  .page-poker__promo-image,
  .page-poker__mobile-image {
    max-width: 100%;
    height: auto;
  }
  .page-poker__container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 1.8em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__hero-content {
    padding: 30px 20px;
  }
  .page-poker__section-title {
    font-size: 1.5em;
  }
  .page-poker__button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-poker__game-title,
  .page-poker__promo-title {
    font-size: 1.5em;
  }
  .page-poker__faq-question {
    font-size: 1.1em;
  }
}