/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0f;
  --bg2: #111118;
  --bg3: #16161f;
  --surface: #1c1c28;
  --border: rgba(255,255,255,0.07);
  --text: #f0f0f5;
  --muted: #8888a0;
  --accent1: #7c3aed;   /* violet */
  --accent2: #f97316;   /* orange */
  --accent3: #06b6d4;   /* cyan */
  --accent4: #10b981;   /* emerald */
  --gold: #f59e0b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 32px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(124,58,237,0.25);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); font-family: 'Playfair Display', serif; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-family: 'Playfair Display', serif; }
h3 { font-size: 1.15rem; }
p  { color: var(--muted); }
a  { color: inherit; text-decoration: none; }

.gradient-text {
  background: linear-gradient(135deg, #7c3aed, #f97316, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── NAV ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  backdrop-filter: blur(16px);
  background: rgba(10,10,15,0.85);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 68px; display: flex; align-items: center; gap: 2rem;
}
.logo {
  font-size: 1.4rem; font-weight: 800; letter-spacing: -0.5px;
  display: flex; align-items: center; gap: 8px;
}
.logo-icon { color: var(--accent1); font-size: 1.5rem; }
.logo-accent { color: var(--accent2); }
.nav-links {
  display: flex; align-items: center; gap: 0.5rem;
  list-style: none; margin-left: auto;
}
.nav-links a {
  padding: 8px 14px; border-radius: 8px; font-size: 0.9rem; font-weight: 500;
  color: var(--muted); transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.btn-nav {
  background: linear-gradient(135deg, var(--accent1), #9333ea) !important;
  color: white !important; padding: 9px 20px !important;
  border-radius: 50px !important; font-weight: 600 !important;
}
.btn-nav:hover { opacity: 0.9; transform: translateY(-1px); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); margin: 5px 0; transition: 0.3s;
}

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding: 120px 24px 80px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.35;
  animation: float 8s ease-in-out infinite;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #7c3aed, transparent 70%);
  top: -100px; left: -100px;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #f97316, transparent 70%);
  top: 200px; right: -80px;
  animation-delay: -3s;
}
.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #06b6d4, transparent 70%);
  bottom: 0; left: 40%;
  animation-delay: -5s;
}
@keyframes float {
  0%,100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-30px) scale(1.05); }
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative; z-index: 1; max-width: 900px; margin: 0 auto; text-align: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.3);
  color: #c4b5fd; padding: 8px 20px; border-radius: 50px;
  font-size: 0.85rem; font-weight: 600; margin-bottom: 24px;
}
.hero-content h1 { margin-bottom: 20px; }
.hero-sub {
  font-size: 1.15rem; color: var(--muted); max-width: 580px;
  margin: 0 auto 36px;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; margin-bottom: 56px; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--accent1), #9333ea);
  color: white; padding: 13px 28px; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem; border: none; cursor: pointer;
  transition: all 0.2s; box-shadow: 0 4px 20px rgba(124,58,237,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(124,58,237,0.5); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text);
  padding: 13px 28px; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem;
  border: 1px solid var(--border); cursor: pointer; transition: all 0.2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.05); }
.btn-full { width: 100%; justify-content: center; }
.btn-large { padding: 16px 40px; font-size: 1.05rem; }

.hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 32px;
  backdrop-filter: blur(10px);
}
.stat { text-align: center; padding: 0 24px; }
.stat-num {
  display: block; font-size: 2rem; font-weight: 800;
  background: linear-gradient(135deg, #fff, #c4b5fd);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 0.8rem; color: var(--muted); margin-top: 2px; display: block; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--muted); font-size: 0.75rem;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ── TICKER ── */
.ticker-wrap {
  background: linear-gradient(90deg, var(--accent1), var(--accent2), var(--accent3), var(--accent4));
  padding: 10px 0; overflow: hidden;
}
.ticker {
  display: flex; gap: 0; white-space: nowrap;
  animation: ticker 30s linear infinite;
}
.ticker span {
  padding: 0 48px; font-size: 0.85rem; font-weight: 600; color: white;
}
.ticker span::after { content: '·'; padding-left: 48px; opacity: 0.6; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── SECTIONS ── */
.section { padding: 100px 0; }
.section-dark { background: var(--bg2); }
.section-teal {
  background: linear-gradient(135deg, #0a1628, #0c1e2e);
  border-top: 1px solid rgba(6,182,212,0.15);
  border-bottom: 1px solid rgba(6,182,212,0.15);
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-header p { margin-top: 12px; font-size: 1.05rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(249,115,22,0.15));
  border: 1px solid rgba(124,58,237,0.3);
  color: #c4b5fd; padding: 5px 16px; border-radius: 50px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; margin-bottom: 16px;
}

/* ── FILTER BAR ── */
.filter-bar {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 22px; border-radius: 50px; border: 1px solid var(--border);
  background: transparent; color: var(--muted); cursor: pointer;
  font-size: 0.88rem; font-weight: 500; transition: all 0.2s;
}
.filter-btn:hover { border-color: rgba(255,255,255,0.2); color: var(--text); }
.filter-btn.active {
  background: linear-gradient(135deg, var(--accent1), #9333ea);
  border-color: transparent; color: white;
}

/* ── COMPETITION CARDS ── */
.competitions-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.comp-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: all 0.3s; cursor: pointer;
}
.comp-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); border-color: rgba(124,58,237,0.3); }
.comp-card-img {
  height: 200px; position: relative; overflow: hidden;
}
.comp-card-img img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s; }
.comp-card:hover .comp-card-img img { transform: scale(1.06); }
.comp-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
}
.comp-card-badges {
  position: absolute; top: 12px; left: 12px; display: flex; gap: 6px;
}
.badge-status {
  padding: 4px 10px; border-radius: 50px; font-size: 0.72rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
}
.badge-open { background: rgba(16,185,129,0.9); color: white; }
.badge-closing { background: rgba(249,115,22,0.9); color: white; }
.badge-cat {
  background: rgba(0,0,0,0.6); backdrop-filter: blur(8px);
  color: white; padding: 4px 10px; border-radius: 50px;
  font-size: 0.72rem; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.15);
}
.comp-timer {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(8px);
  color: white; padding: 5px 12px; border-radius: 50px;
  font-size: 0.78rem; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.1);
}
.comp-card-body { padding: 20px; }
.comp-card-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.comp-card-body p { font-size: 0.88rem; margin-bottom: 16px; line-height: 1.5; }
.comp-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
}
.comp-entries { font-size: 0.82rem; color: var(--muted); }
.comp-entries strong { color: var(--text); }
.comp-pool {
  font-size: 1rem; font-weight: 700;
  background: linear-gradient(135deg, var(--gold), #fb923c);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.comp-progress-wrap { margin-bottom: 16px; }
.comp-progress-label {
  display: flex; justify-content: space-between;
  font-size: 0.75rem; color: var(--muted); margin-bottom: 6px;
}
.comp-progress-bar {
  height: 5px; background: rgba(255,255,255,0.07); border-radius: 50px; overflow: hidden;
}
.comp-progress-fill {
  height: 100%; border-radius: 50px;
  background: linear-gradient(90deg, var(--accent1), var(--accent3));
  transition: width 0.8s ease;
}
.btn-enter {
  width: 100%; padding: 11px; border-radius: 50px;
  background: linear-gradient(135deg, var(--accent1), #9333ea);
  color: white; font-weight: 600; font-size: 0.9rem;
  border: none; cursor: pointer; transition: all 0.2s;
}
.btn-enter:hover { opacity: 0.9; transform: translateY(-1px); }

/* ── HOW IT WORKS ── */
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px,1fr));
  gap: 24px; margin-bottom: 48px;
}
.step {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  position: relative; overflow: hidden; transition: all 0.3s;
}
.step::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent1), var(--accent3));
}
.step:hover { border-color: rgba(124,58,237,0.3); transform: translateY(-4px); }
.step-num {
  font-size: 3rem; font-weight: 900; opacity: 0.06;
  position: absolute; top: 8px; right: 16px;
  font-family: 'Playfair Display', serif;
}
.step-icon { font-size: 2rem; margin-bottom: 14px; }
.step h3 { margin-bottom: 10px; }
.step p { font-size: 0.9rem; }

.prize-formula { margin-top: 48px; }
.formula-card {
  background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(6,182,212,0.1));
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: var(--radius); padding: 36px;
  text-align: center;
}
.formula-card h3 { margin-bottom: 24px; }
.formula {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap; margin-bottom: 20px;
}
.f-part {
  background: var(--surface); border: 1px solid var(--border);
  padding: 10px 20px; border-radius: var(--radius-sm);
  font-size: 1rem; font-weight: 600;
}
.f-highlight { border-color: rgba(6,182,212,0.4); color: var(--accent3); }
.f-gold { border-color: rgba(245,158,11,0.4); color: var(--gold); }
.f-op { font-size: 1.4rem; color: var(--muted); font-weight: 300; }
.formula-card p { font-size: 0.95rem; }
.formula-card strong { color: var(--text); }

/* ── PRIZE CALCULATOR ── */
.calculator-wrap { max-width: 800px; margin: 0 auto; }
.calc-slider-wrap {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 32px; margin-bottom: 28px;
}
.calc-slider-wrap label {
  display: block; font-weight: 500; margin-bottom: 16px; font-size: 1rem;
}
.calc-slider-wrap label strong { color: var(--accent3); font-size: 1.2rem; }
input[type="range"] {
  -webkit-appearance: none; width: 100%; height: 6px;
  border-radius: 50px; outline: none;
  background: linear-gradient(90deg, var(--accent1) var(--pct, 19%), var(--border) var(--pct, 19%));
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px;
  border-radius: 50%; background: white;
  box-shadow: 0 2px 8px rgba(124,58,237,0.5); cursor: pointer;
}
.slider-labels {
  display: flex; justify-content: space-between;
  font-size: 0.78rem; color: var(--muted); margin-top: 8px;
}
.calc-results {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 16px;
}
.calc-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; text-align: center;
  transition: all 0.3s;
}
.calc-card:hover { transform: translateY(-4px); }
.calc-card.gold   { border-color: rgba(245,158,11,0.3); }
.calc-card.silver { border-color: rgba(148,163,184,0.3); }
.calc-card.bronze { border-color: rgba(180,83,9,0.3); }
.calc-card.total  { background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(6,182,212,0.05)); border-color: rgba(124,58,237,0.3); }
.calc-place { font-size: 0.85rem; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.calc-amount { font-size: 2.2rem; font-weight: 800; margin-bottom: 4px; }
.calc-card.gold   .calc-amount { color: var(--gold); }
.calc-card.silver .calc-amount { color: #94a3b8; }
.calc-card.bronze .calc-amount { color: #b45309; }
.calc-card.total  .calc-amount { background: linear-gradient(135deg, var(--accent1), var(--accent3)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.calc-pct { font-size: 0.78rem; color: var(--muted); }

/* ── WINNERS ── */
.winners-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
  gap: 24px;
}
.winner-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: all 0.3s;
}
.winner-card:hover { transform: translateY(-5px); box-shadow: 0 8px 40px rgba(0,0,0,0.4); }
.winner-img { height: 220px; overflow: hidden; position: relative; }
.winner-img img { width: 100%; height: 100%; object-fit: cover; }
.winner-place {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800;
}
.place-1 { background: var(--gold); color: #000; }
.place-2 { background: #94a3b8; color: #000; }
.place-3 { background: #b45309; color: white; }
.winner-body { padding: 18px; }
.winner-body h3 { font-size: 1rem; margin-bottom: 4px; }
.winner-category {
  font-size: 0.8rem; font-weight: 600; color: var(--accent3);
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px;
}
.winner-meta { display: flex; justify-content: space-between; align-items: center; }
.winner-name { font-size: 0.85rem; color: var(--muted); }
.winner-prize { font-size: 1rem; font-weight: 700; color: var(--gold); }

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
  gap: 24px;
}
.testimonial {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); padding: 28px; position: relative;
  transition: all 0.3s;
}
.testimonial:hover { transform: translateY(-4px); border-color: rgba(6,182,212,0.25); }
.quote-mark {
  font-size: 4rem; line-height: 1; color: var(--accent3);
  opacity: 0.3; margin-bottom: -16px; font-family: 'Playfair Display', serif;
}
.testimonial p { color: var(--text); font-size: 0.95rem; margin-bottom: 20px; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem; color: white; flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.9rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--muted); }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, #1a0533, #0e1a33);
  padding: 100px 24px; text-align: center; position: relative; overflow: hidden;
}
.cta-orbs { position: absolute; inset: 0; pointer-events: none; }
.cta-orb {
  position: absolute; width: 400px; height: 400px; border-radius: 50%;
  filter: blur(80px); opacity: 0.2;
}
.cta-orb:nth-child(1) { background: var(--accent1); top: -100px; left: 10%; }
.cta-orb:nth-child(2) { background: var(--accent3); bottom: -100px; right: 10%; }
.cta-inner { position: relative; z-index: 1; }
.cta-inner h2 { font-size: clamp(2rem,5vw,3.5rem); margin-bottom: 16px; }
.cta-inner p { font-size: 1.05rem; max-width: 500px; margin: 0 auto 36px; }

/* ── FOOTER ── */
footer { background: var(--bg2); border-top: 1px solid var(--border); padding-top: 64px; }
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 48px;
}
.footer-brand p { font-size: 0.88rem; margin: 16px 0 20px; max-width: 260px; line-height: 1.7; }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: all 0.2s;
}
.social-links a:hover { border-color: rgba(124,58,237,0.4); transform: translateY(-2px); }
.footer-col h4 { font-size: 0.88rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; color: var(--muted); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 0.9rem; color: var(--muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; }
.payment-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.badge {
  padding: 4px 12px; border-radius: 6px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.75rem; font-weight: 600; color: var(--muted);
}

/* ── MODAL ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 24px; width: 100%; max-width: 520px;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7);
  transform: scale(0.95); transition: transform 0.3s;
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-sm { max-width: 440px; }
.modal-close {
  position: absolute; top: 20px; right: 20px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--muted); width: 36px; height: 36px; border-radius: 50%;
  cursor: pointer; font-size: 0.9rem; display: flex; align-items: center;
  justify-content: center; transition: all 0.2s; z-index: 1;
}
.modal:has(.modal-close) { position: relative; }
.modal-close:hover { background: rgba(255,255,255,0.1); color: var(--text); }
.modal-header {
  padding: 36px 32px 20px; text-align: center; border-bottom: 1px solid var(--border);
}
.modal-icon { font-size: 2.5rem; margin-bottom: 12px; }
.modal-header h2 { font-size: 1.6rem; margin-bottom: 6px; }
.modal-header p { font-size: 0.9rem; }
.modal-body { padding: 28px 32px 32px; }

.modal-step { display: none; }
.modal-step.active { display: block; }
.modal-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 20px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); font-size: 0.92rem; font-family: inherit;
  transition: border-color 0.2s; resize: vertical;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: rgba(124,58,237,0.5);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.12);
}
.form-group select option { background: var(--bg3); }
.mt { margin-top: 20px; }

.upload-zone {
  border: 2px dashed var(--border); border-radius: var(--radius);
  padding: 40px 20px; text-align: center; cursor: pointer;
  transition: all 0.2s; margin-bottom: 16px;
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: rgba(124,58,237,0.5);
  background: rgba(124,58,237,0.05);
}
.upload-icon { font-size: 2.5rem; margin-bottom: 12px; }
.upload-zone p { color: var(--muted); font-size: 0.9rem; }
.upload-zone p strong { color: var(--text); }
.upload-zone small { display: block; margin-top: 6px; font-size: 0.78rem; }
.upload-link { color: var(--accent1); cursor: pointer; }
#photoPreview { width: 100%; border-radius: var(--radius-sm); display: block; }

.modal-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; }
.modal-progress {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-top: 28px; border-top: 1px solid var(--border); padding-top: 24px;
}
.progress-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border); transition: all 0.3s;
}
.progress-dot.active, .progress-dot.done {
  background: linear-gradient(135deg, var(--accent1), var(--accent3));
}
.progress-line { flex: 1; max-width: 60px; height: 2px; background: var(--border); margin: 0 6px; }

.order-summary {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px; margin-bottom: 20px;
}
.order-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.order-row:last-child { border-bottom: none; }
.order-row span:first-child { color: var(--muted); }
.order-pool { }
.gold-text { color: var(--gold); font-weight: 600; }
.order-total span { font-weight: 700 !important; color: var(--text) !important; }
.order-total span:last-child { font-size: 1.1rem; color: #10b981 !important; }

.paypal-notice {
  background: rgba(6,182,212,0.08); border: 1px solid rgba(6,182,212,0.2);
  border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 20px;
}
.paypal-notice p { font-size: 0.83rem; color: var(--muted); }

#paypal-button-container { min-height: 50px; }

.success-state { text-align: center; padding: 20px 0; }
.success-icon { font-size: 4rem; margin-bottom: 16px; animation: bounce 0.6s ease; }
@keyframes bounce { 0%,100% { transform: scale(1); } 50% { transform: scale(1.15); } }
.success-state h3 { font-size: 1.5rem; margin-bottom: 10px; }
.success-state p { margin-bottom: 24px; }
.success-details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px;
  font-size: 0.88rem; margin-bottom: 24px; text-align: left;
}

.form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.form-check input { width: auto; margin-top: 3px; flex-shrink: 0; }
.form-check label { font-size: 0.85rem; color: var(--muted); }
.form-check a { color: var(--accent1); }
.signin-link { text-align: center; font-size: 0.85rem; color: var(--muted); margin-top: 16px; }
.signin-link a { color: var(--accent1); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .calc-results { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; flex-direction: column; }
  .hero-stats { gap: 16px; }
  .stat-divider { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { max-width: 100%; }
  .calc-results { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .formula { flex-direction: column; }
  .modal-body { padding: 20px; }
  .modal-header { padding: 28px 20px 16px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── MY ENTRIES ── */
.my-entry-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px; margin-bottom: 12px;
  display: flex; gap: 16px; align-items: flex-start;
}
.my-entry-thumb {
  width: 80px; height: 80px; border-radius: 8px;
  object-fit: cover; flex-shrink: 0; background: var(--bg2);
}
.my-entry-thumb-placeholder {
  width: 80px; height: 80px; border-radius: 8px;
  background: var(--bg2); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}
.my-entry-info { flex: 1; min-width: 0; }
.my-entry-info h4 { font-size: .95rem; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.my-entry-cat  { font-size: .78rem; font-weight: 600; color: var(--accent3); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.my-entry-meta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.my-entry-pool { font-size: .88rem; font-weight: 700; color: var(--gold); }
.my-entry-date { font-size: .78rem; color: var(--muted); }
.entry-badge   { padding: 3px 10px; border-radius: 50px; font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.entry-badge.paid    { background: rgba(16,185,129,.15); color: #10b981; border: 1px solid rgba(16,185,129,.3); }
.entry-badge.pending { background: rgba(245,158,11,.15); color: #f59e0b; border: 1px solid rgba(245,158,11,.3); }
.my-entries-empty { text-align: center; padding: 40px 20px; }
.my-entries-empty .empty-icon { font-size: 3rem; margin-bottom: 12px; }
.my-entries-empty p { color: var(--muted); margin-bottom: 20px; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent1); }

/* ── MY PHOTOS GRID ── */
#myPhotosGrid, .my-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

.my-photo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.my-photo-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #111;
}

.my-photo-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.my-photo-card:hover .my-photo-img-wrap img {
  transform: scale(1.04);
}

.my-photo-delete {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(0,0,0,0.65);
  border: none;
  border-radius: 6px;
  color: #fff;
  font-size: .8rem;
  padding: 4px 7px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s;
  line-height: 1;
}

.my-photo-img-wrap:hover .my-photo-delete {
  opacity: 1;
}

.my-photo-info {
  padding: 9px 10px 11px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.my-photo-info h4 {
  font-size: .82rem;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
}

.my-photo-desc {
  font-size: .75rem;
  color: var(--muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.my-photo-entered {
  font-size: .72rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

.my-photo-entered span {
  background: rgba(124,58,237,.12);
  border: 1px solid rgba(124,58,237,.25);
  color: #a78bfa;
  border-radius: 4px;
  padding: 2px 5px;
}

.my-photo-enter-btn {
  margin-top: auto;
  font-size: .75rem !important;
  padding: 6px 10px !important;
}

/* ── ENTRY MODAL PHOTO LIBRARY GRID ── */
.lib-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}

.lib-thumb {
  cursor: pointer;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
}

.lib-thumb:hover:not(.lib-thumb-used) {
  border-color: rgba(124,58,237,.5);
  transform: translateY(-2px);
}

.lib-thumb-selected {
  border-color: #7c3aed !important;
  box-shadow: 0 0 0 2px rgba(124,58,237,.3);
}

.lib-thumb-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #111;
}

.lib-thumb-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lib-thumb-check {
  position: absolute;
  inset: 0;
  background: rgba(124,58,237,.5);
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}

.lib-thumb-selected .lib-thumb-check {
  opacity: 1;
}

.lib-thumb-label {
  font-size: .72rem;
  padding: 5px 6px;
  background: var(--surface);
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lib-thumb-used {
  opacity: 0.45;
  cursor: not-allowed;
}

.lib-thumb-used-badge {
  position: absolute;
  bottom: 4px;
  left: 4px;
  background: rgba(0,0,0,.75);
  color: #f59e0b;
  font-size: .65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

/* ── PHOTO LIGHTBOX ZOOM HINT ── */
.my-photo-zoom-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: rgba(0,0,0,.35);
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.my-photo-img-wrap:hover .my-photo-zoom-hint {
  opacity: 1;
}

.my-photo-img-wrap {
  cursor: pointer;
}