﻿:root {
    --bg-1: #050607;
    --bg-2: #0b0d11;
    --accent: #ffe600;
    --accent-2: #ffd24d;
    --text: #f6f6f6;
    --muted: #b9b9b9;
    --glass: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.14);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
    --radius-xl: 28px;
    --transition: 0.6s cubic-bezier(0.17, 0.55, 0.55, 1);
    --font-display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
}

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

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    background: radial-gradient(1200px 800px at 15% 10%, rgba(255, 230, 0, 0.08), transparent 55%),
        radial-gradient(900px 900px at 85% 0%, rgba(0, 255, 249, 0.08), transparent 45%),
        linear-gradient(180deg, var(--bg-2), var(--bg-1));
    color: var(--text);
    font-family: var(--font-display);
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    line-height: 1.6;
    -webkit-overflow-scrolling: touch;
}

body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.25);
}

body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(255, 230, 0, 0.8), rgba(255, 210, 77, 0.8));
    border-radius: 999px;
    border: 2px solid rgba(0, 0, 0, 0.4);
}

body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(255, 230, 0, 1), rgba(255, 210, 77, 1));
}

body {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 230, 0, 0.8) rgba(0, 0, 0, 0.25);
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 70% 35%, rgba(255, 255, 255, 0.06), transparent 55%);
    pointer-events: none;
    z-index: 0;
}

.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('noise.svg');
    opacity: 0.05;
    pointer-events: none;
    z-index: 1;
}

.glass-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 5%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(18px);
    background: rgba(5, 6, 7, 0.7);
    border-bottom: 1px solid var(--border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.logo img {
    height: 96px;
    width: auto;
    display: block;
    margin: 0;
}

.logo .scramble-text {
    display: inline-block;
    padding-top: 0;
}

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

.status-pill {
    border: 1px solid var(--accent);
    padding: 9px 18px;
    border-radius: 30px;
    color: var(--accent);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    background: rgba(0, 0, 0, 0.35);
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
}

.status-pill:hover {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 20px rgba(255, 230, 0, 0.7);
}

.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 190px 6% 80px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-inner {
    max-width: 980px;
    margin: 0 auto;
}

.glitch-text {
    font-size: clamp(2.8rem, 9vw, 7rem);
    font-weight: 700;
    line-height: 0.92;
    letter-spacing: -1.5px;
    position: relative;
    color: white;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: -2px 0 #00fff9, 2px 2px #ff00c1;
    animation: glitch-anim2 1s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(31px, 9999px, 94px, 0); }
    20% { clip: rect(62px, 9999px, 42px, 0); }
    100% { clip: rect(23px, 9999px, 82px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(65px, 9999px, 100px, 0); }
    100% { clip: rect(45px, 9999px, 89px, 0); }
}

.gold-gradient {
    background: linear-gradient(45deg, var(--accent), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sub-hero {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--muted);
    margin-bottom: 12px;
}

.hero-tag {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: #d9d9d9;
    margin-bottom: 28px;
}

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

.btn-primary,
.btn-ghost,
.btn-swag-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary {
    background: var(--accent);
    color: #000;
    box-shadow: 0 10px 30px rgba(255, 230, 0, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(255, 230, 0, 0.5);
}

.btn-ghost {
    border: 1px solid var(--border);
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.marquee {
    background: var(--accent);
    color: #0a0a0a;
    padding: 12px 0;
    font-weight: 700;
    overflow: hidden;
    margin: 0;
    position: relative;
    z-index: 10;
}

.track { display: inline-block; white-space: nowrap; animation: scroll 25s linear infinite; }

@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.bento-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 70px 6% 100px;
    max-width: 1200px;
    margin: 0 auto;
    perspective: 1000px;
}

.card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 230, 0, 0.12), transparent 55%);
    opacity: 0.6;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.6);
}

.card-content { position: relative; z-index: 2; }

.card-sub {
    color: var(--muted);
    font-size: 0.95rem;
    margin: 6px 0 8px;
}

.category {
    display: inline-flex;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 12px;
}

.tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.tech-pills span {
    font-size: 0.72rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 999px;
    color: #c8c8c8;
    white-space: nowrap;
}

.btn-swag-link {
    margin-top: 18px;
    border: 1px solid var(--accent);
    color: var(--accent);
    background: rgba(0, 0, 0, 0.3);
}

.btn-swag-link:hover {
    background: var(--accent);
    color: #000;
}

.dud { color: var(--accent); opacity: 0.6; filter: blur(0.5px); }

.reveal { opacity: 0; transform: translateY(30px); transition: var(--transition); }
.reveal.active { opacity: 1; transform: translateY(0); }

.stack-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }

.stack-item {
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 8px;
    text-align: center;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

ul { list-style: none; margin-top: 12px; }

ul li {
    border-left: 2px solid var(--accent);
    padding-left: 12px;
    margin-bottom: 8px;
    font-weight: 600;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 15000;
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    width: 100%;
    max-width: 520px;
    padding: 40px;
    border-radius: 30px;
    border: 1px solid var(--border);
    background: #0a0a0a;
    position: relative;
    box-shadow: var(--shadow);
}

.close-btn {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 1.8rem;
    color: var(--muted);
    cursor: pointer;
    transition: 0.2s;
    background: transparent;
    border: none;
    padding: 0;
    line-height: 1;
    font-family: inherit;
}

.close-btn:hover { color: var(--accent); }

input, textarea, .swag-select {
    width: 100%;
    padding: 14px;
    background: #111;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: white;
    margin-bottom: 15px;
    font-family: var(--font-display);
}

.form-submit-btn {
    width: 100%;
    padding: 16px;
    background: #000;
    color: var(--accent);
    border: 2px solid var(--accent);
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.form-submit-btn:hover {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 30px rgba(255, 230, 0, 0.6);
}

.big-cta {
    font-size: clamp(2.5rem, 10vw, 8rem);
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px white;
    text-decoration: none;
    display: block;
    text-align: center;
    margin: 90px 0 70px;
    text-transform: uppercase;
    background: transparent;
    border: none;
    padding: 0;
    width: 100%;
    cursor: pointer;
    font-family: inherit;
}

.final-flex { padding: 0 6% 40px; }

.social-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.social-links a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 999px;
}

.social-links a:hover {
    color: var(--accent);
    border-color: rgba(255, 230, 0, 0.6);
}

.social-links svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    opacity: 0.9;
}

.big-cta:hover {
    color: var(--accent);
    -webkit-text-stroke: 1px var(--accent);
}

.terminal-text {
    font-family: var(--font-mono);
    color: var(--accent);
    line-height: 1.8;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 10px;
}

.t-line { display: block; opacity: 0; animation: type-in 0.5s forwards; }

@keyframes type-in { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } }

.t-cursor { display: inline-block; width: 10px; height: 1.2rem; background: var(--accent); animation: blink 0.8s infinite; vertical-align: middle; }

@keyframes blink { 50% { opacity: 0; } }

@media (min-width: 900px) {
    .hero { padding-top: 210px; }
    .bento-container { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(250px, auto); }
    .tall { grid-row: span 2; grid-column: span 2; }
    .wide { grid-column: span 2; }
}

@media (max-width: 1024px) {
    .hero { padding: 130px 6% 60px; }
}

@media (max-width: 640px) {
    .glass-nav { padding: 4px 5%; }
    .glass-nav { flex-direction: row; gap: 6px; text-align: left; flex-wrap: nowrap; }
    .logo { font-size: clamp(0.58rem, 3.1vw, 0.68rem); gap: 6px; min-width: 0; flex-shrink: 1; }
    .logo img { height: clamp(30px, 9vw, 36px); margin: 0; }
    .logo .scramble-text { white-space: nowrap; }
    .logo .scramble-text { padding-top: 0; }
    .status-pill { font-size: clamp(0.56rem, 3vw, 0.62rem); padding: 5px 8px; white-space: nowrap; flex-shrink: 0; }
    .hero { padding: 115px 6% 45px; }
    .glitch-text { line-height: 1; }
    .sub-hero { font-size: 1.15rem; }
    .hero-actions { width: 100%; }
    .btn-primary, .btn-ghost { width: 100%; }
    .modal-content { padding: 30px 24px; }
    .card { padding: 22px; }
    .tech-pills span { font-size: 0.68rem; padding: 6px 10px; }
    .big-cta { margin: 40px 0 35px; }
    .social-links { gap: 10px; margin-bottom: 14px; }
    .social-links a { font-size: 0.72rem; }
    .social-links svg { width: 16px; height: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

@media (max-width: 380px) {
    .logo { font-size: 0.56rem; gap: 5px; }
    .logo img { height: 28px; }
    .status-pill { font-size: 0.52rem; padding: 4px 6px; }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

