:root {
  --bg: #0D0F1E;
  --surface: #161829;
  --surface2: #1E2136;
  --gold: #F5C400;
  --gold-dim: #A88800;
  --coral: #FF6B35;
  --text: #F8F6F0;
  --text-muted: #9094B0;
  --text-dim: #5A5F80;
  --green: #22C55E;
  --border: rgba(245, 196, 0, 0.15);
  --radius: 14px;
  --radius-sm: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 40px;
  backdrop-filter: blur(12px);
  background: rgba(13, 15, 30, 0.85);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 900;
  font-size: 22px;
  color: var(--gold);
  letter-spacing: -0.5px;
}
.nav-tagline {
  font-size: 13px;
  color: var(--text-muted);
}
.nav-feed-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  padding: 8px 18px;
  border: 1px solid rgba(245,196,0,0.3);
  border-radius: 20px;
  transition: background 0.2s, color 0.2s;
  margin-left: 8px;
}
.nav-feed-link:hover {
  background: rgba(245,196,0,0.1);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,196,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero-headline {
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}
.stat {
  display: flex;
  flex-direction: column;
  padding-right: 32px;
}
.stat-number {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 32px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  margin-right: 32px;
}

/* Phone mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-frame {
  width: 280px;
  background: #111220;
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05) inset;
  position: relative;
}
.phone-screen {
  background: var(--surface);
  border-radius: 30px;
  padding: 20px 16px 16px;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.app-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 4px;
}
.app-logo {
  width: 36px;
  height: 36px;
  background: var(--gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: 20px;
  color: var(--bg);
}
.app-title {
  font-weight: 700;
  font-size: 15px;
}
.app-sub {
  font-size: 11px;
  color: var(--text-muted);
}
.giveaway-card {
  background: var(--surface2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 12px 14px;
  position: relative;
}
.giveaway-badge {
  position: absolute;
  top: -8px;
  right: 12px;
  background: var(--gold);
  color: var(--bg);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
}
.giveaway-badge.radio {
  background: var(--coral);
  color: white;
}
.giveaway-name {
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 4px;
  padding-right: 60px;
}
.giveaway-detail {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.giveaway-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.giveaway-tag {
  font-size: 10px;
  background: rgba(245,196,0,0.15);
  color: var(--gold);
  padding: 2px 7px;
  border-radius: 20px;
  font-weight: 600;
}
.giveaway-expiry {
  font-size: 10px;
  color: var(--text-dim);
}
.giveaway-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
}
.giveaway-status.entered {
  color: var(--green);
}
.giveaway-status.pending {
  color: var(--coral);
}

/* Bottom nav */
.bottom-nav {
  display: flex;
  justify-content: space-around;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: auto;
}
.nav-item {
  color: var(--text-dim);
}
.nav-item.active {
  color: var(--gold);
}

/* Confetti */
.confetti-pieces {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.confetti {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
}
.c1 { background: var(--gold); top: 10%; right: 10%; transform: rotate(30deg); }
.c2 { background: var(--coral); top: 20%; right: 5%; transform: rotate(60deg); }
.c3 { background: var(--gold); top: 5%; right: 20%; transform: rotate(15deg); }
.c4 { background: #fff; top: 15%; right: 0%; transform: rotate(45deg); opacity: 0.6; }
.c5 { background: var(--coral); top: 8%; right: 15%; transform: rotate(75deg); }

/* Sections */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 900;
  margin-bottom: 48px;
  letter-spacing: -0.5px;
}

/* How it works */
.how-it-works {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.steps {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.step {
  flex: 1;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.step-icon {
  margin-bottom: 20px;
}
.step h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}
.step-arrow {
  padding-top: 40px;
  color: var(--gold-dim);
  flex-shrink: 0;
}

/* Sources */
.sources {
  padding: 80px 40px;
  background: var(--surface);
}
.sources .section-title {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}
.sources-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.source-card {
  background: var(--bg);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.source-icon {
  color: var(--gold);
  margin-bottom: 20px;
}
.source-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}
.source-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Wins */
.wins-section {
  padding: 100px 40px;
}
.wins-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.wins-content h2 {
  font-size: clamp(28px, 3vw, 42px);
  margin-bottom: 20px;
}
.wins-content > p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}
.wins-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wins-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
}
.wins-visual {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.win-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 20px 24px;
  position: relative;
}
.win-card.win {
  border-color: rgba(245,196,0,0.3);
  background: linear-gradient(135deg, rgba(245,196,0,0.05) 0%, transparent 60%);
}
.win-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--bg);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.win-badge.lost {
  background: var(--surface2);
  color: var(--text-muted);
}
.win-prize {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
}
.win-detail {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.win-date {
  font-size: 11px;
  color: var(--text-dim);
}

/* Closing */
.closing {
  padding: 120px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(245,196,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.closing-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}
.closing h2 {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 900;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.closing p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Footer */
.footer {
  padding: 48px 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: 20px;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}
.footer p {
  font-size: 13px;
  color: var(--text-dim);
}
.footer-links {
  font-size: 13px;
  color: var(--text-dim);
}

/* Mobile */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .hero-headline { font-size: 36px; }
  .wins-inner { grid-template-columns: 1fr; }
  .sources-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { flex-direction: column; }
  .step-arrow { display: none; }
  .nav { padding: 14px 20px; }
  .hero { padding: 100px 20px 60px; }
  .how-it-works, .sources, .wins-section, .closing { padding: 60px 20px; }
  .footer { padding: 32px 20px; }
}
@media (max-width: 600px) {
  .sources-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }
}
