.page-poker {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-poker__section--dark {
  background-color: #1A1A1A;
  color: #f0f0f0;
}

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

.page-poker__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-poker__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-align: center;
  cursor: pointer;
}

.page-poker__btn--primary {
  background-color: #FFD700;
  color: #1A1A1A;
  border: 2px solid #FFD700;
}

.page-poker__btn--primary:hover {
  background-color: #e6c200;
  color: #000000;
}

.page-poker__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-poker__btn--secondary:hover {
  background-color: #FFD700;
  color: #1A1A1A;
}

.page-poker__btn--accent {
  background-color: #FFD700;
  color: #1A1A1A;
  border: 2px solid #FFD700;
}

.page-poker__btn--accent:hover {
  background-color: #e6c200;
  color: #000000;
}

.page-poker__btn--small {
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-poker__btn--large {
  padding: 15px 30px;
  font-size: 1.1em;
}

.page-poker__btn--text {
  background: none;
  border: none;
  color: #FFD700;
  padding: 0;
  margin: 0;
  text-decoration: underline;
}

.page-poker__btn--text:hover {
  color: #e6c200;
}

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #f0f0f0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-poker__hero-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

.page-poker__hero-container {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 20px;
}

.page-poker__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  line-height: 1.2;
}

.page-poker__hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__hero-actions .page-poker__btn {
  margin: 10px;
}

/* About Section */
.page-poker__about-section {
  padding: 80px 0;
}

.page-poker__about-section .page-poker__section-title {
  color: #FFD700;
}

.page-poker__about-section .page-poker__section-intro {
  color: #f0f0f0;
}

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

.page-poker__feature-item {
  background-color: #333333;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: #f0f0f0;
}

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

.page-poker__feature-text {
  font-size: 1em;
  line-height: 1.7;
}

.page-poker__cta-row {
  text-align: center;
  margin-top: 50px;
}

/* Games Section */
.page-poker__games-section {
  padding: 80px 0;
  background-color: #f4f4f4;
}

.page-poker__games-section .page-poker__section-title {
  color: #1A1A1A;
}

.page-poker__games-section .page-poker__section-intro {
  color: #333333;
}

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

.page-poker__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
}

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

.page-poker__game-card-title {
  font-size: 1.4em;
  color: #1A1A1A;
  margin: 20px 0 10px;
  padding: 0 15px;
}

.page-poker__game-card-text {
  font-size: 0.95em;
  color: #555555;
  padding: 0 15px 20px;
}

/* Strategy Section */
.page-poker__strategy-section {
  padding: 80px 0;
}

.page-poker__strategy-section .page-poker__section-title {
  color: #FFD700;
}

.page-poker__strategy-section .page-poker__section-intro {
  color: #f0f0f0;
}

.page-poker__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-poker__strategy-card {
  background-color: #333333;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  color: #f0f0f0;
}

.page-poker__strategy-card-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.page-poker__strategy-card-title {
  font-size: 1.4em;
  color: #FFD700;
  margin: 20px 0 10px;
  padding: 0 15px;
}

.page-poker__strategy-card-text {
  font-size: 0.95em;
  color: #cccccc;
  padding: 0 15px 20px;
}

/* CTA Section */
.page-poker__cta-section {
  padding: 80px 0;
  background-color: #FFD700;
  color: #1A1A1A;
  text-align: center;
}

.page-poker__cta-section .page-poker__section-title {
  color: #1A1A1A;
}

.page-poker__cta-section .page-poker__section-intro {
  color: #333333;
  margin-bottom: 50px;
}

.page-poker__cta-actions .page-poker__btn {
  margin: 10px;
  border-color: #1A1A1A;
}

.page-poker__cta-actions .page-poker__btn--primary {
  background-color: #1A1A1A;
  color: #FFD700;
}

.page-poker__cta-actions .page-poker__btn--primary:hover {
  background-color: #333333;
  color: #FFD700;
}

.page-poker__cta-actions .page-poker__btn--secondary {
  background-color: transparent;
  color: #1A1A1A;
}

.page-poker__cta-actions .page-poker__btn--secondary:hover {
  background-color: #1A1A1A;
  color: #FFD700;
}

/* Mobile Section */
.page-poker__mobile-section {
  padding: 80px 0;
}

.page-poker__mobile-layout {
  display: flex;
  align-items: center;
  gap: 50px;
  text-align: left;
}

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

.page-poker__mobile-text-content .page-poker__section-title {
  text-align: left;
  color: #FFD700;
}

.page-poker__mobile-text-content .page-poker__section-intro {
  text-align: left;
  color: #f0f0f0;
  margin: 0 0 30px;
}

.page-poker__mobile-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-poker__mobile-features li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-poker__mobile-features li::before {
  content: '✓';
  color: #FFD700;
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

.page-poker__mobile-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  min-width: 200px; /* Ensure images are not too small */
  min-height: 200px;
}

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

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

@media (max-width: 768px) {
  .page-poker__hero-section {
    min-height: 400px;
  }

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

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

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

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

  .page-poker__features-grid, .page-poker__game-cards-grid, .page-poker__strategy-grid {
    grid-template-columns: 1fr;
  }

  .page-poker__hero-actions .page-poker__btn {
    display: block;
    margin: 10px auto;
  }

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

  .page-poker__mobile-text-content .page-poker__section-title,
  .page-poker__mobile-text-content .page-poker__section-intro {
    text-align: center;
  }

  .page-poker__mobile-features {
    text-align: left;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .page-poker__mobile-image-container {
    order: -1; /* Image above text on mobile */
    margin-bottom: 30px;
  }

  /* Enforce image responsiveness and minimum size for content images */
  .page-poker img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
  }
}

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

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

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