/* style/lottery-games-keno.css */

/* Variables for consistent styling */
:root {
  --page-lottery-games-keno-primary-color: #0D1117;
  --page-lottery-games-keno-secondary-color: #FFD700;
  --page-lottery-games-keno-text-light: #FFFFFF;
  --page-lottery-games-keno-text-dark: #000000;
  --page-lottery-games-keno-accent-color: #0028ff; /* Complementary to secondary */
  --page-lottery-games-keno-background-dark: #1a1a1a;
  --page-lottery-games-keno-border-color: rgba(255, 215, 0, 0.3);
  --page-lottery-games-keno-spacing-unit: 16px;
}

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

.page-lottery-games-keno__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--page-lottery-games-keno-spacing-unit) * 2);
}

.page-lottery-games-keno__container--centered {
  text-align: center;
}

.page-lottery-games-keno__hero {
  background: linear-gradient(135deg, var(--page-lottery-games-keno-primary-color) 0%, #1a1e26 50%, var(--page-lottery-games-keno-secondary-color) 150%);
  padding: calc(var(--page-lottery-games-keno-spacing-unit) * 5) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: var(--page-lottery-games-keno-text-light);
}

.page-lottery-games-keno__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(255, 215, 0, 0.15), transparent 70%);
  pointer-events: none;
}

.page-lottery-games-keno__title {
  font-size: 3.5em;
  margin-bottom: var(--page-lottery-games-keno-spacing-unit);
  color: var(--page-lottery-games-keno-secondary-color);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  font-weight: bold;
}

.page-lottery-games-keno__subtitle {
  font-size: 1.3em;
  margin-bottom: calc(var(--page-lottery-games-keno-spacing-unit) * 2);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--page-lottery-games-keno-text-light);
}

.page-lottery-games-keno__cta-group {
  display: flex;
  justify-content: center;
  gap: var(--page-lottery-games-keno-spacing-unit);
  flex-wrap: wrap;
}

.page-lottery-games-keno__btn {
  display: inline-block;
  padding: calc(var(--page-lottery-games-keno-spacing-unit) * 0.8) calc(var(--page-lottery-games-keno-spacing-unit) * 2);
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  font-size: 1.1em;
  cursor: pointer;
}

.page-lottery-games-keno__btn--primary {
  background-color: var(--page-lottery-games-keno-secondary-color);
  color: var(--page-lottery-games-keno-primary-color);
}

.page-lottery-games-keno__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-lottery-games-keno__btn--secondary {
  background-color: transparent;
  color: var(--page-lottery-games-keno-secondary-color);
  border-color: var(--page-lottery-games-keno-secondary-color);
}

.page-lottery-games-keno__btn--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.page-lottery-games-keno__btn--large {
  padding: calc(var(--page-lottery-games-keno-spacing-unit) * 1) calc(var(--page-lottery-games-keno-spacing-unit) * 3);
  font-size: 1.3em;
}

.page-lottery-games-keno__section {
  padding: calc(var(--page-lottery-games-keno-spacing-unit) * 4) 0;
  border-bottom: 1px solid var(--page-lottery-games-keno-border-color);
}

.page-lottery-games-keno__section:last-of-type {
  border-bottom: none;
}

.page-lottery-games-keno__section-title {
  font-size: 2.5em;
  color: var(--page-lottery-games-keno-secondary-color);
  text-align: center;
  margin-bottom: calc(var(--page-lottery-games-keno-spacing-unit) * 3);
  position: relative;
}

.page-lottery-games-keno__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--page-lottery-games-keno-secondary-color);
  margin: var(--page-lottery-games-keno-spacing-unit) auto 0;
  border-radius: 2px;
}

.page-lottery-games-keno__description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto calc(var(--page-lottery-games-keno-spacing-unit) * 2);
  color: var(--page-lottery-games-keno-text-light);
}

.page-lottery-games-keno__description--note {
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
}

.page-lottery-games-keno__content-wrapper {
  display: flex;
  align-items: center;
  gap: calc(var(--page-lottery-games-keno-spacing-unit) * 3);
  margin-top: calc(var(--page-lottery-games-keno-spacing-unit) * 2);
}

.page-lottery-games-keno__content-wrapper--reversed {
  flex-direction: row-reverse;
}

.page-lottery-games-keno__text-content {
  flex: 1;
}

.page-lottery-games-keno__text-content p {
  margin-bottom: var(--page-lottery-games-keno-spacing-unit);
  color: rgba(255, 255, 255, 0.85);
}

.page-lottery-games-keno__text-content h3 {
  color: var(--page-lottery-games-keno-secondary-color);
  font-size: 1.6em;
  margin-bottom: calc(var(--page-lottery-games-keno-spacing-unit) * 0.5);
}

.page-lottery-games-keno__image-wrapper {
  flex: 1;
  text-align: center;
}

.page-lottery-games-keno__image-wrapper--full-width {
  flex: none;
  width: 100%;
  margin-top: calc(var(--page-lottery-games-keno-spacing-unit) * 2);
}

.page-lottery-games-keno__image-wrapper--center {
  flex: none;
  width: 100%;
  display: flex;
  justify-content: center;
}

.page-lottery-games-keno__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-lottery-games-keno__image:hover {
  transform: scale(1.02);
}

.page-lottery-games-keno__image--medium {
  max-width: 600px;
}

.page-lottery-games-keno__link {
  color: var(--page-lottery-games-keno-secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-lottery-games-keno__link:hover {
  color: var(--page-lottery-games-keno-text-light);
  text-decoration: underline;
}

.page-lottery-games-keno__steps-list {
  list-style: none;
  padding: 0;
  margin: calc(var(--page-lottery-games-keno-spacing-unit) * 2) 0;
}

.page-lottery-games-keno__steps-list li {
  background-color: var(--page-lottery-games-keno-background-dark);
  margin-bottom: var(--page-lottery-games-keno-spacing-unit);
  padding: calc(var(--page-lottery-games-keno-spacing-unit) * 1.5);
  border-radius: 8px;
  border-left: 5px solid var(--page-lottery-games-keno-secondary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-lottery-games-keno__steps-list li h3 {
  color: var(--page-lottery-games-keno-secondary-color);
  margin-top: 0;
  font-size: 1.4em;
  margin-bottom: calc(var(--page-lottery-games-keno-spacing-unit) * 0.5);
}

.page-lottery-games-keno__steps-list li p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
}

.page-lottery-games-keno__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: calc(var(--page-lottery-games-keno-spacing-unit) * 2);
  margin-top: calc(var(--page-lottery-games-keno-spacing-unit) * 2);
}

.page-lottery-games-keno__grid-item {
  background-color: var(--page-lottery-games-keno-background-dark);
  padding: calc(var(--page-lottery-games-keno-spacing-unit) * 1.5);
  border-radius: 8px;
  border: 1px solid var(--page-lottery-games-keno-border-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.page-lottery-games-keno__grid-item:hover {
  transform: translateY(-5px);
  border-color: var(--page-lottery-games-keno-secondary-color);
}

.page-lottery-games-keno__grid-item h3 {
  color: var(--page-lottery-games-keno-secondary-color);
  font-size: 1.3em;
  margin-top: 0;
  margin-bottom: var(--page-lottery-games-keno-spacing-unit);
}

.page-lottery-games-keno__grid-item p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
}

.page-lottery-games-keno__advantages-list {
  list-style: none;
  padding: 0;
  margin: calc(var(--page-lottery-games-keno-spacing-unit) * 2) auto;
  max-width: 800px;
}

.page-lottery-games-keno__advantages-list li {
  background-color: var(--page-lottery-games-keno-background-dark);
  margin-bottom: var(--page-lottery-games-keno-spacing-unit);
  padding: calc(var(--page-lottery-games-keno-spacing-unit) * 1);
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: var(--page-lottery-games-keno-spacing-unit);
  color: rgba(255, 255, 255, 0.85);
  border-left: 3px solid var(--page-lottery-games-keno-accent-color);
}

.page-lottery-games-keno__advantages-list li::before {
  content: '✓';
  color: var(--page-lottery-games-keno-secondary-color);
  font-size: 1.2em;
  font-weight: bold;
  margin-left: var(--page-lottery-games-keno-spacing-unit);
}

.page-lottery-games-keno__faq-item {
  background-color: var(--page-lottery-games-keno-background-dark);
  border: 1px solid var(--page-lottery-games-keno-border-color);
  border-radius: 8px;
  margin-bottom: var(--page-lottery-games-keno-spacing-unit);
  padding: calc(var(--page-lottery-games-keno-spacing-unit) * 1.5);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-lottery-games-keno__faq-item h3 {
  color: var(--page-lottery-games-keno-secondary-color);
  font-size: 1.3em;
  margin-top: 0;
  margin-bottom: var(--page-lottery-games-keno-spacing-unit);
}

.page-lottery-games-keno__faq-item p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-lottery-games-keno__title {
    font-size: 2.8em;
  }

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

  .page-lottery-games-keno__content-wrapper {
    flex-direction: column;
  }

  .page-lottery-games-keno__content-wrapper--reversed {
    flex-direction: column;
  }

  .page-lottery-games-keno__image-wrapper {
    margin-top: calc(var(--page-lottery-games-keno-spacing-unit) * 2);
  }
}

@media (max-width: 768px) {
  .page-lottery-games-keno__hero {
    padding: calc(var(--page-lottery-games-keno-spacing-unit) * 3) 0;
  }

  .page-lottery-games-keno__title {
    font-size: 2.2em;
  }

  .page-lottery-games-keno__subtitle {
    font-size: 1em;
  }

  .page-lottery-games-keno__btn {
    padding: calc(var(--page-lottery-games-keno-spacing-unit) * 0.6) calc(var(--page-lottery-games-keno-spacing-unit) * 1.5);
    font-size: 1em;
  }

  .page-lottery-games-keno__cta-group {
    flex-direction: column;
    gap: var(--page-lottery-games-keno-spacing-unit);
  }

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

  .page-lottery-games-keno__description {
    font-size: 0.95em;
  }

  .page-lottery-games-keno__grid {
    grid-template-columns: 1fr;
  }

  .page-lottery-games-keno__image--medium {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .page-lottery-games-keno__container {
    padding: var(--page-lottery-games-keno-spacing-unit);
  }

  .page-lottery-games-keno__title {
    font-size: 1.8em;
  }

  .page-lottery-games-keno__section-title {
    font-size: 1.5em;
  }

  .page-lottery-games-keno__btn--large {
    padding: calc(var(--page-lottery-games-keno-spacing-unit) * 0.8) calc(var(--page-lottery-games-keno-spacing-unit) * 2);
    font-size: 1.1em;
  }
}