/* style/lottery.css */

/* Base styles for the lottery page */
.page-lottery {
  font-family: 'Arial', sans-serif;
  background-color: #0A0A0A;
  color: #FFF6D6;
  line-height: 1.6;
}

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

.page-lottery__section-title {
  font-size: 2.8em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #F2C14E;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-lottery__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6;
}

.page-lottery__card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: #FFF6D6;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

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

.page-lottery__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFD36B;
  flex-grow: 1;
}

.page-lottery__card-text {
  font-size: 1em;
  line-height: 1.5;
  color: #FFF6D6;
  margin-bottom: 15px;
}

.page-lottery__btn-primary,
.page-lottery__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-lottery__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-lottery__btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 15px #FFD36B;
}

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

.page-lottery__btn-secondary:hover {
  background-color: #FFD36B;
  color: #111111;
}

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

.page-lottery__btn-large {
  padding: 15px 35px;
  font-size: 1.2em;
}

/* Hero Section */
.page-lottery__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Adjusted for body padding-top */
  overflow: hidden;
}

.page-lottery__hero-image-wrapper {
  width: 100%;
  position: relative;
  /* Removed aspect ratio, img will fill */
}

.page-lottery__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-lottery__hero-content {
  position: relative;
  text-align: center;
  max-width: 900px;
  margin-top: -150px; /* Overlap slightly for visual effect */
  z-index: 1;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-lottery__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 900;
  color: #F2C14E;
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.page-lottery__hero-description {
  font-size: clamp(1em, 1.5vw, 1.2em);
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* About Section */
.page-lottery__about-section {
  padding: 60px 0;
}

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

.page-lottery__feature-card .page-lottery__card-title {
  color: #FFD36B;
}

/* Games Section */
.page-lottery__games-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

.page-lottery__game-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-lottery__game-card .page-lottery__card-image {
  height: 250px;
  width: 100%;
  object-fit: cover;
}

.page-lottery__game-card .page-lottery__card-title {
  color: #FFD36B;
}

.page-lottery__game-card .page-lottery__btn-primary {
  margin-top: auto; /* Push button to bottom */
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* Guide Section */
.page-lottery__guide-section {
  padding: 60px 0;
}

.page-lottery__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-lottery__step-card .page-lottery__card-title {
  color: #FFD36B;
}

.page-lottery__cta-block {
  text-align: center;
  padding: 40px;
  background-color: #111111;
  border-radius: 10px;
  border: 1px solid #3A2A12;
}

.page-lottery__cta-text {
  font-size: 1.2em;
  margin-bottom: 25px;
  color: #FFF6D6;
}

/* Promotions Section */
.page-lottery__promotions-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-lottery__promo-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-lottery__promo-card .page-lottery__card-image {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.page-lottery__promo-card .page-lottery__card-title {
  color: #FFD36B;
}

.page-lottery__promo-card .page-lottery__btn-secondary {
  margin-top: auto;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* App Section */
.page-lottery__app-section {
  padding: 60px 0;
}

.page-lottery__app-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

.page-lottery__app-image {
  max-width: 450px;
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-lottery__app-info {
  max-width: 500px;
  text-align: left;
}

.page-lottery__app-subtitle {
  font-size: 2em;
  color: #F2C14E;
  margin-bottom: 20px;
}

.page-lottery__app-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-lottery__app-list li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #FFF6D6;
}

.page-lottery__list-icon {
  color: #FFD36B;
  font-size: 1.4em;
  margin-right: 10px;
  font-weight: bold;
}

/* Security Section */
.page-lottery__security-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

.page-lottery__security-item .page-lottery__card-image {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.page-lottery__security-item .page-lottery__card-title {
  color: #FFD36B;
}

.page-lottery__security-item .page-lottery__btn-secondary {
  margin-top: auto;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section */
.page-lottery__faq-section {
  padding: 60px 0;
}

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

.page-lottery__faq-item {
  margin-bottom: 20px;
  text-align: left;
  padding: 0;
  border: none;
  background-color: transparent;
  box-shadow: none;
}

.page-lottery__faq-item[open] .page-lottery__faq-question {
  background-color: #1a1a1a;
  border-bottom: 1px solid #3A2A12;
  border-radius: 10px 10px 0 0;
}

.page-lottery__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD36B;
  transition: all 0.3s ease;
  list-style: none;
}

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

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

.page-lottery__faq-qtext {
  flex-grow: 1;
}

.page-lottery__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #F2C14E;
}

.page-lottery__faq-answer {
  padding: 20px 25px;
  background-color: #1a1a1a;
  border: 1px solid #3A2A12;
  border-top: none;
  border-radius: 0 0 10px 10px;
  font-size: 1em;
  color: #FFF6D6;
  line-height: 1.5;
}

/* Final CTA Section */
.page-lottery__cta-final-section {
  padding: 80px 0;
  text-align: center;
  background-color: #0A0A0A;
}

.page-lottery__cta-final-section .page-lottery__section-title {
  color: #F2C14E;
  font-size: 3.2em;
}

.page-lottery__cta-final-section .page-lottery__section-description {
  font-size: 1.3em;
  margin-bottom: 40px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-lottery__hero-content {
    margin-top: -100px;
  }
  .page-lottery__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-lottery__section-title {
    font-size: 2.2em;
  }
  .page-lottery__app-image {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .page-lottery__hero-content {
    margin-top: -80px;
  }
  .page-lottery__main-title {
    font-size: clamp(1.8em, 6vw, 2.8em);
  }
  .page-lottery__hero-description {
    font-size: 1em;
  }
  .page-lottery__section-title {
    font-size: 1.8em;
    padding: 0 10px;
  }
  .page-lottery__section-description {
    font-size: 0.95em;
    padding: 0 10px;
  }
  .page-lottery__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-lottery__btn-primary,
  .page-lottery__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-lottery__features-grid,
  .page-lottery__game-cards-grid,
  .page-lottery__steps-grid,
  .page-lottery__promo-cards-grid,
  .page-lottery__security-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }
  .page-lottery__app-content {
    flex-direction: column;
    text-align: center;
    padding: 0 15px;
  }
  .page-lottery__app-info {
    text-align: center;
  }
  .page-lottery__app-list {
    padding-left: 0;
    display: inline-block; /* Center list items */
  }
  .page-lottery__app-list li {
    justify-content: center;
  }
  .page-lottery__app-image {
    max-width: 300px;
    width: 100%;
  }
  .page-lottery__card {
    padding: 20px;
  }
  .page-lottery__card-image {
    min-width: 200px;
    min-height: 200px;
  }
  .page-lottery img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-lottery__section,
  .page-lottery__card,
  .page-lottery__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-lottery__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-lottery__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-lottery__faq-answer {
    padding: 15px 20px;
  }
  .page-lottery__cta-block {
    padding: 30px 15px;
  }
  .page-lottery__cta-final-section .page-lottery__section-title {
    font-size: 2.2em;
  }
  .page-lottery__cta-final-section .page-lottery__section-description {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-lottery__hero-content {
    margin-top: -60px;
  }
  .page-lottery__main-title {
    font-size: clamp(1.6em, 7vw, 2.5em);
  }
  .page-lottery__section-title {
    font-size: 1.6em;
  }
  .page-lottery__app-image {
    max-width: 250px;
  }
  .page-lottery__app-subtitle {
    font-size: 1.6em;
  }
  .page-lottery__app-list li {
    font-size: 1em;
  }
}