.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__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px; /* Minimum height for hero section */
  background-color: #000000; /* Fallback background */
}

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

.page-poker__hero-container {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #FFFFFF;
  padding: 40px 20px;
  max-width: 900px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

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

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

.page-poker__hero-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-poker__hero-button:hover {
  background-color: #e0a53b;
}

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

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

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

.page-poker__section-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-poker__game-card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-poker__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 1px solid #e0e0e0;
}

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

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

.page-poker__game-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}

.page-poker__game-button:hover {
  background-color: #e0a53b;
}

.page-poker__strategy-list {
  list-style-type: disc;
  padding-left: 20px;
  margin-top: 20px;
}

.page-poker__strategy-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: #333333;
}

.page-poker__strategy-item strong {
  color: #000000;
}

.page-poker__tournament-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #f8f8f8;
}

.page-poker__tournament-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 30px;
  transition: background-color 0.3s ease;
}

.page-poker__tournament-button:hover {
  background-color: #333333;
}

.page-poker__tournament-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.page-poker__why-phjl-section {
  padding: 60px 20px;
}

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

.page-poker__feature-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
}

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

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

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

.page-poker__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 60px 20px;
  text-align: center;
}

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

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

.page-poker__cta-section .page-poker__section-text {
  color: #f0f0f0;
  max-width: 800px;
  margin: 20px auto 40px auto;
}

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

.page-poker__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

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

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

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

.page-poker__mobile-floating-buttons {
  display: none; /* Hidden by default, shown on mobile */
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #000000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  justify-content: space-around;
  padding: 10px 0;
}

.page-poker__mobile-floating-button {
  display: block;
  flex: 1;
  text-align: center;
  padding: 10px 0;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  border-radius: 5px;
  margin: 0 5px;
  transition: background-color 0.3s ease;
}

.page-poker__mobile-floating-button--register {
  background-color: #FFFFFF;
  color: #000000;
}

.page-poker__mobile-floating-button--register:hover {
  background-color: #e0e0e0;
}

.page-poker__mobile-floating-button--login {
  background-color: #FCBC45;
  color: #000000;
}

.page-poker__mobile-floating-button--login:hover {
  background-color: #e0a53b;
}

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

@media (max-width: 768px) {
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__game-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__feature-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__cta-buttons {
    flex-direction: column;
  }
  .page-poker__cta-button {
    width: 80%;
    margin: 0 auto 15px auto;
  }
  .page-poker__mobile-floating-buttons {
    display: flex; /* Show floating buttons on mobile */
  }
  /* Ensure content area images do not overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  /* Specific override for feature icons to not force 200px on mobile if smaller is desired, but still > 200px for content images */
  .page-poker__feature-icon {
    width: 200px; /* Maintain minimum width */
    height: 150px; /* Maintain minimum height */
    max-width: 100%; /* Allow scaling down if needed */
  }
  .page-poker__hero-image,
  .page-poker__game-image,
  .page-poker__tournament-image {
    max-width: 100%;
    height: auto;
  }
}

@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.5em;
  }
  .page-poker__game-image {
    height: 180px;
  }
  .page-poker__cta-button {
    width: 90%;
  }
  .page-poker__mobile-floating-button {
    font-size: 1em;
    padding: 8px 0;
  }
}