/* Google Fonts - Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;600&display=swap');

:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --accent-color: #ffffff;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    /* Allow content to grow */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
    position: relative;
    width: 100%;
}

html {
    overflow-x: hidden;
}

/* --- CINEMATIC ATMOSPHERE --- */

/* Video Background */
#bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -3;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.6;
    /* Dim the video slightly */
    filter: contrast(1.1) brightness(0.8);
}

/* Fallback for no video/loading */
body::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, #000 90%);
    /* Vignette */
    z-index: -2;
    pointer-events: none;
}

/* Noise Overlay - Filmic Texture */
.noise-overlay {
    position: fixed;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    width: 200%;
    height: 200vh;
    background: transparent url('http://assets.iceable.com/img/noise-transparent.png') repeat 0 0;
    background-repeat: repeat;
    animation: bg-animation .2s infinite;
    opacity: 0.08;
    /* Very subtle */
    visibility: visible;
    pointer-events: none;
    z-index: -1;
}

@keyframes bg-animation {
    0% {
        transform: translate(0, 0)
    }

    10% {
        transform: translate(-5%, -5%)
    }

    20% {
        transform: translate(-10%, 5%)
    }

    30% {
        transform: translate(5%, -10%)
    }

    40% {
        transform: translate(-5%, 15%)
    }

    50% {
        transform: translate(-10%, 5%)
    }

    60% {
        transform: translate(15%, 0)
    }

    70% {
        transform: translate(0, 10%)
    }

    80% {
        transform: translate(-15%, 0)
    }

    90% {
        transform: translate(10%, 5%)
    }

    100% {
        transform: translate(5%, 0)
    }
}

/* --- CENTER STAGE --- */

.container {
    text-align: center;
    z-index: 10;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* Animation Utilities */
.animate-on-load {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.2s ease-out, transform 1.2s cubic-bezier(0.215, 0.610, 0.355, 1.000);
}

.animate-on-load.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Logo */
.logo-container {
    margin-bottom: 2rem;
    position: relative;
    /* Scale Entrance handled by JS class or specific keyframe if needed, 
       but we combine it here */
}

.logo {
    width: 150px;
    height: auto;
    display: block;
    position: relative;
    animation: gentlePulse 4s ease-in-out infinite;
    /* Gentle subtle pulse */
}

@keyframes gentlePulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.95;
    }

    50% {
        transform: scale(1.03);
        opacity: 1;
    }
}

/* GLOBAL METALLIC SHEEN (Full Screen Reflection) */
.global-shine-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 20;
    /* On top of everything */
    overflow: hidden;
    opacity: 0.6;
    /* Adjust intensity */
}

.global-shine-overlay::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    /* Make it wide enough to cover diagonal sweep */
    height: 100%;
    background: linear-gradient(105deg,
            rgba(255, 255, 255, 0) 20%,
            rgba(255, 255, 255, 0.1) 40%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0.1) 60%,
            rgba(255, 255, 255, 0) 80%);
    transform: skewX(-20deg);
    animation: globalShine 7s infinite;
}

@keyframes globalShine {

    0%,
    70% {
        left: -200%;
        opacity: 0;
    }

    /* Start far left */
    71% {
        opacity: 1;
    }

    100% {
        left: 200%;
        opacity: 0;
    }

    /* End far right */
}

/* Typography */
.tagline {
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #e0e0e0;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.status {
    font-size: 0.65rem;
    color: var(--text-secondary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 400;
}

/* --- ACTION --- */

/* Magnetic Button */
.cta-button {
    position: relative;
    margin-top: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 14px 32px;
    background: rgba(10, 10, 10, 0.8);
    /* Dark glass */
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    /* Subtle depth */
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 4px;
    transform-style: preserve-3d;
    transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
    /* Transform handled by JS */
    cursor: pointer;
    overflow: hidden;
}

/* Inner Glow / Hover State */
.cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.4s ease;
    z-index: -1;
}

.cta-button:hover {
    border-color: #fff;
    color: #000;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
}

.cta-button:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

.cta-button svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    transition: fill 0.3s ease;
}

/* Footer */
.footer {
    position: absolute;
    bottom: 2rem;
    width: 100%;
    text-align: center;
    font-size: 10px;
    /* Requested ~10-12px */
    color: #666666;
    /* Dark Grey for watermark effect */
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 10;
    opacity: 0;
    /* Handled by stagger, but base opacity low for watermark feel */
}

/* Ensure visibility animation overrides to specific opacity if needed, 
   or just let the fade-in handle it but keep text color dark */
.animate-on-load.visible.footer {
    opacity: 0.6;
    /* Keep it subtle even when visible */
}

/* Responsiveness */
@media (max-width: 768px) {
    .logo {
        width: 140px;
    }

    .tagline {
        font-size: 0.75rem;
        letter-spacing: 0.25em;
    }

    .status {
        font-size: 0.55rem;
    }

    .cta-button {
        padding: 12px 28px;
        font-size: 0.65rem;
    }
}

/* --- SECONDARY SOCIAL ICONS --- */
.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    /* Breathing room */
    z-index: 10;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--text-primary);
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    opacity: 1;
    transform: scale(1.1);
}

.social-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Specific fix for Threads icon (which uses fill, not stroke) */
.social-icon[aria-label="Threads"] svg {
    fill: currentColor;
    stroke: none;
    transform: scale(0.9);
    /* Visual balancing */
}