/* style/poker.css */
.page-poker {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text on light background */
  background-color: #FFFFFF;
}

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

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #FFFFFF;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  filter: brightness(0.7);
}

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Ensure content is visible */
}

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

.page-poker__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  color: #F0F0F0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

/* General Buttons */
.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;
  white-space: nowrap;
}

.page-poker__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

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

.page-poker__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

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

.page-poker__button--learn-more,
.page-poker__button--play,
.page-poker__button--view-tournaments,
.page-poker__button--cta-register,
.page-poker__button--cta-download,
.page-poker__button--contact {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-poker__button--learn-more:hover,
.page-poker__button--play:hover,
.page-poker__button--view-tournaments:hover,
.page-poker__button--cta-register:hover,
.page-poker__button--cta-download:hover,
.page-poker__button--contact:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

/* Section Titles & Intros */
.page-poker__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  margin-top: 60px;
}

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

.page-poker__section-text {
  font-size: 1em;
  color: #666666;
  text-align: justify;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

/* Game Grid */
.page-poker__games-section {
  padding: 60px 0;
  background-color: #F8F8F8;
}

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

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

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

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

.page-poker__game-title {
  font-size: 1.8em;
  color: #000000;
  margin: 20px 0 10px;
}

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

/* Tournaments Section */
.page-poker__tournaments-section {
  padding: 60px 0;
}

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

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

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

.page-poker__feature-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

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

/* Benefits Section */
.page-poker__benefits-section {
  padding: 60px 0;
  background-color: #F8F8F8;
}

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

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

.page-poker__benefit-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-poker__benefit-description {
  font-size: 0.9em;
  color: #666666;
}

/* CTA Section */
.page-poker__cta-section {
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
}

.page-poker__cta-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  filter: brightness(0.6);
}

.page-poker__cta-content {
  position: relative;
  z-index: 2;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.page-poker__cta-description {
  font-size: 1.2em;
  color: #F0F0F0;
  max-width: 800px;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-poker__button--cta-register,
.page-poker__button--cta-download {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  margin: 10px;
}

.page-poker__button--cta-register:hover,
.page-poker__button--cta-download:hover {
  background-color: #E0A43C;
}

/* FAQ Section */
.page-poker__faq-section {
  padding: 60px 0;
}

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

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

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

.page-poker__faq-answer a {
  color: #000000;
  text-decoration: underline;
}

.page-poker__faq-answer a:hover {
  color: #333333;
}

/* Contact Section */
.page-poker__contact-section {
  padding: 60px 0 80px;
  background-color: #F8F8F8;
  text-align: center;
}

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

@media (max-width: 768px) {
  .page-poker__hero-content {
    padding: 80px 15px;
    min-height: 400px;
  }
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 80%;
    max-width: 300px;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-intro,
  .page-poker__section-text {
    font-size: 0.95em;
  }
  .page-poker__game-grid,
  .page-poker__features-grid,
  .page-poker__benefits-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__game-image,
  .page-poker__feature-image,
  .page-poker__benefit-icon,
  .page-poker__cta-image {
    max-width: 100%;
    height: auto;
  }
  .page-poker__cta-title {
    font-size: 2em;
  }
  .page-poker__cta-description {
    font-size: 1em;
  }
  .page-poker__faq-question {
    font-size: 1.1em;
  }
  .page-poker__faq-answer {
    font-size: 0.9em;
  }
  /* Mobile content area images must not cause overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
}

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

/* Ensure content area images are not small */
.page-poker img:not(.shared-header img):not(.shared-footer img) {
  min-width: 200px;
  min-height: 200px;
}