/* ─── Design Tokens ─────────────────────────────── */
:root {
    --primary: #FFD400;
    --secondary: #FF4F8B;
    --accent: #1769FF;
    --background: #FFF9F0;
    --surface: #FFFFFF;
    --text: #111111;
    --muted: #EDE1CF;
    --border: #111111;
    --error: #FF5A36;
    --success: #16A34A;

    --font-heading: 'Archivo Black', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;

    --shadow-sm: 3px 3px 0 0 #111;
    --shadow-md: 5px 5px 0 0 #111;
    --shadow-lg: 8px 8px 0 0 #111;
}

/* ─── Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--background);
    color: var(--text);
    line-height: 1.45;
    overflow-x: hidden;
}

/* ─── Grid Background ───────────────────────────── */
body::before {
    content: '';
    position: fixed; inset: 0; z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
    background-size: 32px 32px;
}

/* ─── Scanlines overlay ─────────────────────────── */
body::after {
    content: '';
    position: fixed; inset: 0; z-index: 9999;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg, transparent, transparent 2px,
        rgba(0,0,0,0.02) 2px, rgba(0,0,0,0.02) 4px
    );
}

/* ─── Container ─────────────────────────────────── */
.container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    position: relative; z-index: 1;
}

/* ─── Neo-Brutalist Border Box ──────────────────── */
.brutal-box {
    border: 3px solid var(--border);
    box-shadow: var(--shadow-md);
    transition: transform 0.15s, box-shadow 0.15s;
}
.brutal-box:hover {
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0 0 #111;
}

/* ─── Buttons ───────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px;
    border: 3px solid var(--border);
    font-family: var(--font-mono);
    font-size: 0.8rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.08em;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.12s, box-shadow 0.12s;
    position: relative;
}
.btn-primary {
    background: var(--primary); color: var(--text);
    box-shadow: 5px 5px 0 0 #111;
}
.btn-secondary {
    background: var(--surface); color: var(--text);
    box-shadow: 5px 5px 0 0 #111;
}
.btn-accent {
    background: var(--accent); color: #fff;
    box-shadow: 5px 5px 0 0 #111;
}
.btn:active {
    transform: translate(3px, 3px);
    box-shadow: 2px 2px 0 0 #111;
}

/* ─── Typography ────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-heading); text-transform: uppercase; }
h1 { font-size: clamp(2.5rem, 8vw, 5.5rem); line-height: 1; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); line-height: 1.15; }
.mono { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; font-weight: 600; }

/* ─── Misregistration Text ──────────────────────── */
.misregister {
    position: relative; display: inline-block;
}
.misregister::before,
.misregister::after {
    content: attr(data-text);
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
}
.misregister::before {
    color: var(--accent);
    clip-path: inset(0 0 0);
    transform: translate(3px, 0);
    animation: drift-r 3s ease-in-out infinite;
}
.misregister::after {
    color: var(--secondary);
    clip-path: inset(0 0 0);
    transform: translate(-3px, 0);
    animation: drift-l 3s ease-in-out infinite;
}
@keyframes drift-r {
    0%, 100% { transform: translate(3px, 0); }
    50% { transform: translate(5px, 0); }
}
@keyframes drift-l {
    0%, 100% { transform: translate(-3px, 0); }
    50% { transform: translate(-5px, 1px); }
}

/* ─── Reveal Animation ──────────────────────────── */
.reveal {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1; transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ─── Hero ──────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
}
.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--secondary); color: #fff;
    border: 3px solid var(--border);
    font-family: var(--font-mono);
    font-size: 0.7rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.12em;
    margin-bottom: 24px;
    animation: pulse-badge 2s ease-in-out infinite;
}
@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}
.hero-sub {
    font-size: clamp(1rem, 2vw, 1.3rem);
    max-width: 600px; margin: 16px auto 32px;
    color: rgba(17,17,17,0.7);
}
.hero-actions {
    display: flex; gap: 16px; flex-wrap: wrap;
    justify-content: center;
}

/* ─── Sticker ───────────────────────────────────── */
.sticker {
    display: inline-flex; align-items: center;
    padding: 4px 12px;
    background: var(--primary); color: var(--text);
    border: 2px solid var(--border);
    font-family: var(--font-mono);
    font-size: 0.65rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.08em;
    transform: rotate(-2deg);
}

/* ─── Section ───────────────────────────────────── */
.section {
    padding: 100px 0;
}
.section-label {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent); color: #fff;
    border: 2px solid var(--border);
    font-family: var(--font-mono);
    font-size: 0.7rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.1em;
    margin-bottom: 16px;
}
.section-title {
    margin-bottom: 48px;
}

/* ─── Hero Stats ────────────────────────────────── */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    max-width: 700px;
    margin: 48px auto 0;
}
.stat-card {
    background: var(--surface);
    border: 3px solid var(--border);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem; line-height: 1;
    margin-bottom: 4px;
}
.stat-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: rgba(17,17,17,0.6);
}

/* ─── Features Grid ─────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.feature-card {
    background: var(--surface);
    border: 3px solid var(--border);
    padding: 32px 28px;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}
.feature-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0 0 #111;
}
.feature-icon {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    border: 3px solid var(--border);
    background: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 20px;
}
.feature-card:nth-child(2) .feature-icon { background: var(--secondary); }
.feature-card:nth-child(3) .feature-icon { background: var(--accent); color: #fff; }
.feature-card h3 { margin-bottom: 12px; }
.feature-card p { font-size: 0.95rem; color: rgba(17,17,17,0.7); }

/* ─── Recent Links ──────────────────────────────── */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.link-card {
    background: var(--surface);
    border: 3px solid var(--border);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}
.link-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 0 #111;
}
.link-platform {
    display: inline-block;
    padding: 2px 10px;
    background: var(--muted);
    border: 2px solid var(--border);
    font-family: var(--font-mono);
    font-size: 0.6rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.08em;
    margin-bottom: 8px;
}
.link-title {
    font-family: var(--font-body);
    font-size: 1rem; font-weight: 600;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.link-meta {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: rgba(17,17,17,0.5);
}
.link-category {
    display: inline-block;
    padding: 1px 8px;
    border: 1.5px solid var(--border);
    font-family: var(--font-mono);
    font-size: 0.6rem; text-transform: uppercase;
    margin-top: 8px;
}

/* ─── CTA Section ───────────────────────────────── */
.cta-section {
    background: var(--primary);
    border-top: 4px solid var(--border);
    border-bottom: 4px solid var(--border);
    text-align: center;
    padding: 100px 24px;
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { font-size: 1.1rem; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ─── Footer ────────────────────────────────────── */
footer {
    border-top: 3px solid var(--border);
    padding: 32px 24px;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase; letter-spacing: 0.08em;
}

/* ─── Responsive ────────────────────────────────── */
@media (max-width: 600px) {
    .hero { padding: 80px 16px 60px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .features-grid { grid-template-columns: 1fr; }
    .links-grid { grid-template-columns: 1fr; }
}
