:root {
    --bg-color: #000;
    --text-color: #fff;
    --accent-color: #fff;
    --glass-bg: transparent;
    --glass-border: transparent;
    --font-main: 'Satoshi', 'Onest', sans-serif;
    --glow-shadow: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* cursor: default; Will add custom cursor later */
}

body {
    background: #000;
    color: #fff;
    font-family: var(--font-main);
    overflow: hidden;
    cursor: url('r2.guns.lol/ff58f237-5012-4996-b371-bfcc346d578f.png'), auto;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Background Video */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.8) contrast(1.1);
}

.vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
}

.viewport-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 100px rgba(255, 255, 255, 0.05);
    pointer-events: none;
    z-index: 100;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.avatar-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: none;
    transition: transform 0.3s ease;
}

#profile-card {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 30px;
    width: 100%;
    max-width: 450px;
    z-index: 10;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Avatar Decoration (Local ONLY — no pseudo-elements) */
.avatar-decoration {
    position: absolute;
    top: -12%;
    left: -12%;
    width: 124%;
    height: 124%;
    pointer-events: none;
    z-index: 2;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.username {
    font-family: 'Onest', sans-serif;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
    display: inline-block;
    position: relative;
    padding: 10px 20px;
    background: url('assets.guns.lol/sparkle_white.gif') center center;
    background-size: contain;
    background-repeat: no-repeat;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.5);
}

.bio {
    font-size: 19px;
    font-weight: 400;
    opacity: 0.8;
}

.location {
    margin-top: 15px;
    font-size: 25px;
    opacity: 0.9;
    font-weight: 500;
}

/* Layout Centering */
.main-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px 20px 120px 20px;
}



/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: transparent;
    border: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    text-decoration: none;
    transition: 0.3s;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.4));
}

.social-icon img {
    width: 25px;
    height: 25px;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

/* Music Player */
#music-player {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    padding: 0 20px;
}

.player-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.track-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.track-art {
    width: 40px;
    height: 40px;
    border-radius: 5px;
}

.track-name {
    font-size: 14px;
    font-weight: 500;
}

.player-controls {
    flex-grow: 1;
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.time {
    font-size: 12px;
    opacity: 0.7;
}

.progress-bar {
    position: relative;
    flex-grow: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.progress-fill {
    height: 100%;
    background: #fff;
    border-radius: 2px;
}

.progress-handle {
    position: absolute;
    top: 50%;
    left: 2%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 16px;
    pointer-events: none;
}

.control-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 5px;
    font-size: 16px;
    opacity: 0.7;
}

.control-buttons i:hover {
    opacity: 1;
    cursor: pointer;
}

/* Entry Screen */
#entry-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: url('r2.guns.lol/ff58f237-5012-4996-b371-bfcc346d578f.png'), pointer;
    transition: opacity 1s ease, visibility 1s;
}

#entry-text {
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    animation: pulseEntry 2s infinite alternate;
}

@keyframes pulseEntry {
    from {
        opacity: 0.5;
        transform: scale(0.98);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Volume Control */
.top-controls {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0;
}

.control-btn {
    background: transparent;
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: url('r2.guns.lol/ff58f237-5012-4996-b371-bfcc346d578f.png'), pointer;
    transition: background 0.25s ease, transform 0.2s ease;
    font-size: 15px;
    flex-shrink: 0;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.08);
}

#mute-toggle i {
    transition: opacity 0.2s ease, filter 0.2s ease;
    filter: drop-shadow(0 0 4px rgba(255,255,255,0.3));
}

#mute-toggle i.fa-volume-mute {
    opacity: 0.45;
    filter: none;
}

/* Volume Slider Reveal */
.volume-slider-wrapper {
    width: 0;
    overflow: hidden;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.2s ease;
    opacity: 0;
    display: flex;
    align-items: center;
    padding-left: 0;
}

.top-controls:hover .volume-slider-wrapper {
    width: 110px;
    opacity: 1;
    padding-left: 4px;
}

/* Custom Volume Slider */
.volume-slider {
    position: relative;
    width: 100px;
    height: 32px;
    display: flex;
    align-items: center;
    cursor: url('r2.guns.lol/ff58f237-5012-4996-b371-bfcc346d578f.png'), pointer;
    user-select: none;
    -webkit-user-select: none;
}

.volume-track {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    overflow: hidden;
    transition: height 0.15s ease;
}

.top-controls:hover .volume-track {
    height: 4px;
}

.volume-fill {
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 3px;
    transition: background 0.2s ease;
}

.volume-thumb {
    position: absolute;
    left: 100%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    transform: translateX(-50%);
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
    opacity: 0;
    transition: opacity 0.15s ease,
                transform 0.15s ease,
                box-shadow 0.15s ease;
}

.top-controls:hover .volume-thumb {
    opacity: 1;
}

.volume-thumb:hover,
.volume-slider.dragging .volume-thumb {
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

/* Tooltip Styles */
.social-item {
    position: relative;
    cursor: url('r2.guns.lol/ff58f237-5012-4996-b371-bfcc346d578f.png'), pointer;
    font-size: 24px;
    transition: transform 0.3s ease;
}

.social-item:hover {
    transform: scale(1.1);
}

.tooltip {
    visibility: hidden;
    background-color: rgba(0, 0, 0, 0.85);
    color: #fff;
    text-align: center;
    padding: 5px 10px;
    border-radius: 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 14px;
    white-space: nowrap;
    border: none;
}

.social-item:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

/* Discord / Spotify Card */
#discord-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 10px 0;
    margin: 10px auto;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.activity-status {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 12px;
    display: inline-block;
    min-width: 250px;
    text-align: left;
    margin-top: 10px;
    backdrop-filter: blur(10px);
}

.activity-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.5;
    margin-bottom: 10px;
}

.activity-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.activity-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.activity-img-placeholder {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0.8;
}

.activity-name {
    font-weight: 600;
    font-size: 15px;
    color: #fff;
    margin-bottom: 2px;
}

.activity-details, .activity-state {
    font-size: 13px;
    opacity: 0.7;
    margin: 0;
}


.discord-avatar-wrapper {
    position: relative;
    width: 38px;
    height: 38px;
}

.discord-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid;
}

.discord-decoration {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    pointer-events: none;
}

.status-dot {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 3px solid #000;
}

.discord-badges {
    display: flex;
    gap: 4px;
    margin-left: auto;
}

.discord-badge {
    width: 18px;
    height: 18px;
}

/* View Counter */
.view-counter {
    position: fixed;
    bottom: 20px;
    left: 20px;
    font-size: 14px;
    opacity: 0.7;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
    z-index: 10001;
}