* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: none;
}
body {
    font-family: 'UnifrakturCook', cursive;
    color: white;
    background-color: #000;
}
#background-gif {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: -2;
    transition: background-image 1s ease-in-out;
}
#static-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39sbGxvb29oCHANU5SURBVDjLlJjJEQAwCIP+/v92O1q4b5KeEG5u1FD2G44h8w1B8w9w4P0M1D5jp7wxp1S5roTPL8+4Osa/gA59/QCaAnA+bIAYwAMN1dAAgJMMgYBoEMaxMMD/mM8AQIHGGAIBwzcY+DxAGi8fAAAAAElFTkSuQmCC);
    animation: static-move 0.1s steps(2) infinite;
    z-index: -1;
    opacity: 0.07;
    pointer-events: none;
}
@keyframes static-move {
    0% { background-position: 0 0; }
    100% { background-position: 100px 50px; }
}
#cursor-dot, #cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}
#cursor-dot {
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
}
#cursor-ring {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: transform 0.2s ease-out, width 0.3s, height 0.3s, border-color 0.3s, opacity 0.3s ease;
}
#cursor-ring.hover {
    width: 60px;
    height: 60px;
    border-color: rgba(255, 255, 255, 1);
}
#cursor-dot.hidden, #cursor-ring.hidden {
    opacity: 0;
}
input, textarea {
    user-select: auto;
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
}
#enter-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1.5s ease-in-out;
    padding: 0 20px;
    text-align: center;
}
.enter-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: white;
    text-shadow: 0 0 15px rgba(255,255,255,0.2);
    animation: pulse 3s infinite ease-in-out;
}
#enter-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}
@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}
main {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 5;
}
.container, .music-player, footer, .socials-bar {
    opacity: 0;
    transition: opacity 1.5s 0.5s ease-out;
}
body.loaded .container, body.loaded .music-player, body.loaded footer, body.loaded .socials-bar {
    opacity: 1;
}
.container {
    position: relative;
    text-align: center;
}
footer {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    padding: 0 20px;
    text-align: center;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    z-index: 10;
    will-change: transform;
}
.creator-credit {
    font-size: 13px;
    opacity: 0.5;
    margin-top: 4px;
}
.voidlax-link {
    color: #fff;
    text-decoration: none;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
    transition: text-shadow 0.3s ease;
}
.voidlax-link:hover {
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}
.sparkle-name {
    position: relative;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5), 0 0 10px rgba(255, 255, 255, 0.5);
}
.sparkle-name::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: url('https://assets.guns.lol/sparkle_white.gif');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    mix-blend-mode: color-dodge;
    opacity: 0.8;
    pointer-events: none;
}
.blur-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    z-index: -1;
}
.main-text {
    font-weight: 700;
    font-size: clamp(4rem, 15vw, 14rem);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow:
        0 1px 0 #ccc, 0 2px 0 #c9c9c9,
        0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa,
        0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1),
        0 1px 3px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,.2),
        0 5px 10px rgba(0,0,0,.25), 0 10px 10px rgba(0,0,0,.2),
        0 20px 20px rgba(0,0,0,.15);
}
.socials-bar {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    z-index: 10;
    max-width: 90%;
    padding: 0 10px;
}
.socials-bar a {
    position: relative;
    display: inline-block;
    transition: all 0.3s ease-in-out;
    opacity: 0.7;
}
.socials-bar a:hover {
    opacity: 1;
    transform: translateY(-5px) scale(1.1);
}
.socials-bar .social-icon {
    width: 26px;
    height: 26px;
    filter: invert(1) brightness(1);
    transition: filter 0.3s ease-in-out;
}
.socials-bar a:hover .social-icon {
    filter: invert(1) brightness(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
}
.socials-bar a::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background-color: #18181b;
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    margin-bottom: 10px;
}
.socials-bar a:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.music-player {
    --player-bg: rgba(20, 20, 20, 0.7);
    --player-border: rgba(255, 255, 255, 0.1);
    --thumb-bg: white;
    --progress-bg: rgba(255, 255, 255, 0.7);

    position: fixed;
    bottom: 25px;
    left: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 20;
    background-color: var(--player-bg);
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 0);
    background-size: 4px 4px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--player-border);
    width: auto;
    max-width: 90%;
    transition: background-color 1s ease, border-color 1s ease;
}
.music-player .song-cover,
.music-player .song-details,
.music-player .player-controls,
.music-player .volume-section {
    transition: opacity 0.2s ease-in-out;
}
.music-player.loading .song-cover,
.music-player.loading .song-details,
.music-player.loading .player-controls,
.music-player.loading .volume-section {
    opacity: 0;
}
.song-cover {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}
.song-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    flex-grow: 1;
    min-width: 0;
}
#song-title {
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}
.progress-container {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}
.progress-container span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    min-width: 35px;
    text-align: center;
}
#seek-bar, #volume-slider {
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 2px;
    outline: none;
    cursor: none;
    padding: 0;
    background-image: linear-gradient(var(--progress-bg), var(--progress-bg));
    background-repeat: no-repeat;
    background-size: 0% 100%;
    transition: background 1s ease;
}
#seek-bar { flex-grow: 1; }
#volume-slider { width: 80px; }
#seek-bar::-webkit-slider-thumb, #volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: var(--thumb-bg);
    border-radius: 50%;
    margin-top: -5px;
    transition: background 1s ease;
}
.player-controls, .volume-section {
    display: flex;
    align-items: center;
    gap: 10px;
}
.player-controls button, .volume-section button {
    background: none;
    border: none;
    cursor: none;
    padding: 0;
    opacity: 0.8;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.player-controls button:hover, .volume-section button:hover {
    opacity: 1;
}
.player-controls svg, .volume-section svg {
    fill: white;
    width: 22px;
    height: 22px;
}
@media (max-width: 768px) {
    .container {
        width: 90vw;
    }
    .main-text {
        font-size: clamp(5rem, 22vw, 10rem);
        letter-spacing: 3px;
    }
    .socials-bar {
        bottom: 155px;
        gap: 12px;
    }
    .socials-bar .social-icon {
        width: 24px;
        height: 24px;
    }
    footer {
        font-size: 14px;
        bottom: 20px;
    }
    .music-player {
        left: 50%;
        transform: translateX(-50%);
        bottom: 80px;
        width: 90%;
    }
}
@media (max-width: 480px) {
    .music-player {
        padding: 8px;
        gap: 8px;
    }
    .song-cover {
        width: 40px;
        height: 40px;
    }
    .volume-section { display: none; }
    .player-controls { gap: 5px; }
    .socials-bar {
        gap: 10px;
    }
}