/* GHUMDUL — synthwave / night-drive theme */

[x-cloak] { display: none !important; }

::selection { background: #ff2e88; color: #0d0221; }

html { scroll-behavior: smooth; }

/* ---------------------------------------------------------------- overlays */

.scanlines {
    position: fixed; inset: 0; z-index: 50; pointer-events: none;
    background: repeating-linear-gradient(
        to bottom,
        rgba(0, 0, 0, .14) 0 1px,
        transparent 1px 3px
    );
    opacity: .45;
}

.vignette {
    position: fixed; inset: 0; z-index: 40; pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, .6) 100%);
}

/* ------------------------------------------------------------ neon text */

.neon-text {
    text-shadow:
        0 0 6px rgba(255, 46, 136, .9),
        0 0 18px rgba(255, 46, 136, .8),
        0 0 46px rgba(255, 46, 136, .6);
}

.neon-text-cyan {
    text-shadow:
        0 0 6px rgba(0, 255, 249, .9),
        0 0 18px rgba(0, 255, 249, .7),
        0 0 46px rgba(0, 255, 249, .5);
}

.neon-text-sm {
    text-shadow: 0 0 4px rgba(255, 46, 136, .9), 0 0 14px rgba(255, 46, 136, .5);
}

/* ------------------------------------------------------------------ hero */

.hero {
    background:
        radial-gradient(ellipse 80% 50% at 50% 100%, rgba(255, 46, 136, .25), transparent 70%),
        linear-gradient(to bottom, #0d0221 0%, #1a0b2e 40%, #3d1155 65%, #8f1f6e 88%, #ff2e88 100%);
}

.hero-sun {
    z-index: 1;
    filter: drop-shadow(0 0 35px rgba(255, 46, 136, .65));
}

.grid-floor {
    position: absolute;
    left: -60%; right: -60%;
    top: 55%; bottom: -5%;
    transform: perspective(45vh) rotateX(60deg);
    transform-origin: top center;
    background-image:
        linear-gradient(90deg, rgba(0, 255, 249, .35) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 46, 136, .55) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: grid-scroll 1.4s linear infinite;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), black 30%, black 80%, transparent);
            mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), black 30%, black 80%, transparent);
}

@keyframes grid-scroll {
    to { background-position-y: 60px; }
}

.horizon-glow {
    position: absolute;
    left: 0; right: 0; top: 55%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 249, .9) 30%, rgba(255, 46, 136, .9) 70%, transparent);
    box-shadow: 0 0 18px 2px rgba(255, 46, 136, .6);
}

.palm { position: absolute; bottom: -6px; opacity: .9; }
.palm svg { display: block; width: 100%; height: auto; }

/* --------------------------------------------------------------- marquee */

.marquee-track {
    display: inline-flex;
    gap: 3rem;
    padding-right: 3rem;
    white-space: nowrap;
    animation: marquee 24s linear infinite;
}

@keyframes marquee {
    to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------- buttons */

.btn-neon, .btn-cyan {
    display: inline-block;
    font-family: Orbitron, sans-serif;
    font-size: .75rem;
    letter-spacing: .3em;
    padding: .9rem 1.75rem;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: all .25s ease;
}

.btn-neon {
    background: linear-gradient(135deg, #ff2e88, #b01d9e);
    box-shadow: 0 0 14px rgba(255, 46, 136, .45);
}
.btn-neon:hover {
    box-shadow: 0 0 28px rgba(255, 46, 136, .75);
    transform: translateY(-1px);
    filter: brightness(1.1);
}

.btn-cyan {
    background: linear-gradient(135deg, #00e5e0, #0e7490);
    box-shadow: 0 0 14px rgba(0, 255, 249, .4);
}
.btn-cyan:hover {
    box-shadow: 0 0 28px rgba(0, 255, 249, .7);
    transform: translateY(-1px);
    filter: brightness(1.1);
}

/* ----------------------------------------------------------------- cards */

.project-card { box-shadow: 0 0 0 rgba(255, 46, 136, 0); }
.project-card:hover { box-shadow: 0 10px 44px rgba(255, 46, 136, .28); }

.card-glow {
    background: radial-gradient(
        480px circle at var(--mx, 50%) var(--my, 50%),
        rgba(255, 46, 136, .14),
        transparent 45%
    );
}

/* ------------------------------------------------------------ section title */

.section-title {
    font-family: Orbitron, sans-serif;
    font-weight: 900;
    letter-spacing: .15em;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 46, 136, .8), 0 0 34px rgba(255, 46, 136, .45);
}

.section-kicker {
    font-family: Orbitron, sans-serif;
    font-size: .65rem;
    letter-spacing: .45em;
    color: orangered;
    /* color: #00fff9; */
    text-shadow: 0 0 10px rgba(0, 255, 249, .7);
}

/* ------------------------------------------------------------------ forms */

.neon-input {
    width: 100%;
    background: rgba(13, 2, 33, .75);
    border: 1px solid rgba(0, 255, 249, .25);
    padding: .75rem 1rem;
    color: #e2e8f0;
    font-family: "Space Grotesk", sans-serif;
    transition: border-color .2s, box-shadow .2s;
}
/* honeypot — invisible to humans, bots fill it in */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    height: 0;
    overflow: hidden;
}

.neon-input::placeholder { color: rgba(148, 163, 184, .45); }
.neon-input:focus {
    outline: none;
    border-color: #00fff9;
    box-shadow: 0 0 14px rgba(0, 255, 249, .25);
}

/* ------------------------------------------------------------------ legal */

.legal { max-width: 48rem; }

.legal h2 {
    font-family: Orbitron, sans-serif;
    font-size: .95rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #00fff9;
    margin: 2.75rem 0 .9rem;
    text-shadow: 0 0 10px rgba(0, 255, 249, .4);
}

.legal h3 {
    font-family: Orbitron, sans-serif;
    font-size: .75rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #ff9e00;
    margin: 1.75rem 0 .6rem;
}

.legal p,
.legal li {
    color: #cbd5e1;
    line-height: 1.75;
    font-size: .95rem;
}

.legal p { margin: 0 0 1rem; }

.legal ul, .legal ol {
    margin: 0 0 1rem 1.4rem;
}

.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal li { margin-bottom: .35rem; }
.legal li::marker { color: #ff2e88; }

.legal a {
    color: #00fff9;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .2s;
}
.legal a:hover { color: #ff2e88; }

.legal strong { color: #f1f5f9; }
.legal code { color: #ff9e00; font-size: .85em; }

.legal-updated {
    font-family: Orbitron, sans-serif;
    font-size: .62rem;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: #64748b;
}

/* ------------------------------------------------------------ accessibility */

@media (prefers-reduced-motion: reduce) {
    .grid-floor, .marquee-track { animation: none; }
    html { scroll-behavior: auto; }
}
