/* Glassmorphism & Grain Effect */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.grain-bg {
    position: relative;
}

.grain-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.04;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
    filter: contrast(150%) brightness(100%);
}

.font-title {
    font-family: 'Space Grotesk', sans-serif;
}

.font-body {
    font-family: 'Inter', sans-serif;
}

.gradient-title {
    font-family: 'Space Grotesk', sans-serif;
    background: linear-gradient(to bottom, #fff 0%, #919192 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.footer-title {
    font-size: 18vw;
    font-weight: 900;
    line-height: 0.8;
    letter-spacing: -0.05em;
    opacity: 1;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    position: absolute;
    bottom: -2vw;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    font-family: 'Space Grotesk', sans-serif;
    background: linear-gradient(to bottom, #fff 0%, #919192 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.animated {
    opacity: 1;
    visibility: visible;
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    33% {
        transform: translateY(-15px) translateX(8px) rotate(1deg);
    }
    66% {
        transform: translateY(-25px) translateX(-8px) rotate(-1deg);
    }
}

.float-slow {
    animation: float 5s ease-in-out infinite;
}

.float-slow-delayed {
    animation: float 6s ease-in-out infinite;
    animation-delay: 1s;
}

.float-slow-more {
    animation: float 7s ease-in-out infinite;
    animation-delay: 2s;
}

.float-slow-reverse {
    animation: float 5.5s ease-in-out infinite;
    animation-delay: 0.5s;
}

/* Pixel Canvas Background */
.pixel-canvas-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
}

#dor-section {
    isolation: isolate;
}

#dor-section::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    box-shadow: inset 0 0 120px 40px rgba(0, 0, 0, 0.9),
                inset 0 0 200px 100px rgba(0, 0, 0, 0.7);
}
