:root {
  --bg: #0a0a0f;
  --bg2: #12121a;
  --bg3: #1a1a26;
  --gold: #f0b90b;
  --gold-light: #fcd535;
  --gold-dark: #c99a00;
  --text: #e8e8f0;
  --text-muted: #8888a0;
  --border: #2a2a3a;
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

/* Header/Nav */
header {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.5px;
}

.logo span { color: var(--text); }

.nav-links { display: flex; gap: 32px; }

.nav-links a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active { color: var(--text); }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 24px; cursor: pointer; }

/* Main Content */
main { max-width: 1100px; margin: 0 auto; padding: 48px 24px 80px; }

/* Hero */
.hero {
  text-align: center;
  padding: 80px 0 60px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero-badge {
  display: inline-block;
  background: var(--gold-dark);
  color: #000;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #000;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240, 185, 11, 0.3);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Cards Grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 60px 0;
}

.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.2s;
}

.card:hover {
  border-color: var(--gold-dark);
  transform: translateY(-4px);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(240,185,11,0.15), rgba(240,185,11,0.05));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }

.card p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* Lottery List */
.lottery-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 40px 0;
}

.lottery-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--text-muted);
  transition: all 0.2s;
}

.lottery-item:hover { border-color: var(--gold); color: var(--gold); }

/* Page Header */
.page-header {
  padding: 40px 0 32px;
}

.page-header h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-header p {
  color: var(--text-muted);
  font-size: 16px;
}

/* Legal Content */
.legal-content {
  max-width: 800px;
}

.legal-content h2 {
  font-size: 22px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--gold);
}

.legal-content h3 {
  font-size: 17px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-content p {
  margin-bottom: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

.legal-content ul {
  margin: 12px 0 20px 20px;
  color: var(--text-muted);
}

.legal-content li { margin-bottom: 8px; }

.legal-content strong { color: var(--text); }

.legal-content .last-updated {
  color: var(--text-muted);
  font-size: 14px;
  font-style: italic;
  margin-bottom: 32px;
}

/* Contact Page */
.contact-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 500px;
}

.contact-card h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.contact-item:last-child { border: none; }

.contact-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, rgba(240,185,11,0.15), rgba(240,185,11,0.05));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-text { flex: 1; }

.contact-text .label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-text .value {
  font-size: 15px;
  font-weight: 500;
}

/* Store Badges */
.store-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 32px 0;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #000;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 10px 20px;
  color: #fff;
  transition: all 0.2s;
}

.store-badge:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.store-badge .badge-icon { font-size: 28px; }

.store-badge .badge-text { line-height: 1.2; }

.store-badge .badge-small { font-size: 10px; color: #999; }

.store-badge .badge-large { font-size: 16px; font-weight: 600; }

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
}

footer p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

footer .footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

footer .footer-links a {
  font-size: 13px;
  color: var(--text-muted);
}

footer .footer-links a:hover { color: var(--gold); }

/* Mobile */
@media (max-width: 768px) {
  .hero h1 { font-size: 32px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 16px;
  }
  .features { grid-template-columns: 1fr; }
}
