.page-poker {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #000000; /* Main background color for the poker page */
  color: #FFFFFF; /* Light text for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-poker__hero-section {
  background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(50,0,0,0.8));
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-weight: bold;
}

.page-poker__hero-description {
  font-size: 1.4em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #F0F0F0;
}

.page-poker__hero-image {
  width: 100%;
  max-width: 1000px; /* Constrain image width */
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-poker__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-poker__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  min-width: 200px; /* Ensure buttons are large enough */
  text-align: center;
}

.page-poker__button--register {
  background-color: #FFFFFF; /* Custom color for Register */
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-poker__button--register:hover {
  background-color: #F0F0F0;
  transform: translateY(-3px);
}

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

.page-poker__button--login:hover {
  background-color: #E0A53A;
  transform: translateY(-3px);
}

.page-poker__button--cta, .page-poker__button--download {
  background-color: #FCBC45; /* Use login color for CTA/Download */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-poker__button--cta:hover, .page-poker__button--download:hover {
  background-color: #E0A53A;
  transform: translateY(-3px);
}

.page-poker__button--promo, .page-poker__button--strategy {
  background-color: #FCBC45; /* Use login color for promo/strategy */
  color: #000000;
  border: 2px solid #FCBC45;
  margin-top: 40px;
}

.page-poker__button--promo:hover, .page-poker__button--strategy:hover {
  background-color: #E0A53A;
  transform: translateY(-3px);
}

.page-poker__section-title {
  font-size: 2.8em;
  color: #FCBC45;
  text-align: center;
  margin-bottom: 30px;
  padding-top: 60px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-poker__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
  color: #E0E0E0;
}

.page-poker__why-jili678-section, .page-poker__games-section, .page-poker__tournaments-section, .page-poker__bonuses-section, .page-poker__security-section, .page-poker__getting-started-section, .page-poker__mobile-section, .page-poker__strategy-section, .page-poker__testimonials-section, .page-poker__cta-section {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
}

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

.page-poker__feature-card, .page-poker__game-card, .page-poker__bonus-item, .page-poker__step-card, .page-poker__strategy-card, .page-poker__testimonial-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 400px; /* Ensure cards have a minimum height */
}

.page-poker__feature-card:hover, .page-poker__game-card:hover, .page-poker__bonus-item:hover, .page-poker__step-card:hover, .page-poker__strategy-card:hover, .page-poker__testimonial-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-poker__feature-icon, .page-poker__bonus-icon {
  width: 250px; /* Min 200x200px */
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-poker__game-image, .page-poker__security-image, .page-poker__mobile-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.page-poker__feature-title, .page-poker__game-title, .page-poker__tournament-title, .page-poker__bonus-title, .page-poker__step-title, .page-poker__security-subtitle, .page-poker__mobile-subtitle, .page-poker__strategy-title {
  font-size: 1.8em;
  color: #FCBC45;
  margin-bottom: 15px;
}

.page-poker__feature-description, .page-poker__game-description, .page-poker__tournament-description, .page-poker__bonus-description, .page-poker__step-description, .page-poker__security-text, .page-poker__mobile-text, .page-poker__strategy-description, .page-poker__testimonial-quote {
  font-size: 1em;
  color: #E0E0E0;
  flex-grow: 1; /* Allow description to take available space */
}

.page-poker__game-card .page-poker__button {
  margin-top: 25px;
}

.page-poker__tournaments-section {
  background-color: #1a1a1a;
}

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

.page-poker__tournament-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-height: 280px;
}

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

.page-poker__security-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-poker__security-image {
  flex: 1 1 400px;
  min-width: 400px; /* Minimum width for security image */
  max-width: 600px;
  margin: 0 auto;
}

.page-poker__security-details {
  flex: 2 1 500px;
}

.page-poker__getting-started-section {
  background-color: #1a1a1a;
}

.page-poker__mobile-section {
  background-color: #000000;
  text-align: center;
}

.page-poker__mobile-image {
  max-width: 700px;
  margin: 40px auto;
}

.page-poker__mobile-features {
  margin-top: 40px;
}

.page-poker__strategy-section {
  background-color: #1a1a1a;
}

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

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

.page-poker__testimonial-card {
  font-style: italic;
  text-align: left;
  min-height: 250px;
}

.page-poker__testimonial-author {
  font-weight: bold;
  margin-top: 15px;
  color: #FCBC45;
}

.page-poker__cta-section {
  background: linear-gradient(90deg, #000000, #330000, #000000); /* Darker, more dramatic gradient */
  padding: 100px 20px;
  text-align: center;
}

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

.page-poker__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #F0F0F0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3em;
  }
  .page-poker__section-title {
    font-size: 2.2em;
  }
  .page-poker__feature-title, .page-poker__game-title, .page-poker__tournament-title, .page-poker__bonus-title, .page-poker__step-title, .page-poker__security-subtitle, .page-poker__mobile-subtitle, .page-poker__strategy-title {
    font-size: 1.5em;
  }
  .page-poker__security-image {
    min-width: 300px;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1.2em;
  }
  .page-poker__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__section-intro {
    font-size: 1em;
  }
  .page-poker__features-grid, .page-poker__game-cards-grid, .page-poker__bonus-grid, .page-poker__steps-grid, .page-poker__strategy-grid, .page-poker__tournament-types, .page-poker__testimonial-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__security-content {
    flex-direction: column;
  }
  .page-poker__security-image {
    min-width: 200px; /* Ensure min size */
    max-width: 100%;
  }
  .page-poker__feature-card, .page-poker__game-card, .page-poker__bonus-item, .page-poker__step-card, .page-poker__strategy-card, .page-poker__testimonial-card, .page-poker__tournament-card {
    min-height: auto; /* Allow height to adjust on mobile */
  }
  /* Mobile content area image constraint */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__feature-icon, .page-poker__bonus-icon {
    width: 200px; /* Min 200x200px */
    height: 200px;
  }
  .page-poker__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__button {
    font-size: 1em;
    padding: 12px 25px;
    min-width: unset;
  }
}