/* style/index-onbet-lottery-games.css */

/* Variables */
:root {
  --onbet-primary: #0A2463;
  --onbet-secondary: #FFD700;
  --onbet-light-text: #FFFFFF;
  --onbet-dark-text: #333333;
  --onbet-grey-bg: #f4f7f6;
  --onbet-accent-gold-dark: #b39700;
  --onbet-primary-light: #546692;
}

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

.page-index-onbet-lottery-games a {
  color: var(--onbet-primary);
  text-decoration: none;
}

.page-index-onbet-lottery-games a:hover {
  text-decoration: underline;
  color: var(--onbet-accent-gold-dark);
}

.page-index-onbet-lottery-games .highlight {
  color: var(--onbet-secondary);
}

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

.page-index-onbet-lottery-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-index-onbet-lottery-games__section:nth-of-type(even) {
  background-color: #e9ecef; /* Light grey for contrast */
}

.page-index-onbet-lottery-games__section-title {
  font-size: 2.5em;
  color: var(--onbet-primary);
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-index-onbet-lottery-games__text {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--onbet-dark-text);
}

.page-index-onbet-lottery-games__text--small {
  font-size: 0.95em;
  color: #666;
}

/* Hero Section */
.page-index-onbet-lottery-games__hero {
  background: linear-gradient(135deg, var(--onbet-primary), #001a4f);
  color: var(--onbet-light-text);
  padding: 100px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

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

.page-index-onbet-lottery-games__hero-content {
  z-index: 1;
  max-width: 900px;
}

.page-index-onbet-lottery-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--onbet-light-text);
}

.page-index-onbet-lottery-games__hero-subtitle {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #e0e0e0;
}

.page-index-onbet-lottery-games__hero-subtitle a {
  color: var(--onbet-secondary);
  font-weight: bold;
}

.page-index-onbet-lottery-games__hero-subtitle a:hover {
  text-decoration: underline;
}

.page-index-onbet-lottery-games__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index-onbet-lottery-games__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.page-index-onbet-lottery-games__btn--primary {
  background-color: var(--onbet-secondary);
  color: var(--onbet-primary);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-index-onbet-lottery-games__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-index-onbet-lottery-games__btn--secondary {
  background-color: transparent;
  color: var(--onbet-light-text);
  border: 2px solid var(--onbet-secondary);
}

.page-index-onbet-lottery-games__btn--secondary:hover {
  background-color: var(--onbet-secondary);
  color: var(--onbet-primary);
  transform: translateY(-2px);
}

.page-index-onbet-lottery-games__hero-image-wrapper {
  margin-top: 40px;
  max-width: 700px;
  width: 100%;
  z-index: 1;
}

.page-index-onbet-lottery-games__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Game Types Grid */
.page-index-onbet-lottery-games__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-onbet-lottery-games__game-card {
  background-color: var(--onbet-light-text);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-index-onbet-lottery-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-index-onbet-lottery-games__game-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index-onbet-lottery-games__game-card-title {
  font-size: 1.6em;
  color: var(--onbet-primary);
  margin-bottom: 10px;
}

.page-index-onbet-lottery-games__game-card-description {
  font-size: 1em;
  color: var(--onbet-dark-text);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index-onbet-lottery-games__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 6px;
  background-color: var(--onbet-secondary);
  color: var(--onbet-primary);
  align-self: flex-start;
}

.page-index-onbet-lottery-games__btn--small:hover {
  background-color: #e6c200;
  transform: translateY(-1px);
}

/* How-to-play Steps */
.page-index-onbet-lottery-games__steps {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-index-onbet-lottery-games__steps li {
  background-color: var(--onbet-light-text);
  border-left: 5px solid var(--onbet-primary);
  margin-bottom: 25px;
  padding: 25px 30px;
  border-radius: 8px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.page-index-onbet-lottery-games__steps li:hover {
  border-left-color: var(--onbet-secondary);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-index-onbet-lottery-games__step-title {
  font-size: 1.4em;
  color: var(--onbet-primary);
  margin-bottom: 10px;
}

.page-index-onbet-lottery-games__step-description {
  font-size: 1em;
  color: var(--onbet-dark-text);
}

.page-index-onbet-lottery-games__cta-bottom {
  margin-top: 40px;
  text-align: center;
}

/* Advantages Grid */
.page-index-onbet-lottery-games__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-onbet-lottery-games__advantage-item {
  background-color: var(--onbet-light-text);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-onbet-lottery-games__advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-index-onbet-lottery-games__advantage-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.page-index-onbet-lottery-games__advantage-title {
  font-size: 1.5em;
  color: var(--onbet-primary);
  margin-bottom: 10px;
}

.page-index-onbet-lottery-games__advantage-description {
  font-size: 0.95em;
  color: var(--onbet-dark-text);
}

/* Tips Section */
.page-index-onbet-lottery-games__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-onbet-lottery-games__tip-item {
  background-color: var(--onbet-light-text);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-onbet-lottery-games__tip-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-index-onbet-lottery-games__tip-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.page-index-onbet-lottery-games__tip-title {
  font-size: 1.5em;
  color: var(--onbet-primary);
  margin-bottom: 10px;
}

.page-index-onbet-lottery-games__tip-description {
  font-size: 0.95em;
  color: var(--onbet-dark-text);
}

/* FAQ Section */
.page-index-onbet-lottery-games__faq-list {
  margin-top: 40px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-onbet-lottery-games__faq-item {
  background-color: var(--onbet-light-text);
  border-radius: 8px;
  padding: 20px 25px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.page-index-onbet-lottery-games__faq-question {
  font-size: 1.2em;
  color: var(--onbet-primary);
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-index-onbet-lottery-games__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: var(--onbet-secondary);
}

.page-index-onbet-lottery-games__faq-question.active::after {
  content: '-';
}

.page-index-onbet-lottery-games__faq-answer {
  font-size: 1em;
  color: var(--onbet-dark-text);
  display: none;
  padding-top: 10px;
  border-top: 1px solid #eee;
  margin-top: 10px;
}

.page-index-onbet-lottery-games__faq-answer.active {
  display: block;
}

/* Final CTA Section */
.page-index-onbet-lottery-games__cta-final {
  background: linear-gradient(135deg, #001a4f, var(--onbet-primary));
  color: var(--onbet-light-text);
  padding: 80px 20px;
}

.page-index-onbet-lottery-games__cta-final .page-index-onbet-lottery-games__section-title {
  color: var(--onbet-light-text);
}

.page-index-onbet-lottery-games__cta-final .page-index-onbet-lottery-games__section-title::after {
  background-color: var(--onbet-secondary);
}

.page-index-onbet-lottery-games__cta-final .page-index-onbet-lottery-games__text {
  color: #e0e0e0;
}

.page-index-onbet-lottery-games__cta-final .page-index-onbet-lottery-games__hero-actions {
  margin-top: 30px;
}

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

@media (max-width: 768px) {
  .page-index-onbet-lottery-games__hero {
    flex-direction: column;
    padding: 80px 20px;
  }
  .page-index-onbet-lottery-games__hero-title {
    font-size: 2.2em;
  }
  .page-index-onbet-lottery-games__hero-subtitle {
    font-size: 1em;
  }
  .page-index-onbet-lottery-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-onbet-lottery-games__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-index-onbet-lottery-games__grid, 
  .page-index-onbet-lottery-games__advantages-grid, 
  .page-index-onbet-lottery-games__tips-grid {
    grid-template-columns: 1fr;
  }
  .page-index-onbet-lottery-games__section {
    padding: 40px 0;
  }
  .page-index-onbet-lottery-games__game-card, 
  .page-index-onbet-lottery-games__advantage-item, 
  .page-index-onbet-lottery-games__tip-item {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .page-index-onbet-lottery-games__hero-title {
    font-size: 1.8em;
  }
  .page-index-onbet-lottery-games__hero-subtitle {
    font-size: 0.9em;
  }
  .page-index-onbet-lottery-games__section-title {
    font-size: 1.6em;
  }
  .page-index-onbet-lottery-games__text {
    font-size: 0.9em;
  }
  .page-index-onbet-lottery-games__btn {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-index-onbet-lottery-games__steps li {
    padding: 20px;
  }
}