.page-poker {
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 40px 0;
  text-align: center;
}

.page-poker__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-poker__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

.page-poker__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.page-poker__hero-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.3s ease;
  white-space: nowrap;
}

.page-poker__hero-button--primary {
  background-color: #FFD700;
  color: #1A1A2E;
}

.page-poker__hero-button--primary:hover {
  background-color: #e5c100;
  transform: translateY(-3px);
}

.page-poker__hero-button--secondary {
  background-color: #1A1A2E;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-poker__hero-button--secondary:hover {
  background-color: #2e2e4e;
  transform: translateY(-3px);
}

.page-poker__about-section,
.page-poker__game-types-section,
.page-poker__tournaments-section,
.page-poker__strategy-section,
.page-poker__mobile-section,
.page-poker__cta-section {
  padding: 80px 0;
  background-color: #1A1A2E; /* Dark blue background for sections */
  margin-bottom: 20px;
}

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

.page-poker__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-poker__section-text {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px auto;
  color: #e0e0e0;
}

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

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

.page-poker__game-card:hover {
  transform: translateY(-10px);
}

.page-poker__game-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  filter: brightness(0.8);
}

.page-poker__game-card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin: 20px 15px 10px 15px;
}

.page-poker__game-card-description {
  font-size: 1em;
  color: #cccccc;
  padding: 0 15px 20px 15px;
  line-height: 1.5;
}

.page-poker__game-card-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A1A2E;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}

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

.page-poker__tournaments-section,
.page-poker__mobile-section {
  background-color: #0d0d1e;
}

.page-poker__tournaments-content,
.page-poker__mobile-content {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-poker__tournaments-image,
.page-poker__mobile-image {
  width: 100%;
  max-width: 550px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  filter: brightness(0.85);
}

.page-poker__tournaments-text-content,
.page-poker__mobile-text-content {
  max-width: 550px;
  text-align: left;
}

.page-poker__tournament-features {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-poker__tournament-features li {
  font-size: 1.1em;
  color: #e0e0e0;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.page-poker__icon {
  color: #FFD700;
  font-size: 1.3em;
  margin-right: 10px;
}

.page-poker__tournaments-button,
.page-poker__mobile-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A1A2E;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 30px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-poker__tournaments-button:hover,
.page-poker__mobile-button:hover {
  background-color: #e5c100;
  transform: translateY(-3px);
}

.page-poker__strategy-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}

.page-poker__strategy-link {
  display: inline-block;
  background-color: #FFD700;
  color: #1A1A2E;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-poker__strategy-link:hover {
  background-color: #e5c100;
}

.page-poker__cta-section {
  text-align: center;
  background: linear-gradient(135deg, #1A1A2E, #333355);
  border-radius: 15px;
  padding: 60px 20px;
  margin: 40px auto;
  max-width: 1000px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

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

.page-poker__cta-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-poker__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A1A2E;
  padding: 18px 40px;
  border-radius: 10px;
  font-size: 1.3em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-poker__cta-button:hover {
  background-color: #e5c100;
  transform: translateY(-5px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3em;
  }
  .page-poker__section-title {
    font-size: 2.5em;
  }
  .page-poker__tournaments-content,
  .page-poker__mobile-content {
    flex-direction: column;
    text-align: center;
  }
  .page-poker__tournaments-text-content,
  .page-poker__mobile-text-content {
    text-align: center;
  }
  .page-poker__tournament-features {
    padding-left: 0;
    text-align: left;
    max-width: 400px;
    margin: 30px auto 0 auto;
  }
}

@media (max-width: 768px) {
  .page-poker {
    padding-top: var(--header-offset, 120px); /* Maintain header offset for mobile */
  }
  .page-poker__hero-section {
    min-height: 500px;
    padding: 30px 0;
  }
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__hero-button {
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-poker__about-section,
  .page-poker__game-types-section,
  .page-poker__tournaments-section,
  .page-poker__strategy-section,
  .page-poker__mobile-section,
  .page-poker__cta-section {
    padding: 50px 0;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__section-text {
    font-size: 0.95em;
  }
  .page-poker__game-types-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__game-card-image {
    height: 200px;
  }
  .page-poker__tournaments-image,
  .page-poker__mobile-image {
    max-width: 100%;
    height: auto;
  }
  .page-poker__cta-title {
    font-size: 2.2em;
  }
  .page-poker__cta-description {
    font-size: 1em;
  }
  .page-poker__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  /* Mobile content area image constraint */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  /* Ensure content area images are not too small, applies to all img within .page-poker */
  .page-poker img:not(.page-poker__hero-image) {
    min-width: 200px;
    min-height: 200px;
  }
}

@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.8em;
  }
  .page-poker__cta-title {
    font-size: 1.8em;
  }
  .page-poker__hero-button {
    width: 90%;
  }
}