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

.page-poker__section-spacing {
  padding: 80px 0;
}

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

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Adjusted for body padding-top, 10px decorative top padding */
  overflow: hidden;
}

.page-poker__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  position: relative;
}

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

.page-poker__hero-content-wrapper {
  position: relative; /* Ensure content is above image in stacking context if needed */
  z-index: 2;
  margin-top: 40px;
  padding: 0 20px;
  max-width: 900px;
}

.page-poker__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  color: #F2C14E;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

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

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

/* Buttons */
.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.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

.page-poker__btn-primary:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-poker__btn-secondary {
  background: #111111; /* Card BG */
  color: #F2C14E;
  border: 2px solid #F2C14E;
}

.page-poker__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

/* Section Titles */
.page-poker__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #F2C14E;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.3);
}

.page-poker__text-block {
  font-size: 1.1rem;
  color: #FFF6D6;
  margin-bottom: 20px;
  text-align: justify;
}

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

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

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

.page-poker__feature-description {
  font-size: 1rem;
  color: #FFF6D6;
  margin-bottom: 20px;
}

.page-poker__feature-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 20px;
}

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

.page-poker__game-item {
  background: #111111; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12; /* Border */
}

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

.page-poker__game-description {
  font-size: 1rem;
  color: #FFF6D6;
}

/* Mobile App Section */
.page-poker__mobile-app-section {
  background-color: #111111; /* Card BG */
  border-top: 1px solid #3A2A12;
  border-bottom: 1px solid #3A2A12;
}

.page-poker__dark-section {
  background-color: #111111; /* Card BG */
  color: #ffffff; /* Forced white text for dark background */
}

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

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

.page-poker__mobile-app-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-poker__mobile-app-image {
  width: 100%;
  max-width: 400px; /* Max width for image */
  height: auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-poker__app-features li {
  font-size: 1.1rem;
  color: #FFF6D6;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.page-poker__app-features li::before {
  content: '✔️';
  position: absolute;
  left: 0;
  color: #FFD36B;
}

.page-poker__app-cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* Security Section */
.page-poker__security-content {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-direction: row-reverse; /* Image on right */
}

.page-poker__security-text {
  flex: 1;
}

.page-poker__security-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-poker__security-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-poker__security-features li {
  font-size: 1.1rem;
  color: #FFF6D6;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.page-poker__security-features li::before {
  content: '🔒';
  position: absolute;
  left: 0;
  color: #FFD36B;
}

/* Get Started Section */
.page-poker__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-poker__steps-list li {
  background: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border */
  counter-increment: step-counter;
  position: relative;
}

.page-poker__steps-list li::before {
  content: counter(step-counter);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 20px auto;
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

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

.page-poker__step-description {
  font-size: 1rem;
  color: #FFF6D6;
}

.page-poker__get-started-cta {
  text-align: center;
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* FAQ Section */
.page-poker__faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 50px;
}

.page-poker__faq-image-wrapper {
  text-align: center;
}

.page-poker__faq-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-poker__faq-items-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-poker__faq-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-poker__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #1a1a1a;
  color: #FFD36B;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.page-poker__faq-question:hover {
  background-color: #2a2a2a;
}

.page-poker__faq-title {
  margin: 0;
  font-size: 1.1rem;
  color: #FFD36B;
}

.page-poker__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  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 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  font-size: 1rem;
}

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

/* Conclusion Section */
.page-poker__conclusion-section {
  text-align: center;
}

.page-poker__conclusion-cta {
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-poker__hero-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .page-poker__section-title {
    font-size: 2rem;
  }

  .page-poker__mobile-app-content,
  .page-poker__security-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-poker__faq-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-poker__faq-image-wrapper {
    order: -1; /* Image appears above FAQs on mobile */
  }
}

@media (max-width: 768px) {
  .page-poker__section-spacing {
    padding: 60px 0;
  }

  .page-poker__hero-section {
    padding-bottom: 40px;
  }

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

  .page-poker__hero-description {
    font-size: 1rem;
  }

  .page-poker__hero-cta-buttons,
  .page-poker__app-cta-buttons,
  .page-poker__get-started-cta {
    flex-direction: column;
    gap: 15px;
  }

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

  .page-poker__section-title {
    font-size: 1.8rem;
  }

  .page-poker__text-block,
  .page-poker__feature-description,
  .page-poker__game-description,
  .page-poker__app-features li,
  .page-poker__security-features li,
  .page-poker__step-description,
  .page-poker__faq-answer p {
    font-size: 0.95rem;
  }

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

  .page-poker__container,
  .page-poker__feature-item,
  .page-poker__game-item,
  .page-poker__steps-list li,
  .page-poker__faq-item {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Mobile image responsiveness */
  .page-poker img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  /* All content containers for mobile */
  .page-poker__section, .page-poker__card, .page-poker__container, .page-poker__feature-item, .page-poker__game-item, .page-poker__steps-list li, .page-poker__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Video section top padding for mobile, body padding-top is handled by shared */
  .page-poker__hero-section { /* This is the first content section, adjust its top padding */
    padding-top: 10px !important;
  }

  .page-poker__faq-question {
    font-size: 1rem;
  }

  .page-poker__faq-title {
    font-size: 1rem;
  }
}