.page-poker {
  color: #333333; /* Dark text for light background */
  background-color: var(--secondary-color); /* Assuming --secondary-color is light from shared.css */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  padding: 0;
  text-align: center;
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-poker__hero-container {
  position: relative;
  max-width: 1920px; /* Match hero image width */
  margin: 0 auto;
}

.page-poker__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-poker__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  text-transform: uppercase;
  letter-spacing: 2px;
}

.page-poker__hero-description {
  font-size: 1.3em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #FFFFFF;
}

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

.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, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

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

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

.page-poker__button--play:hover {
  background-color: #e0a538;
  transform: translateY(-2px);
}

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

.page-poker__intro-section,
.page-poker__games-section,
.page-poker__why-choose-section,
.page-poker__strategy-section,
.page-poker__community-section,
.page-poker__cta-section {
  padding: 60px 0;
  text-align: center;
}

.page-poker__intro-section {
  background-color: #f8f8f8;
}

.page-poker__section-title {
  font-size: 2.5em;
  color: #000000;
  margin-bottom: 30px;
  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__text-content {
  font-size: 1.1em;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 20px auto;
  color: #333333;
}

.page-poker__inline-link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-poker__inline-link:hover {
  text-decoration: underline;
}

.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-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-poker__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-poker__game-description {
  font-size: 0.95em;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 20px;
}

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

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

.page-poker__why-choose-section {
  background-color: #000000;
  color: #FFFFFF;
}

.page-poker__why-choose-section .page-poker__section-title {
  color: #FCBC45;
}

.page-poker__why-choose-section .page-poker__section-title::after {
  background-color: #FFFFFF;
}

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

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

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

.page-poker__feature-description {
  font-size: 0.95em;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-poker__strategy-section {
  background-color: #f8f8f8;
}

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

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

.page-poker__strategy-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-poker__strategy-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-poker__strategy-description {
  font-size: 0.95em;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 20px;
}

.page-poker__button--read-more {
  padding: 10px 20px;
  font-size: 0.9em;
  background-color: #000000;
  color: #FFFFFF;
}

.page-poker__button--read-more:hover {
  background-color: #333333;
}

.page-poker__community-section {
  background-color: #000000;
  color: #FFFFFF;
}

.page-poker__community-section .page-poker__section-title {
  color: #FCBC45;
}

.page-poker__community-section .page-poker__section-title::after {
  background-color: #FFFFFF;
}

.page-poker__community-section .page-poker__text-content {
  color: #f0f0f0;
}

.page-poker__button--community {
  background-color: #FCBC45;
  color: #000000;
  margin-top: 30px;
}

.page-poker__button--community:hover {
  background-color: #e0a538;
}

.page-poker__cta-section {
  background-color: #f8f8f8;
}

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

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

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

.page-poker__button--download-app {
  background-color: #FCBC45;
  color: #000000;
}

.page-poker__button--download-app:hover {
  background-color: #e0a538;
}

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

@media (max-width: 768px) {
  .page-poker__hero-content {
    max-width: 90%;
  }
  .page-poker__main-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-poker__game-grid,
  .page-poker__features-grid,
  .page-poker__strategy-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__game-image,
  .page-poker__strategy-image {
    height: 200px; /* Adjusted for smaller screens */
    max-width: 100%;
  }
  .page-poker__text-content {
    font-size: 1em;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  /* Ensure images do not overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button--register-large,
  .page-poker__button--download-app {
    width: 80%;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .page-poker__main-title {
    font-size: 2em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-poker__section-title {
    font-size: 1.5em;
  }
  .page-poker__game-title,
  .page-poker__strategy-title {
    font-size: 1.5em;
  }
  .page-poker__feature-title {
    font-size: 1.3em;
  }
}