.page-poker {
  color: #333333; /* Default text color for light body background */
}

.page-poker__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #FFFFFF;
  padding: 20px;
  max-width: 900px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  line-height: 1.2;
}

.page-poker__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.5;
}

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

.page-poker__btn {
  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, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-poker__btn--register {
  background-color: #FFFFFF;
  color: #000000;
}

.page-poker__btn--register:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
}

.page-poker__btn--login {
  background-color: #FCBC45;
  color: #000000;
}

.page-poker__btn--login:hover {
  background-color: #e0a53b;
  transform: translateY(-3px);
}

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

.page-poker__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.page-poker__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

.page-poker__section-subtitle {
  font-size: 1.3em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
}

.page-poker__text-content {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.page-poker__about-section {
  background-color: #f9f9f9;
  padding: 60px 0;
}

.page-poker__games-section {
  padding: 60px 0;
}

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

.page-poker__game-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-poker__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
}

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

.page-poker__game-description {
  font-size: 1em;
  color: #666666;
  padding: 0 20px;
  margin-bottom: 20px;
}

.page-poker__btn--play {
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 25px;
  font-size: 0.95em;
}

.page-poker__btn--play:hover {
  background-color: #e0a53b;
}

.page-poker__features-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 60px 0;
}

.page-poker__features-section .page-poker__section-title {
  color: #FFFFFF;
}

.page-poker__features-section .page-poker__section-title::after {
  background-color: #FCBC45;
}

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

.page-poker__feature-item {
  text-align: center;
  padding: 30px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-poker__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-poker__feature-description {
  font-size: 1em;
  line-height: 1.6;
  color: #e0e0e0;
}

.page-poker__strategy-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.page-poker__btn--learn-more {
  background-color: #000000;
  color: #FFFFFF;
  margin-top: 30px;
  padding: 12px 25px;
  display: table;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__btn--learn-more:hover {
  background-color: #333333;
}

.page-poker__cta-section {
  background: linear-gradient(135deg, #000000 0%, #333333 100%);
  padding: 80px 20px;
  text-align: center;
  color: #FFFFFF;
}

.page-poker__cta-title {
  font-size: 3em;
  color: #FCBC45;
  margin-bottom: 20px;
}

.page-poker__cta-description {
  font-size: 1.4em;
  margin-bottom: 40px;
}

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

.page-poker__btn--register-large {
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-poker__btn--register-large:hover {
  background-color: #e0a53b;
  transform: translateY(-3px);
}

.page-poker__btn--download-app {
  background-color: #FFFFFF;
  color: #000000;
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-poker__btn--download-app:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
}

/* Responsive Design */
@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.4em;
  }
  .page-poker__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 80px);
  }
  .page-poker__hero-content {
    padding: 15px;
  }
  .page-poker__hero-title {
    font-size: 2.2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__section-subtitle {
    font-size: 1.1em;
  }
  .page-poker__game-grid, .page-poker__features-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__game-image {
    height: 200px;
  }
  .page-poker__cta-title {
    font-size: 2em;
  }
  .page-poker__cta-description {
    font-size: 1.2em;
  }
  .page-poker__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__btn--register-large, .page-poker__btn--download-app {
    width: 80%;
    margin: 0 auto;
    padding: 15px 30px;
  }

  /* Mobile content area images must be constrained */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }

  /* Ensure no content overflow */
  .page-poker {
    overflow-x: hidden;
  }
}

@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.8em;
  }
  .page-poker__cta-title {
    font-size: 1.8em;
  }
  .page-poker__btn {
    font-size: 1em;
  }
}