.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__section {
  padding: 80px 20px;
  text-align: center;
}

.page-poker__section--dark-bg {
  background-color: #000000; /* Primary color as dark background */
  color: #ffffff; /* Light text on dark background */
}

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

.page-poker__section-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #000000; /* Dark title for light background */
}

.page-poker__section-title--light {
  color: #ffffff; /* Light title for dark background */
}

.page-poker__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__section-description--light {
  color: #f0f0f0;
}

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 60px 20px;
  background-color: #000000;
  color: #ffffff;
}

.page-poker__hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-poker__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.page-poker__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  padding: 20px;
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

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

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

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

.page-poker__button--primary {
  background-color: #FCBC45; /* Login color for primary action */
  color: #000000;
  border: 2px solid #FCBC45;
}

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

.page-poker__button--secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-poker__button--secondary:hover {
  background-color: #ffffff;
  color: #000000;
}

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

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

/* About Section */
.page-poker__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-poker__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-poker__feature-icon {
  width: 200px; /* Min size 200px */
  height: 150px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-poker__feature-text {
  font-size: 1em;
  color: #555555;
}

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

.page-poker__game-type-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-poker__game-type-image {
  width: 100%;
  max-width: 600px; /* Recommended size */
  height: 400px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-poker__game-type-title {
  font-size: 2em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-poker__game-type-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Tournaments Section */
.page-poker__tournament-highlights {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.page-poker__highlight-item {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  text-align: center;
}

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

.page-poker__highlight-text {
  color: #555555;
}

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

.page-poker__strategy-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-poker__strategy-image {
  width: 100%;
  max-width: 600px;
  height: 400px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-poker__strategy-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Why Choose Section */
.page-poker__advantages-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  text-align: left;
}

.page-poker__advantage-item {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  font-size: 1.1em;
  color: #333333;
  border-left: 5px solid #FCBC45;
}

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

/* Responsible Gaming Section */
.page-poker__responsible-gaming-section .page-poker__button--secondary {
  color: #FCBC45;
  border-color: #FCBC45;
}

.page-poker__responsible-gaming-section .page-poker__button--secondary:hover {
  background-color: #FCBC45;
  color: #000000;
}

/* Detail Pages Section */
.page-poker__detail-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-poker__detail-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-poker__detail-card-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #000000;
  line-height: 1.3;
}

.page-poker__detail-card-title a {
  color: #000000;
  text-decoration: none;
}

.page-poker__detail-card-title a:hover {
  color: #FCBC45;
}

.page-poker__detail-card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* CTA Section */
.page-poker__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

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

@media (max-width: 768px) {
  .page-poker__hero-section {
    min-height: 500px;
    padding: 40px 15px;
  }
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1.1em;
  }
  .page-poker__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 100%;
    max-width: 300px;
  }
  .page-poker__section {
    padding: 60px 15px;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__features-grid, .page-poker__game-types-grid, .page-poker__game-types-grid, .page-poker__strategy-grid, .page-poker__detail-cards-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__tournament-highlights {
    flex-direction: column;
    gap: 20px;
  }
  .page-poker__highlight-item {
    max-width: 100%;
  }
  .page-poker__advantages-list {
    grid-template-columns: 1fr;
  }
  .page-poker__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  /* Mobile content area image constraint */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
}

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