/* style/poker.css */
.page-poker {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-poker__section-title,
.page-poker__cta-title {
  font-size: 2.8em;
  color: #FCBC45; /* Login button color for emphasis */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(252, 188, 69, 0.5);
}

.page-poker__section-subtitle,
.page-poker__cta-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-poker__button--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for light button */
  box-shadow: 0 4px 15px rgba(252, 188, 69, 0.4);
}

.page-poker__button--primary:hover {
  background-color: #e0a53a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(252, 188, 69, 0.6);
}

.page-poker__button--secondary {
  background-color: #000000; /* Main color */
  color: #FFFFFF; /* Register button color */
  border: 2px solid #FCBC45;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.page-poker__button--secondary:hover {
  background-color: #FCBC45;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(252, 188, 69, 0.6);
}

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
}

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

.page-poker__hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.page-poker__hero-title {
  font-size: 4.5em;
  margin-bottom: 20px;
  line-height: 1.1;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 0 0 20px rgba(252, 188, 69, 0.7);
}

.page-poker__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  line-height: 1.5;
  color: #f0f0f0;
}

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

/* Game Types Section */
.page-poker__game-types,
.page-poker__tournaments-promo,
.page-poker__strategy-guides,
.page-poker__why-choose-us,
.page-poker__faq-section {
  padding: 80px 0;
  background-color: #000000; /* Main color as section background */
}

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

.page-poker__game-card,
.page-poker__feature-item,
.page-poker__guide-card,
.page-poker__advantage-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-poker__game-card:hover,
.page-poker__feature-item:hover,
.page-poker__guide-card:hover,
.page-poker__advantage-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

.page-poker__game-card-image,
.page-poker__feature-image,
.page-poker__guide-card-image,
.page-poker__advantage-icon {
  width: 100%;
  max-width: 400px; /* Ensure images are not too wide in cards */
  height: auto;
  min-height: 200px; /* Minimum image height for cards */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__game-card-title,
.page-poker__feature-title,
.page-poker__guide-card-title,
.page-poker__advantage-title {
  font-size: 1.8em;
  color: #FCBC45; /* Login button color for titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-poker__game-card-title a,
.page-poker__feature-title a,
.page-poker__guide-card-title a,
.page-poker__advantage-title a {
  color: #FCBC45;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-poker__game-card-title a:hover,
.page-poker__feature-title a:hover,
.page-poker__guide-card-title a:hover,
.page-poker__advantage-title a:hover {
  color: #FFFFFF;
}

.page-poker__game-card-description,
.page-poker__feature-description,
.page-poker__guide-card-description,
.page-poker__advantage-description {
  font-size: 1em;
  color: #cccccc;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-poker__game-card-button,
.page-poker__guide-card-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #FCBC45;
  color: #000000;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-poker__game-card-button:hover,
.page-poker__guide-card-button:hover {
  background-color: #e0a53a;
  transform: translateY(-2px);
}

.page-poker__tournament-cta {
  text-align: center;
  margin-top: 60px;
}

/* Why Choose Us Section */
.page-poker__advantage-icon {
  max-width: 250px; /* Adjust icon size in advantage cards */
  min-height: 200px; /* Ensure minimum height */
  margin-bottom: 20px;
}

/* Call to Action Section */
.page-poker__cta-section {
  background: linear-gradient(135deg, #000000 0%, #333333 100%); /* Gradient background */
  padding: 100px 20px;
  text-align: center;
}

.page-poker__cta-title {
  color: #FCBC45;
  font-size: 3.5em;
  margin-bottom: 25px;
}

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

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

/* FAQ Section */
.page-poker__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3.5em;
  }
  .page-poker__hero-description {
    font-size: 1.2em;
  }
  .page-poker__section-title,
  .page-poker__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-poker {
    padding-top: var(--header-offset, 80px); /* Adjust padding for smaller header on mobile */
  }
  .page-poker__hero-section {
    padding: 60px 0;
    min-height: 60vh;
  }
  .page-poker__hero-title {
    font-size: 2.8em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-poker__game-grid,
  .page-poker__tournament-features,
  .page-poker__guide-grid,
  .page-poker__advantages-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__section-title,
  .page-poker__cta-title {
    font-size: 2em;
  }
  .page-poker__section-subtitle,
  .page-poker__cta-description {
    font-size: 0.9em;
  }
  .page-poker__game-types,
  .page-poker__tournaments-promo,
  .page-poker__strategy-guides,
  .page-poker__why-choose-us,
  .page-poker__faq-section {
    padding: 50px 0;
  }
  .page-poker__game-card,
  .page-poker__feature-item,
  .page-poker__guide-card,
  .page-poker__advantage-card {
    padding: 25px;
  }
  .page-poker__game-card-image,
  .page-poker__feature-image,
  .page-poker__guide-card-image,
  .page-poker__advantage-icon {
    max-width: 100%;
    height: auto;
    min-height: 200px; /* Ensure min height for mobile too */
  }
  /* Prevent image overflow on mobile */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__container {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2.2em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__button {
    width: 95%;
  }
  .page-poker__section-title,
  .page-poker__cta-title {
    font-size: 1.8em;
  }
  .page-poker__cta-section {
    padding: 70px 15px;
  }
  .page-poker__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-poker__faq-question {
    font-size: 1.3em;
  }
}