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

.page-poker__section-header {
  text-align: center;
  margin-bottom: 40px;
}

.page-poker__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #FFD36B; /* Glow color for titles */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-poker__section-description {
  font-size: 1.1em;
  color: #FFF6D6;
  max-width: 800px;
  margin: 0 auto;
}

.page-poker__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  background-color: #0A0A0A;
  overflow: hidden;
}

.page-poker__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Max width for image container */
  margin-bottom: 30px;
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.page-poker__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative; /* Ensure content is above image in normal flow */
  z-index: 1;
}

.page-poker__hero-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
  font-weight: 700;
  color: #FFD36B; /* Glow color */
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

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

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

.page-poker__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

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

.page-poker__btn-secondary:hover {
  background: #3A2A12;
  color: #FFF6D6;
  transform: translateY(-2px);
}

.page-poker__video-section {
  padding: 60px 20px;
  background-color: #0A0A0A;
  text-align: center;
}

.page-poker__video-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  background-color: #111111;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
}

.page-poker__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}

.page-poker__video-caption {
  margin-top: 20px;
  font-size: 1em;
  color: #FFF6D6;
}

.page-poker__content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #0A0A0A;
}

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

.page-poker__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFF6D6;
}

.page-poker__feature-icon,
.page-poker__variant-image,
.page-poker__strategy-image,
.page-poker__promo-image,
.page-poker__responsible-gaming-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-poker__feature-title,
.page-poker__variant-title,
.page-poker__step-title,
.page-poker__strategy-title,
.page-poker__promo-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFD36B;
  margin-bottom: 15px;
}

.page-poker__feature-text,
.page-poker__variant-text,
.page-poker__step-text,
.page-poker__promo-text {
  font-size: 1em;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-poker__feature-text a,
.page-poker__step-text a,
.page-poker__faq-answer a {
  color: #FFD36B;
  text-decoration: underline;
}

.page-poker__feature-text a:hover,
.page-poker__step-text a:hover,
.page-poker__faq-answer a:hover {
  color: #F2C14E;
}

.page-poker__steps-grid .page-poker__card {
  text-align: left;
  align-items: flex-start;
}

.page-poker__strategy-list {
  list-style: disc inside;
  text-align: left;
  margin-bottom: 20px;
  padding-left: 20px;
  color: #FFF6D6;
}

.page-poker__strategy-list li {
  margin-bottom: 8px;
}

.page-poker__btn-text-link {
  color: #FFD36B;
  text-decoration: none;
  font-weight: bold;
  margin-top: auto;
}

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

.page-poker__responsible-gaming-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.page-poker__responsible-gaming-image {
  flex: 1 1 400px;
  max-width: 500px;
  min-width: 200px;
}

.page-poker__responsible-gaming-text {
  flex: 2 1 500px;
  color: #FFF6D6;
}

.page-poker__responsible-gaming-text p {
  margin-bottom: 15px;
}

.page-poker__responsible-gaming-text a {
  color: #FFD36B;
  text-decoration: underline;
}

.page-poker__responsible-gaming-text a:hover {
  color: #F2C14E;
}

.page-poker__faq-section {
  padding: 60px 20px;
  background-color: #0A0A0A;
}

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

.page-poker__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  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;
  background-color: #111111;
  color: #FFD36B;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
}

.page-poker__faq-question:hover {
  background-color: #3A2A12;
}

.page-poker__faq-question-title {
  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;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  background-color: #0A0A0A;
}

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

.page-poker__faq-answer p {
  margin: 0;
}

.page-poker__cta-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #0A0A0A;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-poker__section-title {
    font-size: 2.2em;
  }
  .page-poker__hero-title {
    font-size: clamp(2.2em, 4.5vw, 3.2em);
  }
  .page-poker__hero-description,
  .page-poker__section-description {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding: 10px 15px 40px;
  }
  .page-poker__hero-image-wrapper {
    margin-bottom: 20px;
  }
  .page-poker__hero-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-poker__hero-description {
    font-size: 0.95em;
  }
  .page-poker__hero-cta-buttons,
  .page-poker__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
  }
  .page-poker__btn-primary,
  .page-poker__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  
  .page-poker__video-section,
  .page-poker__content-section,
  .page-poker__cta-section {
    padding: 40px 15px;
  }
  
  .page-poker__section-title {
    font-size: 1.8em;
  }

  .page-poker__features-grid,
  .page-poker__variants-grid,
  .page-poker__steps-grid,
  .page-poker__strategy-grid,
  .page-poker__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-poker__card {
    padding: 20px;
  }

  .page-poker__feature-title,
  .page-poker__variant-title,
  .page-poker__step-title,
  .page-poker__strategy-title,
  .page-poker__promo-title {
    font-size: 1.3em;
  }

  .page-poker__feature-text,
  .page-poker__variant-text,
  .page-poker__step-text,
  .page-poker__promo-text {
    font-size: 0.95em;
  }

  .page-poker__responsible-gaming-content {
    flex-direction: column;
  }

  .page-poker__responsible-gaming-image {
    max-width: 100%;
  }
  
  /* Mobile video adaptation */
  .page-poker__video-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-poker__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  /* Mobile image adaptation */
  .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__video-section {
    padding-top: 10px !important;
  }

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

}