.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 below fixed header */
}

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

.page-poker__section {
  padding: 60px 0;
  text-align: center;
}

.page-poker__section-title {
  font-size: 2.8em;
  color: #000000;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.page-poker__section-intro {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #555555;
}

.page-poker__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 10px;
  cursor: pointer;
  border: none;
}

.page-poker__button--register {
  background-color: #FFFFFF;
  color: #000000; /* Dark text for white button */
  border: 2px solid #FCBC45;
}

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

.page-poker__button--login {
  background-color: #FCBC45;
  color: #000000; /* Dark text for gold button */
}

.page-poker__button--login:hover {
  background-color: #e0a53a;
  color: #FFFFFF;
}

.page-poker__button--play, .page-poker__button--claim, .page-poker__button--join-tournaments, .page-poker__button--download, .page-poker__button--register-small, .page-poker__button--play-now, .page-poker__button--register-large, .page-poker__button--download-large {
  background-color: #FCBC45;
  color: #000000; /* Dark text for gold button */
}

.page-poker__button--play:hover, .page-poker__button--claim:hover, .page-poker__button--join-tournaments:hover, .page-poker__button--download:hover, .page-poker__button--register-small:hover, .page-poker__button--play-now:hover, .page-poker__button--register-large:hover, .page-poker__button--download-large:hover {
  background-color: #e0a53a;
  color: #FFFFFF;
}

.page-poker__button--view, .page-poker__button--learn-more, .page-poker__button--deposit, .page-poker__button--chat, .page-poker__button--email, .page-poker__button--faq, .page-poker__button--responsible {
  background-color: #000000;
  color: #FFFFFF;
  border: 1px solid #FCBC45;
}

.page-poker__button--view:hover, .page-poker__button--learn-more:hover, .page-poker__button--deposit:hover, .page-poker__button--chat:hover, .page-poker__button--email:hover, .page-poker__button--faq:hover, .page-poker__button--responsible:hover {
  background-color: #333333;
  color: #FCBC45;
}

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  background-color: #000000;
}

.page-poker__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.6;
}

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

.page-poker__hero-title {
  font-size: 3.8em;
  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.3em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

/* Why Choose Section */
.page-poker__why-choose {
  background-color: #FFFFFF;
}

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

.page-poker__feature-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  transition: transform 0.3s ease;
}

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

.page-poker__feature-icon {
  width: 100%; /* Ensure image fills card width */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

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

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

/* Game Types Section */
.page-poker__game-types {
  background-color: #f0f0f0;
}

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

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

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

.page-poker__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  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: 10px;
}

.page-poker__game-description {
  color: #555555;
  margin-bottom: 20px;
}

/* Tournaments Section */
.page-poker__tournaments {
  background-color: #FFFFFF;
}

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

.page-poker__tournament-item {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.page-poker__tournament-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-poker__tournament-description {
  color: #555555;
}

.page-poker__cta-block {
  margin-top: 60px;
  padding: 40px;
  background-color: #000000;
  border-radius: 10px;
  color: #FFFFFF;
}

.page-poker__cta-text {
  font-size: 1.5em;
  margin-bottom: 20px;
}

/* Bonuses Section */
.page-poker__bonuses {
  background-color: #f0f0f0;
}

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

.page-poker__bonus-card {
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

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

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

.page-poker__bonus-description {
  color: #555555;
  margin-bottom: 20px;
}

/* Mobile Experience Section */
.page-poker__mobile-experience {
  background-color: #FFFFFF;
}

.page-poker__mobile-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
}

.page-poker__mobile-image {
  flex: 1 1 45%;
  max-width: 500px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-poker__mobile-text {
  flex: 1 1 45%;
  text-align: left;
  max-width: 500px;
}

.page-poker__mobile-subtitle {
  font-size: 2em;
  color: #000000;
  margin-bottom: 15px;
}

.page-poker__mobile-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

/* Getting Started Section */
.page-poker__getting-started {
  background-color: #f0f0f0;
}

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

.page-poker__step-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
}

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

.page-poker__step-description {
  color: #555555;
  margin-bottom: 20px;
}

/* Support Section */
.page-poker__support {
  background-color: #FFFFFF;
}

.page-poker__support-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-poker__channel-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-poker__channel-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size for content images */
  min-height: 200px;
  object-fit: contain;
}

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

.page-poker__channel-description {
  color: #555555;
  margin-bottom: 20px;
}

/* Responsible Gaming Section */
.page-poker__responsible-gaming {
  background-color: #000000;
  color: #FFFFFF;
}

.page-poker__responsible-gaming .page-poker__section-title {
  color: #FCBC45;
}

.page-poker__responsible-gaming .page-poker__section-intro {
  color: #f0f0f0;
}

/* Final CTA Section */
.page-poker__final-cta {
  background-color: #f0f0f0;
}

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

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

@media (max-width: 768px) {
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-actions {
    flex-direction: column;
  }
  .page-poker__button {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
  .page-poker__mobile-content {
    flex-direction: column;
  }
  .page-poker__mobile-image, .page-poker__mobile-text {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .page-poker__mobile-text {
    text-align: center;
  }
  .page-poker__channel-icon, .page-poker__feature-icon, .page-poker__game-image, .page-poker__tournament-image, .page-poker__bonus-image, .page-poker__mobile-image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive */
  }
  .page-poker__container {
    padding: 0 15px;
  }

  /* Critical: Prevent content overflow on mobile */
  .page-poker * {
    max-width: 100%;
    box-sizing: border-box;
  }
  .page-poker {
    overflow-x: hidden;
  }
  .page-poker img {
    max-width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__button {
    padding: 10px 20px;
  }
  .page-poker__feature-title, .page-poker__game-title, .page-poker__tournament-title, .page-poker__bonus-title, .page-poker__mobile-subtitle, .page-poker__step-title, .page-poker__channel-title {
    font-size: 1.4em;
  }
}