.page-game-lobby-lottery {
  font-family: 'Arial', sans-serif;
  color: #f5e6ce; /* Light text for dark background */
  background-color: #0A1931;
  line-height: 1.6;
}

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

.page-game-lobby-lottery__hero {
  background: linear-gradient(135deg, #0A1931 0%, #1a3a6b 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-game-lobby-lottery__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-game-lobby-lottery__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-game-lobby-lottery__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f5e6ce;
}

.page-game-lobby-lottery__hero-cta {
  display: inline-block;
  background-color: #FFD700;
  color: #0A1931;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-game-lobby-lottery__hero-cta:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-game-lobby-lottery__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  z-index: 1;
}

.page-game-lobby-lottery__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.page-game-lobby-lottery__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
  position: relative;
}

.page-game-lobby-lottery__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #DC143C;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-game-lobby-lottery__section-title--light {
  color: #fff;
}

.page-game-lobby-lottery__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #f5e6ce;
}

.page-game-lobby-lottery__introduction,
.page-game-lobby-lottery__game-types,
.page-game-lobby-lottery__why-e2bet,
.page-game-lobby-lottery__how-to-play,
.page-game-lobby-lottery__tips,
.page-game-lobby-lottery__faq {
  padding: 60px 0;
}

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

.page-game-lobby-lottery__info-card {
  background-color: #1a3a6b;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-game-lobby-lottery__info-card:hover {
  transform: translateY(-10px);
  background-color: #2a4a7b;
}

.page-game-lobby-lottery__card-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-game-lobby-lottery__card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-game-lobby-lottery__card-description {
  font-size: 1em;
  color: #f5e6ce;
}

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

.page-game-lobby-lottery__game-card {
  background-color: #1a3a6b;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.page-game-lobby-lottery__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-game-lobby-lottery__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.page-game-lobby-lottery__game-title {
  font-size: 2em;
  color: #FFD700;
  padding: 20px 20px 10px;
}

.page-game-lobby-lottery__game-description {
  font-size: 1em;
  color: #f5e6ce;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-game-lobby-lottery__game-cta {
  display: block;
  text-align: center;
  background-color: #DC143C;
  color: #fff;
  padding: 12px 20px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin: 0 20px 20px;
  border-radius: 5px;
}

.page-game-lobby-lottery__game-cta:hover {
  background-color: #b3002d;
}

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

.page-game-lobby-lottery__feature-item {
  background-color: #1a3a6b;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-game-lobby-lottery__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-game-lobby-lottery__feature-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-game-lobby-lottery__feature-description {
  font-size: 0.95em;
  color: #f5e6ce;
}

.page-game-lobby-lottery__main-cta {
  display: block;
  width: fit-content;
  margin: 50px auto 0;
  background-color: #FFD700;
  color: #0A1931;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.4em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.page-game-lobby-lottery__main-cta:hover {
  background-color: #e6c200;
  transform: translateY(-5px);
}

.page-game-lobby-lottery__steps-list {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  margin-top: 40px;
}

.page-game-lobby-lottery__steps-list li {
  background-color: #1a3a6b;
  margin-bottom: 20px;
  padding: 30px;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.1);
  padding-left: 80px;
}

.page-game-lobby-lottery__steps-list li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #DC143C;
  color: #fff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 3px solid #FFD700;
}

.page-game-lobby-lottery__step-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-game-lobby-lottery__step-description {
  font-size: 1.05em;
  color: #f5e6ce;
}

.page-game-lobby-lottery__step-cta {
  display: inline-block;
  background-color: #FFD700;
  color: #0A1931;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

.page-game-lobby-lottery__step-cta:hover {
  background-color: #e6c200;
}

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

.page-game-lobby-lottery__tip-item {
  background-color: #1a3a6b;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-game-lobby-lottery__tip-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-game-lobby-lottery__tip-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-game-lobby-lottery__tip-description {
  font-size: 0.95em;
  color: #f5e6ce;
}

.page-game-lobby-lottery__tip-cta {
  display: inline-block;
  background-color: #DC143C;
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

.page-game-lobby-lottery__tip-cta:hover {
  background-color: #b3002d;
}

.page-game-lobby-lottery__faq {
  background-color: #0A1931;
  padding-bottom: 80px;
}

.page-game-lobby-lottery__accordion {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-lobby-lottery__accordion-item {
  background-color: #1a3a6b;
  border: 1px solid #FFD700;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-game-lobby-lottery__accordion-header {
  font-size: 1.6em;
  color: #FFD700;
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1a3a6b;
  transition: background-color 0.3s ease;
}

.page-game-lobby-lottery__accordion-header:hover {
  background-color: #2a4a7b;
}

.page-game-lobby-lottery__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-game-lobby-lottery__accordion-item.active .page-game-lobby-lottery__accordion-header::after {
  transform: rotate(45deg);
}

.page-game-lobby-lottery__accordion-content {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  background-color: #0A1931;
}

.page-game-lobby-lottery__accordion-item.active .page-game-lobby-lottery__accordion-content {
  max-height: 200px; /* Adjust based on expected content height */
  padding: 15px 25px 25px;
}

.page-game-lobby-lottery__accordion-content p {
  color: #f5e6ce;
  margin-bottom: 10px;
}

.page-game-lobby-lottery__faq-cta {
  display: inline-block;
  background-color: #DC143C;
  color: #fff;
  padding: 8px 15px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.85em;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.page-game-lobby-lottery__faq-cta:hover {
  background-color: #b3002d;
}

.page-game-lobby-lottery__call-to-action {
  background: linear-gradient(90deg, #DC143C 0%, #FFD700 100%);
  padding: 80px 0;
  text-align: center;
  color: #0A1931;
}

.page-game-lobby-lottery__cta-text {
  font-size: 1.4em;
  margin-bottom: 40px;
  color: #0A1931;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-lobby-lottery__cta-button {
  display: inline-block;
  background-color: #0A1931;
  color: #FFD700;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.4em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #FFD700;
  margin: 0 15px;
  cursor: pointer;
}

.page-game-lobby-lottery__cta-button:hover {
  background-color: #1a3a6b;
  transform: translateY(-5px);
  border-color: #fff;
  color: #fff;
}

.page-game-lobby-lottery__cta-button--secondary {
  background-color: transparent;
  color: #0A1931;
  border: 2px solid #0A1931;
}

.page-game-lobby-lottery__cta-button--secondary:hover {
  background-color: #0A1931;
  color: #FFD700;
  border-color: #FFD700;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-game-lobby-lottery__hero-title {
    font-size: 3em;
  }
  .page-game-lobby-lottery__hero-description {
    font-size: 1.1em;
  }
  .page-game-lobby-lottery__section-title {
    font-size: 2.2em;
  }
  .page-game-lobby-lottery__info-cards,
  .page-game-lobby-lottery__game-grid,
  .page-game-lobby-lottery__features-grid,
  .page-game-lobby-lottery__tips-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-game-lobby-lottery__main-cta,
  .page-game-lobby-lottery__cta-button {
    font-size: 1.2em;
    padding: 15px 30px;
  }
}

@media (max-width: 768px) {
  .page-game-lobby-lottery__hero {
    padding: 60px 0;
  }
  .page-game-lobby-lottery__hero-title {
    font-size: 2.5em;
  }
  .page-game-lobby-lottery__hero-description {
    font-size: 1em;
  }
  .page-game-lobby-lottery__section-title {
    font-size: 1.8em;
    padding-top: 40px;
  }
  .page-game-lobby-lottery__info-cards,
  .page-game-lobby-lottery__game-grid,
  .page-game-lobby-lottery__features-grid,
  .page-game-lobby-lottery__tips-grid {
    grid-template-columns: 1fr;
  }
  .page-game-lobby-lottery__steps-list li {
    padding: 20px 20px 20px 70px;
  }
  .page-game-lobby-lottery__steps-list li::before {
    width: 40px;
    height: 40px;
    font-size: 1.5em;
    left: 15px;
  }
  .page-game-lobby-lottery__main-cta,
  .page-game-lobby-lottery__cta-button {
    font-size: 1em;
    padding: 12px 25px;
    margin: 10px 0;
  }
  .page-game-lobby-lottery__cta-button {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
  .page-game-lobby-lottery__accordion-header {
    font-size: 1.4em;
    padding: 15px 20px;
  }
  .page-game-lobby-lottery__accordion-content {
    padding: 0 20px;
  }
  .page-game-lobby-lottery__accordion-item.active .page-game-lobby-lottery__accordion-content {
    padding: 10px 20px 20px;
  }
}

@media (max-width: 480px) {
  .page-game-lobby-lottery__hero-title {
    font-size: 2em;
  }
  .page-game-lobby-lottery__hero-description {
    font-size: 0.9em;
  }
  .page-game-lobby-lottery__hero-cta {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-game-lobby-lottery__section-title {
    font-size: 1.5em;
  }
  .page-game-lobby-lottery__game-title {
    font-size: 1.6em;
  }
  .page-game-lobby-lottery__card-title, .page-game-lobby-lottery__feature-title, .page-game-lobby-lottery__tip-title {
    font-size: 1.4em;
  }
  .page-game-lobby-lottery__cta-text {
    font-size: 1.1em;
  }
  .page-game-lobby-lottery__cta-button {
    font-size: 1em;
    padding: 10px 20px;
  }
}