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

.page-poker-room__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-poker-room__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  padding-bottom: 60px;
  color: #FFFFFF; /* Light text for hero content */
  text-align: center;
}

.page-poker-room__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.page-poker-room__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-poker-room__hero-content-wrapper {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

.page-poker-room__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-poker-room__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #F0F0F0;
}

.page-poker-room__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-poker-room__btn-primary,
.page-poker-room__btn-secondary {
  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, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-poker-room__btn-primary {
  background-color: #000000; /* Main color */
  color: #FFFFFF; /* White text for contrast */
  border: 2px solid #000000;
}

.page-poker-room__btn-primary:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-poker-room__btn-secondary {
  background-color: #FCBC45; /* Login custom color */
  color: #000000; /* Dark text for contrast */
  border: 2px solid #FCBC45;
}

.page-poker-room__btn-secondary:hover {
  background-color: #FFD700;
  border-color: #FFD700;
}

.page-poker-room__section {
  padding: 80px 0;
}

.page-poker-room__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  text-align: center;
  margin-bottom: 30px;
  color: #000000;
  font-weight: 700;
}

.page-poker-room__section-intro {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-poker-room__feature-grid, .page-poker-room__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-poker-room__feature-card,
.page-poker-room__game-card,
.page-poker-room__other-game-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-poker-room__feature-image,
.page-poker-room__other-game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-poker-room__game-iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  margin-bottom: 20px;
}

.page-poker-room__feature-title,
.page-poker-room__game-title,
.page-poker-room__other-game-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #000000;
  padding: 0 15px;
}

.page-poker-room__feature-description,
.page-poker-room__game-description,
.page-poker-room__other-game-description {
  font-size: 1rem;
  color: #555555;
  padding: 0 15px;
  flex-grow: 1;
}

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

.page-poker-room__step-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-poker-room__step-title {
  font-size: 1.3rem;
  color: #000000;
  margin-bottom: 15px;
}

.page-poker-room__step-description {
  font-size: 0.95rem;
  color: #666666;
}

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

.page-poker-room__benefit-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-poker-room__benefit-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-poker-room__benefit-title {
  font-size: 1.4rem;
  color: #000000;
  margin-bottom: 10px;
}

.page-poker-room__benefit-description {
  font-size: 0.95rem;
  color: #666666;
}

.page-poker-room__beyond-poker {
  background-color: #000000; /* Dark background */
  color: #FFFFFF; /* Light text */
}

.page-poker-room__beyond-poker .page-poker-room__section-title,
.page-poker-room__beyond-poker .page-poker-room__section-intro {
  color: #FFFFFF;
}

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

.page-poker-room__other-game-card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.page-poker-room__other-game-card:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-poker-room__other-game-card .page-poker-room__other-game-title {
  color: #FFFFFF;
}

.page-poker-room__other-game-card .page-poker-room__other-game-description {
  color: #E0E0E0;
}

.page-poker-room__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.page-poker-room__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-poker-room__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  background-color: #f5f5f5;
  transition: background-color 0.3s ease;
}

.page-poker-room__faq-question:hover {
  background-color: #eeeeee;
}

.page-poker-room__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-poker-room__faq-item.active .page-poker-room__faq-toggle {
  transform: rotate(45deg);
}

.page-poker-room__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-poker-room__faq-item.active .page-poker-room__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-poker-room__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

.page-poker-room__cta-section {
  background-color: #f0f0f0;
  text-align: center;
  padding: 60px 0;
}

/* General link styling */
.page-poker-room a {
  color: #000000;
  text-decoration: underline;
}

.page-poker-room a:hover {
  color: #555555;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-poker-room__hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-poker-room__hero-description {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  }
}

@media (max-width: 768px) {
  .page-poker-room {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-poker-room__container {
    padding: 0 15px;
  }

  .page-poker-room__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
    padding-bottom: 40px;
  }

  .page-poker-room__hero-content-wrapper {
    padding: 60px 0;
  }

  .page-poker-room__hero-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-poker-room__hero-description {
    font-size: clamp(0.9rem, 3.5vw, 1rem);
  }

  .page-poker-room__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-poker-room__btn-primary,
  .page-poker-room__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-poker-room__section {
    padding: 50px 0;
  }

  .page-poker-room__section-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
    margin-bottom: 20px;
  }

  .page-poker-room__section-intro {
    font-size: clamp(0.9rem, 3.5vw, 1rem);
    margin-bottom: 30px;
  }

  .page-poker-room__feature-grid,
  .page-poker-room__game-grid,
  .page-poker-room__step-by-step,
  .page-poker-room__benefits-list,
  .page-poker-room__other-games-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-poker-room__feature-image,
  .page-poker-room__other-game-image {
    height: 200px;
  }

  .page-poker-room__feature-title,
  .page-poker-room__game-title,
  .page-poker-room__other-game-title {
    font-size: 1.3rem;
  }

  .page-poker-room__benefit-icon {
    width: 60px;
    height: 60px;
  }

  .page-poker-room__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-poker-room__faq-answer {
    padding: 0 20px;
  }

  .page-poker-room__faq-item.active .page-poker-room__faq-answer {
    padding: 10px 20px;
  }

  /* Mobile image response */
  .page-poker-room img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-poker-room__section,
  .page-poker-room__card,
  .page-poker-room__container,
  .page-poker-room__feature-card,
  .page-poker-room__game-card,
  .page-poker-room__other-game-card,
  .page-poker-room__step-card,
  .page-poker-room__benefit-item,
  .page-poker-room__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left: 15px; */ /* Handled by container */
    /* padding-right: 15px; */ /* Handled by container */
  }
}