/* 
   THEME: HYPER-QUASAR (CINEMATIC) - CLEAR TEXT
   AUTHOR: ANTIGRAVITY
   DESC: High-polish visual overload with CLEAR readable typography.
*/

@import url('https://fonts.googleapis.com/css2?family=Syncopate:wght@400;700&family=Space+Grotesk:wght@300;500&display=swap');

:root {
    --event-horizon: #000000;
    --accretion-disk: #ff4500;
    --starlight: #ffffff;
}

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

body {
    background-color: var(--event-horizon);
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

/* --- NOISE TEXTURE --- */
.noise-grained {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyBAMAAADsEZWCAAAAGFBMVEUAAAA5OTkAAAAAAAAAAABMTExERERQUFBKwDf1AAAACHRSTlMAMwAozIyxCN04l4YAAABWSURBVDjL7c6xDYAwDEXRn5c0ZAMjkBhZqowCSkchI+CWlqj5CVL9V/2X70cZcz0lRq33tdaXWp9qfan1qdan1pdab7W+1Poy99632vf+1/53/7u/2v/uHya1Fw+zGgKkAAAAAElFTkSuQmCC');
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyBAMAAADsEZWCAAAAHRUNEUAAAA5OTkAAAAAAAAAAABMTExERERQUFBKwDf1AAAACHRSTlMAMwAozIyxCN04l4YAAABWSURBVDjL7c6xDYAwDEXRn5c0ZAMjkBhZqowCSkchI+CWlqj5CVL9V/2X70cZcz0lRq33tdaXWp9qfan1qdan1pdab7W+1Poy99632vf+1/53/7u/2v/uHya1Fw+zGgKkAAAAAElFTkSuQmCC');
    opacity: 0.04;
    z-index: 5;
    pointer-events: none;
    animation: grain 0.2s steps(4) infinite;
}

@keyframes grain {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(10px, 10px);
    }
}


/* --- CANVAS LAYERS --- */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    filter: brightness(1.2) contrast(1.1);
}

/* --- CENTERPIECE CONTENT --- */
.singularity-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    z-index: 60;
    /* Higher than letterbox if needed, or at least very high */
    /* REMOVED mix-blend-mode for clarity */
}

/* --- TYPOGRAPHY --- */
.void-title {
    font-family: 'Syncopate', sans-serif;
    font-weight: 900;
    font-size: 13vw;
    color: #ffffff;
    /* SOLID WHITE */
    text-transform: uppercase;
    letter-spacing: -5px;
    line-height: 0.8;
    position: relative;
    /* Added heavy shadow to separate from busy background */
    text-shadow:
        0 0 20px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(0, 0, 0, 1);
    z-index: 70;
}

/* SUBTITLE with Background Box */
.void-subtitle {
    display: inline-block;
    margin-top: 30px;
    font-size: 1.5rem;
    letter-spacing: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    /* Dark backing */
    padding: 15px 30px;
    border-radius: 4px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* --- INTERACTIVE MAGNET BUTTON --- */
.gravity-btn {
    display: inline-block;
    margin-top: 60px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: 0.2s;
    background: rgba(0, 0, 0, 0.8);
    /* Solid bg for visibility */
    backdrop-filter: blur(5px);
    z-index: 70;
}

.gravity-btn:hover {
    transform: scale(1.3);
    background: #fff;
    border-color: #fff;
    box-shadow: 0 0 80px white;
}

.arrow-down {
    color: #fff;
    font-size: 2rem;
    transition: 0.3s;
}

.gravity-btn:hover .arrow-down {
    color: #000;
}

/* --- CUSTOM CURSOR (ORBITAL) --- */
.cursor-main {
    width: 15px;
    height: 15px;
    background: #fff;
    position: fixed;
    border-radius: 50%;
    z-index: 100;
    pointer-events: none;
    mix-blend-mode: difference;
}

.cursor-orbit {
    width: 80px;
    height: 80px;
    border: 2px dashed rgba(255, 255, 255, 0.8);
    position: fixed;
    border-radius: 50%;
    z-index: 99;
    pointer-events: none;
    animation: spinOrbit 2s linear infinite;
    mix-blend-mode: difference;
}

/* ANIMATIONS */
@keyframes spinOrbit {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes grain {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(10px, 10px);
    }
}

@media (max-width: 768px) {
    .void-title {
        font-size: 15vw;
        letter-spacing: -2px;
    }

    .letterbox-top,
    .letterbox-bottom {
        height: 5vh;
    }

    .void-subtitle {
        font-size: 0.8rem;
        letter-spacing: 4px;
        padding: 10px 20px;
    }
}