.page-poker {
  color: #333333; /* Dark text for light background */
  background-color: #FFFFFF; /* Body background is light */
  padding-top: var(--header-offset, 120px);
}

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

.page-poker__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  margin-top: 60px;
  font-weight: bold;
}

.page-poker__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.page-poker__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  font-size: 1em;
  text-align: center;
}

.page-poker__button--register {
  background-color: #000000; /* Main color */
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-poker__button--register:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-poker__button--login {
  background-color: #FCBC45; /* Login color */
  color: #000000;
  border: 2px solid #FCBC45;
  margin-left: 15px;
}

.page-poker__button--login:hover {
  background-color: #E8A835;
  border-color: #E8A835;
}

.page-poker__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  background-color: #FCBC45;
  color: #000000;
  border: none;
  margin-top: 20px;
}

.page-poker__button--small:hover {
  background-color: #E8A835;
}

.page-poker__button--large {
  padding: 15px 35px;
  font-size: 1.2em;
  background-color: #FCBC45;
  color: #000000;
  border: none;
  margin-top: 30px;
}

.page-poker__button--large:hover {
  background-color: #E8A835;
}

.page-poker__button--outline {
  background-color: transparent;
  color: #000000;
  border: 2px solid #000000;
  padding: 12px 25px;
}

.page-poker__button--outline:hover {
  background-color: #000000;
  color: #FFFFFF;
}

/* Hero Section */
.page-poker__hero-section {
  background-color: #000000; /* Dark background for hero */
  padding: 80px 0;
  color: #FFFFFF;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-poker__hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-poker__hero-content {
  max-width: 800px;
  z-index: 1;
}

.page-poker__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #FFFFFF;
}

.page-poker__hero-description {
  font-size: 1.3em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #F0F0F0;
}

.page-poker__hero-image {
  width: 100%;
  max-width: 1000px;
  margin-top: 40px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 0;
}

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

/* Why Play Section */
.page-poker__why-play-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

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

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

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

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

/* Game Variety Section */
.page-poker__game-variety-section {
  padding: 80px 0;
  background-color: #F2F2F2;
}

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

.page-poker__game-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

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

.page-poker__game-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-poker__game-card-title {
  font-size: 1.8em;
  color: #000000;
  margin: 20px 0 10px;
  font-weight: bold;
}

.page-poker__game-card-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
  padding: 0 20px 20px;
  flex-grow: 1;
}

/* Get Started Section */
.page-poker__get-started-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-poker__step-card {
  background-color: #F8F8F8;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.page-poker__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #FCBC45;
  color: #000000;
  font-size: 1.8em;
  font-weight: bold;
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-poker__step-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-poker__step-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

/* Promotions Section */
.page-poker__promotions-section {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
}

.page-poker__promotions-section .page-poker__section-title,
.page-poker__promotions-section .page-poker__section-intro {
  color: #FFFFFF;
}

.page-poker__promo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 50px;
}

.page-poker__promo-card {
  background-color: #1A1A1A;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-poker__promo-card:nth-child(even) {
  flex-direction: column-reverse; /* Alternate image/content order */
}

.page-poker__promo-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

.page-poker__promo-content {
  padding: 30px;
}

.page-poker__promo-title {
  font-size: 2em;
  color: #FCBC45;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-poker__promo-description {
  font-size: 1em;
  line-height: 1.6;
  color: #E0E0E0;
  margin-bottom: 25px;
}

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

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

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

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

.page-poker__accordion-header {
  width: 100%;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #000000;
  background-color: #FFFFFF;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  outline: none;
}

.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;
}

.page-poker__accordion-content p {
  padding-bottom: 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

/* CTA Section */
.page-poker__cta-section {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-poker__cta-section .page-poker__section-title,
.page-poker__cta-section .page-poker__section-intro {
  color: #FFFFFF;
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-poker__hero-container {
    flex-direction: row;
    text-align: left;
  }

  .page-poker__hero-content {
    flex: 1;
  }

  .page-poker__hero-image {
    flex: 1;
    margin-top: 0;
  }

  .page-poker__hero-actions {
    text-align: left;
  }

  .page-poker__promo-card {
    flex-direction: row;
  }

  .page-poker__promo-card:nth-child(even) {
    flex-direction: row-reverse;
  }

  .page-poker__promo-image {
    flex: 1;
    height: 400px; /* Consistent height for desktop promo images */
  }

  .page-poker__promo-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-title {
    font-size: 2.5em;
  }

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

  .page-poker__button--login {
    margin-left: 0;
    margin-top: 15px;
  }

  .page-poker__hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .page-poker__section-title {
    font-size: 2em;
    margin-top: 40px;
  }

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

  .page-poker__feature-title {
    font-size: 1.4em;
  }

  .page-poker__game-card-title {
    font-size: 1.5em;
  }

  .page-poker__step-title {
    font-size: 1.3em;
  }

  .page-poker__promo-title {
    font-size: 1.6em;
  }

  .page-poker__accordion-header {
    font-size: 1em;
  }

  /* Ensure images in content area are responsive and not too small */
  .page-poker img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  /* Specific overrides for small images if any are accidentally generated below 200px */
  .page-poker__game-card-image,
  .page-poker__promo-image {
    height: auto; /* Allow height to adjust */
    min-height: 200px;
  }

  /* Ensure content area does not cause horizontal scroll */
  .page-poker {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }

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

  .page-poker__button {
    width: 100%;
    margin-left: 0 !important;
  }

  .page-poker__button--register {
    margin-bottom: 15px;
  }

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

  .page-poker__feature-card,
  .page-poker__game-card,
  .page-poker__step-card,
  .page-poker__promo-card {
    padding: 20px;
  }

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