/* style/games-lottery-game-rules.css */

:root {
  --page-games-lottery-game-rules-primary-color: #1A2E44;
  --page-games-lottery-game-rules-secondary-color: #E44D26;
  --page-games-lottery-game-rules-text-dark: #1A2E44;
  --page-games-lottery-game-rules-text-light: #FFFFFF;
  --page-games-lottery-game-rules-bg-light: #F8F9FA;
  --page-games-lottery-game-rules-bg-dark: #1A2E44;
  --page-games-lottery-game-rules-accent-light: #ec8267;
}

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

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

.page-games-lottery-game-rules__hero {
  background: linear-gradient(135deg, var(--page-games-lottery-game-rules-primary-color), var(--page-games-lottery-game-rules-secondary-color));
  color: var(--page-games-lottery-game-rules-text-light);
  padding: 80px 0;
  text-align: center;
}

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

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

.page-games-lottery-game-rules__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 10px;
  font-size: 1.1em;
  cursor: pointer;
  border: none;
}

.page-games-lottery-game-rules__btn--primary {
  background-color: var(--page-games-lottery-game-rules-secondary-color);
  color: var(--page-games-lottery-game-rules-text-light);
}

.page-games-lottery-game-rules__btn--primary:hover {
  background-color: #b83a1f;
  transform: translateY(-2px);
}

.page-games-lottery-game-rules__btn--secondary {
  background-color: transparent;
  color: var(--page-games-lottery-game-rules-text-light);
  border: 2px solid var(--page-games-lottery-game-rules-text-light);
}

.page-games-lottery-game-rules__btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.page-games-lottery-game-rules__content-section {
  padding: 60px 0;
  background-color: var(--page-games-lottery-game-rules-bg-light);
}

.page-games-lottery-game-rules__content-section--alt {
  background-color: #eef2f5;
}

.page-games-lottery-game-rules__section-title {
  font-size: 2.5em;
  color: var(--page-games-lottery-game-rules-primary-color);
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.page-games-lottery-game-rules__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--page-games-lottery-game-rules-secondary-color);
  border-radius: 2px;
}

.page-games-lottery-game-rules__sub-section-title {
  font-size: 1.8em;
  color: var(--page-games-lottery-game-rules-secondary-color);
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-games-lottery-game-rules p {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.8;
}

.page-games-lottery-game-rules__list,
.page-games-lottery-game-rules__ordered-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-games-lottery-game-rules__ordered-list {
  list-style-type: decimal;
}

.page-games-lottery-game-rules__list li,
.page-games-lottery-game-rules__ordered-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-games-lottery-game-rules__image-wrapper {
  text-align: center;
  margin: 40px 0;
}

.page-games-lottery-game-rules__image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.page-games-lottery-game-rules__inline-link {
  color: var(--page-games-lottery-game-rules-secondary-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-games-lottery-game-rules__inline-link:hover {
  color: var(--page-games-lottery-game-rules-primary-color);
}

.page-games-lottery-game-rules__cta-section {
  background: var(--page-games-lottery-game-rules-primary-color);
  color: var(--page-games-lottery-game-rules-text-light);
  padding: 80px 0;
  text-align: center;
}

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

.page-games-lottery-game-rules__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-games-lottery-game-rules__hero-title {
    font-size: 2.5em;
  }

  .page-games-lottery-game-rules__hero-subtitle {
    font-size: 1.1em;
  }

  .page-games-lottery-game-rules__section-title {
    font-size: 2em;
  }

  .page-games-lottery-game-rules__sub-section-title {
    font-size: 1.5em;
  }

  .page-games-lottery-game-rules__cta-title {
    font-size: 2.2em;
  }

  .page-games-lottery-game-rules__btn {
    padding: 12px 25px;
    font-size: 1em;
    margin: 8px;
  }
}

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

  .page-games-lottery-game-rules__section-title {
    font-size: 1.8em;
  }

  .page-games-lottery-game-rules__sub-section-title {
    font-size: 1.3em;
  }

  .page-games-lottery-game-rules__cta-title {
    font-size: 1.8em;
  }

  .page-games-lottery-game-rules__btn {
    display: block;
    width: calc(100% - 20px);
    margin: 10px auto;
  }
  
  .page-games-lottery-game-rules__container {
    padding: 0 15px;
  }
}