/* style/games-lottery.css */

.page-games-lottery {
  font-family: 'Arial', sans-serif;
  color: #e5dfd3; /* Light text for dark background */
  background-color: #1A202C; /* Main dark background */
}

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

.page-games-lottery__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold for titles */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-games-lottery__section-subtitle {
  font-size: 1.2em;
  color: #d0d0d0;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-games-lottery .highlight {
  color: #FFD700;
}

.page-games-lottery__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
}

.page-games-lottery__btn--primary {
  background-color: #FFD700; /* Gold button */
  color: #1A202C; /* Dark text on gold */
  border: 2px solid #FFD700;
}

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

.page-games-lottery__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
  margin-left: 15px;
}

.page-games-lottery__btn--secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
  transform: translateY(-2px);
}

.page-games-lottery__btn--link {
  background-color: transparent;
  color: #FFD700;
  border: none;
  padding: 5px 0;
  display: inline-block;
  font-size: 0.9em;
}

.page-games-lottery__btn--link:hover {
  text-decoration: underline;
  color: #e6c200;
}

.page-games-lottery__btn--play {
  background-color: #FFD700;
  color: #1A202C;
  border: none;
  padding: 10px 20px;
  font-size: 0.95em;
  border-radius: 5px;
}

.page-games-lottery__btn--play:hover {
  background-color: #e6c200;
}

.page-games-lottery__btn--details {
  background-color: #5f636b; /* Darker grey */
  color: #e5dfd3;
  border: none;
  padding: 10px 20px;
  font-size: 0.95em;
  border-radius: 5px;
}

.page-games-lottery__btn--details:hover {
  background-color: #767980;
}

.page-games-lottery__btn--small {
  padding: 8px 15px;
  font-size: 0.85em;
  border-radius: 5px;
  background-color: #5f636b;
  color: #e5dfd3;
}

.page-games-lottery__btn--small:hover {
  background-color: #767980;
}

/* Hero Section */
.page-games-lottery__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #1A202C 0%, #2a3447 100%);
  position: relative;
  overflow: hidden;
}

.page-games-lottery__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:abstract_pattern,dark_geometric,subtle_texture]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-games-lottery__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-games-lottery__hero-title {
  font-size: 3.8em;
  color: #e5dfd3;
  margin-bottom: 25px;
  line-height: 1.1;
}

.page-games-lottery__hero-description {
  font-size: 1.3em;
  color: #d0d0d0;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-games-lottery__hero-image-wrapper {
  margin-top: 50px;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 800px;
}

.page-games-lottery__hero-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Introduction Section */
.page-games-lottery__introduction {
  padding: 60px 0;
  background-color: #222831;
}

.page-games-lottery__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-games-lottery__feature-item {
  background-color: #1A202C;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 280px;
}

.page-games-lottery__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #FFD70080); /* Subtle glow */
}

.page-games-lottery__feature-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-games-lottery__feature-text {
  font-size: 1em;
  color: #d0d0d0;
  line-height: 1.6;
  flex-grow: 1;
}

/* Game Types Section */
.page-games-lottery__game-types {
  padding: 60px 0;
  background-color: #1A202C;
}

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

.page-games-lottery__game-card {
  background-color: #222831;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-games-lottery__game-card:hover {
  transform: translateY(-5px);
}

.page-games-lottery__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid #FFD700;
}

.page-games-lottery__game-title {
  font-size: 1.4em;
  color: #FFD700;
  margin: 20px 0 10px;
}

.page-games-lottery__game-description {
  font-size: 0.95em;
  color: #d0d0d0;
  padding: 0 20px 20px;
  line-height: 1.6;
}

.page-games-lottery__btn--play {
  margin-bottom: 20px;
}

/* How To Play Section */
.page-games-lottery__how-to-play {
  padding: 60px 0;
  background-color: #222831;
}

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

.page-games-lottery__step-item {
  background-color: #1A202C;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-games-lottery__step-number {
  width: 50px;
  height: 50px;
  background-color: #FFD700;
  color: #1A202C;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.page-games-lottery__step-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-games-lottery__step-description {
  font-size: 1em;
  color: #d0d0d0;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Promotions Section */
.page-games-lottery__promotions {
  padding: 60px 0;
  background-color: #1A202C;
}

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

.page-games-lottery__promo-card {
  background-color: #222831;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-games-lottery__promo-card:hover {
  transform: translateY(-5px);
}

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

.page-games-lottery__promo-title {
  font-size: 1.4em;
  color: #FFD700;
  margin: 20px 0 10px;
}

.page-games-lottery__promo-description {
  font-size: 0.95em;
  color: #d0d0d0;
  padding: 0 20px 20px;
  line-height: 1.6;
}

.page-games-lottery__promotions-action {
  text-align: center;
  margin-top: 50px;
}

/* Detail Pages Section */
.page-games-lottery__detail-pages {
  padding: 60px 0;
  background-color: #222831;
}

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

.page-games-lottery__detail-card {
  background-color: #1A202C;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-games-lottery__detail-title {
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-games-lottery__detail-title a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-games-lottery__detail-title a:hover {
  text-decoration: underline;
  color: #e6c200;
}

.page-games-lottery__detail-description {
  font-size: 0.95em;
  color: #d0d0d0;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* FAQ Section */
.page-games-lottery__faq {
  padding: 60px 0;
  background-color: #1A202C;
}

.page-games-lottery__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-games-lottery__faq-item {
  background-color: #222831;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-games-lottery__faq-question {
  font-size: 1.2em;
  color: #FFD700;
  padding: 20px;
  cursor: pointer;
  position: relative;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-games-lottery__faq-question::after {
  content: '+';
  font-size: 1.5em;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-games-lottery__faq-item.active .page-games-lottery__faq-question::after {
  content: '-';
  transform: rotate(180deg);
}

.page-games-lottery__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #d0d0d0;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-games-lottery__faq-item.active .page-games-lottery__faq-answer {
  max-height: 200px; /* Adjust based on content */
  padding-top: 10px;
}

.page-games-lottery__faq-answer p {
  margin-bottom: 15px;
}

/* Call to Action Section */
.page-games-lottery__cta {
  padding: 80px 20px;
  background: linear-gradient(90deg, #1A202C, #3e4a63);
  text-align: center;
  border-top: 5px solid #FFD700;
}

.page-games-lottery__cta-title {
  font-size: 3em;
  color: #e5dfd3;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-games-lottery__cta-description {
  font-size: 1.4em;
  color: #d0d0d0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-games-lottery__btn--cta {
  padding: 15px 40px;
  font-size: 1.4em;
  border-radius: 10px;
  background-color: #FFD700;
  color: #1A202C;
  border: 3px solid #FFD700;
}

.page-games-lottery__btn--cta:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-3px) scale(1.02);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-games-lottery__hero-title {
    font-size: 3em;
  }
  .page-games-lottery__hero-description {
    font-size: 1.1em;
  }
  .page-games-lottery__section-title {
    font-size: 2.2em;
  }
  .page-games-lottery__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-games-lottery__hero {
    padding: 60px 20px;
  }
  .page-games-lottery__hero-title {
    font-size: 2.5em;
  }
  .page-games-lottery__hero-description {
    font-size: 1em;
  }
  .page-games-lottery__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-games-lottery__btn--secondary {
    margin-left: 0;
  }
  .page-games-lottery__section-title {
    font-size: 1.8em;
  }
  .page-games-lottery__section-subtitle {
    font-size: 1em;
  }
  .page-games-lottery__feature-item, .page-games-lottery__game-card, .page-games-lottery__step-item, .page-games-lottery__promo-card, .page-games-lottery__detail-card {
    padding: 25px;
  }
  .page-games-lottery__cta-title {
    font-size: 2em;
  }
  .page-games-lottery__cta-description {
    font-size: 1.2em;
  }
  .page-games-lottery__btn--cta {
    font-size: 1.2em;
    padding: 12px 30px;
  }
}

@media (max-width: 480px) {
  .page-games-lottery__hero-title {
    font-size: 2em;
  }
  .page-games-lottery__hero-description {
    font-size: 0.9em;
  }
  .page-games-lottery__section-title {
    font-size: 1.5em;
  }
  .page-games-lottery__cta-title {
    font-size: 1.8em;
  }
  .page-games-lottery__btn {
    width: 100%;
    box-sizing: border-box;
  }
}