/* style/poker.css */
.page-poker {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main color */
  background-color: #0A0A0A; /* Background color from shared.css body */
}

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

.page-poker__section-title {
  font-size: 2.5em;
  color: #FFD36B; /* Glow color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-poker__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #FFF6D6;
}

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 60px; /* Adjusted for non-video, non-index page */
  padding-bottom: 60px;
  text-align: center;
  background-color: #0A0A0A;
}

.page-poker__hero-image {
  width: 100%;
  max-width: 1920px; /* Actual display width in a larger context */
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 40px;
}

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

.page-poker__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  color: #FFD36B; /* Glow color */
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: 700;
}

.page-poker__hero-description {
  font-size: 1.2em;
  color: #FFF6D6; /* Text Main color */
  margin-bottom: 30px;
}

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

.page-poker__btn-primary,
.page-poker__btn-secondary,
.page-poker__card-button {
  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;
}

.page-poker__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for bright button */
  border: 2px solid transparent;
}

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

.page-poker__btn-secondary {
  background: #111111; /* Card BG color */
  color: #FFD36B; /* Glow color */
  border: 2px solid #3A2A12; /* Border color */
}

.page-poker__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(58, 42, 18, 0.4);
}

/* General Section Styling */
.page-poker__about-section,
.page-poker__strategy-section,
.page-poker__mobile-section,
.page-poker__faq-section {
  padding: 60px 0;
  background-color: #0A0A0A;
  color: #FFF6D6;
}

.page-poker__games-section,
.page-poker__live-poker-section,
.page-poker__tournaments-section,
.page-poker__bonuses-section,
.page-poker__why-okbet-section,
.page-poker__final-cta-section {
  padding: 60px 0;
  background-color: #111111; /* Card BG color */
  color: #FFF6D6;
}

.page-poker__text-block {
  background-color: #0A0A0A;
}

.page-poker__dark-bg {
  background-color: #111111;
}

.page-poker__text-block p {
  margin-bottom: 20px;
  text-align: justify;
}

/* 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 {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #3A2A12;
}

.page-poker__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(255, 211, 107, 0.15);
}

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

.page-poker__game-title {
  font-size: 1.5em;
  color: #FFD36B; /* Glow color */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-poker__game-title a {
  color: inherit;
  text-decoration: none;
}

.page-poker__game-title a:hover {
  text-decoration: underline;
}

.page-poker__game-description {
  font-size: 0.95em;
  color: #FFF6D6;
  margin-bottom: 20px;
  padding: 0 15px;
}

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

.page-poker__strategy-item {
  background: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #F2C14E;
  padding: 25px;
  border-radius: 8px;
  color: #FFF6D6;
}

.page-poker__strategy-title {
  font-size: 1.3em;
  color: #FFD36B;
  margin-bottom: 10px;
}

/* Live Poker Section */
.page-poker__live-poker-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

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

.page-poker__tournament-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #3A2A12;
}

.page-poker__tournament-name {
  font-size: 1.4em;
  color: #FFD36B;
  margin-bottom: 10px;
}

/* Bonus Cards */
.page-poker__bonus-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-poker__bonus-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid #3A2A12;
}

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

.page-poker__bonus-title {
  font-size: 1.4em;
  color: #FFD36B;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-poker__bonus-title a {
  color: inherit;
  text-decoration: none;
}

.page-poker__bonus-title a:hover {
  text-decoration: underline;
}

.page-poker__bonus-description {
  font-size: 0.95em;
  color: #FFF6D6;
  margin-bottom: 20px;
  padding: 0 15px;
}

/* Mobile Section */
.page-poker__mobile-image {
  width: 100%;
  height: auto;
  max-width: 600px;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Why okbet Section */
.page-poker__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-poker__feature-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #F2C14E;
  color: #FFF6D6;
}

.page-poker__feature-item strong {
  color: #FFD36B;
}

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

.page-poker__faq-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #3A2A12;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-poker__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  color: #FFD36B;
  font-weight: bold;
  font-size: 1.1em;
}

.page-poker__faq-question:hover {
  background: rgba(255, 211, 107, 0.1);
}

.page-poker__faq-q-text {
  margin: 0;
  color: inherit;
}

.page-poker__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 25px;
  color: #FFF6D6;
}

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

.page-poker__faq-answer p {
  margin-bottom: 0;
  text-align: left;
}

/* Final CTA Section */
.page-poker__final-cta-section {
  text-align: center;
  padding: 80px 0;
  background-color: #111111;
}

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

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

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

  .page-poker__hero-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .page-poker__main-title {
    font-size: clamp(1.8em, 6vw, 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,
  .page-poker__card-button {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-poker__game-grid,
  .page-poker__strategy-list,
  .page-poker__bonus-cards,
  .page-poker__tournament-list,
  .page-poker__feature-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-poker__game-image,
  .page-poker__live-poker-image,
  .page-poker__bonus-image,
  .page-poker__mobile-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-poker__about-section,
  .page-poker__games-section,
  .page-poker__strategy-section,
  .page-poker__live-poker-section,
  .page-poker__tournaments-section,
  .page-poker__bonuses-section,
  .page-poker__mobile-section,
  .page-poker__why-okbet-section,
  .page-poker__faq-section,
  .page-poker__final-cta-section {
    padding: 40px 0;
  }
  
  .page-poker__card,
  .page-poker__section,
  .page-poker__box,
  .page-poker__game-card,
  .page-poker__bonus-card,
  .page-poker__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

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