/* style/poker.css */
.page-poker {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF; /* Explicitly set for content area */
}

.page-poker__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  padding-bottom: 60px;
  overflow: hidden;
  color: #FFFFFF;
  text-align: center;
}

.page-poker__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-poker__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

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

.page-poker__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  color: #FFFFFF;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

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

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

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

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

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

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

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

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

.page-poker__button--contact:hover, .page-poker__button--faq:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

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

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

.page-poker__section-text {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-poker__about-section, .page-poker__games-section, .page-poker__strategy-section, .page-poker__cta-section, .page-poker__faq-section, .page-poker__contact-promo-section {
  padding: 60px 0;
}

.page-poker__about-section {
  background-color: #f8f8f8;
}

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

.page-poker__grid-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
}

.page-poker__grid-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-poker__grid-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-poker__grid-description {
  font-size: 1em;
  line-height: 1.5;
  color: #555555;
  padding: 0 20px;
}

.page-poker__games-section {
  background-color: #FFFFFF;
}

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

.page-poker__game-card {
  background-color: #fefefe;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-poker__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

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

.page-poker__game-description {
  font-size: 0.95em;
  line-height: 1.5;
  color: #555555;
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

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

.page-poker__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-poker__strategy-item {
  background-color: #FFFFFF;
  border-left: 5px solid #FCBC45;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.page-poker__strategy-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

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

.page-poker__cta-content .page-poker__section-title {
  color: #FCBC45;
  padding-top: 0;
}

.page-poker__cta-content .page-poker__section-text {
  color: #f0f0f0;
  margin-bottom: 50px;
}

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

.page-poker__faq-section {
  background-color: #FFFFFF;
}

.page-poker__faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

.page-poker__faq-item {
  background-color: #fefefe;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

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

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

.page-poker__faq-answer a {
  color: #FCBC45;
  text-decoration: none;
}

.page-poker__faq-answer a:hover {
  text-decoration: underline;
}

.page-poker__contact-promo-section {
  background-color: #f8f8f8;
  text-align: center;
  padding: 60px 0;
}

.page-poker__contact-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
}

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

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

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

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

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

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

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

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

  .page-poker__section-text {
    font-size: 0.95em;
  }

  .page-poker__image-text-grid, .page-poker__game-grid, .page-poker__strategy-list {
    grid-template-columns: 1fr;
  }

  .page-poker__grid-image, .page-poker__game-image {
    height: 200px;
  }

  /* Ensure all images in content area are responsive and don't 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__section-title {
    font-size: 1.5em;
  }

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

  .page-poker__grid-image, .page-poker__game-image {
    height: 180px;
  }
}