:root {
    --bg-color: #050505;
    --text-color: white;
    --glass-bg: rgba(255, 255, 255, 0.0);
    --glass-border: rgba(255, 255, 255, 0.5);
    --typing-color: #cccccc;
}

body.light-mode {
    --bg-color: #f0f0f0;
    --text-color: #111111;
    --glass-bg: rgba(0, 0, 0, 0.05);
    --glass-border: rgba(0, 0, 0, 0.1);
    --typing-color: #444444;
}

body, html {
    margin: 0; padding: 0;
    width: 100%; height: 100%;
    background-color: var(--bg-color);
    display: flex; justify-content: center; align-items: center;
    font-family: 'VT323', monospace;
    overflow: hidden;
    cursor: none;
    transition: background-color 0.5s ease;
}

#custom-cursor { will-change: left, top; }
#discord-banner { will-change: transform; }


#custom-cursor {
    width: 14px;
    height: 14px;
    background: var(--text-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10002;
    mix-blend-mode: difference;
    transform: translate3d(-50%, -50%, 0);
}


#enter-screen {
    position: fixed; inset: 0; 
    background: #000;
    display: flex; justify-content: center; align-items: center;
    z-index: 10001;
    color: white; 
    font-size: 2rem;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.fade-out { 
    opacity: 0; 
    visibility: hidden; 
    transition: 0.5s; 
}

.glass-box {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: transform 0.5s ease, background 0.5s;
}

.glass-box:hover {
    transform: scale(1);
    background: var(--glass-border);
}

#theme-icon {
    width: 25px;
    height: 25px;
}

.icon-img, #theme-icon {
    filter: invert(1);
}

body.light-mode .icon-img, 
body.light-mode #theme-icon {
    filter: invert(0);
}

.full-bg-banner {
    position: fixed; top: -5%; left: -5%;
    width: 110%; height: 110%;
    background-size: cover; background-position: center;
    z-index: 1;
}

.full-bg-banner::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.8) 100%);
    transition: background 0.5s;
}

body.light-mode .full-bg-banner::after {
    background: radial-gradient(circle, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.5) 100%);
}

.profile-layout {
    position: relative; z-index: 10; 
    display: flex; gap: 60px;
    align-items: center;
}

.avatar-container {
    display: flex; flex-direction: column; align-items: center;
    flex: 0 0 auto;
}

.avatar-circle {
    width: 250px; height: 250px;
    border-radius: 50%;
    border: 5px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

#discord-tag {
    font-size: 2rem; color: var(--text-color);
    margin: 15px 0 10px 0;
}

.social-icons {
    background: var(--glass-bg); 
    border: 1px solid var(--glass-border); 
    padding: 10px 15px;
    border-radius: 12px;
    display: flex;
    gap: 15px;
    backdrop-filter: blur(5px); 
}

.icon-img {
    width: 25px; height: 25px; opacity: 0.5;
    transition: opacity 0.5s, transform 0.5s;
}

.icon-img:hover { 
    opacity: 1; transform: translateY(-5px); 
}

.text-container {
    width: 450px; 
}

.typing-text {
    font-size: 2rem; color: var(--typing-color);
}

.cursor-blink {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@media (max-width: 850px) {
    .profile-layout { flex-direction: column; text-align: center; }
    .text-container { width: 100%; }
}

@media (max-width: 480px) {
    #enter-screen { font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    #custom-cursor {
        display: none !important;
    }

    .cursor-blink {
        animation: none !important;
    }
}

