body {
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    overflow: hidden;
    font-family: monospace;
    color: white;
    position: relative;
}

.corpse-text {
    color: white;
    font-family: 'Vinque Rg Regular', sans-serif;
    font-size: 10vw;
    font-weight: bold;
    position: relative;
    text-shadow: 0 0 10px white, 0 0 20px rgba(255, 255, 255, 0.5);
    z-index: 2;
    visibility: hidden;
}

.corpse-text::after {
    content: "|";
    animation: blink 0.8s infinite;
    text-shadow: none;
}

.icons-container {
    position: fixed;
    left: 50%;
    bottom: 20%;
    transform: translateX(-50%);
    display: flex;
    gap: 4vw;
    z-index: 10;
    visibility: hidden;
}

.telegram-icon, .discord-icon, .steam-icon {
    pointer-events: none;
    width: 5vw;
    height: 5vw;
    fill: red;
    filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.7)) drop-shadow(0 0 10px rgba(255, 0, 0, 0.4));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.mail-icon {
    pointer-events: none;
    width: 6.5vw;
    height: 6.5vw;
    fill: red;
    filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.7)) drop-shadow(0 0 10px rgba(255, 0, 0, 0.4));
    transition: transform 0.3s ease, filter 0.3s ease;
    }
    
.mail-text {
    position: absolute;
    top: -30px; 
    left: 50%;
    transform: translateX(-50%) translateY(-10px); 
    font-family: 'Vinque Rg Regular', sans-serif;
    font-size: 1.2vw;
    color: white;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
    text-shadow: 0 0 10px white, 0 0 20px rgba(255, 255, 255, 0.5);
}

#tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    font-family: 'Vinque Rg Regular', sans-serif;
    font-size: 1.2vw;
    color: white;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
    text-shadow: 0 0 10px white, 0 0 20px rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

.icon-link:hover #tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.icon-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-link:hover .mail-text {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.icon-link:hover .mail-icon {
    transform: translateY(-5px);
}

.icon-link .mail-text {
    pointer-events: none;
}
    
.icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-link:hover .telegram-icon,
.icon-link:hover .discord-icon,
.icon-link:hover .steam-icon,
.icon-link:hover .mail-icon {
    transform: translateY(-5px);
}

.telegram-icon, .discord-icon, .steam-icon, .mail-icon {
    fill: red;
    filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.7)) drop-shadow(0 0 10px rgba(255, 0, 0, 0.4));
}

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

#matrixCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.glass-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 1);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

@font-face {
    font-family: 'Vinque Rg Regular';
    src: url('../resources/Vinque_Rg.ttf') format('truetype');
}

.continue-text {
    font-family: 'Vinque Rg Regular', sans-serif;
    font-size: 4vw;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: opacity 0.3s, text-shadow 0.5s ease-in-out;
    text-shadow: 0 0 10px white, 0 0 20px rgba(255, 255, 255, 0.5);
}

.continue-text:hover {
    text-shadow: 0 0 20px white, 0 0 40px rgba(255, 255, 255, 0.7);
}

.music-toggle {
    position: fixed;
    top: 1.5vw;
    right: 1vw;
    z-index: 20;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8vw;
    font-family: 'Vinque Rg Regular', sans-serif;
    font-size: 1.4vw;
    color: white;
    text-shadow: 0 0 0.6vw white, 0 0 1vw rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    padding: 0.8vw;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 1.8vw;
    visibility: hidden;
}

.music-toggle:hover {
    text-shadow: 0 0 1.2vw white, 0 0 2vw rgba(255, 255, 255, 0.7);
    background-color: rgba(0, 0, 0, 0.7);
}

.sound-icon {
    width: 2.5vw;
    height: 2.5vw;
    fill: white;
    filter: drop-shadow(0 0 0.4vw rgba(255, 255, 255, 0.7)) drop-shadow(0 0 0.8vw rgba(255, 255, 255, 0.4));
}

.volume-container {
    width: 6vw;
    height: 0;
    overflow: visible;
    transition: height 0.3s ease;
    position: relative;
}

.music-toggle:hover .volume-container {
    height: 1.8vw;
}

.volume-slider {
    width: 100%;
    opacity: 0;
    transform: translateY(-0.6vw);
    transition: all 0.3s ease 0.1s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 0.3vw;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 0.2vw;
    outline: none;
    position: absolute;
    bottom: 0;
}

.music-toggle:hover .volume-slider {
    opacity: 1;
    transform: translateY(0);
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1.1vw;
    height: 1.1vw;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    box-shadow: 0 0 0.4vw white, 0 0 0.8vw rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 2;
}

.volume-slider::-moz-range-thumb {
    width: 1.1vw;
    height: 1.1vw;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    box-shadow: 0 0 0.4vw white, 0 0 0.8vw rgba(255, 255, 255, 0.5);
}

.wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    filter: blur(100px);
}

.gradient {
    position: absolute;
    border-radius: 100%;
    opacity: 0.55;
    mix-blend-mode: screen;
    animation-iteration-count: infinite;
    animation-timing-function: cubic-bezier(0.1, 0, 0.9, 1);
}

.gradient-1 {
    background: rgb(150, 0, 0);
    width: 40vw;
    height: 40vw;
    animation-duration: 10s;
    opacity: 0.55;
    left: 60%;
    top: 40%;
    z-index: -2;
    animation-name: animation-gradient-1;
}

.gradient-2 {
    background: rgb(150, 0, 0);
    width: 30vw;
    height: 30vw;
    animation-duration: 8s;
    opacity: 0.55;
    left: 40%;
    top: 60%;
    z-index: -1;
    animation-name: animation-gradient-2;
}

.gradient-3 {
    background: rgb(150, 0, 0);
    width: 20vw;
    height: 20vw;
    animation-duration: 9s;
    opacity: 0.55;
    left: 50%;
    top: 50%;
    z-index: -3;
    animation-name: animation-gradient-3;
}

@keyframes animation-gradient-1 {
    0% {
        transform: translateY(-50%) translateX(-50%) rotate(-20deg) translateX(20%);
    }

    25% {
        transform: translateY(-50%) translateX(-50%) skew(-15deg, -15deg) rotate(80deg) translateX(30%);
    }

    50% {
        transform: translateY(-50%) translateX(-50%) rotate(180deg) translateX(25%);
    }

    75% {
        transform: translateY(-50%) translateX(-50%) skew(15deg, 15deg) rotate(240deg) translateX(15%);
    }

    100% {
        transform: translateY(-50%) translateX(-50%) rotate(340deg) translateX(20%);
    }
}

@keyframes animation-gradient-2 {
    0% {
        transform: translateY(-50%) translateX(-50%) rotate(40deg) translateX(-20%);
    }

    25% {
        transform: translateY(-50%) translateX(-50%) skew(15deg, 15deg) rotate(110deg) translateX(-5%);
    }

    50% {
        transform: translateY(-50%) translateX(-50%) rotate(210deg) translateX(-35%);
    }

    75% {
        transform: translateY(-50%) translateX(-50%) skew(-15deg, -15deg) rotate(300deg) translateX(-10%);
    }

    100% {
        transform: translateY(-50%) translateX(-50%) rotate(400deg) translateX(-20%);
    }
}

@keyframes animation-gradient-3 {
    0% {
        transform: translateY(-50%) translateX(-50%) translateX(-15%) translateY(10%);
    }

    20% {
        transform: translateY(-50%) translateX(-50%) translateX(20%) translateY(-30%);
    }

    40% {
        transform: translateY(-50%) translateX(-50%) translateX(-25%) translateY(-15%);
    }

    60% {
        transform: translateY(-50%) translateX(-50%) translateX(30%) translateY(20%);
    }

    80% {
        transform: translateY(-50%) translateX(-50%) translateX(5%) translateY(35%);
    }

    100% {
        transform: translateY(-50%) translateX(-50%) translateX(-15%) translateY(10%);
    }
}

@media (max-width: 768px) {
    .corpse-text {
        font-size: 16vw;
    }

    .continue-text {
        font-size: 6vw;
        padding: 5vw 7vw;
    }

    .telegram-icon,
    .discord-icon,
    .steam-icon {
        width: 10vw;
        height: 10vw;
    }

    .mail-icon {
        width: 13vw;
        height: 13vw;
    }

    .mail-text,
    #tooltip {
        font-size: 3.5vw;
    }

    .music-toggle {
        display: none !important;
    }

    .sound-icon {
        display: none !important;
    }

    .volume-container {
        display: none !important;
    }

    .volume-slider {
        display: none !important;
    }

    .volume-slider::-webkit-slider-thumb,
    .volume-slider::-moz-range-thumb {
        display: none !important;
    }

    .gradient-1 {
        width: 70vw;
        height: 70vw;
        opacity: 0.8;
    }

    .gradient-2 {
        width: 50vw;
        height: 50vw;
        opacity: 0.8;
    }

    .gradient-3 {
        width: 40vw;
        height: 40vw;
        opacity: 0.8;
    }
}