.page-poker {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
}

.page-poker__hero-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.page-poker__hero-overlay {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  padding: 40px;
  border-radius: 8px;
  max-width: 800px;
}

.page-poker__main-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold main color */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-poker__intro-text {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-poker__cta-button {
  display: inline-block;
  background-color: #DC143C; /* Action button color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-poker__cta-button:hover {
  background-color: #c01030;
}

.page-poker__cta-button--secondary {
  background-color: #1E90FF;
}

.page-poker__cta-button--secondary:hover {
  background-color: #1565b3;
}

.page-poker__cta-button--final {
  background-color: #FFD700;
  color: #0A0A0A;
}

.page-poker__cta-button--final:hover {
  background-color: #e0b800;
}

/* General Section Styling */
.page-poker__why-choose-section,
.page-poker__game-types-section,
.page-poker__how-to-play-section,
.page-poker__bonuses-section,
.page-poker__mobile-app-section,
.page-poker__faq-section,
.page-poker__cta-final-section {
  padding: 80px 0;
  text-align: center;
}

.page-poker__why-choose-section,
.page-poker__how-to-play-section,
.page-poker__mobile-app-section {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for contrast */
}

.page-poker__section-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

/* Features Grid */
.page-poker__features-grid,
.page-poker__game-grid,
.page-poker__steps-grid,
.page-poker__bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-poker__feature-card,
.page-poker__game-card,
.page-poker__step-card,
.page-poker__bonus-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-poker__feature-card:hover,
.page-poker__game-card:hover,
.page-poker__step-card:hover,
.page-poker__bonus-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-poker__feature-icon,
.page-poker__game-image,
.page-poker__bonus-image,
.page-poker__mobile-app-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover; /* Ensures images cover their area without distortion */
  min-width: 200px; /* Minimum display size */
  min-height: 200px; /* Minimum display size */
}

.page-poker__feature-title,
.page-poker__game-title,
.page-poker__step-title,
.page-poker__bonus-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-poker__feature-text,
.page-poker__game-text,
.page-poker__step-text,
.page-poker__bonus-text {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 20px;
}

.page-poker__step-button,
.page-poker__bonus-button {
  display: inline-block;
  background-color: #1E90FF;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.95em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: auto; /* Push button to bottom */
}

.page-poker__step-button:hover,
.page-poker__bonus-button:hover {
  background-color: #1565b3;
}

/* Mobile App Section */
.page-poker__mobile-app-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  text-align: left;
}

.page-poker__mobile-app-content {
  flex: 1;
  max-width: 600px;
}

.page-poker__mobile-app-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-poker__app-feature-item {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-poker__app-feature-item::before {
  content: '✔';
  color: #FFD700;
  position: absolute;
  left: 0;
}

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

.page-poker__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-poker__faq-question {
  font-size: 1.3em;
  color: #FFD700;
  margin-bottom: 10px;
  cursor: pointer;
}

.page-poker__faq-answer {
  font-size: 1em;
  color: #e0e0e0;
  display: none; /* Hidden by default, toggled by JS */
}

/* Active FAQ state (for JS toggle) */
.page-poker__faq-item.page-poker__faq-item--active .page-poker__faq-answer {
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__main-title {
    font-size: 2.8em;
  }

  .page-poker__section-title {
    font-size: 2.2em;
  }

  .page-poker__hero-overlay {
    padding: 30px;
  }

  .page-poker__mobile-app-container {
    flex-direction: column;
    gap: 30px;
  }

  .page-poker__mobile-app-content,
  .page-poker__mobile-app-image-wrapper {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-poker__main-title {
    font-size: 2em;
  }

  .page-poker__intro-text {
    font-size: 1em;
  }

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

  .page-poker__why-choose-section,
  .page-poker__game-types-section,
  .page-poker__how-to-play-section,
  .page-poker__bonuses-section,
  .page-poker__mobile-app-section,
  .page-poker__faq-section,
  .page-poker__cta-final-section {
    padding: 50px 0;
  }

  .page-poker__hero-overlay {
    padding: 20px;
  }

  .page-poker__features-grid,
  .page-poker__game-grid,
  .page-poker__steps-grid,
  .page-poker__bonus-grid {
    grid-template-columns: 1fr;
  }

  .page-poker__feature-card,
  .page-poker__game-card,
  .page-poker__step-card,
  .page-poker__bonus-card {
    padding: 20px;
  }

  .page-poker__feature-title,
  .page-poker__game-title,
  .page-poker__step-title,
  .page-poker__bonus-title {
    font-size: 1.5em;
  }

  .page-poker__hero-image,
  .page-poker__feature-icon,
  .page-poker__game-image,
  .page-poker__bonus-image,
  .page-poker__mobile-app-image {
    max-width: 100%; /* Prevent horizontal overflow */
    height: auto; /* Maintain aspect ratio */
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
  }
}

@media (max-width: 480px) {
  .page-poker__main-title {
    font-size: 1.6em;
  }

  .page-poker__section-title {
    font-size: 1.5em;
  }

  .page-poker__cta-button {
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-poker__faq-question {
    font-size: 1.1em;
  }
}