.page-poker {
  padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
  color: #333333; /* Dark text for default light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-poker__hero-section {
  background-color: #0A1931; /* Main brand color for hero background */
  color: #ffffff; /* Light text on dark background */
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #E0B700; /* Accent color for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: bold;
}

.page-poker__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

.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;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-poker__button--primary {
  background-color: #E0B700; /* Accent color */
  color: #0A1931;
}

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

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

.page-poker__button--secondary:hover {
  background-color: rgba(224, 183, 0, 0.1);
  transform: translateY(-2px);
}

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

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

/* General Headings & Paragraphs */
.page-poker__heading {
  font-size: 2.5em;
  color: #0A1931;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.page-poker__heading::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #E0B700;
  border-radius: 2px;
}

.page-poker__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-poker__paragraph--centered {
  text-align: center;
}

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

/* Game Types Section */
.page-poker__game-types-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.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: #0A1931; /* Dark card background */
  color: #ffffff; /* Light text on dark card */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 20px;
}

.page-poker__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.page-poker__game-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 4px solid #E0B700; /* Accent border */
}

.page-poker__game-card-title {
  font-size: 1.8em;
  color: #E0B700;
  margin: 25px 0 15px;
}

.page-poker__game-card-description {
  padding: 0 25px;
  margin-bottom: 25px;
  font-size: 1em;
}

/* How to Play Section */
.page-poker__how-to-play-section {
  padding: 60px 0;
  background-color: #f0f0f0;
}

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

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

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

.page-poker__steps-title {
  font-size: 1.5em;
  color: #0A1931;
  margin-bottom: 15px;
}

.page-poker__steps-description {
  font-size: 1em;
  margin-bottom: 20px;
}

/* Strategy Section */
.page-poker__strategy-section {
  padding: 60px 0;
  background-color: #0A1931; /* Dark background for strategy */
  color: #ffffff;
}

.page-poker__strategy-section .page-poker__heading {
  color: #ffffff;
}

.page-poker__strategy-section .page-poker__heading::after {
  background-color: #E0B700;
}

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

.page-poker__strategy-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease;
}

.page-poker__strategy-card:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-poker__strategy-card-title {
  font-size: 1.6em;
  color: #E0B700;
  margin-bottom: 20px;
  text-align: center;
}

.page-poker__strategy-list {
  list-style: none;
  padding: 0;
}

.page-poker__strategy-item {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 1em;
}

.page-poker__strategy-item::before {
  content: '✓';
  color: #E0B700;
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

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

.page-poker__tournament-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 20px;
}

.page-poker__tournament-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-poker__tournament-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 3px solid #E0B700;
}

.page-poker__tournament-title {
  font-size: 1.7em;
  color: #0A1931;
  margin: 25px 0 15px;
}

.page-poker__tournament-description {
  padding: 0 25px;
  margin-bottom: 25px;
  font-size: 1em;
}

.page-poker__centered-content {
  text-align: center;
  margin-top: 40px;
}

/* Promotions Section */
.page-poker__promotions-section {
  padding: 60px 0;
  background-color: #f0f0f0;
}

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

.page-poker__promo-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 20px;
}

.page-poker__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-poker__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 3px solid #E0B700;
}

.page-poker__promo-title {
  font-size: 1.7em;
  color: #0A1931;
  margin: 25px 0 15px;
}

.page-poker__promo-description {
  padding: 0 25px;
  margin-bottom: 25px;
  font-size: 1em;
}

/* Why Y8 Section */
.page-poker__why-y8-section {
  padding: 60px 0;
  background-color: #0A1931; /* Dark background */
  color: #ffffff;
}

.page-poker__why-y8-section .page-poker__heading {
  color: #ffffff;
}

.page-poker__why-y8-section .page-poker__heading::after {
  background-color: #E0B700;
}

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

.page-poker__advantages-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease;
  text-align: center;
}

.page-poker__advantages-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-poker__advantages-title {
  font-size: 1.6em;
  color: #E0B700;
  margin-bottom: 15px;
}

.page-poker__advantages-description {
  font-size: 1em;
  margin-bottom: 20px;
}

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

.page-poker__faq-list {
  margin-top: 40px;
}

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

.page-poker__faq-question {
  font-size: 1.3em;
  color: #0A1931;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-poker__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #E0B700;
  transition: transform 0.3s ease;
}

.page-poker__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-poker__faq-answer {
  font-size: 1em;
  color: #555555;
  display: none;
  margin-top: 15px;
}

.page-poker__faq-answer.active {
  display: block;
}

/* CTA Section */
.page-poker__cta-section {
  padding: 80px 0;
  background-color: #E0B700; /* Accent color background for CTA */
  color: #0A1931; /* Dark text on accent background */
  text-align: center;
}

.page-poker__cta-section .page-poker__heading {
  color: #0A1931;
}

.page-poker__cta-section .page-poker__heading::after {
  background-color: #0A1931;
}

.page-poker__cta-section .page-poker__paragraph {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.2em;
}

.page-poker__cta-section .page-poker__button--primary {
  background-color: #0A1931;
  color: #E0B700;
  border: 2px solid #0A1931;
}

.page-poker__cta-section .page-poker__button--primary:hover {
  background-color: #333333;
  color: #E0B700;
}

.page-poker__cta-section .page-poker__button--secondary {
  background-color: transparent;
  color: #0A1931;
  border: 2px solid #0A1931;
}

.page-poker__cta-section .page-poker__button--secondary:hover {
  background-color: rgba(10, 25, 49, 0.1);
}

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

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding: 60px 0 40px;
  }
  .page-poker__hero-title {
    font-size: 2.2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button--large {
    width: 80%;
    max-width: 300px;
  }
  .page-poker__heading {
    font-size: 1.8em;
    margin-bottom: 25px;
  }
  .page-poker__paragraph {
    font-size: 0.95em;
    text-align: left;
  }
  .page-poker__game-grid, .page-poker__steps-list, .page-poker__strategy-grid, .page-poker__tournament-grid, .page-poker__promo-grid, .page-poker__advantages-list {
    grid-template-columns: 1fr;
  }
  .page-poker__game-card-image, .page-poker__tournament-image, .page-poker__promo-image {
    height: 180px;
  }
  /* Mobile content area image constraint */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 1.8em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__heading {
    font-size: 1.5em;
  }
  .page-poker__button {
    width: 90%;
    max-width: 280px;
  }
  .page-poker__faq-question {
    font-size: 1.1em;
  }
  .page-poker__faq-answer {
    font-size: 0.9em;
  }
}