.page-poker {
  color: #333333; /* Dark text for default light body background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

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

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
}

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

.page-poker__hero-container {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  background: rgba(0, 32, 96, 0.7); /* Semi-transparent dark blue overlay */
  border-radius: 10px;
  max-width: 900px;
  margin: 0 auto;
}

.page-poker__hero-content {
  color: #ffffff;
}

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

.page-poker__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__hero-actions {
  display: flex;
  gap: 20px;
  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, color 0.3s ease;
  font-size: 1.1em;
}

.page-poker__button--primary {
  background-color: #FFD700; /* Gold */
  color: #002060; /* Dark Blue */
  border: 2px solid #FFD700;
}

.page-poker__button--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-poker__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-poker__button--secondary:hover {
  background-color: #FFD700;
  color: #002060;
}

.page-poker__button--info {
  background-color: #002060; /* Dark Blue */
  color: #ffffff;
  border: 2px solid #002060;
}

.page-poker__button--info:hover {
  background-color: #001a4d;
  border-color: #001a4d;
}

.page-poker__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  background-color: #002060;
  color: #FFD700;
  border: 1px solid #002060;
}

.page-poker__button--small:hover {
  background-color: #001a4d;
  border-color: #001a4d;
}

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

/* General Section Styling */
.page-poker__section-title {
  font-size: 2.8em;
  color: #002060; /* Dark Blue */
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.page-poker__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Gold accent */
  border-radius: 2px;
}

.page-poker__section-subtitle {
  font-size: 1.2em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
}

.page-poker__paragraph {
  font-size: 1.1em;
  margin-bottom: 1.5em;
  color: #333333;
}

/* Grid Layout */
.page-poker__grid {
  display: grid;
  gap: 30px;
  margin-top: 30px;
}

.page-poker__grid--2-col {
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  align-items: center;
}

.page-poker__grid--3-col {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* About Section */
.page-poker__about-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-poker__text-content {
  padding: 20px;
}

.page-poker__image-wrapper {
  text-align: center;
}

.page-poker__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

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

.page-poker__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
}

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

.page-poker__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 15px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-poker__game-title {
  font-size: 1.8em;
  color: #002060;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-poker__game-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  padding: 0 15px;
}

/* Tournaments Section */
.page-poker__tournaments-section {
  padding: 80px 0;
  background-color: #002060;
  color: #ffffff;
}

.page-poker__tournaments-section .page-poker__section-title {
  color: #FFD700;
}

.page-poker__tournaments-section .page-poker__section-title::after {
  background-color: #ffffff;
}

.page-poker__tournaments-section .page-poker__paragraph {
  color: #f0f0f0;
}

.page-poker__list {
  list-style: none;
  padding: 0;
  margin: 20px 0 30px 0;
}

.page-poker__list-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
  color: #ffffff;
}

.page-poker__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #FFD700; /* Gold checkmark */
  font-weight: bold;
}

/* Features Section */
.page-poker__features-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

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

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

.page-poker__feature-icon {
  width: 120px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size, but for icons, object-fit will manage */
  min-height: 200px; /* Enforce min size, but for icons, object-fit will manage */
}

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

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

/* CTA Section */
.page-poker__cta-section {
  padding: 60px 0;
  background: linear-gradient(90deg, #002060 0%, #003399 100%); /* Dark blue gradient */
  text-align: center;
  color: #ffffff;
}

.page-poker__cta-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-poker__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Guide Section */
.page-poker__guide-section {
  padding: 80px 0;
}

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

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

.page-poker__faq-question {
  font-size: 1.4em;
  color: #002060;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
}

.page-poker__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-poker__faq-question.active::after {
  transform: rotate(45deg);
}

.page-poker__faq-answer {
  font-size: 1.1em;
  color: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding-top: 0;
}

.page-poker__faq-answer.active {
  max-height: 200px; /* Adjust as needed */
  padding-top: 15px;
}

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

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

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

  .page-poker__grid--2-col {
    grid-template-columns: 1fr;
  }

  .page-poker__grid--3-col {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

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

  .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: 100%;
    max-width: 300px;
  }

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

  .page-poker__section-subtitle {
    font-size: 1em;
  }

  .page-poker__paragraph {
    font-size: 1em;
  }

  .page-poker__grid--2-col,
  .page-poker__grid--3-col {
    grid-template-columns: 1fr;
  }

  /* Ensure all content images are responsive and do not overflow */
  .page-poker__hero-image,
  .page-poker__image,
  .page-poker__game-image,
  .page-poker__feature-icon {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Maintain minimum size */
    min-height: 200px; /* Maintain minimum size */
  }

  .page-poker__hero-container {
    padding: 20px;
  }

  .page-poker__cta-title {
    font-size: 2.2em;
  }

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

  .page-poker__faq-question {
    font-size: 1.2em;
  }
}

@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.8em;
  }

  .page-poker__hero-actions {
    gap: 10px;
  }
}