.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__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.page-poker__section-dark {
  background-color: #000000; /* Primary brand color */
  color: #ffffff;
}

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

.page-poker__section-title--light {
  color: #ffffff;
}

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

.page-poker__section-text--light {
  color: #f0f0f0;
}

/* Hero Section */
.page-poker__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #ffffff; /* Light background for hero */
}

.page-poker__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
}

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

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

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

.page-poker__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 200px;
  text-align: center;
}

.page-poker__button--primary {
  background-color: #FCBC45; /* Login color */
  color: #000000;
  border: 2px solid #FCBC45;
}

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

.page-poker__button--secondary {
  background-color: #000000; /* Primary brand color */
  color: #FFFFFF; /* Register color */
  border: 2px solid #000000;
}

.page-poker__button--secondary:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-poker__button--cta {
  background-color: #FCBC45; /* Login color */
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-poker__button--cta:hover {
  background-color: #e0a53a;
  border-color: #e0a53a;
}

.page-poker__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-top: 40px;
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* About Section */
.page-poker__image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
  justify-content: center;
}

.page-poker__grid-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min-size */
  min-height: 200px; /* Enforce min-size */
  object-fit: cover;
}

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

.page-poker__game-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-poker__game-description {
  color: #e0e0e0;
  font-size: 1em;
}

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

.page-poker__strategy-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

.page-poker__strategy-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
}

.page-poker__strategy-description {
  color: #555555;
  font-size: 1em;
}

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

/* Tournaments Section */
.page-poker__image-full-width {
  margin-top: 40px;
  text-align: center;
}

.page-poker__full-width-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce min-size */
  min-height: 200px; /* Enforce min-size */
  object-fit: cover;
}

/* Why Panaloko Section */
.page-poker__features-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  max-width: 1000px;
}

.page-poker__feature-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  text-align: left;
  border-left: 5px solid #FCBC45;
}

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

.page-poker__feature-description {
  color: #555555;
  font-size: 0.95em;
}

/* CTA Section */
.page-poker__cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

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

@media (max-width: 768px) {
  .page-poker {
    padding-top: var(--header-offset, 120px);
  }
  .page-poker__hero-section {
    flex-direction: column;
    padding: 60px 15px;
  }
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1.1em;
  }
  .page-poker__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 100%;
    max-width: 300px;
  }
  .page-poker__section-spacing {
    padding: 40px 0;
  }
  .page-poker__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-poker__section-text {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-poker__image-grid, .page-poker__game-grid, .page-poker__strategy-grid, .page-poker__features-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-poker__grid-image, .page-poker__hero-image, .page-poker__full-width-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce min-size for mobile */
    min-height: 200px; /* Enforce min-size for mobile */
  }
  .page-poker__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button--cta {
    width: 100%;
    max-width: 300px;
  }
  /* Ensure no horizontal overflow */
  .page-poker__container {
    padding: 0 15px;
  }
  .page-poker {
    overflow-x: hidden;
  }
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
}