/* style/lottery.css */

:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f8f8;
  --bg-dark: #222222;
  --border-color: #e0e0e0;
}

.page-lottery {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light backgrounds */
  background-color: var(--bg-light); /* Default light background */
  /* 🚨 Fixed nav spacing for desktop */
  padding-top: 120px; /* Adjust based on shared header height */
}

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

.page-lottery__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 20px;
}

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

/* Hero Section */
.page-lottery__hero-section {
  background: linear-gradient(135deg, var(--secondary-color), #a00000); /* Dark Red Gradient */
  color: var(--text-light);
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 450px;
}

.page-lottery__main-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--primary-color); /* Gold text for H1 */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-lottery__hero-description {
  font-size: 20px;
  max-width: 900px;
  margin: 0 auto 40px;
  color: rgba(255, 255, 255, 0.9);
}

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

.page-lottery__cta-button {
  display: inline-block;
  padding: 15px 35px;
  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.2);
  border: none;
  cursor: pointer;
}

.page-lottery__btn-primary {
  background-color: var(--primary-color); /* Gold */
  color: var(--secondary-color); /* Dark Red Text */
}

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

.page-lottery__btn-secondary {
  background-color: var(--secondary-color); /* Dark Red */
  color: var(--text-light);
  border: 2px solid var(--primary-color); /* Gold border */
}

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

/* General Section Styling */
.page-lottery__intro-section,
.page-lottery__guide-section,
.page-lottery__why-choose-section,
.page-lottery__blog-section {
  padding: 80px 20px;
}

.page-lottery__games-section,
.page-lottery__rewards-section,
.page-lottery__faq-section {
  padding: 80px 20px;
  background-color: var(--bg-dark); /* Dark background for contrast */
  color: var(--text-light);
}

.page-lottery__games-section .page-lottery__section-title,
.page-lottery__rewards-section .page-lottery__section-title,
.page-lottery__faq-section .page-lottery__section-title {
  color: var(--primary-color); /* Gold for titles on dark background */
}

.page-lottery__games-section .page-lottery__section-description,
.page-lottery__rewards-section .page-lottery__section-description,
.page-lottery__faq-section .page-lottery__section-description {
  color: rgba(255, 255, 255, 0.8);
}

/* Intro Section */
.page-lottery__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-lottery__text-block p {
  margin-bottom: 15px;
  font-size: 17px;
  color: var(--text-dark);
}

.page-lottery__image-block img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

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

.page-lottery__game-card {
  background: #333;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-lottery__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-lottery__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #444;
}

.page-lottery__game-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color); /* Gold */
  margin: 20px 15px 10px;
}

.page-lottery__game-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-lottery__read-more {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-lottery__read-more:hover {
  background-color: #e6c200;
  color: var(--secondary-color);
}

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

.page-lottery__step-item {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-lottery__step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-lottery__step-icon {
  width: 120px; /* Increased icon size */
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-lottery__step-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-lottery__step-description {
  font-size: 16px;
  color: #555;
}

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

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

.page-lottery__reward-card {
  background: #333;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-lottery__reward-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-lottery__reward-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #444;
}

.page-lottery__reward-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin: 20px 15px 10px;
}

.page-lottery__reward-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  padding: 0 15px 20px;
  flex-grow: 1;
}

/* Why Choose Section */
.page-lottery__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-lottery__advantage-item {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-lottery__advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-lottery__advantage-icon {
  width: 100px; /* Increased icon size */
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-lottery__advantage-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-lottery__advantage-description {
  font-size: 16px;
  color: #555;
}

/* FAQ Section */
.page-lottery__faq-list {
  margin-top: 30px;
}

.page-lottery__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: #444;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-lottery__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--secondary-color); /* Dark red question background */
  color: var(--text-light);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-radius 0.3s ease;
  position: relative;
}

.page-lottery__faq-item.active .page-lottery__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

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

.page-lottery__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color); /* Gold text for questions */
}

.page-lottery__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-lottery__faq-item.active .page-lottery__faq-toggle {
  color: var(--text-light);
  transform: rotate(45deg);
}

.page-lottery__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: #333;
  color: rgba(255, 255, 255, 0.8);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.page-lottery__faq-item.active .page-lottery__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}