.page-poker {
  color: #333333; /* Deep dark text for contrast on default light body */
  line-height: 1.6;
}

.page-poker__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #000080; /* Midnight Blue background for hero */
  color: #ffffff; /* White text on dark background */
  overflow: hidden; /* Hide overflow from image */
}

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

.page-poker__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-poker__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-poker__hero-title {
  font-size: 3.2em;
  color: #FFD700; /* Gold title */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-poker__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
}

.page-poker__hero-actions {
  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;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
  text-align: center;
  min-width: 180px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-poker__button--primary {
  background-color: #FFD700; /* Gold button */
  color: #000080; /* Midnight blue text */
  border: 2px solid #FFD700;
}

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

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

.page-poker__button--secondary:hover {
  background-color: #FFD700;
  color: #000080;
  transform: translateY(-2px);
}

.page-poker__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  min-width: unset;
}

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

.page-poker__section-title {
  font-size: 2.5em;
  color: #000080; /* Midnight blue title */
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-poker__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-poker__game-types-section, .page-poker__tournaments-section, .page-poker__why-choose-section, .page-poker__strategy-section, .page-poker__faq-section, .page-poker__cta-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

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

.page-poker__game-card, .page-poker__feature-item, .page-poker__strategy-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f0f0f0;
}

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

.page-poker__game-card img, .page-poker__feature-item img, .page-poker__strategy-card img {
  width: 100%;
  height: auto;
  max-height: 250px; /* Constrain image height in cards */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Minimum image size */
  min-height: 200px;
}

.page-poker__card-title {
  font-size: 1.8em;
  color: #000080;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-poker__card-title a {
  color: #000080;
  text-decoration: none;
}

.page-poker__card-title a:hover {
  color: #FFD700;
}

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

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

.page-poker__tournament-item {
  background-color: #000080;
  color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-poker__tournament-item img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

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

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

.page-poker__faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.page-poker__accordion-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-poker__accordion-header {
  background-color: #FFD700;
  color: #000080;
  padding: 18px 25px;
  width: 100%;
  text-align: left;
  font-size: 1.2em;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-poker__accordion-header:hover {
  background-color: #e6c200;
}

.page-poker__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-poker__accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-poker__accordion-content {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  background-color: #f9f9f9;
  color: #333333;
}

.page-poker__accordion-content p {
  padding: 15px 0;
  margin: 0;
}

.page-poker__accordion-content a {
  color: #000080;
  text-decoration: underline;
}

.page-poker__accordion-content a:hover {
  color: #FFD700;
}

.page-poker__cta-section {
  text-align: center;
  background-color: #000080;
  color: #ffffff;
  padding: 80px 20px;
  border-radius: 12px;
  margin: 60px auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-poker__cta-section .page-poker__section-description {
  color: #e0e0e0;
  margin-bottom: 40px;
}

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

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding: 60px 15px;
  }
  .page-poker__hero-content {
    padding: 60px 15px;
  }
  .page-poker__hero-title {
    font-size: 2em;
  }
  .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__game-grid, .page-poker__features-grid, .page-poker__strategy-grid, .page-poker__tournament-carousel {
    grid-template-columns: 1fr;
  }
  .page-poker__game-card img, .page-poker__feature-item img, .page-poker__strategy-card img, .page-poker__tournament-item img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-description {
    font-size: 0.95em;
  }
  .page-poker__button-group {
    flex-direction: column;
  }
  .page-poker__cta-section {
    padding: 50px 15px;
  }
  .page-poker__cta-actions {
    flex-direction: column;
  }
  /* Ensure all images within .page-poker do not overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 1.8em;
  }
  .page-poker__section-title {
    font-size: 1.5em;
  }
  .page-poker__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-poker__button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}