:root {
    --bg: #0d0f16;
    --bg-soft: #141726;
    --surface: #1a1e2e;
    --surface-2: #212638;
    --line: #2b3247;
    --text: #eceaf4;
    --text-dim: #9aa1b8;
    --accent: #b98aff;
    --accent-2: #7ee0c3;
    --gold: #ffd166;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Fredoka", "Segoe UI", system-ui, sans-serif;
    background: radial-gradient(1200px 600px at 15% -10%, #232a45 0%, transparent 60%),
                radial-gradient(1000px 500px at 90% 10%, #1f2440 0%, transparent 55%),
                var(--bg);
    color: var(--text);
    line-height: 1.55;
}

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

.site-head {
    border-bottom: 1px solid var(--line);
    background: rgba(13, 15, 22, 0.7);
    backdrop-filter: blur(8px);
}

.site-head .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }

.logo { font-weight: 700; font-size: 1.2rem; letter-spacing: 0.02em; }

.site-head nav { display: flex; gap: 22px; }

.site-head a {
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

.site-head a:hover { color: var(--text); }

.hero { padding: 72px 0 64px; }

.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }

.kicker {
    color: var(--accent-2);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin: 0 0 10px;
}

h1 { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.1; margin: 0 0 16px; }

.accent { color: var(--accent-2); }

.hero p { color: var(--text-dim); margin: 0 0 26px; max-width: 46ch; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.cta {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 12px;
    background: var(--accent);
    color: #17120f;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 24px -8px rgba(185, 138, 255, 0.55);
    transition: transform 0.12s ease, box-shadow 0.15s ease;
}

.cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(185, 138, 255, 0.7); }

.ghost {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 12px;
    border: 1px solid var(--line);
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.ghost:hover { background: var(--surface); }

.hero-slot { display: flex; flex-direction: column; align-items: center; gap: 14px; }

.slot-frame {
    width: 140px;
    height: 170px;
    padding: 6px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.slot-strip { width: 100%; text-align: center; }

.slot-tile { display: block; font-size: 2.4rem; padding: 10px 0; }

.slot-tile.win { animation: bob 1.6s ease-in-out infinite; }

@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.slot-caption { color: var(--text-dim); font-size: 0.85rem; letter-spacing: 0.1em; }

.projects { padding: 48px 0 56px; }

h2 { font-size: 1.7rem; margin: 0 0 26px; }

.card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 24px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--surface);
    text-decoration: none;
    color: var(--text);
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 16px 40px -14px rgba(185, 138, 255, 0.35); }

.card-emoji { font-size: 2.2rem; }

.card-body h3 { margin: 0 0 6px; font-size: 1.25rem; }

.card-body p { margin: 0; color: var(--text-dim); }

.tag {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--accent-2);
    color: #0c1b16;
    white-space: nowrap;
}

.tag.soon { background: var(--surface-2); color: var(--text-dim); border: 1px solid var(--line); }

.card-arrow { margin-left: auto; color: var(--text-dim); font-size: 1.3rem; }

.soon { margin-top: 22px; color: var(--text-dim); display: flex; align-items: center; gap: 12px; }

.over { padding: 40px 0 64px; }

.over-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }

.over p { color: var(--text-dim); }

.over-facts dl { margin: 0; display: flex; flex-direction: column; gap: 14px; }

.over-facts dl div { padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }

.over-facts dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 4px; }

.over-facts dd { margin: 0; color: var(--text); }

.site-foot { border-top: 1px solid var(--line); padding: 22px 0; }

.site-foot .wrap { display: flex; justify-content: space-between; align-items: center; color: var(--text-dim); font-size: 0.9rem; }

.site-foot a { color: var(--text-dim); text-decoration: none; }

.site-foot a:hover { color: var(--text); }

@media (max-width: 720px) {
    .hero-grid, .over-grid { grid-template-columns: 1fr; }
    .hero { padding-top: 40px; }
    .hero-slot { order: -1; }
    .card { flex-wrap: wrap; }
}