/* style/lottery.css */

/* Base Styles */
.page-lottery {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default light text color for dark body background */
  background-color: transparent; /* Body background is from shared.css */
}

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

.page-lottery__section-title {
  font-size: 2.5em;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
}

.page-lottery__sub-title {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 20px;
}

.page-lottery__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0; /* Default light text color */
}

.page-lottery__emphasis-text {
  font-style: italic;
  font-weight: bold;
  text-align: center;
  margin-top: 30px;
  color: #FFFF00;
}

/* Section Backgrounds */
.page-lottery__dark-bg {
  background-color: #0d0d0d; /* Slightly lighter than body for contrast */
  color: #f0f0f0;
}

.page-lottery__light-bg {
  background-color: #1a1a1a; /* Dark gray for subtle contrast against body */
  color: #f0f0f0;
}

/* Hero Section */
.page-lottery__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px;
  min-height: 600px;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below header */
}

.page-lottery__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-lottery__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  color: #FFFFFF;
}

.page-lottery__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00;
}

.page-lottery__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

/* Buttons */
.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;
}

.page-lottery__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

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

.page-lottery__btn-secondary:hover {
  background-color: #017439;
  color: #FFFFFF;
}

.page-lottery__btn-lg {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* Images */
.page-lottery__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-lottery__card-image,
.page-lottery__promo-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  margin-bottom: 15px;
}

/* Introduction Section */
.page-lottery__introduction-section {
  padding: 60px 20px;
  text-align: center;
}

.page-lottery__introduction-section .page-lottery__paragraph {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Types Section */
.page-lottery__types-section {
  padding: 60px 20px;
}

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

.page-lottery__card {
  background-color: #1a1a1a; /* Dark gray for cards */
  border: 1px solid #017439;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #f0f0f0;
}

.page-lottery__card:hover {
  transform: translateY(-5px);
}

.page-lottery__card-title {
  font-size: 1.5em;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-lottery__card-text {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 20px;
}

.page-lottery__card-link {
  display: inline-block;
  color: #017439;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #017439;
  padding-bottom: 5px;
}

.page-lottery__card-link:hover {
  color: #FFFF00;
  border-color: #FFFF00;
}

/* Poker Connection Section */
.page-lottery__poker-connection-section {
  padding: 60px 20px;
}

.page-lottery__flex-container {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

.page-lottery__flex-container:last-of-type {
  margin-bottom: 0;
}

.page-lottery__flex-reverse {
  flex-direction: row-reverse;
}

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

.page-lottery__image-left,
.page-lottery__image-right {
  flex: 1;
  margin: 0;
}

/* Tips Section */
.page-lottery__tips-section {
  padding: 60px 20px;
}

.page-lottery__list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto;
}

.page-lottery__list-item {
  background-color: #1a1a1a;
  border: 1px solid #017439;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  font-size: 1.1em;
  color: #f0f0f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-lottery__list-item strong {
  color: #FFFF00;
}

.page-lottery__cta-block {
  text-align: center;
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Promo Section */
.page-lottery__promo-section {
  padding: 60px 20px;
}

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

.page-lottery__promo-card {
  background-color: #1a1a1a;
  border: 1px solid #017439;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
}

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

.page-lottery__promo-text {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 20px;
}

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

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

.page-lottery__faq-item {
  background-color: #1a1a1a;
  border: 1px solid #017439;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #f0f0f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-lottery__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #FFFF00;
  list-style: none;
}

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

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

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

.page-lottery__faq-answer {
  padding: 0 20px 20px;
  font-size: 1.1em;
  color: #e0e0e0;
}

.page-lottery__faq-answer .page-lottery__paragraph {
  margin-bottom: 10px;
}

.page-lottery__faq-link {
  display: inline-block;
  margin-top: 10px;
  color: #017439;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #017439;
  padding-bottom: 5px;
}

.page-lottery__faq-link:hover {
  color: #FFFF00;
  border-color: #FFFF00;
}

/* CTA Section */
.page-lottery__cta-section {
  padding: 80px 20px;
  text-align: center;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-lottery__hero-title {
    font-size: 3em;
  }
  .page-lottery__hero-description {
    font-size: 1.1em;
  }
  .page-lottery__section-title {
    font-size: 2em;
  }
  .page-lottery__flex-container {
    flex-direction: column;
  }
  .page-lottery__flex-reverse {
    flex-direction: column-reverse;
  }
  .page-lottery__image-left, .page-lottery__image-right {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-lottery__hero-section {
    padding: 80px 15px;
  }
  .page-lottery__hero-title {
    font-size: 2.5em;
  }
  .page-lottery__hero-description {
    font-size: 1em;
  }
  .page-lottery__section-title {
    font-size: 1.8em;
  }
  .page-lottery__sub-title {
    font-size: 1.5em;
  }
  .page-lottery__paragraph {
    font-size: 1em;
  }
  .page-lottery__hero-cta,
  .page-lottery__cta-block,
  .page-lottery__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-lottery__btn-primary,
  .page-lottery__btn-secondary,
  .page-lottery a[class*="button"],
  .page-lottery a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-lottery__hero-cta > a, .page-lottery__cta-block > a, .page-lottery__cta-buttons > a {
    width: 100%;
  }
  .page-lottery__container,
  .page-lottery__section,
  .page-lottery__card,
  .page-lottery__flex-container,
  .page-lottery__text-block,
  .page-lottery__grid,
  .page-lottery__promo-grid,
  .page-lottery__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-lottery img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-lottery video,
  .page-lottery__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-lottery__video-section,
  .page-lottery__video-container,
  .page-lottery__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-lottery__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-lottery__faq-item summary {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-lottery__faq-answer {
    font-size: 1em;
    padding: 0 15px 15px;
  }
}

@media (max-width: 480px) {
  .page-lottery__hero-title {
    font-size: 2em;
  }
  .page-lottery__section-title {
    font-size: 1.5em;
  }
  .page-lottery__btn-primary,
  .page-lottery__btn-secondary {
    font-size: 1em;
    padding: 12px 20px;
  }
  .page-lottery__hero-cta > a, .page-lottery__cta-block > a, .page-lottery__cta-buttons > a {
    width: 100%;
  }
}