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

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

.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%;
  max-width: 1400px;
  padding: 40px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FFFFFF; /* Light text for hero content over dark image */
  z-index: 1;
}

.page-poker__hero-content {
  max-width: 800px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for readability */
  padding: 30px;
  border-radius: 10px;
}

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

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

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

.page-poker__btn {
  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.2s ease;
  border: none;
  cursor: pointer;
}

.page-poker__btn--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
}

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

.page-poker__btn--secondary {
  background-color: #FFFFFF; /* Register button color */
  color: #000000;
}

.page-poker__btn--secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-poker__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 6px;
  background-color: #000000; /* Main color for smaller buttons */
  color: #FFFFFF;
}

.page-poker__btn--small:hover {
  background-color: #333333;
  transform: translateY(-1px);
}

.page-poker__btn--text {
  background: none;
  color: #000000;
  padding: 0;
  text-decoration: underline;
  font-weight: normal;
}

.page-poker__btn--text:hover {
  color: #FCBC45;
  transform: none;
}

.page-poker__section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-poker__section:nth-of-type(even) {
  background-color: #f8f8f8;
}

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

.page-poker__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
}

.page-poker__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.7;
}

.page-poker__features-grid,
.page-poker__game-cards-grid,
.page-poker__steps-grid,
.page-poker__strategy-cards-grid,
.page-poker__tournament-grid,
.page-poker__bonus-grid,
.page-poker__security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-poker__feature-card,
.page-poker__game-card,
.page-poker__step-card,
.page-poker__strategy-card,
.page-poker__tournament-card,
.page-poker__bonus-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-poker__feature-card:hover,
.page-poker__game-card:hover,
.page-poker__step-card:hover,
.page-poker__strategy-card:hover,
.page-poker__tournament-card:hover,
.page-poker__bonus-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-poker__feature-icon,
.page-poker__game-image,
.page-poker__tournament-image,
.page-poker__bonus-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensuring content images are large enough */
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto 25px;
  display: block;
}

.page-poker__feature-title,
.page-poker__game-title,
.page-poker__step-title,
.page-poker__strategy-title,
.page-poker__tournament-title,
.page-poker__bonus-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-poker__feature-text,
.page-poker__game-text,
.page-poker__step-text,
.page-poker__bonus-text,
.page-poker__security-text {
  font-size: 1em;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-poker__step-number {
  width: 60px;
  height: 60px;
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 25px;
}

.page-poker__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

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

.page-poker__mobile-image {
  flex: 1 1 45%;
  max-width: 600px;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-poker__mobile-features {
  flex: 1 1 45%;
  text-align: left;
}

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

.page-poker__feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-poker__feature-list li {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
}

.page-poker__feature-list li::before {
  content: '✔';
  color: #FCBC45;
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

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

.page-poker__cta-final {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 100px 0;
}

.page-poker__cta-final .page-poker__section-title {
  color: #FFFFFF;
}

.page-poker__cta-final .page-poker__section-description {
  color: #f0f0f0;
  margin-bottom: 40px;
}

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

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

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

@media (max-width: 768px) {
  .page-poker__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px);
  }

  .page-poker__main-title {
    font-size: 2.2em;
    line-height: 1.2;
  }

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

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

  .page-poker__btn {
    width: 100%;
    max-width: 300px;
  }

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

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

  .page-poker__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-poker__features-grid,
  .page-poker__game-cards-grid,
  .page-poker__steps-grid,
  .page-poker__strategy-cards-grid,
  .page-poker__tournament-grid,
  .page-poker__bonus-grid,
  .page-poker__security-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .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;
    object-fit: cover; /* Ensure images fill their space */
  }

  .page-poker__feature-title,
  .page-poker__game-title,
  .page-poker__step-title,
  .page-poker__strategy-title,
  .page-poker__tournament-title,
  .page-poker__bonus-title,
  .page-poker__security-title {
    font-size: 1.3em;
  }

  .page-poker__mobile-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-poker__mobile-image {
    flex: none;
    width: 100%;
    max-width: none;
  }

  .page-poker__mobile-features {
    flex: none;
    width: 100%;
    text-align: center;
  }

  .page-poker__mobile-subtitle {
    font-size: 1.8em;
  }

  .page-poker__feature-list {
    text-align: left;
  }

  .page-poker__cta-final {
    padding: 60px 20px;
  }

  .page-poker__cta-buttons {
    flex-direction: column;
  }

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

@media (max-width: 480px) {
  .page-poker__main-title {
    font-size: 1.8em;
  }

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

  .page-poker__btn {
    padding: 12px 20px;
    font-size: 1em;
  }
}