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

.page-poker__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-poker__hero-section {
  background: linear-gradient(135deg, #F2C14E, #FFD36B);
  color: #000000; /* Ensure contrast on gradient background */
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Specific instruction override for desktop hero padding */
}

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  margin-bottom: 30px;
}

.page-poker__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.05em;
  margin-bottom: 20px;
  color: #000000;
}

.page-poker__description {
  font-size: 1.25rem;
  margin-bottom: 30px;
  color: #333333;
}

.page-poker__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

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

.page-poker__section {
  padding: 60px 0;
}

.page-poker__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #F2C14E; /* Main color for titles */
}

.page-poker__section-intro {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #FFF6D6;
}

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

.page-poker__btn-primary,
.page-poker__btn-secondary,
.page-poker__btn-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-align: center;
  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 */
  color: #ffffff; /* Ensure white text on golden button */
  border: none;
}

.page-poker__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

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

.page-poker__btn-link {
  background: transparent;
  color: #FFD36B; /* Glow color */
  border: 1px solid #FFD36B; /* Glow color */
  padding: 10px 20px;
  font-size: 1rem;
}

.page-poker__btn-link:hover {
  background: #FFD36B;
  color: #111111; /* Card BG for contrast */
}

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

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

.page-poker__feature-title {
  font-size: 1.5rem;
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-poker__feature-text {
  color: #FFF6D6;
}

/* Game Varieties Section */
.page-poker__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-poker__game-card {
  background-color: #111111;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12;
  display: flex;
  flex-direction: column;
}

.page-poker__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-poker__game-title {
  font-size: 1.4rem;
  color: #F2C14E;
  margin: 20px 20px 10px 20px;
}

.page-poker__game-description {
  color: #FFF6D6;
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-poker__game-card .page-poker__btn-link {
  margin: 0 20px 20px 20px;
  align-self: flex-start;
}

/* How to Start Section */
.page-poker__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-poker__step-card {
  background-color: #111111;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12;
}

.page-poker__step-number {
  font-size: 3rem;
  font-weight: 700;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
}

.page-poker__step-title {
  font-size: 1.5rem;
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-poker__step-description {
  color: #FFF6D6;
  margin-bottom: 20px;
}

/* Promotions Section */
.page-poker__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-poker__promo-card {
  background-color: #111111;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12;
  text-align: center;
}

.page-poker__promo-title {
  font-size: 1.4rem;
  color: #FFD36B;
  margin-bottom: 15px;
}

.page-poker__promo-description {
  color: #FFF6D6;
  margin-bottom: 20px;
}

/* Mobile App Section */
.page-poker__mobile-app-flex {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.page-poker__mobile-content {
  flex: 1;
  min-width: 300px;
}

.page-poker__app-features {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-poker__app-features li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%23FFD36B"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  color: #FFF6D6;
}

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

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

/* Security & Fairness Section */
.page-poker__security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-poker__security-item {
  background-color: #111111;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12;
  text-align: center;
}

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

.page-poker__security-text {
  color: #FFF6D6;
}

.page-poker__security-image-wrapper {
  text-align: center;
  margin-top: 40px;
}

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

/* Payment Methods Section */
.page-poker__payment-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

.page-poker__payment-item {
  background-color: #111111;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12;
  width: 167px; /* Fixed width as per requirement */
  height: 167px; /* Adjust height to accommodate logo and text */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.page-poker__payment-logo {
  width: 167px;
  height: 127px;
  object-fit: contain;
  margin-bottom: 10px;
}

.page-poker__payment-name {
  font-size: 1.2rem;
  color: #FFF6D6;
}

/* Customer Support Section */
.page-poker__support-channels {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-poker__support-link {
  background-color: #111111;
  color: #F2C14E;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid #3A2A12;
  transition: all 0.3s ease;
}

.page-poker__support-link:hover {
  background-color: #F2C14E;
  color: #0A0A0A;
}

/* FAQ Section */
.page-poker__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-poker__faq-item {
  background-color: #111111;
  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-color: #111111;
  color: #F2C14E;
  font-size: 1.2rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

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

.page-poker__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFD36B;
  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;
}

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

.page-poker__faq-answer p {
  margin-bottom: 0;
  color: #FFF6D6;
}

/* Conclusion Section */
.page-poker__conclusion .page-poker__section-title {
  color: #FFD36B;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-section {
    padding-bottom: 60px;
  }
  .page-poker__hero-content {
    margin-bottom: 20px;
  }
  .page-poker__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-poker__description {
    font-size: 1.1rem;
  }
  .page-poker__mobile-app-flex {
    flex-direction: column;
  }
  .page-poker__mobile-content,
  .page-poker__mobile-image-wrapper {
    min-width: unset;
    width: 100%;
  }
  .page-poker__mobile-image {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile specific hero padding */
    padding-bottom: 40px;
  }
  .page-poker__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  .page-poker__description {
    font-size: 1rem;
  }
  .page-poker__section-title {
    font-size: 2rem;
  }
  .page-poker__section-intro {
    font-size: 0.95rem;
  }
  .page-poker__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-poker__btn-primary,
  .page-poker__btn-secondary,
  .page-poker__btn-link {
    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__btn-primary,
  .page-poker__btn-secondary {
    padding: 12px 20px;
    font-size: 1rem;
  }
  .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 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-poker__payment-item {
    width: 100%;
    height: auto;
  }
  .page-poker__payment-logo {
    width: 120px;
    height: 90px;
  }
  .page-poker__app-features li {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .page-poker__section-title {
    font-size: 1.8rem;
  }
  .page-poker__feature-title,
  .page-poker__game-title,
  .page-poker__step-title,
  .page-poker__promo-title,
  .page-poker__security-title,
  .page-poker__faq-question {
    font-size: 1.15rem;
  }
  .page-poker__faq-question {
    padding: 15px 20px;
  }
  .page-poker__faq-answer {
    padding: 10px 20px;
  }
  .page-poker__faq-toggle {
    font-size: 1.2rem;
  }
}