body {
    margin: 0;
    padding: 0;
    background-color: #1c0b2b;
    font-family: 'Arial', sans-serif;
    color: #fff;
    overflow: hidden;
    height: 100vh;
    position: relative;
    cursor: url('https://r2.guns.lol/83911baf-6666-4250-8aac-5019c39877d8.png'), auto;
}

video.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    gap: 20px;
    position: relative;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.5s;
    text-align: left;
    perspective: 1000px;
    transform-style: preserve-3d;
    width: 100%;
    max-width: 400px;
}

.header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    width: 100%;
}

.name-caption {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.name-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-container {
    position: relative;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-image: url('pfp.gif');
    background-size: cover;
    border: 2px solid #1c0b2b;
    position: relative;
    z-index: 1;
}

.avatar-frame {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 92px;
    height: 92px;
    background-image: url('khungs.gif');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
}

h1 {
    font-size: 2em;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7), 0 0 20px rgba(255, 255, 255, 0.5);
    display: inline-block;
}

.name-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3), 0 0 20px rgba(255, 255, 255, 0.2);
    animation: holoGlow 2s infinite alternate;
}

.name-icons i {
    font-size: 1.1em;
    color: #ccc;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7), 0 0 20px rgba(255, 255, 255, 0.5);
}

@keyframes holoGlow {
    0% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.3),
                   0 0 20px rgba(255, 255, 255, 0.2);
    }
    100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.7),
                   0 0 40px rgba(255, 255, 255, 0.5);
    }
}

.caption {
    font-size: 1em;
    margin: 0;
    color: #ddd;
    white-space: nowrap;
    border-right: 2px solid #fff;
    animation: blinkBorder 0.5s step-end infinite;
}

@keyframes blinkBorder {
    50% { border-color: transparent; }
}

.crypto-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.crypto-icons i {
    font-size: 2em;
    color: #ccc;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7), 0 0 20px rgba(255, 255, 255, 0.5);
}

.social-buttons {
    margin-top: 15px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.social-buttons a {
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.9em;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: perspective(500px) rotateX(0deg) rotateY(0deg);
}

.social-buttons a:hover {
    transform: scale(1.1) perspective(500px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.social-buttons a.facebook {
    background: linear-gradient(45deg, #666, #999);
    border: 1px solid #666;
}

.social-buttons a.facebook:hover {
    box-shadow: 0 0 20px rgba(102, 102, 102, 0.8);
}

.social-buttons a.instagram {
    background: linear-gradient(45deg, #666, #999);
    border: 1px solid #666;
}

.social-buttons a.instagram:hover {
    box-shadow: 0 0 20px rgba(102, 102, 102, 0.8);
}

.social-buttons a.tiktok {
    background: linear-gradient(45deg, #666, #999);
    border: 1px solid #666;
}

.social-buttons a.tiktok:hover {
    box-shadow: 0 0 20px rgba(102, 102, 102, 0.8);
}

.social-buttons i {
    font-size: 1.1em;
    color: #ccc;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    transition: opacity 0.5s;
}

.overlay-text {
    font-family: 'Press Start 2P', cursive;
    font-size: 2em;
    color: #fff;
    text-shadow: 2px 2px 4px #000;
    animation: blinkOpacity 1s step-end infinite;
}

@keyframes blinkOpacity {
    50% { opacity: 0; }
}

.music-player {
    background: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 250px;
    margin-top: 20px;
    position: relative;
}

.music-icon {
    width: 30px;
    height: 25px;
    background-image: url('ms2.gif');
    background-size: cover;
    background-repeat: no-repeat;
}

.music-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.music-title {
    font-size: 0.9em;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
    color: #fff;
}

.music-progress {
    display: flex;
    align-items: center;
    gap: 5px;
}

.music-time {
    font-size: 0.7em;
    color: #bbb;
    min-width: 30px;
    text-align: center;
}

.progress-bar {
    flex: 1;
    height: 3px;
    background: #555;
    border-radius: 2px;
    position: relative;
}

.progress {
    width: 0%;
    height: 100%;
    background: #999;
    border-radius: 2px;
    position: absolute;
}

.music-controls {
    display: flex;
    align-items: center;
    gap: 5px;
}

.play-pause-btn, .prev-btn, .next-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1em;
    cursor: pointer;
    padding: 0 5px;
}

.volume-container {
    position: fixed;
    top: 10px;
    left: 10px;
    background: rgba(160, 158, 158, 0.3);
    border: 1px solid #999;
    border-radius: 10px;
    padding: 5px;
    display: flex;
    align-items: center;
    box-shadow: 
        0 0 15px rgba(153, 153, 153, 0.7),
        0 0 30px rgba(153, 153, 153, 0.3),
        inset 0 2px 5px rgba(255, 255, 255, 0.3),
        inset 0 -2px 5px rgba(0, 0, 0, 0.5);
    transition: width 0.3s ease, transform 0.3s ease, box-shadow 0.5s ease;
    overflow: hidden;
    width: 40px;
    animation: glow 2s infinite alternate;
    transform: perspective(500px) rotateX(0deg) rotateY(0deg);
}

.volume-container:hover {
    width: 120px;
    transform: perspective(500px) rotateX(5deg) rotateY(5deg);
    box-shadow: 
        0 0 20px rgba(153, 153, 153, 1),
        0 0 40px rgba(153, 153, 153, 0.5),
        inset 0 2px 5px rgba(255, 255, 255, 0.4),
        inset 0 -2px 5px rgba(0, 0, 0, 0.6);
}

@keyframes glow {
    0% {
        box-shadow: 
            0 0 15px rgba(153, 153, 153, 0.7),
            0 0 30px rgba(153, 153, 153, 0.3),
            inset 0 2px 5px rgba(255, 255, 255, 0.3),
            inset 0 -2px 5px rgba(0, 0, 0, 0.5);
    }
    100% {
        box-shadow: 
            0 0 25px rgba(153, 153, 153, 1),
            0 0 50px rgba(153, 153, 153, 0.5),
            inset 0 2px 5px rgba(255, 255, 255, 0.4),
            inset 0 -2px 5px rgba(0, 0, 0, 0.6);
    }
}

.volume-icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
    padding: 0 5px;
}

.volume-slider {
    width: 80px;
    height: 5px;
    background: #555;
    border-radius: 2px;
    margin-left: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
    visibility: hidden;
}

.volume-container:hover .volume-slider {
    opacity: 1;
    visibility: visible;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
}

.qr-container {
    position: fixed;
    top: 60px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid #999;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 
        0 0 15px rgba(153, 153, 153, 0.7),
        0 0 30px rgba(153, 153, 153, 0.3),
        inset 0 2px 5px rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.5s ease;
}

.qr-container:hover {
    transform: scale(1.2) perspective(500px) rotateX(5deg) rotateY(5deg);
    box-shadow: 
        0 0 20px rgba(153, 153, 153, 1),
        0 0 40px rgba(153, 153, 153, 0.5);
}

.qr-container i {
    font-size: 1.5em;
    color: #ccc;
}

.qr-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.qr-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(153, 153, 153, 0.5);
    box-shadow: 0 0 20px rgba(153, 153, 153, 0.3);
    animation: popIn 0.5s ease;
}

.qr-image {
    width: 200px;
    height: 200px;
    margin-bottom: 10px;
}

.qr-text {
    color: #fff;
    font-size: 1.2em;
    margin: 0;
    text-shadow: 0 0 10px rgba(153, 153, 153, 0.7);
}

.close-btn {
    background: #999;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    color: #1c0b2b;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s ease;
}

.close-btn:hover {
    background: #777;
}

@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 768px) {
    .glass-panel {
        padding: 10px 15px;
        max-width: 90%;
    }

    .header {
        gap: 10px;
        margin-bottom: 10px;
    }

    .name-caption {
        gap: 3px;
    }

    .avatar {
        width: 80px;
        height: 80px;
    }

    .avatar-frame {
        width: 80px;
        height: 80px;
        top: -6px;
        left: -6px;
    }

    h1 {
        font-size: 1.2em;
        letter-spacing: 1px;
    }

    .name-icons {
        padding: 6px 10px;
        gap: 6px;
    }

    .name-icons i {
        font-size: 1.2em;
    }

    .caption {
        font-size: 0.8em;
    }

    .crypto-icons {
        gap: 12px;
    }

    .crypto-icons i {
        font-size: 1.5em;
    }

    .social-buttons {
        gap: 10px;
        margin-top: 10px;
    }

    .social-buttons a {
        padding: 6px 12px;
        font-size: 0.8em;
    }

    .social-buttons i {
        font-size: 1em;
    }

    .music-player {
        width: 200px;
        padding: 5px 8px;
    }

    .music-icon {
        width: 16px;
        height: 16px;
    }

    .music-title {
        font-size: 0.8em;
        max-width: 120px;
    }

    .music-time {
        font-size: 0.6em;
    }

    .play-pause-btn, .prev-btn, .next-btn {
        font-size: 0.9em;
    }

    .volume-container {
        top: 5px;
        left: 5px;
        width: 35px;
    }

    .volume-container:hover {
        width: 100px;
    }

    .volume-slider {
        width: 60px;
    }

    .volume-icon {
        width: 20px;
        height: 20px;
    }

    .qr-container {
        top: 50px;
        left: 5px;
        width: 35px;
        height: 35px;
    }

    .qr-image {
        width: 150px;
        height: 150px;
    }

    .qr-text {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.7em;
    }

    .name-icons {
        padding: 5px 8px;
        gap: 4px;
    }

    .name-icons i {
        font-size: 1em;
    }

    .caption {
        font-size: 1.1em;
    }

    .avatar {
        width: 50px;
        height: 50px;
    }

    .avatar-frame {
        width: 62px;
        height: 62px;
        top: -6px;
        left: -6px;
    }

    .crypto-icons {
        gap: 10px;
    }

    .crypto-icons i {
        font-size: 1.2em;
    }

    .social-buttons a {
        padding: 5px 10px;
        font-size: 0.7em;
    }

    .social-buttons i {
        font-size: 0.9em;
    }

    .music-player {
        width: 220px;
        padding: 4px 6px;
    }

    .music-icon {
        width: 18px;
        height: 18px;
    }

    .music-title {
        font-size: 0.7em;
        max-width: 100px;
    }

    .music-time {
        font-size: 0.5em;
    }

    .play-pause-btn, .prev-btn, .next-btn {
        font-size: 0.8em;
    }

    .volume-container {
        top: 5px;
        left: 5px;
        width: 30px;
    }

    .volume-container:hover {
        width: 90px;
    }

    .volume-slider {
        width: 50px;
    }

    .volume-icon {
        width: 18px;
        height: 18px;
    }

    .qr-container {
        top: 45px;
        left: 5px;
        width: 30px;
        height: 30px;
    }

    .qr-image {
        width: 120px;
        height: 120px;
    }

    .qr-text {
        font-size: 0.9em;
    }
}
