/*
Theme Name: mang_wp_theme
Theme URI: http://mang.asolutions.ee
Author: Ragnar / MANG
Description: A modern minimalist luxury classic PHP theme for MANG.
Version: 1.0.0
Text Domain: mang_wp_theme
*/

body {
    font-family: 'Outfit', sans-serif;
    background-color: #18181b; /* zinc-900 */
    color: #f4f4f5;
    overflow-x: hidden;
}

/* The Wildcard Element: Continuous Marquee */
.marquee {
    display: flex;
    white-space: nowrap;
    animation: marquee 60s linear infinite;
}
@keyframes marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* Crisp Film Grain (Tiled to prevent blur) */
.film-grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    background-size: 200px 200px; /* Crucial for keeping grain sharp */
    opacity: 0.12;
    z-index: 1;
}

/* Spatial Drifting Dust Motes (3D Parallax Effect) */
.space-dust {
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    pointer-events: none;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.3), transparent),
        radial-gradient(3px 3px at 140px 120px, rgba(255,255,255,0.15), transparent),
        radial-gradient(1px 1px at 300px 240px, rgba(255,255,255,0.2), transparent),
        radial-gradient(4px 4px at 80px 320px, rgba(255,255,255,0.08), transparent),
        radial-gradient(1.5px 1.5px at 220px 80px, rgba(255,255,255,0.25), transparent),
        radial-gradient(5px 5px at 380px 180px, rgba(255,255,255,0.1), transparent);
    background-repeat: repeat;
    background-size: 350px 350px;
    animation: driftDust 240s linear infinite;
    opacity: 0.8;
}

.space-dust.layer-2 {
    background-size: 200px 200px;
    animation: driftDustLayer2 180s linear infinite;
    opacity: 0.5;
}

@keyframes driftDust {
    0% { background-position: 0 0; }
    100% { background-position: -700px -700px; }
}

@keyframes driftDustLayer2 {
    0% { background-position: 0 0; transform: rotate(15deg); }
    100% { background-position: 700px 350px; transform: rotate(15deg); }
}

/* Glassmorphism details */
.glass {
    background: rgba(24, 24, 27, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Massive Typography Clipping */
.clip-text {
    background: url('https://images.unsplash.com/photo-1555041469-a586c61ea9bc?auto=format&fit=crop&q=80&w=2000') no-repeat center center;
    background-size: cover;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
