/* style/poker.css */

/* Root variables for colors */
:root {
  --page-poker-primary-color: #F2C14E;
  --page-poker-secondary-color: #FFD36B;
  --page-poker-bg-color: #0A0A0A;
  --page-poker-card-bg: #111111;
  --page-poker-text-main: #FFF6D6;
  --page-poker-border-color: #3A2A12;
  --page-poker-glow-color: #FFD36B;
  --page-poker-btn-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-poker {
  font-family: Arial, sans-serif;
  color: var(--page-poker-text-main); /* Light text on dark background */
  background-color: var(--page-poker-bg-color);
}

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

.page-poker__section-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--page-poker-secondary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-poker__section-intro {
  font-size: clamp(1rem, 2vw, 1.2rem);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
  color: rgba(255, 246, 214, 0.8);
}

.page-poker__card {
  background-color: var(--page-poker-card-bg);
  border: 1px solid var(--page-poker-border-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--page-poker-text-main);
}

.page-poker__btn-primary,
.page-poker__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-poker__btn-primary {
  background: var(--page-poker-btn-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-poker__btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 15px var(--page-poker-glow-color);
}

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

.page-poker__btn-secondary:hover {
  background: var(--page-poker-secondary-color);
  color: var(--page-poker-bg-color);
  box-shadow: 0 0 15px var(--page-poker-glow-color);
}

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

.page-poker__hero-video-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  margin-bottom: 40px;
}

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

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

.page-poker__hero-title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  color: var(--page-poker-secondary-color);
  margin-bottom: 15px;
  font-weight: 900;
  line-height: 1.1;
}

.page-poker__hero-description {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: rgba(255, 246, 214, 0.9);
  margin-bottom: 30px;
  line-height: 1.5;
}

.page-poker__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Why Choose Section */
.page-poker__why-choose-section {
  padding: 80px 0;
  background-color: var(--page-poker-bg-color);
}

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

.page-poker__feature-card {
  padding: 40px 20px;
}

.page-poker__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 5px;
}

.page-poker__feature-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: var(--page-poker-primary-color);
  margin-bottom: 15px;
}

.page-poker__feature-description {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 246, 214, 0.7);
}

/* How to Start Section */
.page-poker__how-to-start-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

.page-poker__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-poker__step-card {
  padding: 30px;
}

.page-poker__step-number {
  font-size: 3rem;
  font-weight: bold;
  color: var(--page-poker-primary-color);
  margin-bottom: 20px;
}

.page-poker__step-title {
  font-size: clamp(1.3rem, 2.3vw, 1.6rem);
  color: var(--page-poker-secondary-color);
  margin-bottom: 15px;
}

.page-poker__step-description {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 246, 214, 0.7);
  margin-bottom: 25px;
}

.page-poker__step-btn {
  margin-top: auto; /* Pushes button to bottom */
  width: 100%;
}

/* Game Variety Section */
.page-poker__game-variety-section {
  padding: 80px 0;
  background-color: var(--page-poker-bg-color);
}

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

.page-poker__game-card {
  padding: 0;
  overflow: hidden;
}

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

.page-poker__game-card .page-poker__game-title,
.page-poker__game-card .page-poker__game-description,
.page-poker__game-card .page-poker__game-btn {
  padding: 0 20px;
  text-align: left;
}

.page-poker__game-card .page-poker__game-title {
  font-size: clamp(1.3rem, 2.3vw, 1.6rem);
  color: var(--page-poker-primary-color);
  margin-bottom: 10px;
}

.page-poker__game-card .page-poker__game-description {
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 246, 214, 0.7);
  margin-bottom: 20px;
}

.page-poker__game-card .page-poker__game-btn {
  margin-top: auto;
  margin-bottom: 20px;
  width: calc(100% - 40px);
}

/* Tips and Strategy Section */
.page-poker__tips-strategy-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

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

.page-poker__strategy-item {
  text-align: left;
}

.page-poker__strategy-title {
  font-size: clamp(1.3rem, 2.3vw, 1.6rem);
  color: var(--page-poker-primary-color);
  margin-bottom: 15px;
}

.page-poker__strategy-description {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 246, 214, 0.7);
}

/* Community & Support Section */
.page-poker__community-support-section {
  padding: 80px 0;
  background-color: var(--page-poker-bg-color);
}

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

.page-poker__community-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 5px;
}

.page-poker__community-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: var(--page-poker-secondary-color);
  margin-bottom: 15px;
}

.page-poker__community-description {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 246, 214, 0.7);
  margin-bottom: 25px;
}

.page-poker__community-btn {
  margin-top: auto;
  width: 100%;
}

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

.page-poker__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-poker__faq-item {
  margin-bottom: 15px;
  text-align: left;
  padding: 0;
}

.page-poker__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: bold;
  cursor: pointer;
  color: var(--page-poker-primary-color);
  background-color: var(--page-poker-card-bg);
  border-bottom: 1px solid var(--page-poker-border-color);
  border-radius: 10px;
}

.page-poker__faq-question:hover {
  background-color: #1a1a1a;
}

.page-poker__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--page-poker-secondary-color);
}

.page-poker__faq-item.active .page-poker__faq-toggle {
  transform: rotate(45deg);
}

.page-poker__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 246, 214, 0.7);
  background-color: var(--page-poker-card-bg);
  border-radius: 0 0 10px 10px;
  border: 1px solid var(--page-poker-border-color);
  border-top: none;
}

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

/* Final CTA Section */
.page-poker__cta-final-section {
  padding: 80px 0;
  background-color: var(--page-poker-bg-color);
}

.page-poker__final-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
  }
  .page-poker__hero-description {
    font-size: clamp(1rem, 2.2vw, 1.3rem);
  }
  .page-poker__section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
  }
}

@media (max-width: 768px) {
  .page-poker {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-poker__hero-section {
    padding-bottom: 40px;
  }
  .page-poker__hero-video-wrapper {
    margin-bottom: 30px;
  }
  .page-poker__hero-title {
    font-size: clamp(2.2rem, 7vw, 3.5rem);
  }
  .page-poker__hero-description {
    font-size: clamp(1rem, 3.5vw, 1.2rem);
  }
  .page-poker__hero-cta-buttons,
  .page-poker__final-cta-buttons {
    flex-direction: column;
    align-items: center;
    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__section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }
  .page-poker__section-intro {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    margin-bottom: 30px;
  }
  .page-poker__features-grid,
  .page-poker__steps-grid,
  .page-poker__game-cards-grid,
  .page-poker__strategy-grid,
  .page-poker__community-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-poker__card {
    padding: 25px;
  }
  .page-poker__feature-icon,
  .page-poker__community-icon {
    width: 80px;
    height: 80px;
  }
  .page-poker__game-image {
    height: 180px;
  }
  .page-poker img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-poker__section,
  .page-poker__card,
  .page-poker__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-poker__hero-video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-poker__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-poker__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }
  .page-poker__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .page-poker__hero-description {
    font-size: clamp(0.9rem, 4vw, 1.1rem);
  }
  .page-poker__section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }
  .page-poker__section-intro {
    font-size: clamp(0.9rem, 3vw, 1rem);
  }
  .page-poker__btn-primary,
  .page-poker__btn-secondary {
    padding: 12px 25px;
  }
  .page-poker__step-number {
    font-size: 2.5rem;
  }
  .page-poker__feature-title,
  .page-poker__step-title,
  .page-poker__game-title,
  .page-poker__strategy-title,
  .page-poker__community-title {
    font-size: clamp(1.2rem, 4.5vw, 1.5rem);
  }
}