/* style/lottery.css */
.page-lottery {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

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

.page-lottery__section {
  padding: 80px 0;
  text-align: center;
}

.page-lottery__dark-bg {
  background: #0A2342;
  color: #ffffff;
}

.page-lottery__light-bg {
  background: #ffffff;
  color: #333333;
}

.page-lottery__gold-bg {
  background: #FFD700;
  color: #0A2342;
}

.page-lottery__dark-text {
  color: #333333;
}

.page-lottery__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px);
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-lottery__hero-section .page-lottery__container {
  position: relative;
  z-index: 1;
}

.page-lottery__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-lottery__description {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-lottery__cta-button {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
}

.page-lottery__btn-primary {
  background: #FFD700;
  color: #0A2342;
}

.page-lottery__btn-primary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-lottery__btn-secondary {
  background: #0A2342;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-lottery__btn-secondary:hover {
  background: #FFD700;
  color: #0A2342;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-lottery__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}

.page-lottery__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #FFD700;
}

.page-lottery__light-bg .page-lottery__section-title {
  color: #0A2342;
}

.page-lottery__text-content {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-lottery__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin-top: 40px;
}

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

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

.page-lottery__card {
  background: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease;
}

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

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

.page-lottery__card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #0A2342;
}

.page-lottery__card-text {
  font-size: 16px;
  line-height: 1.7;
  color: #555555;
}

.page-lottery__feature-list, .page-lottery__responsibility-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 900px;
  text-align: left;
}

.page-lottery__feature-item, .page-lottery__responsibility-item {
  background: #f9f9f9;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}

.page-lottery__dark-bg .page-lottery__feature-item, .page-lottery__dark-bg .page-lottery__responsibility-item {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-lottery__feature-item:hover, .page-lottery__responsibility-item:hover {
  transform: translateY(-3px);
}

.page-lottery__feature-title, .page-lottery__step-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #0A2342;
}

.page-lottery__dark-bg .page-lottery__feature-title, .page-lottery__dark-bg .page-lottery__step-title {
  color: #FFD700;
}

.page-lottery__feature-description, .page-lottery__step-description {
  font-size: 17px;
  color: #555555;
}

.page-lottery__dark-bg .page-lottery__feature-description, .page-lottery__dark-bg .page-lottery__step-description {
  color: #f0f0f0;
}

.page-lottery__step-by-step {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-lottery__step-item {
  flex: 1 1 calc(33% - 20px);
  max-width: calc(33% - 20px);
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  min-width: 280px;
}

.page-lottery__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #0A2342;
  background: #FFD700;
}

.page-lottery__download-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.page-lottery__download-info {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.page-lottery__download-info .page-lottery__text-content {
  margin-bottom: 30px;
}

.page-lottery__app-image {
  max-width: 400px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-lottery__responsibility-list {
  list-style: disc;
  text-align: left;
  font-size: 17px;
  color: #f0f0f0;
  margin-top: 30px;
}

.page-lottery__light-bg .page-lottery__responsibility-list {
  color: #333333;
}

.page-lottery__responsibility-item {
  background: none;
  box-shadow: none;
  padding: 10px 0;
  margin-bottom: 5px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
}

.page-lottery__light-bg .page-lottery__responsibility-item {
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.page-lottery__responsibility-item:last-child {
  border-bottom: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-lottery__main-title {
    font-size: 40px;
  }
  .page-lottery__section-title {
    font-size: 32px;
  }
  .page-lottery__description, .page-lottery__text-content {
    font-size: 18px;
  }
  .page-lottery__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-lottery__step-item {
    max-width: calc(50% - 20px);
  }
  .page-lottery__download-info {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-lottery {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-lottery__container {
    padding: 0 15px;
  }
  .page-lottery__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 60px;
  }
  .page-lottery__main-title {
    font-size: 32px;
  }
  .page-lottery__description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-lottery__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }
  .page-lottery__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px !important;
  }
  .page-lottery__section {
    padding: 40px 0;
  }
  .page-lottery__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-lottery__text-content {
    font-size: 16px;
  }
  .page-lottery__grid-3-columns, .page-lottery__grid-2-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-lottery__card {
    padding: 20px;
  }
  .page-lottery__card-title {
    font-size: 20px;
  }
  .page-lottery__card-text {
    font-size: 15px;
  }
  .page-lottery__feature-item, .page-lottery__responsibility-item {
    padding: 20px;
  }
  .page-lottery__feature-title, .page-lottery__step-title {
    font-size: 20px;
  }
  .page-lottery__feature-description, .page-lottery__step-description {
    font-size: 15px;
  }
  .page-lottery__step-item {
    max-width: 100%;
    flex: 1 1 100%;
    padding: 20px;
  }
  .page-lottery__step-number {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
  .page-lottery__download-section {
    flex-direction: column;
    gap: 30px;
  }
  .page-lottery__app-image {
    max-width: 300px;
  }
  .page-lottery img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-lottery__section,
  .page-lottery__card,
  .page-lottery__container,
  .page-lottery__download-section,
  .page-lottery__download-info {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}