/* style/lottery-games.css */

/* Variables for colors */
:root {
  --page-lottery-games-primary-color: #1A2A3A;
  --page-lottery-games-accent-color: #FFD700;
  --page-lottery-games-text-light: #F0F0F0;
  --page-lottery-games-text-dark: #333333;
  --page-lottery-games-bg-dark: #121212;
  --page-lottery-games-bg-light: #FFFFFF;
  --page-lottery-games-card-bg: #282828;
  --page-lottery-games-border-color: #3A3A3A;
}

.page-lottery-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-lottery-games-text-light);
  background-color: var(--page-lottery-games-bg-dark);
}

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

/* Hero Section */
.page-lottery-games__hero-section {
  background: linear-gradient(135deg, var(--page-lottery-games-primary-color) 0%, #000000 100%);
  color: var(--page-lottery-games-text-light);
  padding: 80px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.page-lottery-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-lottery-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-lottery-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: grayscale(50%);
}

.page-lottery-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-lottery-games__hero-subtitle {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* General Buttons */
.page-lottery-games__btn {
  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, color 0.3s ease, transform 0.3s ease;
  margin: 10px;
  cursor: pointer;
}

.page-lottery-games__btn--primary {
  background-color: var(--page-lottery-games-accent-color);
  color: var(--page-lottery-games-primary-color);
  border: 2px solid var(--page-lottery-games-accent-color);
}

.page-lottery-games__btn--primary:hover {
  background-color: #FFC107; /* Slightly darker gold */
  transform: translateY(-3px);
}

.page-lottery-games__btn--secondary {
  background-color: transparent;
  color: var(--page-lottery-games-accent-color);
  border: 2px solid var(--page-lottery-games-accent-color);
}

.page-lottery-games__btn--secondary:hover {
  background-color: var(--page-lottery-games-accent-color);
  color: var(--page-lottery-games-primary-color);
  transform: translateY(-3px);
}

.page-lottery-games__btn--link {
  color: var(--page-lottery-games-accent-color);
  text-decoration: none;
  font-weight: bold;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
  transition: border-bottom-color 0.3s ease;
}

.page-lottery-games__btn--link:hover {
  border-bottom-color: var(--page-lottery-games-accent-color);
}

/* Highlight text */
.page-lottery-games .highlight {
  color: var(--page-lottery-games-accent-color);
}

/* Section Styling */
.page-lottery-games__intro-section,
.page-lottery-games__games-overview,
.page-lottery-games__benefits-section,
.page-lottery-games__detail-pages-section,
.page-lottery-games__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-lottery-games__intro-section,
.page-lottery-games__benefits-section,
.page-lottery-games__cta-section {
  background-color: var(--page-lottery-games-bg-dark);
}

.page-lottery-games__games-overview,
.page-lottery-games__detail-pages-section {
  background-color: var(--page-lottery-games-primary-color);
}

.page-lottery-games__section-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--page-lottery-games-text-light);
  font-weight: bold;
}

.page-lottery-games__section-description {
  font-size: 1.1em;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--page-lottery-games-text-light);
}

/* Feature Grid (Intro Section) */
.page-lottery-games__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-lottery-games__feature-item {
  background-color: var(--page-lottery-games-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease;
}

.page-lottery-games__feature-item:hover {
  transform: translateY(-10px);
}

.page-lottery-games__feature-title {
  font-size: 1.5em;
  color: var(--page-lottery-games-accent-color);
  margin-bottom: 15px;
}

.page-lottery-games__feature-text {
  font-size: 1em;
  color: var(--page-lottery-games-text-light);
}

/* Game Card Grid (Games Overview) */
.page-lottery-games__game-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.page-lottery-games__game-card {
  background-color: var(--page-lottery-games-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-lottery-games__game-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.page-lottery-games__game-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 4px solid var(--page-lottery-games-accent-color);
}

.page-lottery-games__game-card-title {
  font-size: 1.8em;
  color: var(--page-lottery-games-accent-color);
  margin: 25px 15px 15px;
}

.page-lottery-games__game-card-text {
  font-size: 1.05em;
  color: var(--page-lottery-games-text-light);
  padding: 0 25px 25px;
  flex-grow: 1;
}

.page-lottery-games__game-card .page-lottery-games__btn--link {
  margin-top: auto;
  margin-bottom: 25px;
  display: inline-block;
}

/* Benefits Section */
.page-lottery-games__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.page-lottery-games__benefit-item {
  background-color: var(--page-lottery-games-card-bg);
  padding: 35px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease;
}

.page-lottery-games__benefit-item:hover {
  transform: translateY(-10px);
}

.page-lottery-games__benefit-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px var(--page-lottery-games-accent-color));
}

.page-lottery-games__benefit-title {
  font-size: 1.6em;
  color: var(--page-lottery-games-accent-color);
  margin-bottom: 15px;
}

.page-lottery-games__benefit-text {
  font-size: 1em;
  color: var(--page-lottery-games-text-light);
}

/* Detail Pages Section */
.page-lottery-games__detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-lottery-games__detail-item {
  background-color: var(--page-lottery-games-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.page-lottery-games__detail-item:hover {
  transform: translateY(-8px);
}

.page-lottery-games__detail-title {
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-lottery-games__detail-title a {
  color: var(--page-lottery-games-accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-lottery-games__detail-title a:hover {
  color: #FFC107; /* Slightly darker gold */
}

.page-lottery-games__detail-description {
  font-size: 0.95em;
  color: var(--page-lottery-games-text-light);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-lottery-games__detail-item .page-lottery-games__btn--link {
  margin-top: auto;
}

/* CTA Section */
.page-lottery-games__cta-section {
  background: linear-gradient(45deg, var(--page-lottery-games-primary-color), #000000);
  padding: 100px 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-lottery-games__hero-title {
    font-size: 2.8em;
  }
  .page-lottery-games__hero-subtitle {
    font-size: 1.1em;
  }
  .page-lottery-games__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-lottery-games__hero-section {
    padding: 60px 0;
  }
  .page-lottery-games__hero-title {
    font-size: 2.2em;
  }
  .page-lottery-games__hero-subtitle {
    font-size: 1em;
  }
  .page-lottery-games__section-title {
    font-size: 1.8em;
  }
  .page-lottery-games__section-description {
    font-size: 0.95em;
  }
  .page-lottery-games__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-lottery-games__feature-grid, .page-lottery-games__game-card-grid, .page-lottery-games__benefits-grid, .page-lottery-games__detail-list {
    grid-template-columns: 1fr;
  }
  .page-lottery-games__feature-item, .page-lottery-games__game-card, .page-lottery-games__benefit-item, .page-lottery-games__detail-item {
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .page-lottery-games__hero-title {
    font-size: 1.8em;
  }
  .page-lottery-games__hero-subtitle {
    font-size: 0.9em;
  }
  .page-lottery-games__section-title {
    font-size: 1.6em;
  }
  .page-lottery-games__section-description {
    font-size: 0.9em;
  }
  .page-lottery-games__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-lottery-games__container {
    padding: 0 15px;
  }
  .page-lottery-games__hero-content .page-lottery-games__btn {
    display: block;
    margin: 10px auto;
  }
}