/* style/poker.css */

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

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

.page-poker__dark-bg {
  background-color: #0A0A0A;
  color: #FFF6D6;
}

.page-poker__card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #FFF6D6;
}

.page-poker__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-poker__text-block {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

/* Buttons */
.page-poker__btn-primary,
.page-poker__btn-secondary {
  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, border-color 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: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111;
  border: 2px solid transparent;
}

.page-poker__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
}

.page-poker__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E;
}

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

.page-poker__btn-text-link {
  color: #FFD36B; /* Glow color */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-poker__btn-text-link:hover {
  color: #F2C14E;
  text-decoration: underline;
}

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

.page-poker__cta-buttons--center {
  text-align: center;
}

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  padding: 10px 0 60px 0; /* 10px top padding as per rule */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

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

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up slightly over image for better flow */
}

.page-poker__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* H1 font size constraint */
  color: #F2C14E; /* Main color */
  margin-bottom: 20px;
  line-height: 1.1;
  font-weight: 700;
}

.page-poker__intro-text {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #FFF6D6;
}

/* About Section */
.page-poker__about-section {
  padding: 80px 0;
}

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

.page-poker__about-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-poker__about-card-title {
  font-size: 1.6em;
  color: #FFD36B; /* Glow color */
  margin-bottom: 15px;
}

.page-poker__about-card-text {
  font-size: 1em;
  color: #FFF6D6;
  flex-grow: 1;
}

/* Game Types Section */
.page-poker__game-types-section {
  padding: 80px 0;
}

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

.page-poker__game-card {
  text-align: center;
}

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

.page-poker__game-card-title {
  font-size: 1.5em;
  color: #FFD36B;
  margin-bottom: 10px;
}

.page-poker__game-card-text {
  font-size: 0.95em;
  color: #FFF6D6;
}

/* Strategy Section */
.page-poker__strategy-section {
  padding: 80px 0;
}

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

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

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

.page-poker__strategy-text {
  font-size: 0.95em;
  color: #FFF6D6;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Bonus Section */
.page-poker__bonus-section {
  padding: 80px 0;
}

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

.page-poker__bonus-card {
  text-align: center;
}

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

.page-poker__bonus-card-title {
  font-size: 1.5em;
  color: #FFD36B;
  margin-bottom: 10px;
}

.page-poker__bonus-card-text {
  font-size: 0.95em;
  color: #FFF6D6;
}

/* Mobile Section */
.page-poker__mobile-section {
  padding: 80px 0;
}

.page-poker__mobile-content-wrapper {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 50px;
}

.page-poker__mobile-text-content {
  flex: 1;
  text-align: left;
}

.page-poker__mobile-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
}

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

/* FAQ Section */
.page-poker__faq-section {
  padding: 80px 0;
}

.page-poker__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__faq-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

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

.page-poker__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.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;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #FFF6D6;
}

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

.page-poker__faq-answer p {
  margin: 0;
  font-size: 1em;
}

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

.page-poker__cta-bottom-content {
  max-width: 800px;
}

/* Media Queries */
@media (max-width: 1024px) {
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__intro-text {
    font-size: 1.1em;
  }
  .page-poker__about-grid,
  .page-poker__game-grid,
  .page-poker__strategy-grid,
  .page-poker__bonus-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-poker__mobile-content-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .page-poker__mobile-text-content {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-poker__hero-content {
    margin-top: -50px; /* Adjust for smaller screens */
    padding: 20px;
  }
  .page-poker__main-title {
    font-size: clamp(2em, 8vw, 2.8em);
  }
  .page-poker__intro-text {
    font-size: 1em;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__text-block {
    font-size: 0.95em;
  }
  .page-poker__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-poker__btn-primary,
  .page-poker__btn-secondary,
  .page-poker a[class*="button"],
  .page-poker a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-poker__about-section,
  .page-poker__game-types-section,
  .page-poker__strategy-section,
  .page-poker__bonus-section,
  .page-poker__mobile-section,
  .page-poker__faq-section,
  .page-poker__cta-bottom-section {
    padding: 50px 0;
  }
  .page-poker__container {
    padding: 0 15px;
  }
  .page-poker img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-poker__hero-image-wrapper,
  .page-poker__about-card-image,
  .page-poker__game-card-image,
  .page-poker__bonus-card-image,
  .page-poker__mobile-image-wrapper,
  .page-poker__faq-item,
  .page-poker__cta-bottom-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-poker__mobile-image {
    width: 80%; /* Smaller on mobile to not overwhelm */
  }
  .page-poker__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-poker__faq-answer {
    padding: 0 20px;
  }
  .page-poker__faq-item.active .page-poker__faq-answer {
    padding: 10px 20px 20px 20px;
  }
}

@media (max-width: 480px) {
  .page-poker__section-title {
    font-size: 1.6em;
  }
  .page-poker__main-title {
    font-size: clamp(1.8em, 10vw, 2.5em);
  }
  .page-poker__about-grid,
  .page-poker__game-grid,
  .page-poker__strategy-grid,
  .page-poker__bonus-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__hero-content {
    padding: 15px;
  }
}