/* style/lottery.css */
:root {
  --primary-color: #003366; /* Deep Blue */
  --secondary-color: #FFD700; /* Gold */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f9f9f9;
  --bg-dark: #002244;
  --border-color: #e0e0e0;
}

.page-lottery {
  font-family: 'Arial', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

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

.page-lottery .section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-lottery .section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-lottery p {
  margin-bottom: 1em;
  font-size: 1.1em;
}

.page-lottery a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-lottery a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Hero Banner Section */
.page-lottery .hero-banner {
  background: linear-gradient(135deg, var(--primary-color) 0%, #004488 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.page-lottery .hero-banner .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.page-lottery .hero-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-bottom: 40px;
}

.page-lottery .hero-content h1 {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-lottery .hero-content p {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

.page-lottery .cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 18px 40px;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-lottery .cta-button:hover {
  background-color: #e6c200; /* Slightly darker gold */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Introduction Section */
.page-lottery .introduction-section {
  padding: 60px 0;
  background-color: var(--bg-light);
  text-align: center;
}

.page-lottery .introduction-section p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-dark);
}

.page-lottery .introduction-section .content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Game Types Section */
.page-lottery .game-types-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
  text-align: center;
}

.page-lottery .game-types-section .section-title {
  color: var(--secondary-color);
}

.page-lottery .game-types-section .section-title::after {
  background-color: var(--text-light);
}

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

.page-lottery .game-card {
  background-color: #002a52; /* Darker primary */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-lottery .game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.page-lottery .game-card .card-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-lottery .game-card h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-lottery .game-card h3 a {
  color: var(--secondary-color);
  font-weight: bold;
}

.page-lottery .game-card h3 a:hover {
  color: #e6c200;
}

.page-lottery .game-card p {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 20px;
}

.page-lottery .button-small {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 10px 25px;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.page-lottery .button-small:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-lottery .call-to-action-text {
  font-size: 1.2em;
  margin-top: 50px;
  color: var(--text-light);
}

.page-lottery .call-to-action-text a {
  color: var(--secondary-color);
  font-weight: bold;
}

.page-lottery .call-to-action-text a:hover {
  color: #e6c200;
}

/* Advantages Section */
.page-lottery .advantages-section {
  padding: 80px 0;
  background-color: var(--bg-light);
  text-align: center;
}

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

.page-lottery .advantage-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-lottery .advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-lottery .advantage-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-lottery .advantage-item h3 {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-lottery .advantage-item p {
  font-size: 1em;
  color: var(--text-dark);
}

/* Guide Section */
.page-lottery .guide-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--text-light);
  text-align: center;
}

.page-lottery .guide-section .section-title {
  color: var(--secondary-color);
}

.page-lottery .guide-section .section-title::after {
  background-color: var(--text-light);
}

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

.page-lottery .step-item {
  background-color: #002a52;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-lottery .step-number {
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-lottery .step-item h3 {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-lottery .step-item p {
  font-size: 1em;
  color: #cccccc;
}

.page-lottery .guide-section a {
  color: var(--secondary-color);
  font-weight: bold;
}

.page-lottery .guide-section a:hover {
  color: #e6c200;
}

/* Strategy Section */
.page-lottery .strategy-section {
  padding: 80px 0;
  background-color: var(--bg-light);
  text-align: center;
}

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

.page-lottery .strategy-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-lottery .strategy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-lottery .strategy-card .card-image {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-lottery .strategy-card h3 {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-lottery .strategy-card p {
  font-size: 1em;
  color: var(--text-dark);
}

/* Promotions Section */
.page-lottery .promotions-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
  text-align: center;
}

.page-lottery .promotions-section .section-title {
  color: var(--secondary-color);
}

.page-lottery .promotions-section .section-title::after {
  background-color: var(--text-light);
}

.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: #002a52;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-lottery .promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.page-lottery .promo-card .card-image {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-lottery .promo-card h3 {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-lottery .promo-card p {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-lottery .faq-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.page-lottery .faq-container {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-lottery .faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-lottery .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.page-lottery .faq-question:hover {
  background: #f0f0f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.page-lottery .faq-question h3 {
  font-size: 1.25em;
  color: var(--primary-color);
  margin: 0;
}

.page-lottery .faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
  margin-left: 20px;
}

.page-lottery .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.page-lottery .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.page-lottery .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px 25px;
  border-top: 1px solid var(--border-color);
}

.page-lottery .faq-answer p {
  font-size: 1em;
  color: var(--text-dark);
  margin-bottom: 0;
}

/* Conclusion Section */
.page-lottery .conclusion-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--text-light);
  text-align: center;
}

.page-lottery .conclusion-section .section-title {
  color: var(--secondary-color);
}

.page-lottery .conclusion-section .section-title::after {
  background-color: var(--text-light);
}

.page-lottery .conclusion-section p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.15em;
  color: #e0e0e0;
}

.page-lottery .conclusion-section .cta-button {
  margin-top: 40px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.page-lottery .conclusion-section .cta-button:hover {
  background-color: #e6c200;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-lottery .hero-content h1 {
    font-size: 2.8em;
  }
  .page-lottery .hero-content p {
    font-size: 1.1em;
  }
  .page-lottery .section-title {
    font-size: 2em;
  }
  .page-lottery .game-grid, .page-lottery .advantages-grid, .page-lottery .guide-steps, .page-lottery .strategy-grid, .page-lottery .promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-lottery .hero-banner {
    padding: 60px 0;
  }
  .page-lottery .hero-image {
    max-width: 100%;
    margin-bottom: 30px;
  }
  .page-lottery .hero-content h1 {
    font-size: 2.2em;
  }
  .page-lottery .hero-content p {
    font-size: 1em;
  }
  .page-lottery .cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-lottery .section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-lottery p {
    font-size: 1em;
  }
  .page-lottery .game-card, .page-lottery .advantage-item, .page-lottery .step-item, .page-lottery .strategy-card, .page-lottery .promo-card {
    padding: 20px;
  }
  .page-lottery .game-card h3, .page-lottery .advantage-item h3, .page-lottery .step-item h3, .page-lottery .strategy-card h3, .page-lottery .promo-card h3 {
    font-size: 1.3em;
  }
  .page-lottery .advantage-icon, .page-lottery .strategy-card .card-image {
    width: 80px;
    height: 80px;
  }
  .page-lottery .step-number {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.8em;
  }
  .page-lottery .faq-question {
    padding: 15px 20px;
  }
  .page-lottery .faq-question h3 {
    font-size: 1.1em;
  }
  .page-lottery .faq-toggle {
    font-size: 1.5em;
  }
  .page-lottery .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-lottery .hero-content h1 {
    font-size: 1.8em;
  }
  .page-lottery .hero-content p {
    font-size: 0.9em;
  }
  .page-lottery .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-lottery .section-title {
    font-size: 1.5em;
  }
  .page-lottery .game-grid, .page-lottery .advantages-grid, .page-lottery .guide-steps, .page-lottery .strategy-grid, .page-lottery .promo-grid {
    grid-template-columns: 1fr;
  }
  .page-lottery .faq-question h3 {
    font-size: 1em;
  }
  .page-lottery .faq-toggle {
    font-size: 1.3em;
  }
}