/* style/lottery.css */
:root {
  --primary-color: #0A2463;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark-body: #121212;
  --bg-dark-card: rgba(255, 255, 255, 0.08);
  --bg-light-card: #ffffff;
  --border-color: rgba(255, 255, 255, 0.15);
}

.page-lottery {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Default text color for dark body background */
  line-height: 1.6;
  background-color: var(--bg-dark-body); /* Ensure consistency with body background */
}

/* Fixed header spacing */
.page-lottery__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Desktop: Adjust based on fixed header height */
  box-sizing: border-box;
}

.page-lottery__title-section,
.page-lottery__content-section,
.page-lottery__faq-section,
.page-lottery__brand-section,
.page-lottery__blog-section,
.page-lottery__responsible-gaming-section,
.page-lottery__final-cta-section {
  padding: 60px 20px;
  box-sizing: border-box;
}

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

/* Headings */
.page-lottery h1,
.page-lottery h2,
.page-lottery h3 {
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-lottery h1 {
  font-size: 44px;
  color: var(--secondary-color);
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-lottery h2 {
  font-size: 36px;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
}

.page-lottery h3 {
  font-size: 24px;
  color: var(--text-light);
  margin-bottom: 15px;
}

/* Text blocks */
.page-lottery__text-block {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--text-light);
}

.page-lottery__text-block + .page-lottery__text-block {
  margin-top: 15px;
}

/* Video Section */
.page-lottery__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-lottery__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-lottery__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-lottery__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-lottery__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  object-fit: cover;
  pointer-events: none;
}

.page-lottery__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-lottery__video-link:hover .page-lottery__video-overlay {
  opacity: 1;
}

.page-lottery__video-click-hint {
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  padding: 12px 25px;
  background: rgba(255, 215, 0, 0.8);
  border-radius: 8px;
  white-space: nowrap;
}

.page-lottery__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.page-lottery__play-now-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 10px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--secondary-color);
  cursor: pointer;
  text-transform: uppercase;
}

.page-lottery__play-now-button:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  border-color: var(--primary-color);
}

.page-lottery__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Title Section */
.page-lottery__title-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.page-lottery__main-title {
  margin-bottom: 25px;
  line-height: 1.2;
}

.page-lottery__title-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.page-lottery__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-lottery__cta-button {
  display: inline-block;
  padding: 16px 35px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  min-width: 180px;
  white-space: nowrap;
}

.page-lottery__cta-button:hover {
  background: #e6c200; /* Slightly darker gold */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-lottery__cta-button--secondary {
  background: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--secondary-color);
}

.page-lottery__cta-button--secondary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.page-lottery__cta-button--gold {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-lottery__cta-button--gold:hover {
  background: #e6c200;
  border-color: var(--secondary-color);
}

/* Content Sections */
.page-lottery__dark-bg {
  background: var(--primary-color);
  color: var(--text-light);
}

.page-lottery__light-bg {
  background: var(--bg-light-card);
  color: var(--text-dark);
}

.page-lottery__light-bg h2,
.page-lottery__light-bg h3 {
  color: var(--primary-color);
}

.page-lottery__light-bg .page-lottery__text-block {
  color: var(--text-dark);
}

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

.page-lottery__feature-item {
  background: var(--bg-dark-card);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-lottery__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-lottery__feature-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}

.page-lottery__feature-title {
  color: var(--secondary-color);
  font-size: 22px;
}

.page-lottery__feature-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
}
}