/* style/poker.css */

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

/* Sections */
.page-poker__section {
  padding: 60px 20px;
  text-align: center;
}

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

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

.page-poker__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
}

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

.page-poker__hero-content {
  max-width: 900px;
  margin-top: 20px;
  color: #FFF6D6;
  z-index: 1;
}

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

.page-poker__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF6D6;
}

/* Buttons */
.page-poker__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__btn-primary,
.page-poker__btn-secondary {
  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;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-poker__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button */
  color: #ffffff; /* Ensure contrast */
  border: 2px solid transparent;
}

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

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

.page-poker__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.2);
  background: #1A1A1A;
}

.page-poker__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

/* Section titles and text */
.page-poker__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 30px;
  color: #FFD36B; /* Glow */
}

.page-poker__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6;
}

/* How to Play section */
.page-poker__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-poker__step-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  color: #FFF6D6;
  transition: transform 0.3s ease;
}

.page-poker__step-item:hover {
  transform: translateY(-5px);
}

.page-poker__step-title {
  font-size: 1.4em;
  color: #F2C14E; /* Main Color */
  margin-bottom: 15px;
}

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

.page-poker__card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  color: #FFF6D6;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-poker__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-poker__card-title {
  font-size: 1.5em;
  color: #F2C14E; /* Main Color */
  margin-bottom: 10px;
}

.page-poker__card-description {
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-poker__promo-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  color: #FFF6D6;
}

.page-poker__promo-title {
  font-size: 1.3em;
  color: #F2C14E; /* Main Color */
  margin-bottom: 10px;
}

/* Benefits List */
.page-poker__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  text-align: left;
}

.page-poker__benefits-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 20px;
  font-size: 1.05em;
  color: #FFF6D6;
}

.page-poker__benefits-item strong {
  color: #FFD36B; /* Glow */
}

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

.page-poker__mobile-app-text {
  flex: 1;
}

.page-poker__mobile-app-image-wrapper {
  flex: 1;
  max-width: 500px;
  border-radius: 10px;
  overflow: hidden;
}

.page-poker__mobile-app-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 10px;
}

/* Responsible Gaming */
.page-poker__responsible-gaming {
  background-color: #111111; /* Card BG */
  border-top: 1px solid #3A2A12;
  border-bottom: 1px solid #3A2A12;
}

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

.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;
  cursor: pointer;
  background: #111111;
  color: #FFD36B; /* Glow */
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

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

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

.page-poker__faq-item.active .page-poker__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 20px;
}

.page-poker__faq-answer p {
  margin-bottom: 10px;
}

/* Final CTA Section */
.page-poker__cta-final {
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-image-wrapper {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .page-poker__section {
    padding: 40px 15px;
  }

  .page-poker__main-title {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }

  .page-poker__section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }

  .page-poker__hero-description,
  .page-poker__text-block,
  .page-poker__card-description,
  .page-poker__promo-item,
  .page-poker__benefits-item,
  .page-poker__faq-answer {
    font-size: 1em;
  }

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

  .page-poker__btn-primary,
  .page-poker__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-poker__steps-list,
  .page-poker__game-cards,
  .page-poker__promo-list,
  .page-poker__benefits-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-poker__mobile-app-content {
    flex-direction: column;
    text-align: center;
  }

  .page-poker__mobile-app-text {
    order: 2;
  }

  .page-poker__mobile-app-image-wrapper {
    order: 1;
    margin-bottom: 30px;
  }

  /* Force responsive images */
  .page-poker img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Ensure containers for images/buttons/videos are responsive */
  .page-poker__section,
  .page-poker__card,
  .page-poker__container,
  .page-poker__cta-buttons,
  .page-poker__game-cards,
  .page-poker__mobile-app-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Minimal top padding for first section on mobile, body handles header offset */
  .page-poker__hero-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-poker__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-poker__section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .page-poker__btn-primary,
  .page-poker__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
  }
}