/* style/poker.css */

/* General styling for the page */
.page-poker {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #f5f5f5; /* Light background for default sections */
  color: #333333; /* Dark text for light background */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}

/* Section spacing */
.page-poker__section-spacing {
  padding: 60px 20px;
}

/* Dark background sections */
.page-poker__bg--dark {
  background-color: #0A2463; /* Main brand dark blue */
  color: #ffffff;
}

/* Light background sections */
.page-poker__bg--light {
  background-color: #ffffff; /* White background */
  color: #333333;
}

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #0A2463; /* Hero background */
  color: #ffffff;
  min-height: 600px;
  gap: 30px; /* Space between content and image */
}

.page-poker__hero-content {
  max-width: 800px;
  z-index: 2; /* Ensure content is above image if layered */
}

.page-poker__hero-title {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for emphasis */
}

.page-poker__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.8;
}

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

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

.page-poker__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #0A2463; /* Dark blue */
  border: 2px solid #FFD700;
}

.page-poker__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-poker__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
}

.page-poker__btn--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

.page-poker__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-poker__btn--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-poker__btn--text {
  background: none;
  border: none;
  color: #0A2463;
  padding: 0;
  font-size: 1em;
  text-decoration: underline;
}

.page-poker__btn--text:hover {
  color: #FFD700;
  transform: none;
}

.page-poker__hero-image-container {
  width: 100%;
  max-width: 1000px; /* Adjust as needed */
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-poker__section-title {
  font-size: 2.8em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #0A2463;
}

.page-poker__section-title--light {
  color: #FFD700; /* Gold for dark backgrounds */
}

.page-poker__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  line-height: 1.7;
}

.page-poker__section-description--light {
  color: #f0f0f0;
}

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

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

.page-poker__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.page-poker__feature-icon {
  width: 200px; /* Min size 200px */
  height: 200px;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  object-fit: cover; /* Ensure image covers the area */
}

.page-poker__feature-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #0A2463;
}

.page-poker__feature-text {
  font-size: 1em;
  color: #555555;
}

/* Game Types Grid */
.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: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-poker__game-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-poker__game-card-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-poker__game-card-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-poker__game-card-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Tournaments Section */
.page-poker__tournament-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-poker__highlight-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.page-poker__highlight-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #0A2463;
}

.page-poker__highlight-text {
  font-size: 1em;
  color: #555555;
}

/* Strategy Section */
.page-poker__strategy-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-poker__article-card {
  background-color: #f5f5f5;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-poker__article-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.page-poker__article-card-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-poker__article-card-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #0A2463;
}

.page-poker__article-card-link {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.page-poker__article-card-link:hover {
  color: #FFD700;
}

.page-poker__article-card-text {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Mobile App Section */
.page-poker__mobile-app-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.page-poker__mobile-app-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: left;
}

.page-poker__mobile-app-content .page-poker__section-title {
    color: #FFD700;
}
.page-poker__mobile-app-content .page-poker__section-description {
    color: #f0f0f0;
}

.page-poker__app-actions {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-poker__mobile-app-image-container {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.page-poker__mobile-app-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-poker__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.page-poker__faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-poker__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #0A2463;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #eeeeee;
  transition: background-color 0.3s ease;
}

.page-poker__faq-question:hover {
  background-color: #f0f0f0;
}

.page-poker__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #555555;
  display: none; /* Hidden by default */
  background-color: #ffffff;
}

.page-poker__faq-toggle-icon {
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-poker__faq-item--active .page-poker__faq-toggle-icon {
  transform: rotate(180deg);
}

.page-poker__faq-link {
    color: #0A2463;
    text-decoration: underline;
}

.page-poker__faq-link:hover {
    color: #FFD700;
}

/* Responsible Gaming Section */
.page-poker__responsible-gaming-section {
  text-align: center;
  padding: 40px 20px;
  background-color: #0A2463;
  color: #ffffff;
}

.page-poker__responsible-gaming-title {
  font-size: 2em;
  margin-bottom: 20px;
  color: #FFD700;
}

.page-poker__responsible-gaming-description {
  max-width: 800px;
  margin: 0 auto 30px auto;
  font-size: 1.1em;
}

.page-poker__responsible-gaming-link {
  color: #FFD700;
  text-decoration: underline;
  font-weight: bold;
}

.page-poker__responsible-gaming-link:hover {
  color: #e6c200;
}


/* Call to Action Section */
.page-poker__cta-section {
  background: linear-gradient(135deg, #0A2463, #2a4a82); /* Gradient background */
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

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

.page-poker__cta-actions {
  display: flex;
  gap: 25px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Centered action for buttons */
.page-poker__centered-action {
    text-align: center;
    margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3em;
  }
  .page-poker__section-title {
    font-size: 2.2em;
  }
  .page-poker__mobile-app-flex {
    flex-direction: column;
    text-align: center;
  }
  .page-poker__mobile-app-content {
    text-align: center;
  }
  .page-poker__app-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-poker {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }
  .page-poker__hero-section {
    padding: 60px 15px;
    min-height: 500px;
  }
  .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__btn {
    width: 100%;
    max-width: 300px;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-poker__features-grid,
  .page-poker__game-cards-grid,
  .page-poker__tournament-highlights,
  .page-poker__strategy-articles-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__feature-card,
  .page-poker__game-card,
  .page-poker__highlight-item,
  .page-poker__article-card {
    padding: 20px;
  }
  .page-poker__feature-title,
  .page-poker__game-card-title,
  .page-poker__highlight-title,
  .page-poker__article-card-title {
    font-size: 1.5em;
  }
  .page-poker__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-poker__faq-answer {
    padding: 15px 20px;
  }
  .page-poker__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__cta-actions .page-poker__btn {
      max-width: none;
  }
  /* Mobile content area image restriction */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
}

/* Ensure images within .page-poker are at least 200px on desktop */
/* This rule targets all images in the content area, ensuring they meet the minimum size. */
.page-poker img:not(.shared-header img):not(.shared-footer img) {
    min-width: 200px;
    min-height: 200px;
    object-fit: cover; /* Ensures image covers the area without distortion */
}

/* Ensure CSS does not use filter property for images */
.page-poker img {
    filter: none; /* Explicitly ensure no filter is applied */
}