/* style/lottery.css */
.page-lottery {
  font-family: 'Arial', sans-serif;
  color: #2C3E50; /* Dark blue-grey for main text */
  line-height: 1.6;
}

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

.page-lottery__hero {
  background: linear-gradient(135deg, #C0392B 0%, #86281e 100%); /* Main color and its darker variant */
  color: #fff;
  padding: 100px 0;
  text-align: center;
}

.page-lottery__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #fff; /* White for title on dark background */
}

.page-lottery__hero-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0; /* Slightly off-white for description */
}

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

.page-lottery__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1.1em;
}

.page-lottery__btn--primary {
  background-color: #F39C12; /* Accent color */
  color: #fff;
  border: 2px solid #F39C12;
}

.page-lottery__btn--primary:hover {
  background-color: #e67e22;
  border-color: #e67e22;
}

.page-lottery__btn--secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.page-lottery__btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-lottery__btn--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-lottery__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-lottery__btn--full-width {
  display: block;
  width: fit-content;
  margin: 30px auto 0;
  text-align: center;
}

.page-lottery__section-title {
  font-size: 2.5em;
  color: #C0392B; /* Main color for section titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-lottery__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #F39C12; /* Accent color for underline */
  border-radius: 2px;
}

.page-lottery__sub-title {
  font-size: 1.8em;
  color: #2C3E50; /* Dark blue-grey for sub-titles */
  margin-bottom: 20px;
}

.page-lottery__introduction,
.page-lottery__types-overview,
.page-lottery__details-pages,
.page-lottery__why-daga88,
.page-lottery__responsible-gaming {
  padding: 60px 0;
}

.page-lottery__introduction {
  background-color: #f8f8f8;
}

.page-lottery__image-text-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-lottery__image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-lottery__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-lottery__text-content {
  flex: 1;
}

.page-lottery__text-content ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-lottery__text-content ul li {
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
  color: #2C3E50;
}

.page-lottery__text-content ul li::before {
  content: '✓';
  color: #C0392B; /* Main color for checkmark */
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.2em;
  top: -2px;
}

.page-lottery__grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.page-lottery__grid--3-cols {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-lottery__grid--2-cols {
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

.page-lottery__card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-lottery__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-lottery__card-image {
  max-width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-lottery__card-title {
  font-size: 1.6em;
  color: #C0392B;
  margin-bottom: 10px;
}

.page-lottery__card-description {
  color: #555;
}

.page-lottery__call-to-action-text {
  text-align: center;
  font-size: 1.2em;
  margin-top: 40px;
  color: #2C3E50;
  font-weight: bold;
}

.page-lottery__details-pages {
  background-color: #F0F4F7; /* Light background for detail cards */
}

.page-lottery__detail-card {
  background-color: #fff;
  border-left: 5px solid #C0392B;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 25px;
  transition: transform 0.2s ease;
}

.page-lottery__detail-card:hover {
  transform: translateX(5px);
}

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

.page-lottery__detail-title a {
  color: #2C3E50; /* Dark blue-grey for detail titles */
  text-decoration: none;
}

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

.page-lottery__detail-description {
  color: #555;
  margin-bottom: 15px;
  font-size: 0.95em;
}

.page-lottery__detail-description a {
  color: #C0392B;
  text-decoration: underline;
}

.page-lottery__why-daga88 {
  background-color: #2C3E50; /* Dark blue-grey background */
  color: #f0f0f0;
}

.page-lottery__why-daga88 .page-lottery__section-title {
  color: #F39C12; /* Accent color for title on dark background */
}

.page-lottery__why-daga88 .page-lottery__section-title::after {
  background-color: #C0392B;
}

.page-lottery__why-daga88 p {
  color: #ccc;
}

.page-lottery__features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-lottery__feature-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
}

.page-lottery__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: brightness(1.5); /* Make icons brighter on dark background */
}

.page-lottery__feature-title {
  font-size: 1.5em;
  color: #F39C12; /* Accent color for feature titles */
  margin-bottom: 10px;
}

.page-lottery__feature-item p {
  color: #ddd;
}

.page-lottery__final-cta {
  text-align: center;
  font-size: 1.3em;
  margin-top: 60px;
  color: #fff;
  font-weight: bold;
}

.page-lottery__responsible-gaming {
  background-color: #f8f8f8;
}

.page-lottery__responsible-gaming ul {
  list-style: disc;
  padding-left: 30px;
  margin-top: 20px;
  color: #2C3E50;
}

.page-lottery__responsible-gaming ul li {
  margin-bottom: 10px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-lottery__hero-title {
    font-size: 2.8em;
  }
  .page-lottery__hero-description {
    font-size: 1.1em;
  }
  .page-lottery__section-title {
    font-size: 2em;
  }
  .page-lottery__image-text-grid {
    flex-direction: column;
    text-align: center;
  }
  .page-lottery__text-content ul {
    text-align: left;
  }
  .page-lottery__grid--2-cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-lottery__hero {
    padding: 80px 0;
  }
  .page-lottery__hero-title {
    font-size: 2.2em;
  }
  .page-lottery__hero-description {
    font-size: 1em;
  }
  .page-lottery__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-lottery__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-lottery__section-title {
    font-size: 1.8em;
  }
  .page-lottery__grid--3-cols {
    grid-template-columns: 1fr;
  }
  .page-lottery__card-image {
    height: 180px;
  }
  .page-lottery__features-list {
    grid-template-columns: 1fr;
  }
  .page-lottery__btn--full-width {
    width: 90%;
  }
}

@media (max-width: 480px) {
  .page-lottery__hero {
    padding: 60px 0;
  }
  .page-lottery__hero-title {
    font-size: 1.8em;
  }
  .page-lottery__hero-description {
    font-size: 0.9em;
  }
  .page-lottery__btn {
    width: 95%;
    padding: 12px 20px;
  }
  .page-lottery__section-title {
    font-size: 1.5em;
  }
  .page-lottery__sub-title {
    font-size: 1.4em;
  }
  .page-lottery__card-image {
    height: 150px;
  }
}