.page-poker {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-poker__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--header-offset, 120px) 20px 60px; /* Ensure space for fixed header */
  overflow: hidden;
  background-color: #000000; /* Main dark background */
}

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

.page-poker__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle overlay for text readability */
}

.page-poker__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark background for text */
  border-radius: 10px;
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login accent color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.page-poker__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 200px; /* Ensure buttons are large enough */
  text-align: center;
}

.page-poker__button--register {
  background-color: #FFFFFF; /* Register color */
  color: #000000;
}

.page-poker__button--register:hover {
  background-color: #e0e0e0;
}

.page-poker__button--login {
  background-color: #FCBC45; /* Login color */
  color: #000000;
}

.page-poker__button--login:hover {
  background-color: #e6a73c;
}

.page-poker__button--primary {
  background-color: #FCBC45; /* Login color */
  color: #000000;
  padding: 15px 30px;
}

.page-poker__button--primary:hover {
  background-color: #e6a73c;
}

.page-poker__button--secondary {
  background-color: transparent;
  border: 2px solid #FCBC45;
  color: #FCBC45;
  padding: 15px 30px;
}

.page-poker__button--secondary:hover {
  background-color: #FCBC45;
  color: #000000;
}

.page-poker__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  min-width: auto;
  background-color: #FCBC45;
  color: #000000;
}

.page-poker__button--small:hover {
  background-color: #e6a73c;
}

.page-poker__section-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 25px;
  color: #FCBC45; /* Login color for titles */
  padding-top: 40px;
}

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

.page-poker__about-section,
.page-poker__games-section,
.page-poker__tournaments-section,
.page-poker__bonuses-section,
.page-poker__get-started-section,
.page-poker__mobile-section,
.page-poker__trust-security-section,
.page-poker__responsible-gambling-section,
.page-poker__faq-section {
  padding: 80px 0;
  background-color: #000000; /* Consistent dark background */
}

.page-poker__features-grid,
.page-poker__game-types-grid,
.page-poker__bonuses-grid,
.page-poker__steps-grid,
.page-poker__security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 50px;
}

.page-poker__feature-card,
.page-poker__game-card,
.page-poker__bonus-card,
.page-poker__step-card,
.page-poker__security-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter card background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-poker__feature-card:hover,
.page-poker__game-card:hover,
.page-poker__bonus-card:hover,
.page-poker__step-card:hover,
.page-poker__security-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

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

.page-poker__feature-description,
.page-poker__game-description,
.page-poker__bonus-description,
.page-poker__step-description,
.page-poker__security-description {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-poker__game-card img,
.page-poker__bonus-card img,
.page-poker__security-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-poker__tournament-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 50px;
}

.page-poker__info-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
}

.page-poker__info-title {
  font-size: 1.6em;
  color: #FCBC45;
  margin-bottom: 10px;
}

.page-poker__info-description {
  font-size: 1em;
  color: #cccccc;
}

.page-poker__mobile-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

.page-poker__mobile-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-poker__mobile-image img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-poker__mobile-features {
  flex: 2;
  min-width: 300px;
}

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

.page-poker__feature-list li {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-left: 5px solid #FCBC45;
  margin-bottom: 15px;
  border-radius: 5px;
}

.page-poker__feature-list-title {
  font-size: 1.4em;
  color: #FCBC45;
  margin-bottom: 5px;
}

.page-poker__feature-list li p {
  color: #cccccc;
}

.page-poker__faq-list {
  margin-top: 40px;
}

.page-poker__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 10px;
}

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

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

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

  .page-poker__hero-description {
    font-size: 1.1em;
  }

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

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding-top: var(--header-offset, 80px);
    padding-bottom: 40px;
  }

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

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

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

  .page-poker__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-poker__button {
    width: 100%;
    max-width: 300px;
  }

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

  .page-poker__section-intro {
    font-size: 0.95em;
  }

  .page-poker__features-grid,
  .page-poker__game-types-grid,
  .page-poker__bonuses-grid,
  .page-poker__steps-grid,
  .page-poker__security-grid,
  .page-poker__tournament-info {
    grid-template-columns: 1fr;
  }

  .page-poker__mobile-content {
    flex-direction: column;
  }

  .page-poker__mobile-image img {
    max-width: 80%;
  }

  /* Ensure all content area images are responsive and not too small */
  .page-poker img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px; /* Enforce minimum size for content images */
  }
}

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

  .page-poker__hero-description {
    font-size: 0.9em;
  }

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

  .page-poker__feature-title,
  .page-poker__game-title,
  .page-poker__bonus-title,
  .page-poker__step-title,
  .page-poker__security-title,
  .page-poker__info-title,
  .page-poker__feature-list-title,
  .page-poker__faq-question {
    font-size: 1.3em;
  }
}