/* style/poker.css */
/* body 已 padding-top: var(--header-offset)；页面禁止在 __video-section 再写该变量 */

:root {
  --okbet-main-color: #F2C14E;
  --okbet-aux-color: #FFD36B;
  --okbet-card-bg: #111111;
  --okbet-bg-color: #0A0A0A;
  --okbet-text-main: #FFF6D6;
  --okbet-border-color: #3A2A12;
  --okbet-glow-color: #FFD36B;
  --okbet-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-poker {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--okbet-text-main); /* Default text color for dark background */
  background-color: var(--okbet-bg-color); /* Matches body background */
}

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

.page-poker__section-title {
  font-size: 2.5em;
  color: var(--okbet-aux-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-poker__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker a {
  color: var(--okbet-aux-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-poker a:hover {
  color: var(--okbet-main-color);
}

/* 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, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
  color: var(--okbet-text-main);
  background-color: var(--okbet-bg-color);
}

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

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

.page-poker__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 20px;
  max-width: 800px;
  margin-top: 30px;
}

.page-poker__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size for H1 */
  color: var(--okbet-aux-color);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.1;
}

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

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

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

.page-poker__btn-primary {
  background: var(--okbet-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-poker__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

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

.page-poker__btn-secondary:hover {
  background: var(--okbet-aux-color);
  color: var(--okbet-bg-color);
  transform: translateY(-3px);
}

/* Section Backgrounds */
.page-poker__dark-bg {
  background-color: var(--okbet-bg-color);
  color: var(--okbet-text-main);
}

.page-poker__dark-section {
  background-color: var(--okbet-card-bg);
  color: var(--okbet-text-main);
  padding: 60px 0;
}

.page-poker__light-bg {
  background-color: #f8f8f8;
  color: #333333;
  padding: 60px 0;
}

.page-poker__light-bg .page-poker__section-title,
.page-poker__light-bg .page-poker__text-block {
  color: #333333;
}

.page-poker__light-bg a {
  color: var(--okbet-main-color);
}

.page-poker__light-bg a:hover {
  color: #333333;
}

/* Card Styles */
.page-poker__card {
  background-color: var(--okbet-card-bg);
  border: 1px solid var(--okbet-border-color);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--okbet-text-main);
}

.page-poker__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-poker__card-title {
  font-size: 1.5em;
  color: var(--okbet-aux-color);
  margin-bottom: 10px;
}

.page-poker__card-description {
  font-size: 0.95em;
  color: var(--okbet-text-main);
  margin-bottom: 20px;
}

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

/* How To Play Section */
.page-poker__numbered-list {
  list-style: none;
  padding: 0;
  counter-reset: item;
  max-width: 800px;
  margin: 40px auto;
}

.page-poker__numbered-list li {
  counter-increment: item;
  margin-bottom: 15px;
  padding-left: 40px;
  position: relative;
  font-size: 1.1em;
  text-align: left;
  color: #333333;
}

.page-poker__numbered-list li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0;
  background-color: var(--okbet-main-color);
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 0.9em;
}

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

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

.page-poker__mobile-text {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.page-poker__feature-list {
  list-style: disc inside;
  margin-top: 20px;
  margin-bottom: 30px;
  font-size: 1.1em;
  color: #333333;
  text-align: left;
}

.page-poker__feature-list li {
  margin-bottom: 10px;
}

.page-poker__mobile-image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-poker__mobile-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: block;
}

/* Security Section */
.page-poker__security-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-poker__security-list li {
  font-size: 1.1em;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.page-poker__security-list li::before {
  content: '✔';
  color: var(--okbet-aux-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-poker__security-image {
  max-width: 100%;
  height: auto;
  margin: 30px auto 0 auto;
  display: block;
  border-radius: 10px;
}

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

/* Tips Section */
.page-poker__tips-list {
  list-style: disc inside;
  margin-top: 30px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  font-size: 1.1em;
}

.page-poker__tips-list li {
  margin-bottom: 10px;
}

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

.page-poker__testimonial-card {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
  padding: 25px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-poker__testimonial-text {
  font-style: italic;
  margin-bottom: 15px;
  font-size: 1em;
}

.page-poker__testimonial-author {
  font-weight: bold;
  text-align: right;
  font-size: 0.9em;
}

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

.page-poker__faq-item {
  background-color: var(--okbet-bg-color);
  border: 1px solid var(--okbet-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-poker__faq-item.active {
  background-color: var(--okbet-card-bg);
  border-color: var(--okbet-aux-color);
}

.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: var(--okbet-text-main);
  transition: color 0.3s ease;
}

.page-poker__faq-question:hover {
  color: var(--okbet-aux-color);
}

.page-poker__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--okbet-aux-color);
}

.page-poker__faq-item.active .page-poker__faq-toggle {
  transform: rotate(45deg); /* Plus sign becomes 'x' or 'minus' */
}

.page-poker__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--okbet-text-main);
}

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

.page-poker__faq-answer p {
  margin-bottom: 10px;
  text-align: left;
  font-size: 1em;
}

/* CTA Bottom Section */
.page-poker__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-content {
    margin-top: 0;
  }
}

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

  .page-poker__section-title {
    font-size: 2em;
  }

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

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

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

  .page-poker__btn-primary,
  .page-poker__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-poker__hero-section,
  .page-poker__introduction-section,
  .page-poker__games-section,
  .page-poker__how-to-play-section,
  .page-poker__promotions-section,
  .page-poker__mobile-app-section,
  .page-poker__security-section,
  .page-poker__support-section,
  .page-poker__tips-section,
  .page-poker__testimonials-section,
  .page-poker__faq-section,
  .page-poker__cta-bottom-section {
    padding: 40px 0;
  }

  .page-poker__hero-section {
    padding-top: 10px !important; /* Ensure small padding, not header offset */
  }

  .page-poker__container {
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-poker__section,
  .page-poker__card,
  .page-poker__container,
  .page-poker__mobile-content,
  .page-poker__promo-grid,
  .page-poker__game-list,
  .page-poker__support-options,
  .page-poker__testimonial-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-poker__mobile-text,
  .page-poker__mobile-image-wrapper {
    min-width: unset;
    width: 100%;
  }

  .page-poker__numbered-list li,
  .page-poker__security-list li,
  .page-poker__tips-list li,
  .page-poker__feature-list li {
    font-size: 1em;
  }

  .page-poker__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

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

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

@media (max-width: 480px) {
  .page-poker__section-title {
    font-size: 1.8em;
  }

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

  .page-poker__text-block {
    font-size: 0.95em;
  }
}