:root {
    --bg-color: #030303;
    --text-primary: #f0f0f0;
    --text-secondary: #888888;
    --accent: #555555;
    --font-heading: 'Syncopate', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    height: 100vh;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.bg-layer {
    position: fixed;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-image: url('assets/background.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
    animation: slowZoom 30s linear infinite alternate;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.overlay {
    position: fixed;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    /* Dark subtle vignette and linear darkness at bottom */
    background: radial-gradient(circle at center, rgba(3,3,3,0.1) 0%, rgba(3,3,3,0.8) 80%),
                linear-gradient(180deg, rgba(3,3,3,0.7) 0%, rgba(3,3,3,0.2) 30%, rgba(3,3,3,0.95) 100%);
    z-index: 2;
}

/* Navigation removed for pure landing experience */

.content {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    animation: fadeIn 2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -5px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    text-shadow: 0px 15px 40px rgba(0,0,0,0.9);
    position: relative;
    display: inline-block;
    transition: transform 0.1s ease-out, text-shadow 0.1s ease-out;
}

/* Glitch effect for brand awareness */
.brand-glitch {
    position: relative;
    color: white;
}
.brand-glitch::before,
.brand-glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: none;
    z-index: -1;
}
.brand-glitch::before {
    left: 4px;
    color: rgba(255, 255, 255, 0.7);
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    animation: glitch-anim 3s infinite linear alternate-reverse;
}
.brand-glitch::after {
    left: -4px;
    color: rgba(150, 150, 150, 0.7);
    clip-path: polygon(0 80%, 100% 20%, 100% 100%, 0 100%);
    animation: glitch-anim2 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip-path: polygon(0 2%, 100% 2%, 100% 5%, 0 5%); transform: translate(0); }
    20% { clip-path: polygon(0 15%, 100% 15%, 100% 15%, 0 15%); transform: translate(-3px, 2px); }
    40% { clip-path: polygon(0 10%, 100% 10%, 100% 20%, 0 20%); transform: translate(3px, -2px); }
    60% { clip-path: polygon(0 40%, 100% 40%, 100% 60%, 0 60%); transform: translate(-3px, 2px); }
    80% { clip-path: polygon(0 80%, 100% 80%, 100% 80%, 0 80%); transform: translate(3px, -2px); }
    100% { clip-path: polygon(0 50%, 100% 50%, 100% 55%, 0 55%); transform: translate(0); }
}

@keyframes glitch-anim2 {
    0% { clip-path: polygon(0 25%, 100% 25%, 100% 30%, 0 30%); transform: translate(0); }
    20% { clip-path: polygon(0 3%, 100% 3%, 100% 3%, 0 3%); transform: translate(3px, -2px); }
    40% { clip-path: polygon(0 5%, 100% 5%, 100% 20%, 0 20%); transform: translate(-3px, 2px); }
    60% { clip-path: polygon(0 20%, 100% 20%, 100% 20%, 0 20%); transform: translate(3px, -2px); }
    80% { clip-path: polygon(0 90%, 100% 90%, 100% 90%, 0 90%); transform: translate(-3px, 2px); }
    100% { clip-path: polygon(0 30%, 100% 30%, 100% 35%, 0 35%); transform: translate(0); }
}

.revolving-text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 5px;
    margin-top: 2rem;
    text-shadow: 0 5px 15px rgba(0,0,0,0.9);
}

.static-prefix {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    letter-spacing: 6px;
    font-family: var(--font-body);
}

.words-wrapper {
    height: 3.5rem; 
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    -webkit-mask-image: linear-gradient(transparent, black 25%, black 75%, transparent);
    mask-image: linear-gradient(transparent, black 25%, black 75%, transparent);
}

.word {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3.5rem;
    line-height: 1.1;
    color: #f0f0f0;
    font-weight: 700;
    font-family: var(--font-heading);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    /* Animation is now injected dynamically by script.js to support infinite words easily */
    flex-shrink: 0;
    white-space: normal;
    text-align: center;
    width: 100%;
}

/* Subtle raw oppressive scanline */
body::after {
    content: " ";
    display: block;
    position: fixed;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0),
        rgba(255,255,255,0) 50%,
        rgba(0,0,0,0.15) 50%,
        rgba(0,0,0,0.15)
    );
    background-size: 100% 4px;
    z-index: 100;
    pointer-events: none;
}

/* Responsive Mobile Optimizations */
@media (max-width: 768px) {
    .content {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: clamp(2rem, 11vw, 3.5rem);
        letter-spacing: -2px;
        text-shadow: 0px 5px 20px rgba(0,0,0,0.9);
    }
    
    .revolving-text-container {
        font-size: 0.9rem;
        letter-spacing: 2px;
        gap: 0.25rem;
        margin-top: 1rem;
    }

    .static-prefix {
        letter-spacing: 3px;
    }

    .words-wrapper, .word {
        height: 2.5rem;
    }
    .word {
        line-height: 1.1;
    }
    
    /* mobile animation override is also handled dynamically by script.js */
}
