/* 8mix.de – placeholder one-pager */

:root {
    --bg: #07060b;
    --text: #f4f1ff;
    --muted: rgba(244, 241, 255, 0.55);
    --c1: #ff2e93;
    --c2: #7b2eff;
    --c3: #00e1ff;
    --c4: #ffb800;
    --mouse-x: 50%;
    --mouse-y: 50%;
}

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

html,
body {
    height: 100%;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Animated aurora background */
.aurora {
    position: fixed;
    inset: -20%;
    filter: blur(90px) saturate(140%);
    opacity: 0.75;
}

.blob {
    position: absolute;
    width: 55vmax;
    height: 55vmax;
    border-radius: 50%;
    mix-blend-mode: screen;
}

.blob-one {
    background: radial-gradient(circle, var(--c1) 0%, transparent 65%);
    top: 0;
    left: 5%;
    animation: drift-one 18s ease-in-out infinite alternate;
}

.blob-two {
    background: radial-gradient(circle, var(--c2) 0%, transparent 65%);
    top: 25%;
    right: 0;
    animation: drift-two 22s ease-in-out infinite alternate;
}

.blob-three {
    background: radial-gradient(circle, var(--c3) 0%, transparent 65%);
    bottom: 0;
    left: 25%;
    animation: drift-three 26s ease-in-out infinite alternate;
}

.blob-four {
    background: radial-gradient(circle, var(--c4) 0%, transparent 70%);
    width: 35vmax;
    height: 35vmax;
    top: 40%;
    left: 40%;
    opacity: 0.5;
    animation: drift-four 30s ease-in-out infinite alternate;
}

@keyframes drift-one {
    to { transform: translate(25vw, 20vh) scale(1.2); }
}

@keyframes drift-two {
    to { transform: translate(-30vw, -15vh) scale(0.85); }
}

@keyframes drift-three {
    to { transform: translate(15vw, -30vh) scale(1.15); }
}

@keyframes drift-four {
    to { transform: translate(-25vw, 20vh) rotate(180deg); }
}

/* Cursor-following light */
.spotlight {
    position: fixed;
    inset: 0;
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.09), transparent 60%);
    pointer-events: none;
}

/* Film grain overlay */
.grain {
    position: fixed;
    inset: 0;
    opacity: 0.12;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Content */
.stage {
    position: relative;
    z-index: 2;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem 16px;
    text-align: center;
}

.logo {
    position: relative;
    font-size: clamp(7rem, 30vw, 24rem);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.06em;
    background: linear-gradient(110deg, var(--c1), var(--c4), var(--c3), var(--c2), var(--c1));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient-flow 8s linear infinite;
    transform: perspective(800px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    transition: transform 0.2s ease-out;
    user-select: none;
}

/* Blurred glow copy behind the logo */
.logo::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    z-index: -1;
    background: inherit;
    background-size: inherit;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: blur(40px);
    opacity: 0.8;
    animation: inherit;
}

@keyframes gradient-flow {
    to { background-position: 300% 0; }
}

.tagline {
    font-size: clamp(1rem, 2.4vw, 1.4rem);
    font-weight: 300;
    color: var(--muted);
}

.tagline-accent {
    color: var(--text);
    font-weight: 600;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    padding: 1.25rem 16px;
    font-size: 0.8rem;
    color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
    .blob,
    .logo,
    .logo::after {
        animation: none;
    }
}
