.page-poker {
  font-family: Arial, sans-serif;
  color: #333333;
  background-color: #FFFFFF;
  line-height: 1.6;
  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 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px 40px;
  background-color: #000000; /* Main brand color for hero background */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-poker__hero-content {
  z-index: 2;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-poker__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Login button color for emphasis */
}

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

.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;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.page-poker__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

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

.page-poker__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-poker__button--login:hover {
  background-color: transparent;
  color: #FCBC45;
}

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

.page-poker__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle overlay for text readability */
  display: block;
}

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

.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__section-intro {
  text-align: center;
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #555555;
}

.page-poker__why-choose-section,
.page-poker__games-section,
.page-poker__strategies-section,
.page-poker__tournaments-section,
.page-poker__responsible-gaming-section,
.page-poker__join-us-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

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

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

.page-poker__feature-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-poker__feature-icon {
  width: 100%; /* Ensure images take full width of card */
  height: auto;
  max-height: 250px; /* Limit height for consistency */
  object-fit: cover;
  margin: 0 auto 20px;
  border-radius: 8px;
  display: block;
}

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

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

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

.page-poker__game-card {
  background-color: #000000;
  color: #FFFFFF;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

.page-poker__game-description {
  font-size: 0.95em;
  color: #CCCCCC;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

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

.page-poker__strategies-section {
  background-color: #F0F0F0;
}

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

.page-poker__strategy-item {
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.page-poker__strategy-subtitle {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

.page-poker__strategy-text {
  font-size: 0.95em;
  color: #555555;
}

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

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

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

.page-poker__tournaments-section .page-poker__section-intro {
  color: #CCCCCC;
}

.page-poker__tournament-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-poker__highlight-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  text-align: center;
}

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

.page-poker__highlight-description {
  font-size: 0.95em;
  color: #E0E0E0;
}

.page-poker__call-to-action {
  text-align: center;
}

.page-poker__button--cta {
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 35px;
  font-size: 1.1em;
  border: none;
}

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

.page-poker__responsible-gaming-section {
  background-color: #F8F8F8;
}

.page-poker__responsible-features {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px;
  max-width: 800px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
}

.page-poker__responsible-item {
  background-color: #FFFFFF;
  padding: 15px 20px;
  border-left: 5px solid #FCBC45;
  border-radius: 5px;
  font-size: 1em;
  color: #333333;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-poker__button--learn-more {
  background-color: #000000;
  color: #FFFFFF;
  padding: 15px 35px;
  font-size: 1.1em;
  border: none;
}

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

.page-poker__join-us-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

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

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

.page-poker__join-us-section .page-poker__section-intro {
  color: #CCCCCC;
}

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

.page-poker__button--register-large {
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 40px;
  font-size: 1.2em;
  border: none;
}

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

.page-poker__button--download-app {
  background-color: #FFFFFF;
  color: #000000;
  padding: 18px 40px;
  font-size: 1.2em;
  border: 2px solid #FFFFFF;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-poker__hero-section {
    padding: 60px 15px 30px;
  }

  .page-poker__hero-title {
    font-size: 2.5em;
  }

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

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

  .page-poker__button {
    width: 100%;
    padding: 12px 20px;
  }

  .page-poker__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

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

  .page-poker__why-choose-section,
  .page-poker__games-section,
  .page-poker__strategies-section,
  .page-poker__tournaments-section,
  .page-poker__responsible-gaming-section,
  .page-poker__join-us-section {
    padding: 50px 0;
  }

  .page-poker__container {
    padding: 0 15px;
  }

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

  .page-poker__feature-icon,
  .page-poker__game-image {
    max-width: 100%;
    height: auto;
  }

  .page-poker__responsible-features {
    grid-template-columns: 1fr;
  }

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

  .page-poker__button--register-large,
  .page-poker__button--download-app {
    width: 100%;
    padding: 15px 25px;
    font-size: 1.1em;
  }

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