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

body {
    background: #000;
    width: 100vw;
    overflow-x: hidden;
}

.hero {
    position: relative;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    padding: max(10px, env(safe-area-inset-top)) 28px 10px;
    background: #000;
}

nav::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 48px;
    background: linear-gradient(to bottom, #000, transparent);
    pointer-events: none;
}

nav a {
    display: block;
    line-height: 0;
}

nav a img {
    height: 56px;
    width: auto;
}

.video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-bar {
    position: absolute;
    bottom: 36px;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    gap: 16px;
}

footer {
    background: #000;
    padding: 28px;
    text-align: center;
    font-family: monospace;
    font-size: 11px;
    letter-spacing: 0.05em;
    color: rgba(0, 255, 65, 0.4);
    border-top: 1px solid rgba(0, 255, 65, 0.15);
}

.social-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(0, 8, 0, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid #00ff41;
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.3), inset 0 0 10px rgba(0, 255, 65, 0.06);
    transition: box-shadow 0.2s ease, background 0.2s ease;
    animation: pulse-glow 3s ease-in-out infinite;
    text-decoration: none;
}

.social-bar a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    pointer-events: none;
    opacity: 0;
}

.social-bar a:hover {
    background: rgba(0, 18, 0, 0.92);
    box-shadow: 0 0 22px rgba(0, 255, 65, 0.65), inset 0 0 14px rgba(0, 255, 65, 0.1);
    animation: glitch-btn 0.5s linear 1 forwards;
}

.social-bar a:hover::before {
    animation: glitch-ring 0.5s ease-out 1 forwards;
}

.social-bar a svg {
    width: 26px;
    height: 26px;
    fill: #00ff41;
    position: relative;
    z-index: 1;
}

.social-bar a::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: rgba(0, 10, 0, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #00ff41;
    font-family: monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid #00ff41;
    box-shadow: 0 0 8px rgba(0, 255, 65, 0.5), inset 0 0 8px rgba(0, 255, 65, 0.05);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.social-bar a:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) and (orientation: portrait) {
    .video-bg {
        object-fit: contain;
        object-position: center center;
    }
}

@media (hover: none) {
    .social-bar a:hover {
        animation: none;
        transform: none;
    }
    .social-bar a:hover::before {
        animation: none;
    }
    nav a img {
        height: 44px;
    }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 10px rgba(0, 255, 65, 0.3), inset 0 0 10px rgba(0, 255, 65, 0.06); }
    50%       { box-shadow: 0 0 18px rgba(0, 255, 65, 0.55), inset 0 0 12px rgba(0, 255, 65, 0.1); }
}

@keyframes glitch-btn {
    0%,  10% { transform: translate(0) scale(1);              filter: none; }
    11%, 24% { transform: translate(-2px, 1px) scaleX(1.02);  filter: brightness(1.4) hue-rotate(60deg); }
    25%, 39% { transform: translate(2px, -1px) scaleX(0.98);  filter: brightness(0.8); }
    40%, 59% { transform: translate(-1px, 1px) scale(1.03);   filter: brightness(1.3) hue-rotate(120deg); }
    60%, 74% { transform: translate(1px, 0) scale(1.08);      filter: brightness(0.9); }
    75%, 100%{ transform: translate(0) scale(1.1);            filter: brightness(1); }
}

@keyframes glitch-ring {
    0%   { opacity: 0.8;  transform: scale(1);    border-color: #00ff41; }
    40%  { opacity: 0.4;  transform: scale(1.35); border-color: #00ffff; }
    70%  { opacity: 0.15; transform: scale(1.55); border-color: #00ff41; }
    100% { opacity: 0;    transform: scale(1.7);  border-color: #00ff41; }
}
