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

:root {
    --dark-blue: #07232F;
    --white: #FFFFFF;
    --black: #000000;
    --cyan: #00FFFF;
    --cyan-light: #CCFFFF;
}

body {
    font-family: 'Space Mono', monospace;
    background: var(--black);
    color: var(--white);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    position: relative;
}

/* Hide default cursor only when custom cursor is ready */
body.custom-cursor-ready {
    cursor: none;
}

/* Custom cursor */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease;
    background: rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.8), 0 0 30px rgba(0, 255, 255, 0.4);
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
}

.custom-cursor.hover {
    width: 40px;
    height: 40px;
    border-color: var(--cyan-light);
    background: rgba(0, 255, 255, 0.1);
}

.cursor-trail {
    position: fixed;
    width: 8px;
    height: 8px;
    border: 1px solid var(--cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    background: rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.7) 100%),
        linear-gradient(180deg, rgba(7, 35, 47, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

/* Vignette effect */
.video-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}

/* Subtle scanline effect */
.video-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.03) 0px,
        transparent 1px,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 3px
    );
    pointer-events: none;
    opacity: 0.5;
    z-index: 2;
}

/* Container */
.container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* Mouse-follow light effect */
.mouse-light {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 5;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    mix-blend-mode: screen;
}

/* Logo Container */
.logo-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeIn 2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    max-width: 600px;
    width: 70%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(0, 255, 255, 0.3))
            drop-shadow(0 0 60px rgba(0, 255, 255, 0.2));
    transition: all 0.3s ease;
    pointer-events: none;
    user-select: none;
    animation: subtlePulse 4s ease-in-out infinite;
    will-change: transform, filter;
}

@keyframes subtlePulse {
    0%, 100% {
        filter: drop-shadow(0 0 30px rgba(0, 255, 255, 0.3))
                drop-shadow(0 0 60px rgba(0, 255, 255, 0.2));
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(0, 255, 255, 0.4))
                drop-shadow(0 0 80px rgba(0, 255, 255, 0.3));
    }
}

.logo:hover {
    filter: drop-shadow(0 0 50px rgba(0, 255, 255, 0.5))
            drop-shadow(0 0 100px rgba(0, 255, 255, 0.3));
    transform: scale(1.02);
    animation: none;
}

/* Content Below Logo */
.content-below {
    margin-top: 60px;
    text-align: center;
    animation: fadeIn 2.5s ease-out;
}

.learn-more-btn {
    font-family: 'Space Mono', monospace;
    text-decoration: none;
    display: inline-block;
    padding: 16px 32px;
    border: 1px solid var(--cyan);
    background: rgba(0, 255, 255, 0.05);
    color: var(--white);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    backdrop-filter: blur(10px);
    clip-path: polygon(0% 0%, calc(100% - 20px) 0%, 100% 20px, 100% 100%, 0% 100%);
}

.learn-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.learn-more-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.3), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.learn-more-btn:hover::before {
    left: 100%;
}

.learn-more-btn:hover::after {
    width: 300px;
    height: 300px;
}

.learn-more-btn:hover {
    background: rgba(0, 255, 255, 0.15);
    border-color: var(--cyan-light);
    box-shadow: 
        0 0 20px rgba(0, 255, 255, 0.4),
        0 0 40px rgba(0, 255, 255, 0.3),
        inset 0 0 20px rgba(0, 255, 255, 0.1);
    transform: translateY(-2px) scale(1.05);
    clip-path: polygon(0% 0%, calc(100% - 20px) 0%, 100% 20px, 100% 100%, 0% 100%);
}

.btn-text {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--white);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .logo {
        max-width: 85%;
    }
    
    .content-below {
        margin-top: 40px;
    }
    
    .learn-more-btn {
        padding: 14px 28px;
    }
    
    .btn-text {
        font-size: 12px;
        letter-spacing: 3px;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 90%;
    }
    
    .content-below {
        margin-top: 30px;
    }
    
    .learn-more-btn {
        padding: 12px 24px;
    }
    
    .btn-text {
        font-size: 11px;
        letter-spacing: 2px;
    }
}
