/* style/lottery.css */

:root {
  --page-lottery-primary-color: #26A9E0;
  --page-lottery-secondary-color: #FFFFFF;
  --page-lottery-dark-text: #333333;
  --page-lottery-light-text: #FFFFFF;
  --page-lottery-accent-color: #EA7C07; /* For login/register related buttons */
}

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

.page-lottery__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px);
  background-color: var(--page-lottery-primary-color);
  color: var(--page-lottery-light-text);
  overflow: hidden;
}

.page-lottery__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
  box-sizing: border-box;
}

.page-lottery__hero-content {
  max-width: 800px;
  margin: 0 auto;
  z-index: 1;
}

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

.page-lottery__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: var(--page-lottery-light-text);
}

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

.page-lottery__btn-primary,
.page-lottery__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-lottery__btn-primary {
  background-color: var(--page-lottery-accent-color);
  color: var(--page-lottery-light-text);
  border: 2px solid var(--page-lottery-accent-color);
}

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

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

.page-lottery__btn-secondary:hover {
  background-color: var(--page-lottery-light-text);
  color: var(--page-lottery-primary-color);
}

.page-lottery__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-lottery__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(5px);
}

.page-lottery__introduction-section,
.page-lottery__advantages-section,
.page-lottery__faq-section {
  padding: 60px 0;
  background-color: var(--page-lottery-secondary-color);
  color: var(--page-lottery-dark-text);
}

.page-lottery__types-section,
.page-lottery__promotions-section {
  padding: 60px 0;
  background-color: #f5f5f5;
  color: var(--page-lottery-dark-text);
}

.page-lottery__guide-section,
.page-lottery__cta-section {
  padding: 60px 0;
  background-color: var(--page-lottery-primary-color);
  color: var(--page-lottery-light-text);
}

.page-lottery__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  color: inherit;
}

.page-lottery__paragraph {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-lottery__keyword {
  font-weight: bold;
  color: var(--page-lottery-primary-color);
}

.page-lottery__dark-bg .page-lottery__keyword {
  color: var(--page-lottery-light-text);
}

.page-lottery__grid-3-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-lottery__grid-2-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-lottery__card,
.page-lottery__promo-card {
  background-color: var(--page-lottery-secondary-color);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  color: var(--page-lottery-dark-text);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-lottery__card:hover,
.page-lottery__promo-card:hover {
  transform: translateY(-10px);
}

.page-lottery__card-image,
.page-lottery__promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  display: block;
}

.page-lottery__card-title,
.page-lottery__promo-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--page-lottery-primary-color);
}

.page-lottery__card-description,
.page-lottery__promo-description {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-lottery__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-lottery__step-item {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 30px;
  color: var(--page-lottery-light-text);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-lottery__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--page-lottery-accent-color);
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

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

.page-lottery__step-description {
  font-size: 1em;
  line-height: 1.7;
}

.page-lottery__guide-cta {
  margin-top: 50px;
  text-align: center;
}

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

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

.page-lottery__feature-item {
  text-align: center;
  padding: 25px;
  border-radius: 12px;
  background-color: var(--page-lottery-secondary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: var(--page-lottery-dark-text);
}

.page-lottery__feature-icon {
  max-width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  display: inline-block;
}

.page-lottery__feature-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--page-lottery-primary-color);
}

.page-lottery__feature-description {
  font-size: 1em;
  line-height: 1.7;
}

.page-lottery__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-lottery__faq-item {
  background-color: var(--page-lottery-secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--page-lottery-dark-text);
}

.page-lottery__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f9f9f9;
  color: var(--page-lottery-primary-color);
  transition: background-color 0.3s ease;
}

.page-lottery__faq-question:hover {
  background-color: #f0f0f0;
}

.page-lottery__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-lottery__faq-item[open] .page-lottery__faq-toggle {
  transform: rotate(45deg);
}

.page-lottery__faq-answer {
  padding: 15px 25px 25px;
  font-size: 1em;
  line-height: 1.7;
  color: var(--page-lottery-dark-text);
  border-top: 1px solid #eee;
}

.page-lottery__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-lottery__faq-item summary {
  list-style: none;
}

.page-lottery__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-lottery__hero-title {
    font-size: 2.8em;
  }
  .page-lottery__section-title {
    font-size: 2em;
  }
  .page-lottery__grid-2-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-lottery__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-lottery__hero-title {
    font-size: 2.2em;
  }
  .page-lottery__hero-description {
    font-size: 1.1em;
  }
  .page-lottery__hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-lottery__btn-primary,
  .page-lottery__btn-secondary,
  .page-lottery__btn-large {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }

  .page-lottery__section-title {
    font-size: 1.8em;
  }
  .page-lottery__paragraph {
    font-size: 1em;
    padding: 0 15px;
  }

  .page-lottery__grid-3-col,
  .page-lottery__steps-grid,
  .page-lottery__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-lottery__card,
  .page-lottery__promo-card,
  .page-lottery__step-item,
  .page-lottery__feature-item {
    padding: 20px;
  }
  
  .page-lottery__card-title,
  .page-lottery__promo-title {
    font-size: 1.5em;
  }

  .page-lottery__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  /* Image responsive */
  .page-lottery img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-lottery__section,
  .page-lottery__card,
  .page-lottery__container,
  .page-lottery__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  .page-lottery__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .page-lottery__hero-title {
    font-size: 1.8em;
  }
  .page-lottery__section-title {
    font-size: 1.5em;
  }
  .page-lottery__faq-question {
    font-size: 1em;
  }
}