
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Enhanced Dark Theme - Better Contrast */
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #1a1a1a;
    --bg-card: rgba(10, 10, 10, 0.95);
    --bg-overlay: rgba(0, 0, 0, 0.9);
    
    /* Improved Text Colors - Better Readability */
    --text-primary: rgba(240, 240, 240, 0.95);
    --text-secondary: rgba(200, 200, 200, 0.8);
    --text-muted: rgba(160, 160, 160, 0.6);
    --text-accent: rgba(220, 220, 220, 0.9);
    --text-glow: rgba(255, 255, 255, 0.4);
    --text-glitch-red: rgba(255, 50, 50, 0.8);
    --text-glitch-cyan: rgba(50, 255, 255, 0.8);
    
    /* Enhanced CRT Colors */
    --crt-green: rgba(0, 255, 0, 0.9);
    --crt-amber: rgba(255, 191, 0, 0.9);
    --crt-white: rgba(255, 255, 240, 0.95);
    --crt-cyan: rgba(0, 255, 255, 0.8);
    
    /* Accent Colors - More Visible */
    --accent-red: rgba(255, 100, 100, 0.8);
    --accent-blue: rgba(100, 150, 255, 0.8);
    --accent-green: rgba(100, 255, 100, 0.8);
    --accent-purple: rgba(200, 100, 255, 0.8);
    
    /* Status Colors - Better Visibility */
    --status-online: rgba(0, 255, 0, 0.8);
    --status-idle: rgba(255, 191, 0, 0.8);
    --status-dnd: rgba(255, 100, 100, 0.8);
    --status-offline: rgba(100, 100, 100, 0.6);
    
    /* Enhanced Effects */
    --glow-soft: rgba(255, 255, 255, 0.05);
    --glow-medium: rgba(255, 255, 255, 0.1);
    --glow-strong: rgba(255, 255, 255, 0.15);
    --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.8);
    --shadow-medium: 0 16px 40px rgba(0, 0, 0, 0.9);
    --shadow-strong: 0 24px 60px rgba(0, 0, 0, 0.95);
    --shadow-glow: 0 0 30px rgba(0, 255, 255, 0.3);
    
    /* Borders - More Visible */
    --border-subtle: rgba(255, 255, 255, 0.1);
    --border-medium: rgba(255, 255, 255, 0.2);
    --border-strong: rgba(255, 255, 255, 0.3);
    --border-flicker: rgba(100, 150, 255, 0.8);
    
    /* Typography - Keep Original but Improve */
    --font-primary: 'Orbitron', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-xxl: 48px;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 50%;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Base Styles - Optimized */
body {
    font-family: var(--font-primary);
    background: 
        linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    overflow: hidden;
    cursor: none;
    position: relative;
    /* Added subtle breathing animation */
    animation: bodyBreathing 30s ease-in-out infinite;
}

/* Remove scrollbars */
body::-webkit-scrollbar,
html::-webkit-scrollbar {
    display: none;
}

body,
html {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Optimized CRT Scan Lines (Layer 1 - Deep Background) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            rgba(0, 0, 0, 0.2) 1px,
            transparent 2px
        );
    pointer-events: none;
    z-index: 1;
    animation: crtScanlines 0.2s linear infinite, crtColorShift 15s ease-in-out infinite alternate;
    will-change: transform, filter;
    filter: hue-rotate(0deg);
}

/* Optimized Film Grain & Vignette (Layer 2 - Foreground Distortion) */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
    z-index: 2;
}

/* NEW: Layer 3 - Subtle Grid Stream */
.subtle-grid-stream {
    position: fixed;
    top: 0;
    left: 0;
    width: 200%; /* Larger than viewport to prevent repeating issues */
    height: 200%;
    background: 
        linear-gradient(90deg, transparent 99%, rgba(100, 150, 255, 0.05) 100%),
        linear-gradient(0deg, transparent 99%, rgba(100, 150, 255, 0.05) 100%);
    background-size: 50px 50px;
    background-position: 0 0;
    pointer-events: none;
    z-index: 3;
    opacity: 0.1;
    animation: gridStream 120s linear infinite;
    will-change: transform;
}

/* NEW: Layer 4 - Static Glitch Overlay (Deep Void Effect) */
.static-glitch-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
    mix-blend-mode: overlay;
    background: transparent;
    box-shadow: 
        0 0 100px 50px rgba(0, 255, 255, 0.05) inset,
        0 0 200px 100px rgba(255, 0, 255, 0.05) inset,
        0 0 300px 150px rgba(255, 255, 0, 0.05) inset,
        -500px -500px 300px 150px rgba(100, 150, 255, 0.03),
        500px 500px 300px 150px rgba(255, 100, 100, 0.03);
    animation: staticDrift 50s ease-in-out infinite alternate;
    will-change: box-shadow, transform;
}


/* Optimized Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-full);
    pointer-events: none;
    z-index: 9999;
    transition: all var(--transition-fast);
    mix-blend-mode: difference;
    will-change: transform;
}

.cursor-glow {
    position: fixed;
    width: 24px;
    height: 24px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9998;
    transition: all var(--transition-normal);
    will-change: transform;
}

/* Container */
.container {
    width: 100%;
    max-width: 480px;
    position: relative;
}

/* Enhanced Main Profile Card (Added flicker-border on hover) */
.profile-main {
    background: 
        repeating-linear-gradient(
            45deg,
            rgba(2, 2, 2, 0.98) 0px,
            rgba(2, 2, 2, 0.98) 1px,
            rgba(4, 4, 4, 0.99) 1px,
            rgba(4, 4, 4, 0.99) 2px
        ),
        radial-gradient(circle at center, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.99) 100%),
        var(--bg-card);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(100, 100, 100, 0.3);
    border-radius: 0;
    padding: var(--space-xxl);
    text-align: center;
    box-shadow: 
        8px 8px 0px rgba(0, 0, 0, 0.9),
        0 0 40px rgba(0, 0, 0, 0.8),
        inset 0 0 60px rgba(0, 0, 0, 0.9),
        inset 2px 2px 0px rgba(255, 255, 240, 0.05);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    z-index: 10;
    will-change: transform, box-shadow, border-color;
    image-rendering: pixelated;
}

.profile-main:hover {
    animation: flicker-border 1s steps(10, end) infinite;
}

/* Depressing Shooting Stars (within card) */
.profile-main::before {
    /* Kept existing styles for continuity, though these are more like distant, deep-card glints now */
    content: '';
    position: absolute;
    top: 20%;
    left: 10px;
    width: 1px;
    height: 1px;
    background: rgba(120, 120, 120, 0.3);
    border-radius: 50%;
    box-shadow: 0 0 2px rgba(100, 100, 100, 0.2);
    animation: depressingStar1 25s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.profile-main::after {
    content: '';
    position: absolute;
    top: 40%;
    left: 20px;
    width: 0.5px;
    height: 0.5px;
    background: rgba(80, 80, 80, 0.2);
    border-radius: 50%;
    box-shadow: 0 0 1px rgba(60, 60, 60, 0.1);
    animation: depressingStar2 35s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}


/* Enhanced Profile Picture */
.profile-picture-container {
    position: relative;
    display: inline-block;
    margin-bottom: var(--space-lg);
    /* Added subtle breathing to the container */
    animation: cardBreathing 20s ease-in-out infinite alternate; 
}

.profile-picture {
    width: 120px;
    height: 120px;
    background-image: url('https://media.discordapp.net/attachments/1422419490531967029/1422419521641123910/279a42161a6279f2a4bd253ddcc2cefd.png?ex=68df3de9&is=68ddec69&hm=d68c86051d2163d2d873d2b5280a016cfdbef5ed8d33431712c6fd7a945dba12&=&quality=lossless');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: var(--radius-full);
    border: 3px solid var(--border-medium);
    box-shadow: var(--shadow-medium);
    transition: all var(--transition-normal);
    position: relative;
    will-change: transform, box-shadow;
    transform: translateZ(0);
}

.profile-picture:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-strong), var(--shadow-glow);
    border-color: var(--border-strong);
}

/* Enhanced Discord Status Indicator */
.discord-status-indicator {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border-radius: var(--radius-full);
    border: 3px solid var(--bg-card);
    z-index: 10;
    transition: all var(--transition-fast);
    /* Added subtle status pulse */
    animation: statusPulse 4s ease-in-out infinite alternate; 
}

.discord-status-indicator.status-online {
    background: var(--status-online);
    box-shadow: 0 0 12px var(--status-online);
}

.discord-status-indicator.status-idle {
    background: var(--status-idle);
    box-shadow: 0 0 12px var(--status-idle);
}

.discord-status-indicator.status-dnd {
    background: var(--status-dnd);
    box-shadow: 0 0 12px var(--status-dnd);
}

.discord-status-indicator.status-offline {
    background: var(--status-offline);
    box-shadow: 0 0 8px var(--status-offline);
}

/* Profile Info */
.profile-info {
    margin-bottom: var(--space-lg);
}

/* Enhanced Name (Added Glitch Effect Class) */
.name {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 700;
    color: var(--crt-white);
    margin-bottom: var(--space-md);
    letter-spacing: 3px;
    text-shadow: 
        2px 2px 0px rgba(0, 0, 0, 0.9),
        0 0 10px var(--text-glow),
        0 0 20px rgba(255, 255, 240, 0.3),
        0 0 40px rgba(255, 255, 240, 0.1);
    position: relative;
    font-family: var(--font-mono);
    text-transform: uppercase;
    will-change: text-shadow;
    image-rendering: pixelated;
    text-align: center;
    transform: translateX(8px);
}

/* New Glitch Text Effect */
.glitch-text {
    display: block;
    position: relative;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-shadow: 
        2px 2px 0px rgba(0, 0, 0, 0.9),
        0 0 5px var(--text-glow);
}

/* Red Channel Glitch */
.glitch-text::before {
    left: 2px;
    text-shadow: -2px 0 var(--text-glitch-red);
    clip-path: inset(50% 0 30% 0);
    animation: glitch-anim-1 2s linear infinite alternate-reverse;
}

/* Cyan Channel Glitch */
.glitch-text::after {
    left: -2px;
    text-shadow: 2px 0 var(--text-glitch-cyan);
    clip-path: inset(20% 0 60% 0);
    animation: glitch-anim-2 3s linear infinite alternate-reverse;
}

.name::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--text-primary), transparent);
    opacity: 0.6;
    transition: all var(--transition-normal);
}

.name-link {
    color: inherit;
    text-decoration: none;
    position: relative;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.name-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    border-radius: var(--radius-sm);
}

.name-link:hover::before {
    opacity: 1;
}

.name-link:hover {
    transform: scale(1.02);
    text-shadow: 
        0 0 30px rgba(255, 255, 255, 0.8),
        0 0 60px rgba(255, 255, 255, 0.4);
}

.name:hover::after {
    width: 80px;
    opacity: 0.8;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), transparent);
}

/* Pronouns Superscript */
.pronouns-superscript {
    font-size: 0.25em;
    vertical-align: super;
    color: var(--text-muted);
    opacity: 0.6;
    margin-left: 2px;
    font-weight: 300;
    letter-spacing: 0.3px;
    text-shadow: 
        1px 1px 0px rgba(0, 0, 0, 0.8),
        0 0 2px rgba(100, 150, 255, 0.2);
    transition: all var(--transition-fast);
    display: inline-block;
    transform: translateY(-3px) translateX(-2px);
    position: relative;
    top: -1px;
}

.name-link:hover .pronouns-superscript {
    opacity: 0.9;
    color: var(--text-accent);
    text-shadow: 
        1px 1px 0px rgba(0, 0, 0, 0.8),
        0 0 5px rgba(100, 150, 255, 0.5);
}

/* Enhanced Tags */
.tags {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.tag {
    padding: var(--space-xs) var(--space-md);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
    transform: translateZ(0);
}

.tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--glow-soft), transparent);
    transition: left var(--transition-normal);
}

.tag:hover::before {
    left: 100%;
}

.tag:hover {
    transform: translateY(-2px);
    border-color: var(--border-medium);
    box-shadow: var(--shadow-soft);
}

.tag.pronouns {
    background: linear-gradient(135deg, var(--bg-tertiary), rgba(255, 255, 255, 0.05));
    border-color: var(--border-subtle);
    color: var(--text-secondary);
}

.tag.role {
    background: linear-gradient(135deg, var(--bg-tertiary), rgba(100, 150, 255, 0.1));
    border-color: rgba(100, 150, 255, 0.3);
    color: var(--accent-blue);
}

.tag.sexuality {
    background: linear-gradient(135deg, var(--bg-tertiary), rgba(200, 100, 255, 0.1));
    border-color: rgba(200, 100, 255, 0.3);
    color: var(--accent-purple);
    animation: bisexualGlow 3s ease-in-out infinite alternate;
}

/* Enhanced Life Quote */
.life-quote {
    margin: var(--space-lg) 0;
    padding: var(--space-lg) var(--space-xl);
    background: 
        repeating-linear-gradient(
            90deg,
            rgba(2, 2, 2, 0.98) 0px,
            rgba(2, 2, 2, 0.98) 1px,
            rgba(1, 1, 1, 0.99) 1px,
            rgba(1, 1, 1, 0.99) 2px
        ),
        rgba(1, 1, 1, 0.98);
    border: 2px solid rgba(100, 100, 100, 0.4);
    border-left: 4px solid rgba(100, 150, 255, 0.6);
    border-radius: 0;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: lowercase;
    letter-spacing: 1px;
    line-height: 1.8;
    position: relative;
    text-align: left;
    box-shadow: 
        4px 4px 0px rgba(0, 0, 0, 0.9),
        inset 0 0 20px rgba(0, 0, 0, 0.9),
        inset 2px 2px 0px rgba(255, 255, 240, 0.05);
    backdrop-filter: blur(2px);
    animation: quoteTerminalGlow 6s ease-in-out infinite, quoteGlitch 15s linear infinite;
    image-rendering: pixelated;
    will-change: transform, box-shadow;
}

.life-quote::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 0%, rgba(0, 0, 0, 0.1) 50%, transparent 100%);
    opacity: 0.3;
    animation: quoteShadow 12s ease-in-out infinite;
}

.quote-text {
    position: relative;
    z-index: 2;
    font-style: normal;
    opacity: 0.9;
    color: var(--text-secondary);
    text-shadow: 
        1px 1px 0px rgba(0, 0, 0, 0.9),
        0 0 5px rgba(255, 255, 240, 0.2);
    font-weight: 400;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--text-muted);
}

.quote-text::after {
    content: '_';
    animation: terminalCursor 1s infinite;
    color: var(--text-muted);
}

/* Optimized Floating Particles - Now the container for all particle effects */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5; 
    overflow: hidden;
    will-change: transform;
}

.dark-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
    overflow: hidden;
    will-change: transform;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    animation: floatUp 20s linear infinite;
    opacity: 0;
    will-change: transform, opacity;
    transform: translateZ(0);
}

.dark-particle {
    position: absolute;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    animation: darkFloat 25s linear infinite;
    opacity: 0;
    will-change: transform, opacity;
    transform: translateZ(0);
}

.spooky-orb {
    position: absolute;
    background: radial-gradient(circle, rgba(100, 0, 100, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: spookyDrift 30s ease-in-out infinite;
    opacity: 0;
    will-change: transform, opacity;
    transform: translateZ(0);
}

.void-particle {
    position: absolute;
    background: radial-gradient(circle, rgba(100, 150, 255, 0.05) 0%, transparent 50%);
    border-radius: 50%;
    animation: voidDrift 40s linear infinite;
    opacity: 0;
    will-change: transform, opacity;
    transform: translateZ(0);
}

/* NEW: Void Flare Particle - Very large, very slow, very subtle */
.void-flare {
    position: absolute;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, transparent 80%);
    border-radius: var(--radius-full);
    width: 150px; /* Large size */
    height: 150px;
    animation: voidFlareDrift 60s ease-in-out infinite alternate;
    opacity: 0;
    will-change: transform, opacity;
    transform: translateZ(0);
}


/* Optimized Animations - Performance Focused */
@keyframes bodyBreathing {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.001);
    }
}

/* New: Subtle Grid Stream Animation */
@keyframes gridStream {
    0% {
        background-position: 0 0;
        transform: translateX(0) translateY(0) rotate(0deg);
    }
    100% {
        background-position: 50px 50px; /* Scrolls the pattern */
        transform: translateX(-50vw) translateY(50vh) rotate(5deg);
    }
}

/* New: Static Glitch Drift Animation */
@keyframes staticDrift {
    0% {
        transform: scale(1);
        box-shadow: 
            0 0 100px 50px rgba(0, 255, 255, 0.05) inset,
            0 0 200px 100px rgba(255, 0, 255, 0.05) inset,
            0 0 300px 150px rgba(255, 255, 0, 0.05) inset;
    }
    50% {
        transform: scale(1.05) rotate(0.1deg);
        box-shadow: 
            0 0 100px 50px rgba(0, 255, 255, 0.03) inset,
            0 0 200px 100px rgba(255, 0, 255, 0.07) inset,
            0 0 300px 150px rgba(255, 255, 0, 0.03) inset;
    }
    100% {
        transform: scale(1);
        box-shadow: 
            0 0 100px 50px rgba(0, 255, 255, 0.05) inset,
            0 0 200px 100px rgba(255, 0, 255, 0.05) inset,
            0 0 300px 150px rgba(255, 255, 0, 0.05) inset;
    }
}

/* New: Void Flare Drift */
@keyframes voidFlareDrift {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.05;
    }
    50% {
        transform: translate(25vw, 15vh) scale(0.9);
        opacity: 0.02;
    }
    100% {
        transform: translate(50vw, 30vh) scale(1.1);
        opacity: 0.05;
    }
}

@keyframes crtColorShift {
    0% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(5deg); }
    100% { filter: hue-rotate(-5deg); }
}

@keyframes crtScanlines {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(4px);
    }
}

@keyframes cardBreathing {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}

@keyframes flicker-border {
    0% { border-color: rgba(100, 100, 100, 0.3); }
    5% { border-color: var(--border-flicker); }
    10% { border-color: rgba(100, 100, 100, 0.3); }
    15% { border-color: var(--border-flicker); }
    20% { border-color: rgba(100, 100, 100, 0.3); }
    100% { border-color: rgba(100, 100, 100, 0.3); }
}

@keyframes glitch-anim-1 {
    0% {
        clip-path: inset(45% 0 45% 0);
        transform: translateX(-5px);
    }
    20% {
        clip-path: inset(80% 0 10% 0);
        transform: translateX(5px);
    }
    40% {
        clip-path: inset(20% 0 70% 0);
        transform: translateX(-5px);
    }
    60% {
        clip-path: inset(40% 0 30% 0);
        transform: translateX(3px);
    }
    80% {
        clip-path: inset(30% 0 50% 0);
        transform: translateX(-3px);
    }
    100% {
        clip-path: inset(55% 0 35% 0);
        transform: translateX(0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip-path: inset(40% 0 30% 0);
        transform: translateX(5px);
    }
    20% {
        clip-path: inset(10% 0 80% 0);
        transform: translateX(-5px);
    }
    40% {
        clip-path: inset(70% 0 20% 0);
        transform: translateX(5px);
    }
    60% {
        clip-path: inset(30% 0 40% 0);
        transform: translateX(-3px);
    }
    80% {
        clip-path: inset(50% 0 30% 0);
        transform: translateX(3px);
    }
    100% {
        clip-path: inset(35% 0 55% 0);
        transform: translateX(0);
    }
}

@keyframes bisexualGlow {
    0% {
        box-shadow: 0 0 5px var(--accent-purple);
    }
    100% {
        box-shadow: 0 0 15px var(--accent-purple), 0 0 25px var(--accent-purple);
    }
}

@keyframes quoteTerminalGlow {
    0%, 100% {
        border-left-color: rgba(100, 150, 255, 0.6);
        box-shadow: 
            4px 4px 0px rgba(0, 0, 0, 0.9),
            inset 0 0 20px rgba(0, 0, 0, 0.9),
            inset 2px 2px 0px rgba(255, 255, 240, 0.05);
    }
    50% {
        border-left-color: rgba(100, 150, 255, 0.9);
        box-shadow: 
            4px 4px 0px rgba(0, 0, 0, 0.9),
            0 0 10px rgba(100, 150, 255, 0.2),
            inset 0 0 20px rgba(0, 0, 0, 0.9),
            inset 2px 2px 0px rgba(255, 255, 240, 0.05);
    }
}

@keyframes quoteGlitch {
    0%, 100% {
        transform: translate(0, 0);
    }
    1% {
        transform: translate(-1px, 1px);
    }
    3% {
        transform: translate(2px, -1px);
    }
    5% {
        transform: translate(1px, 1px);
    }
    7% {
        transform: translate(-2px, -2px);
    }
    9% {
        transform: translate(3px, 0);
    }
}

@keyframes quoteShadow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.1;
    }
}

@keyframes terminalCursor {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

@keyframes depressingStar1 {
    0% {
        transform: translateX(0) translateY(0);
        opacity: 0;
    }
    15% {
        opacity: 0.3;
    }
    25% {
        opacity: 0.1;
    }
    50% {
        opacity: 0.2;
        transform: translateX(200px) translateY(20px);
    }
    75% {
        opacity: 0.05;
        transform: translateX(350px) translateY(15px);
    }
    100% {
        transform: translateX(400px) translateY(10px);
        opacity: 0;
    }
}

@keyframes depressingStar2 {
    0% {
        transform: translateX(0) translateY(0);
        opacity: 0;
    }
    20% {
        opacity: 0.2;
    }
    30% {
        opacity: 0.05;
    }
    60% {
        opacity: 0.15;
        transform: translateX(180px) translateY(-15px);
    }
    80% {
        opacity: 0.02;
        transform: translateX(320px) translateY(-10px);
    }
    100% {
        transform: translateX(380px) translateY(-5px);
        opacity: 0;
    }
}

@keyframes depressingStar3 {
    0% {
        transform: translateX(0) translateY(0);
        opacity: 0;
    }
    10% {
        opacity: 0.25;
    }
    20% {
        opacity: 0.08;
    }
    40% {
        opacity: 0.18;
        transform: translateX(150px) translateY(25px);
    }
    70% {
        opacity: 0.03;
        transform: translateX(280px) translateY(20px);
    }
    100% {
        transform: translateX(350px) translateY(15px);
        opacity: 0;
    }
}

@keyframes depressingStar4 {
    0% {
        transform: translateX(0) translateY(0);
        opacity: 0;
    }
    25% {
        opacity: 0.15;
    }
    35% {
        opacity: 0.03;
    }
    55% {
        opacity: 0.12;
        transform: translateX(160px) translateY(-25px);
    }
    85% {
        opacity: 0.01;
        transform: translateX(300px) translateY(-20px);
    }
    100% {
        transform: translateX(360px) translateY(-15px);
        opacity: 0;
    }
}

@keyframes depressingStar5 {
    0% {
        transform: translateX(0) translateY(0);
        opacity: 0;
    }
    12% {
        opacity: 0.2;
    }
    22% {
        opacity: 0.06;
    }
    45% {
        opacity: 0.16;
        transform: translateX(170px) translateY(10px);
    }
    75% {
        opacity: 0.04;
        transform: translateX(310px) translateY(8px);
    }
    100% {
        transform: translateX(370px) translateY(5px);
        opacity: 0;
    }
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) scale(0.8);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1.2);
        opacity: 0;
    }
}

@keyframes darkFloat {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100px) translateX(50px) rotate(180deg);
        opacity: 0;
    }
}

@keyframes spookyDrift {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.1;
    }
    50% {
        transform: translate(100px, -50px) scale(1.2);
        opacity: 0.2;
    }
    90% {
        opacity: 0.1;
    }
    100% {
        transform: translate(200px, -100px) scale(0.8);
        opacity: 0;
    }
}

@keyframes voidDrift {
    0% {
        transform: translate(-50vw, 50vh) scale(1);
        opacity: 0;
    }
    25% {
        transform: translate(0, 0) scale(1.1);
        opacity: 0.05;
    }
    50% {
        transform: translate(50vw, -50vh) scale(0.9);
        opacity: 0.0;
    }
    75% {
        transform: translate(0, -10vh) scale(1.2);
        opacity: 0.1;
    }
    100% {
        transform: translate(-50vw, 50vh) scale(1);
        opacity: 0;
    }
}

@keyframes statusPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0px currentColor;
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 10px currentColor, 0 0 20px currentColor;
    }
}


/* Enhanced Discord Status Styles */
.discord-user {
    margin-top: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    font-family: var(--font-mono);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5), 0 0 5px rgba(255, 255, 255, 0.05) inset;
    transition: box-shadow var(--transition-normal);
}

.discord-user:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8), 0 0 10px var(--accent-blue);
}

.discord-user-info {
    margin-bottom: var(--space-md);
}

.discord-username {
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: var(--space-xs);
    font-weight: 600;
}

.discord-status-text {
    margin-bottom: var(--space-xs);
    font-size: 0.7rem;
}

.discord-custom-status {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.6rem;
    margin-top: var(--space-xs);
}

.discord-activities {
    margin-top: var(--space-md);
}

.activities-title, .server-title {
    color: var(--text-accent);
    font-size: 0.7rem;
    margin-bottom: var(--space-sm);
    font-weight: 600;
}

.enhanced-activity {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    padding: var(--space-sm);
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.enhanced-activity:hover {
    background: rgba(100, 150, 255, 0.05);
    border-color: rgba(100, 150, 255, 0.3);
    transform: translateX(4px);
}

.activity-icon {
    width: 32px;
    height: 32px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-content h5 {
    color: var(--text-primary);
    font-size: 0.7rem;
    margin-bottom: var(--space-xs);
    font-weight: 600;
}

.activity-type {
    color: var(--text-accent);
    font-size: 0.6rem;
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.activity-details, .activity-state {
    color: var(--text-secondary);
    font-size: 0.6rem;
    margin-bottom: 2px;
}

.activity-time {
    color: var(--text-muted);
    font-size: 0.5rem;
    margin-top: var(--space-xs);
}

.discord-server-info {
    margin-top: var(--space-md);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--border-subtle);
}

.server-count {
    color: var(--text-secondary);
    font-size: 0.6rem;
}

.status-online {
    color: var(--status-online);
}

.status-idle {
    color: var(--status-idle);
}

.status-dnd {
    color: var(--status-dnd);
}

.status-offline {
    color: var(--status-offline);
}

.error {
    color: var(--accent-red);
    text-align: center;
    font-size: 0.6rem;
    padding: var(--space-sm);
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid var(--accent-red);
    border-radius: var(--radius-sm);
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    body {
        padding: var(--space-md);
    }
    
    .profile-main {
        padding: var(--space-lg);
    }
    
    .profile-picture {
        width: 100px;
        height: 100px;
    }
    
    .name {
        font-size: 1.6rem;
    }
    
    .tags {
        gap: var(--space-xs);
    }
    
    .tag {
        padding: var(--space-xs) var(--space-sm);
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .container {
        max-width: 100%;
    }
    
    .profile-main {
        padding: var(--space-md);
    }
    
    .profile-picture {
        width: 80px;
        height: 80px;
    }
    
    .discord-status-indicator {
        width: 20px;
        height: 20px;
        bottom: 4px;
        right: 4px;
    }
}
