/* =========================================
   GLOBAL RESET
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #000;
    color: #fff;
    overflow: hidden;
}


/* =========================================
   HERO SECTION
   - Fixes iPhone viewport height issues
========================================= */
.hero {
    min-height: 100dvh; /* Modern dynamic viewport height */
    min-height: 100svh; /* Fallback for slightly older iOS */

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    padding: 20px;
}


/* =========================================
   TOP LEFT CORNER LOGO
========================================= */
.corner-logo {
    position: fixed;
    top: env(safe-area-inset-top, 20px); /* iPhone safe area support */
    left: 20px;
    width: 120px;
    z-index: 10;
}


/* =========================================
   BACKGROUND VIDEO
========================================= */
.bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100vw;

    object-fit: cover;
    transform: translate(-50%, -50%);

    z-index: -3;

    opacity: 0;
    transition: opacity 2s ease;
}

/* iOS-specific rendering fix */
@supports (-webkit-touch-callout: none) {
    .bg-video {
        height: 100%;
    }
}


/* =========================================
   VIDEO OVERLAY EFFECT
========================================= */
.video-overlay {
    position: fixed;
    width: 100%;
    height: 100%;

    background: radial-gradient(
        circle at center,
        rgba(0, 0, 0, 0.3),
        rgba(0, 0, 0, 0.85)
    );

    z-index: -2;

    opacity: 0;
    transition: opacity 2s ease;
}


/* =========================================
   FILM GRAIN EFFECT
========================================= */
.grain {
    position: fixed;
    width: 100%;
    height: 100%;

    background: url("https://grainy-gradients.vercel.app/noise.svg");
    opacity: 0.04;

    z-index: -1;
    pointer-events: none;
}


/* =========================================
   MAIN LOGO TEXT
========================================= */
.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;

    letter-spacing: 6px;
    margin-bottom: 50px;

    color: #00FF00;

    text-shadow:
        0 0 15px #00FF00,
        0 0 35px #ED197A,
        0 0 60px #ED197A;

    animation: pulseGlow 3s infinite ease-in-out;
    transition: opacity 1.5s ease, transform 1.5s ease;
}

@keyframes pulseGlow {
    0%,
    100% {
        text-shadow:
            0 0 15px #00FF00,
            0 0 35px #ED197A;
    }

    50% {
        text-shadow:
            0 0 30px #00FF00,
            0 0 70px #ED197A;
    }
}


/* =========================================
   TAGLINE
========================================= */
#tagline-container {
    max-width: 950px;
    transition: all 1.5s ease;
}

#tagline {
    font-size: clamp(1.2rem, 4vw, 2rem);
    line-height: 1.6;

    opacity: 0;
    animation: cinematicReveal 2.5s forwards ease;
}

.highlight {
    color: #ED197A;
    font-weight: 600;
}

@keyframes cinematicReveal {
    0% {
        opacity: 0;
        transform: translateY(60px);
        letter-spacing: 3px;
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 0;
    }
}


/* =========================================
   SOCIAL SECTION
========================================= */
#social-container {
    margin-top: 40px;

    opacity: 0;
    transform: scale(0.8);

    transition: all 1.5s ease;
}

.social-icons {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.icon {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.05);

    border-radius: 15px;
    padding: 15px;

    transition: 0.4s ease;
}

.icon img {
    width: clamp(40px, 8vw, 65px);
}

.icon:hover {
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 0 25px #00FF00;
}


/* =========================================
   FOOTER
========================================= */
footer {
    position: fixed;
    bottom: 10px;
    width: 100%;

    text-align: center;
    font-size: 0.8rem;
    opacity: 0.7;
}


/* =========================================
   UTILITY
========================================= */
.hidden {
    display: none;
}