@font-face {
    font-family: 'Minecraft';
    src: url('https://files.catbox.moe/sd80fu.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

body {
    background: #000;
    background-image: radial-gradient(ellipse 45% 70% at 50% 20%, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.08) 50%, transparent 80%);
    color: #fff;
    font-family: 'Minecraft', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    user-select: none;
    isolation: isolate;
}

/* ===== CUSTOM CURSOR (dot only) ===== */
.cursor-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
}

/* ===== SNOW (persistent above main content) ===== */
#snowCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 500;
    pointer-events: none;
    will-change: contents;
}

/* ===== SPLASH SCREEN ===== */
.splash {
    position: fixed;
    inset: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

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

.splash-text {
    position: relative;
    z-index: 1001;
    font-family: 'Minecraft', monospace;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 4px;
    text-transform: uppercase;
    animation: fadeInPulse 3s ease-in-out infinite;
}

@keyframes fadeInPulse {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.5; }
}

/* ===== MAIN PAGE ===== */
.main {
    position: fixed;
    inset: 0;
    background: transparent !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease 0.3s, visibility 1s ease 0.3s;
    padding: 30px;
    z-index: 1;
}

.main.visible {
    opacity: 1;
    visibility: visible;
}

/* ===== RING LIGHTS (clean modern dots + wire) ===== */
.ring-lights {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.ring-lights svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.ring-light {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    z-index: 1;
    will-change: opacity, box-shadow;
    animation: ringGlow 4s ease-in-out infinite;
}

.ring-light.pink {
    background: #ff69b4;
}

.ring-light.white {
    background: #fff;
}

@keyframes ringGlow {
    0%, 100% {
        opacity: 0.4;
        box-shadow: 0 0 4px currentColor;
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 8px currentColor, 0 0 20px currentColor, 0 0 40px currentColor;
    }
}

/* ===== PROFILE SECTION ===== */
.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.pfp-container {
    position: relative;
    width: 110px;
    height: 110px;
}

.pfp-container::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: transparent;
    box-shadow: 0 0 15px rgba(255, 182, 212, 0.4), 0 0 40px rgba(255, 182, 212, 0.15);
    z-index: -1;
}

.pfp {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    filter: grayscale(30%);
}

/* ===== USERNAME + GLITCH + VERIFIED ===== */
.username-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.username {
    font-family: 'Minecraft', monospace;
    font-size: 32px;
    color: #fff;
    text-shadow:
        0 0 8px rgba(255, 255, 255, 0.6),
        0 0 20px rgba(255, 255, 255, 0.3),
        0 0 40px rgba(255, 255, 255, 0.15),
        0 0 80px rgba(255, 255, 255, 0.08);
    letter-spacing: 3px;
}

#glitchText {
    display: inline-block;
}

#glitchText.glitching {
    animation: glitchShake 0.08s steps(2) infinite;
}

@keyframes glitchShake {
    0% { transform: translate(1px, 0); }
    25% { transform: translate(-1px, 1px); }
    50% { transform: translate(1px, -1px); }
    75% { transform: translate(-1px, 0); }
    100% { transform: translate(0, 1px); }
}

.verified {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: #ff69b4;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(255, 105, 180, 0.6), 0 0 16px rgba(255, 105, 180, 0.3);
}

.verified svg {
    width: 16px;
    height: 16px;
    fill: #fff;
}

.bio {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    max-width: 320px;
    text-align: center;
    line-height: 1.6;
}

/* ===== ROLE BADGES (no circles) ===== */
.roles {
    display: flex;
    gap: 16px;
    margin-top: 4px;
}

.role-badge {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.45);
    transition: all 0.3s ease;
}

.role-badge svg {
    width: 16px;
    height: 16px;
}

.role-badge.red {
    color: #ff69b4;
}

.role-badge:hover {
    transform: translateY(-2px);
}

.role-badge:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Minecraft', monospace;
    font-size: 8px;
    padding: 3px 7px;
    border-radius: 3px;
    white-space: nowrap;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 100;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.role-badge.red:hover::after {
    color: #ff69b4;
}

/* ===== UID ===== */
.uid {
    font-family: 'Minecraft', monospace;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.28);
    letter-spacing: 2px;
    margin-top: 2px;
}

/* ===== SOCIAL ICONS (no circles) ===== */
.socials {
    display: flex;
    gap: 18px;
    margin-top: 10px;
}

.social-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    color: #fff;
    transform: translateY(-3px);
    filter: drop-shadow(0 4px 12px rgba(255, 105, 180, 0.2));
}

.social-btn svg {
    width: 22px;
    height: 22px;
}

/* ===== VIEW COUNT ===== */
.view-count {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: 'Minecraft', monospace;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.28);
    margin-top: 4px;
}

.eye-icon {
    opacity: 0.45;
}

#viewCount {
    min-width: 36px;
    font-variant-numeric: tabular-nums;
}

/* ===== WATERMARK ===== */
.watermark {
    position: fixed;
    bottom: 30px;
    right: 30px;
    font-family: 'Minecraft', monospace;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.28);
    letter-spacing: 1px;
    z-index: 2;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .username {
        font-size: 22px;
    }

    .pfp {
        width: 90px;
        height: 90px;
    }

    .pfp-container {
        width: 90px;
        height: 90px;
    }

    .social-btn {
        width: 36px;
        height: 36px;
    }

    .splash-text {
        font-size: 10px;
    }
}
