/* style/poker.css */
.page-poker {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF; /* Explicitly set for content area */
}

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

/* Hero Section */
.page-poker__hero-section {
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

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

.page-poker__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4; /* Slightly dim the image to make text readable */
}

.page-poker__hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 20px;
  max-width: 800px;
}

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

.page-poker__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.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, transform 0.2s ease;
  white-space: nowrap; /* Prevent button text from wrapping */
}

.page-poker__button--register {
  background-color: #FFFFFF; /* Register color */
  color: #000000;
}

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

.page-poker__button--login {
  background-color: #FCBC45; /* Login color */
  color: #000000;
}

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

/* General Sections */
.page-poker__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 60px;
}

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

/* Why Play Section */
.page-poker__why-play-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

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

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

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

.page-poker__feature-icon {
  width: 200px; /* Enforce min size */
  height: 150px; /* Enforce min size */
  object-fit: contain;
  margin-bottom: 20px;
}

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

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

/* Games Section */
.page-poker__games-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-poker__game-card {
  background-color: #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-poker__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
}

.page-poker__game-title {
  font-size: 1.5em;
  color: #000000;
  padding: 20px 20px 10px;
}

.page-poker__game-description {
  color: #666666;
  padding: 0 20px 20px;
  font-size: 0.95em;
}

.page-poker__cta-area {
  text-align: center;
  margin-top: 60px;
}

.page-poker__cta-text {
  font-size: 1.2em;
  color: #000000;
  margin-bottom: 30px;
}

.page-poker__button--explore {
  background-color: #FCBC45;
  color: #000000;
}

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

/* Promotions Section */
.page-poker__promotions-section {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
}

.page-poker__promotions-section .page-poker__section-title,
.page-poker__promotions-section .page-poker__section-intro {
  color: #FFFFFF;
}

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

.page-poker__promo-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: transform 0.3s ease;
}

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

.page-poker__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.page-poker__promo-title {
  font-size: 1.6em;
  color: #FCBC45;
  padding: 20px 20px 10px;
}

.page-poker__promo-description {
  color: #cccccc;
  padding: 0 20px 20px;
  font-size: 0.95em;
}

.page-poker__button--claim,
.page-poker__button--join {
  background-color: #FCBC45;
  color: #000000;
  margin: 0 20px 20px;
}

.page-poker__button--claim:hover,
.page-poker__button--join:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-poker__button--learn-vip {
  background-color: #FFFFFF;
  color: #000000;
  margin: 0 20px 20px;
}

.page-poker__button--learn-vip:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

/* Get Started Section */
.page-poker__get-started-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

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

.page-poker__step-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  position: relative;
  min-height: 300px; /* Ensure cards have enough height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-poker__step-number {
  font-size: 3em;
  font-weight: bold;
  color: #FCBC45;
  margin-bottom: 15px;
  display: block;
}

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

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

.page-poker__button--step-register,
.page-poker__button--step-deposit,
.page-poker__button--step-play {
  background-color: #FCBC45;
  color: #000000;
  width: fit-content;
  margin: 0 auto;
}

.page-poker__button--step-register:hover,
.page-poker__button--step-deposit:hover,
.page-poker__button--step-play:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

/* FAQ Section */
.page-poker__faq-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-poker__faq-item {
  background-color: #f0f0f0;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.page-poker__faq-answer {
  color: #555555;
  font-size: 1em;
}

/* Final CTA Section */
.page-poker__cta-final-section {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-poker__cta-final-content {
  max-width: 800px;
}

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

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

.page-poker__button--final-register {
  background-color: #FCBC45;
  color: #000000;
}

.page-poker__button--final-register:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

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

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

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

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

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

  .page-poker__button {
    width: 80%;
    max-width: 300px;
  }

  .page-poker__section-title {
    font-size: 2em;
    padding-top: 40px;
  }

  .page-poker__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

  /* Enforce min-width for images in content area */
  .page-poker__features-grid img,
  .page-poker__game-cards-grid img,
  .page-poker__promo-cards-grid img {
    min-width: 200px;
    min- /* Adjust as needed, but ensure it's not tiny */
  }

  .page-poker__step-card {
    min-height: unset;
    padding-bottom: 20px; /* Adjust padding for smaller height */
  }
  .page-poker__step-description {
    margin-bottom: 15px;
  }
}

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

  .page-poker__hero-content {
    padding: 60px 15px;
  }

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

  .page-poker__feature-title,
  .page-poker__game-title,
  .page-poker__promo-title,
  .page-poker__step-title,
  .page-poker__faq-question {
    font-size: 1.4em;
  }

  .page-poker__button {
    width: 90%;
  }
}