/* CSS Custom Properties */
:root {
  --primary-dark: #1A0D26;
  --secondary-dark: #2D1B3D;
  --card-background: #3F2A54;
  --primary-text: #FFFFFF;
  --secondary-text: #F3E8FF;
  --muted-text: #B794F6;
  --accent-green: #8B5CF6;
  --accent-blue: #7C3AED;
  --accent-red: #A855F7;
  --accent-teal: #8B5CF6;
  --button-primary: #8B5CF6;
  --button-text: #1A0D26;
  
  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 40px;
  --space-3xl: 60px;
}

/* Base Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: var(--primary-dark);
  color: var(--primary-text);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Age Verification Modal */
.age-verification-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.5s ease-in-out;
}

.age-verification-overlay.hidden {
  display: none;
}

.age-verification-modal {
  background: white;
  border-radius: 12px;
  padding: var(--space-2xl);
  max-width: 500px;
  width: 90%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.age-verification-content {
  color: var(--primary-dark);
}

.age-verification-icon {
  font-size: 48px;
  color: var(--accent-red);
  margin-bottom: var(--space-lg);
}

.age-verification-modal h2 {
  margin: 0 0 var(--space-lg) 0;
  font-size: 24px;
  font-weight: 700;
}

.age-verification-modal p {
  margin-bottom: var(--space-xl);
  font-size: 16px;
  line-height: 1.5;
}

.age-verification-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.btn-confirm {
  background-color: var(--accent-green);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-confirm:hover {
  background-color: #009AAA;
  transform: translateY(-2px);
}

.btn-deny {
  background-color: var(--accent-red);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-deny:hover {
  background-color: #36C5C5;
  transform: translateY(-2px);
}

/* Header */
.header {
  background-color: rgba(26, 26, 26, 0.95);
  padding: var(--space-md) 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-text);
}

.logo i {
  color: var(--accent-teal);
  font-size: 28px;
}

.nav-buttons {
  display: flex;
  gap: var(--space-md);
}

.nav-btn {
  background: transparent;
  color: var(--primary-text);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Hero Section */
.hero {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/public/images/bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  width: 100%;
}

.lottery-balls {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.lottery-balls img {
  width: 80%;
  height: 80%;
  object-fit: cover;
}

.ball {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.ball-blue {
  background-color: var(--accent-blue);
}

.ball-red {
  background-color: var(--accent-red);
}

.ball-teal {
  background-color: var(--accent-teal);
}

.ball i {
  font-size: 24px;
}

.hero-text {
  flex: 1;
  max-width: 600px;
  margin-left: var(--space-3xl);
}

.hero-text h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 var(--space-lg) 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text p {
  font-size: 16px;
  color: var(--secondary-text);
  line-height: 1.4;
  margin-bottom: var(--space-xl);
  max-width: 500px;
}

.cta-button {
  background-color: var(--button-primary);
  color: var(--button-text);
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  background-color: #E8F4FF;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Content Section */
.content-section {
  background-color: var(--secondary-dark);
  padding: var(--space-3xl) 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.content-text h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 var(--space-lg) 0;
}

.content-text p {
  font-size: 16px;
  color: var(--secondary-text);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.content-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.content-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
}

/* FAQ Section */
.faq-section {
  background-color: var(--primary-dark);
  padding: var(--space-3xl) 0;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 var(--space-2xl) 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--card-background);
  border-radius: 8px;
  margin-bottom: var(--space-lg);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.faq-question {
  padding: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 var(--space-lg) var(--space-lg);
  display: none;
  color: var(--secondary-text);
}

.faq-item.active .faq-answer {
  display: block;
  animation: slideDown 0.3s ease;
}

/* Results Section */
.results-section {
  background-color: var(--secondary-dark);
  padding: var(--space-3xl) 0;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.result-card {
  background-color: var(--card-background);
  border-radius: 12px;
  padding: var(--space-lg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.result-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.result-card h3 {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 var(--space-xs) 0;
}

.card-subtitle {
  font-size: 14px;
  color: var(--muted-text);
  margin: 0 0 var(--space-md) 0;
}

.number-balls {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.number-ball {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: var(--muted-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: white;
  transition: all 0.2s ease;
}

.number-ball:hover {
  transform: scale(1.1);
}

.number-ball.winning {
  background-color: var(--accent-green);
  animation: pulse 2s infinite;
}

/* Footer */
.footer {
  background-color: var(--primary-dark);
  padding: var(--space-2xl) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 var(--space-lg) 0;
}

.footer-content p {
  font-size: 14px;
  color: var(--muted-text);
  line-height: 1.5;
  margin-bottom: var(--space-md);
  max-width: 800px;
}

.footer-content .contact {
  color: var(--secondary-text);
  font-weight: 500;
}

.certifications {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}

.certifications img {
  height: 30px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.certifications img:hover {
  opacity: 1;
}

.cert-badge {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--card-background);
  color: var(--secondary-text);
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.cert-badge:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--primary-text);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
  }
}

/* Responsive Design */
@media (max-width: 1199px) {
  .container {
    padding: 0 var(--space-md);
  }
  
  .hero-content {
    padding: 0 var(--space-md);
  }
  
  .nav-container {
    padding: 0 var(--space-md);
  }

  .hero-content {
    max-width: 100%;
  }

  .content-grid {
    gap: var(--space-xl);
    text-align: center;
    display: flex;
  }

  .content-text {
    max-width: 600px;
  }

  .content-image img {
    width: 400px;
  }

  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    margin-left: 0;
    max-width: 100%;
    width: 100%;
  }

  .lottery-balls img {
    width: 100px;
    width: 60%;
    height: 60%;
    margin-left: 10%;
  }
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    padding: var(--space-2xl) var(--space-md);
    overflow-x: hidden;
  }
  
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: var(--space-xl);
    padding: 0;
    width: 100%;
    max-width: 100%;
  }
  
  .lottery-balls {
    flex-direction: row;
    justify-content: center;
  }

  .lottery-balls img {
    width: 50%;
    height: 50%;
    margin-left: 0;
  }
  
  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: 0;
    max-width: 100%;
    width: 100%;
    padding: 0 var(--space-md);
  }
  
  .hero-text h1 {
    width: 100%;
    text-align: center;
    word-wrap: break-word;
    hyphens: auto;
  }
  
  .hero-text p {
    width: 100%;
    text-align: center;
    max-width: 100%;
  }
  
  .hero-text h1 {
    font-size: 28px;
  }
    
  .content-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .content-image {
    order: -1;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .content-image img {
    width: 200px;
  }
  
  .results-grid {
    grid-template-columns: 1fr;
  }
  
  .nav-buttons {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .nav-btn {
    font-size: 12px;
    padding: 6px 16px;
  }
  
  .age-verification-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-confirm,
  .btn-deny {
    width: 100%;
    max-width: 250px;
  }

  .certifications img {
    height: 20px;
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-sm);
    width: 100%;
    max-width: 100%;
  }
  
  .hero {
    padding: var(--space-lg) var(--space-sm);
  }
  
  .hero-text {
    padding: 0 var(--space-sm);
  }
  
  .hero-text h1 {
    font-size: 20px;
    line-height: 1.2;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    margin: 0 auto;
    padding: 0;
  }
  
  .hero-text p {
    font-size: 15px;
    line-height: 1.5;
    margin: 0 auto var(--space-lg);
    padding: 0;
  }
  
  .cta-button {
    width: auto;
    max-width: 200px;
    margin: 0 auto;
    display: block;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .content-text h2 {
    font-size: 24px;
  }
  
  .faq-question {
    font-size: 16px;
    padding: var(--space-md);
  }
  
  .faq-answer {
    padding: 0 var(--space-md) var(--space-md);
  }
  
  .result-card {
    padding: var(--space-md);
  }
  
  .age-verification-modal {
    padding: var(--space-lg);
  }
  
  .logo {
    font-size: 20px;
  }
  
  .logo i {
    font-size: 24px;
  }
}

/* Extra small devices */
@media (max-width: 320px) {
  .hero-text h1 {
    font-size: 18px;
    line-height: 1.1;
  }
  
  .hero-text p {
    font-size: 14px;
  }
  
  .hero {
    padding: var(--space-md) var(--space-xs);
  }
  
  .hero-text {
    padding: 0 var(--space-xs);
  }
} 