@font-face {
    font-family: 'VCR';
    src: url('VCR_OSD_MONO_1.001.ttf') format('truetype');
}

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

html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    font-family: 'VCR', monospace;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    background: #000;
    cursor: crosshair;
}

/* Enter Screen */
.enter-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: crosshair;
    transition: opacity 1s ease, visibility 1s ease;
}

.enter-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.enter-content {
    text-align: center;
    animation: fadeInEnter 1.5s ease-out;
}

.enter-text-wrapper {
    margin-bottom: 60px;
}

.enter-title {
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: bold;
    color: #fff;
    letter-spacing: 0.2em;
    margin-bottom: 30px;
    position: relative;
    text-shadow:
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 40px rgba(255, 255, 255, 0.5),
        0 0 60px rgba(255, 255, 255, 0.3);
    animation: pulseGlow 2s ease-in-out infinite;
}

.glitch-enter::before,
.glitch-enter::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch-enter::before {
    left: 3px;
    text-shadow: -3px 0 #ff00de;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch-enter::after {
    left: -3px;
    text-shadow: -3px 0 #00fff9, 3px 3px #ff00de;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 3s infinite linear alternate-reverse;
}

@keyframes pulseGlow {
    0%, 100% {
        text-shadow:
            0 0 20px rgba(255, 255, 255, 0.8),
            0 0 40px rgba(255, 255, 255, 0.5),
            0 0 60px rgba(255, 255, 255, 0.3);
    }
    50% {
        text-shadow:
            0 0 30px rgba(255, 255, 255, 1),
            0 0 60px rgba(255, 255, 255, 0.7),
            0 0 90px rgba(255, 255, 255, 0.5);
    }
}

.enter-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: #b8b8b8;
    letter-spacing: 0.5em;
    text-transform: lowercase;
    opacity: 0.9;
    animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.enter-hint {
    display: flex;
    justify-content: center;
    align-items: center;
}

.click-icon {
    color: #fff;
    opacity: 0.7;
    animation: bounce 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes fadeInEnter {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive for enter screen */
@media (max-width: 768px) {
    .enter-subtitle {
        letter-spacing: 0.3em;
    }
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.background-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    filter: brightness(1.2) contrast(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    pointer-events: none;
}

.content {
    position: relative;
    z-index: 1;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

/* Glitch effect */
.glitch-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.glitch {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: bold;
    color: #fff;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    position: relative;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.6),
        0 0 30px rgba(255, 255, 255, 0.4),
        0 0 40px rgba(255, 255, 255, 0.3);
    animation: flicker 3s infinite alternate;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 #fff;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 #aaa, 2px 2px #fff;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(61px, 9999px, 92px, 0); }
    5% { clip: rect(33px, 9999px, 67px, 0); }
    10% { clip: rect(85px, 9999px, 23px, 0); }
    15% { clip: rect(48px, 9999px, 96px, 0); }
    20% { clip: rect(17px, 9999px, 54px, 0); }
    25% { clip: rect(72px, 9999px, 11px, 0); }
    30% { clip: rect(29px, 9999px, 88px, 0); }
    35% { clip: rect(95px, 9999px, 41px, 0); }
    40% { clip: rect(6px, 9999px, 76px, 0); }
    45% { clip: rect(51px, 9999px, 19px, 0); }
    50% { clip: rect(83px, 9999px, 64px, 0); }
    55% { clip: rect(38px, 9999px, 99px, 0); }
    60% { clip: rect(14px, 9999px, 45px, 0); }
    65% { clip: rect(69px, 9999px, 28px, 0); }
    70% { clip: rect(92px, 9999px, 3px, 0); }
    75% { clip: rect(56px, 9999px, 81px, 0); }
    80% { clip: rect(21px, 9999px, 37px, 0); }
    85% { clip: rect(77px, 9999px, 59px, 0); }
    90% { clip: rect(44px, 9999px, 15px, 0); }
    95% { clip: rect(8px, 9999px, 73px, 0); }
    100% { clip: rect(63px, 9999px, 50px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(26px, 9999px, 85px, 0); }
    5% { clip: rect(91px, 9999px, 47px, 0); }
    10% { clip: rect(13px, 9999px, 68px, 0); }
    15% { clip: rect(79px, 9999px, 22px, 0); }
    20% { clip: rect(54px, 9999px, 96px, 0); }
    25% { clip: rect(31px, 9999px, 5px, 0); }
    30% { clip: rect(88px, 9999px, 60px, 0); }
    35% { clip: rect(42px, 9999px, 18px, 0); }
    40% { clip: rect(97px, 9999px, 73px, 0); }
    45% { clip: rect(9px, 9999px, 35px, 0); }
    50% { clip: rect(64px, 9999px, 51px, 0); }
    55% { clip: rect(20px, 9999px, 89px, 0); }
    60% { clip: rect(75px, 9999px, 12px, 0); }
    65% { clip: rect(46px, 9999px, 70px, 0); }
    70% { clip: rect(2px, 9999px, 94px, 0); }
    75% { clip: rect(57px, 9999px, 28px, 0); }
    80% { clip: rect(84px, 9999px, 39px, 0); }
    85% { clip: rect(16px, 9999px, 66px, 0); }
    90% { clip: rect(71px, 9999px, 43px, 0); }
    95% { clip: rect(33px, 9999px, 81px, 0); }
    100% { clip: rect(98px, 9999px, 7px, 0); }
}

@keyframes flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        opacity: 1;
        text-shadow:
            0 0 10px rgba(255, 255, 255, 0.8),
            0 0 20px rgba(255, 255, 255, 0.6),
            0 0 30px rgba(255, 255, 255, 0.4),
            0 0 40px rgba(255, 255, 255, 0.3);
    }
    20%, 24%, 55% {
        opacity: 0.8;
        text-shadow: none;
    }
}

.tagline {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    color: #b8b8b8;
    letter-spacing: 0.3em;
    text-transform: lowercase;
    margin-bottom: 50px;
    opacity: 0.85;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
    animation: fadeIn 2s ease-in;
}

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

.social-icons {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    animation: fadeIn 2s ease-in 0.3s backwards;
}

.social-link {
    color: #fff;
    transition: all 0.3s ease;
    opacity: 0.7;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    opacity: 1;
    transform: translateY(-5px) scale(1.1);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow:
        0 0 20px rgba(255, 255, 255, 0.5),
        0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

/* Music Player */
.music-player {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 20px 35px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: fadeIn 2s ease-in 0.6s backwards;
}

.play-button {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: crosshair;
    transition: all 0.3s ease;
    color: #fff;
}

.play-button:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
}

.play-button:active {
    transform: scale(0.95);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 12px;
}

.volume-control svg {
    color: #fff;
    opacity: 0.8;
}

.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 120px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    outline: none;
    transition: all 0.3s ease;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #fff, #ddd);
    border-radius: 50%;
    cursor: crosshair;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.volume-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #fff, #ddd);
    border-radius: 50%;
    cursor: crosshair;
    border: none;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.volume-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

/* Responsive */
@media (max-width: 768px) {
    .social-icons {
        gap: 20px;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .social-link svg {
        width: 20px;
        height: 20px;
    }

    .music-player {
        padding: 15px 25px;
        gap: 20px;
    }

    .play-button {
        width: 50px;
        height: 50px;
    }

    .volume-slider {
        width: 100px;
    }
}

@media (max-width: 480px) {
    .social-icons {
        gap: 15px;
    }

    .tagline {
        margin-bottom: 35px;
    }

    .music-player {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .volume-slider {
        width: 150px;
    }
}