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

.page-poker__hero-section {
  position: relative;
  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-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-poker__hero-content {
  z-index: 1;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  max-width: 800px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent dark overlay for text readability */
  padding: 30px;
  border-radius: 10px;
}

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

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

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

.page-poker__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  border: none;
}

.page-poker__button--primary {
  background-color: #FFD700; /* Auxiliary color */
  color: #1A237E; /* Main color for text */
}

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

.page-poker__button--secondary {
  background-color: #1A237E; /* Main color */
  color: #FFD700; /* Auxiliary color for text */
  border: 2px solid #FFD700;
}

.page-poker__button--secondary:hover {
  background-color: #0f165a;
  transform: translateY(-2px);
}

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

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

.page-poker__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 10px auto 0;
  border-radius: 2px;
}

.page-poker__section-intro {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #555555;
}

.page-poker__about-section, .page-poker__game-selection-section, .page-poker__tournaments-section, .page-poker__strategy-section, .page-poker__support-section, .page-poker__cta-section {
  padding: 80px 0;
}

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

.page-poker__features-grid, .page-poker__game-grid, .page-poker__tournament-types, .page-poker__strategy-grid, .page-poker__support-grid {
  display: grid;
  gap: 30px;
}

.page-poker__features-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-poker__feature-card, .page-poker__game-card, .page-poker__type-card, .page-poker__strategy-card, .page-poker__support-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-poker__feature-image, .page-poker__game-image, .page-poker__type-image, .page-poker__strategy-image, .page-poker__support-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-poker__feature-title, .page-poker__game-title, .page-poker__type-title, .page-poker__strategy-title, .page-poker__support-title {
  font-size: 1.8em;
  color: #1A237E;
  margin: 25px 15px 15px;
}

.page-poker__feature-description, .page-poker__game-description, .page-poker__type-description, .page-poker__strategy-description, .page-poker__support-description {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  padding: 0 20px 25px;
  flex-grow: 1;
}

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

.page-poker__tournament-types {
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

.page-poker__strategy-grid, .page-poker__support-grid {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.page-poker__game-card .page-poker__button, .page-poker__type-card .page-poker__button, .page-poker__strategy-card .page-poker__button, .page-poker__support-item .page-poker__button {
  margin: 0 20px 25px;
  width: calc(100% - 40px);
  background-color: #1A237E;
  color: #FFD700;
}

.page-poker__game-card .page-poker__button:hover, .page-poker__type-card .page-poker__button:hover, .page-poker__strategy-card .page-poker__button:hover, .page-poker__support-item .page-poker__button:hover {
  background-color: #0f165a;
}

.page-poker__cta-section {
  background-color: #1A237E;
  color: #ffffff;
  text-align: center;
  padding: 100px 0;
}

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

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

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

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

/* Responsive adjustments */
@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.2em;
  }
}

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

  .page-poker__hero-content {
    padding: 20px;
  }

  .page-poker__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-poker__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-poker__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-poker__button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-poker__container {
    padding: 20px;
  }

  .page-poker__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-poker__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-poker__about-section, .page-poker__game-selection-section, .page-poker__tournaments-section, .page-poker__strategy-section, .page-poker__support-section, .page-poker__cta-section {
    padding: 50px 0;
  }

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

  .page-poker__feature-title, .page-poker__game-title, .page-poker__type-title, .page-poker__strategy-title, .page-poker__support-title {
    font-size: 1.5em;
    margin-top: 20px;
  }

  .page-poker__feature-description, .page-poker__game-description, .page-poker__type-description, .page-poker__strategy-description, .page-poker__support-description {
    font-size: 0.9em;
    padding-bottom: 20px;
  }

  /* Ensure all content area images are responsive and don't overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }

  .page-poker__hero-container {
    padding: 0;
  }
  
  .page-poker__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

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

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

  .page-poker__button {
    width: 100%;
  }
}