@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400;500;700;900&display=swap');

:root {
    --bg-color: #050505;
    --text-color: #f4f4f5;
    --accent: #ff3300; /* Deep Neon Orange */
}

::-webkit-scrollbar { width: 0px; }

html, body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Outfit', sans-serif;
    margin: 0; padding: 0;
    overflow-x: hidden;
    cursor: none;
}

/* Cinematic Preloader */
#preloader {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: var(--bg-color); z-index: 9999;
    display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-end;
    padding: 4rem;
}
.loader-text {
    font-size: 15vw; font-weight: 900; line-height: 0.8;
    color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.2);
}

/* Custom Cursor */
#cursor {
    position: fixed; top: 0; left: 0; width: 12px; height: 12px;
    background: var(--text-color); border-radius: 50%;
    pointer-events: none; z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
    mix-blend-mode: difference;
}
.cursor-hover {
    width: 60px !important; height: 60px !important;
    background-color: transparent !important;
    border: 1px solid var(--text-color);
}

/* Editorial Typography */
.huge-text {
    font-size: 18vw; font-weight: 900; line-height: 0.8;
    letter-spacing: -0.05em; text-transform: uppercase;
}
.outlined-text {
    color: transparent; -webkit-text-stroke: 1px var(--text-color);
}
.accent-text { color: var(--accent); }

/* Horizontal Scroll Layout */
.horizontal-scroll-wrapper {
    width: 100%; height: 100vh;
    display: flex; flex-wrap: nowrap;
    overflow: hidden; background: var(--bg-color);
}
.panel {
    width: 100vw; height: 100vh; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    position: relative;
}

/* Brutalist Cards */
.b-card {
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.02);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    transition: background 0.4s, transform 0.4s;
}
.b-card:hover {
    background: rgba(255,255,255,0.05);
}

/* Image Reveal */
.img-reveal {
    overflow: hidden; position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}
.img-reveal img {
    transition: transform 0.8s ease-out;
}
.img-reveal:hover img {
    transform: scale(1.05);
}

/* Background Density Elements */
#ambient-glow {
    position: fixed; top: 0; left: 0; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255, 51, 0, 0.12) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none; z-index: -1;
    transform: translate(-50%, -50%); transition: opacity 0.3s;
}

.bg-marquee {
    position: absolute; white-space: nowrap; font-size: 15vw; font-weight: 900;
    color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.03);
    z-index: 0; pointer-events: none; top: 50%; transform: translateY(-50%);
    animation: marquee-slow 60s linear infinite;
}
@keyframes marquee-slow {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.watermark {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-size: 80vh; font-weight: 900; line-height: 1;
    color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,0.03);
    z-index: 0; pointer-events: none;
}

/* Noise overlay */
.noise {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.05; pointer-events: none; z-index: 9998;
}

/* Magnetic Link */
.magnetic { display: inline-block; cursor: pointer; }

/* Dynamic Sub-surface Glow Cards (Stripe Style) */
.glow-card {
    position: relative; overflow: hidden;
}
.glow-card::before {
    content: ''; position: absolute; 
    top: var(--mouse-y, 0px); left: var(--mouse-x, 0px);
    width: 600px; height: 600px; 
    background: radial-gradient(circle, rgba(255, 51, 0, 0.15) 0%, transparent 60%);
    transform: translate(-50%, -50%); 
    pointer-events: none; opacity: 0; transition: opacity 0.4s ease;
    z-index: 0;
}
.glow-card:hover::before { opacity: 1; }
.glow-card > * { position: relative; z-index: 1; }

/* Rotating Hero Text */
.word-carousel {
    display: inline-flex; flex-direction: column; 
    height: 1.2em; overflow: hidden; vertical-align: top;
}
.word-carousel-inner {
    display: block; animation: spin-words 9s infinite cubic-bezier(0.4, 0, 0.2, 1);
}
.word-carousel span { display: block; height: 1.2em; color: var(--accent); }

@keyframes spin-words {
    0%, 25% { transform: translateY(0); }
    33%, 58% { transform: translateY(-1.2em); }
    66%, 91% { transform: translateY(-2.4em); }
    100% { transform: translateY(-3.6em); } /* Requires duplicating first word at end */
}
