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

.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.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%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-poker__hero-content {
  max-width: 900px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

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

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

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

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

.page-poker__hero-button--primary {
  background-color: #FFD700;
  color: #0A1F3B;
}

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

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

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

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

.page-poker__section-title {
  font-size: 2.8em;
  color: #0A1F3B;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

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

.page-poker__welcome-section, .page-poker__thrill-section, .page-poker__game-selection-section, .page-poker__tournaments-section, .page-poker__bonuses-section, .page-poker__security-section, .page-poker__strategy-section, .page-poker__getting-started-section, .page-poker__support-section, .page-poker__final-cta-section {
  padding: 80px 0;
}

.page-poker__welcome-text {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

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

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

.page-poker__grid-title {
  font-size: 1.8em;
  color: #0A1F3B;
  margin-bottom: 15px;
}

.page-poker__grid-text {
  line-height: 1.6;
}

.page-poker__main-cta-button {
  display: block;
  width: fit-content;
  margin: 50px auto 0;
  padding: 18px 40px;
  background-color: #FFD700;
  color: #0A1F3B;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-poker__main-cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

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

.page-poker__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
}

.page-poker__game-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.page-poker__game-title {
  font-size: 1.6em;
  color: #0A1F3B;
  margin: 20px 15px 10px;
}

.page-poker__game-description {
  font-size: 1em;
  line-height: 1.6;
  padding: 0 20px 25px;
}

.page-poker__content-wrapper {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-poker__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-poker__tournament-image, .page-poker__security-image, .page-poker__strategy-image {
  flex: 1;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  min-width: 200px; /* Enforce min size */
}

.page-poker__tournament-details, .page-poker__security-details, .page-poker__strategy-details {
  flex: 1;
}

.page-poker__sub-title {
  font-size: 2em;
  color: #0A1F3B;
  margin-bottom: 15px;
}

.page-poker__tournament-info, .page-poker__security-text, .page-poker__strategy-intro, .page-poker__strategy-tips {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-poker__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 15px;
}

.page-poker__button--gold {
  background-color: #FFD700;
  color: #0A1F3B;
}

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

.page-poker__bonus-intro {
  text-align: center;
  font-size: 1.1em;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto 50px;
}

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

.page-poker__bonus-card {
  background-color: #0A1F3B;
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

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

.page-poker__bonus-details {
  line-height: 1.6;
}

.page-poker__getting-started-intro {
  text-align: center;
  font-size: 1.1em;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto 50px;
}

.page-poker__getting-started-steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-poker__step-item {
  background-color: #f0f0f0;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-poker__step-title {
  font-size: 1.7em;
  color: #0A1F3B;
  margin-bottom: 15px;
}

.page-poker__step-description {
  line-height: 1.6;
  margin-bottom: 25px;
}

.page-poker__button--primary {
  background-color: #FFD700;
  color: #0A1F3B;
}

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

.page-poker__app-download {
  text-align: center;
  background-color: #0A1F3B;
  color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-poker__app-description {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 30px;
}

.page-poker__support-text, .page-poker__final-cta-text {
  text-align: center;
  font-size: 1.1em;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto 40px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 2.8em;
  }

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

  .page-poker__section-title {
    font-size: 2.2em;
  }

  .page-poker__sub-title {
    font-size: 1.8em;
  }

  .page-poker__content-wrapper {
    flex-direction: column;
    text-align: center;
  }
  
  .page-poker__content-wrapper--reverse {
    flex-direction: column;
  }

  .page-poker__tournament-image, .page-poker__security-image, .page-poker__strategy-image {
    max-width: 100%;
    margin-bottom: 30px;
  }
}

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

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

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

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

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

  .page-poker__hero-button {
    width: 80%;
    margin: 0 auto;
  }

  .page-poker__section-title {
    font-size: 1.8em;
  }

  .page-poker__welcome-section, .page-poker__thrill-section, .page-poker__game-selection-section, .page-poker__tournaments-section, .page-poker__bonuses-section, .page-poker__security-section, .page-poker__strategy-section, .page-poker__getting-started-section, .page-poker__support-section, .page-poker__final-cta-section {
    padding: 60px 0;
  }

  .page-poker__container {
    padding: 20px;
  }

  .page-poker__content-grid, .page-poker__game-grid, .page-poker__bonus-grid, .page-poker__getting-started-steps {
    grid-template-columns: 1fr;
  }

  .page-poker__main-cta-button {
    width: 90%;
    font-size: 1.1em;
  }

  .page-poker__game-image, .page-poker__tournament-image, .page-poker__security-image, .page-poker__strategy-image {
    height: auto;
    max-width: 100%;
    min-width: 200px; /* Ensure images are not too small */
  }

  /* Critical: Ensure all images within .page-poker are responsive and do not overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }

  .page-poker {
    overflow-x: hidden;
  }
}