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

:root {
    --cyan: #00f0ff;
    --pink: #ff00aa;
    --yellow: #ccff00;
    --purple: #9d00ff;
    --dark: #0a0a12;
    --darker: #05050a;
    --white: #ffffff;
    --white-muted: rgba(255, 255, 255, 0.7);
}

html {
    scrollbar-width: none;
    cursor: none;
}

html::-webkit-scrollbar {
    display: none;
}

html, body {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--darker);
    color: var(--white);
}

/* Custom Cursor */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, border-color 0.2s;
    mix-blend-mode: difference;
}

.cursor::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    background: var(--pink);
    border-radius: 50%;
}

.cursor-trail {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid var(--pink);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    opacity: 0.5;
    transition: transform 0.15s ease-out, opacity 0.15s;
}

/* Background */
.background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    filter: saturate(1.3) contrast(1.1);
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 240, 255, 0.1) 0%,
        rgba(255, 0, 170, 0.1) 50%,
        rgba(204, 255, 0, 0.05) 100%
    );
}

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

/* Entrance Screen */
.entrance-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    cursor: pointer;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.entrance-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(8px);
    transform: scale(1.1);
}

.entrance-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

.entrance-overlay .click-text {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    color: #fff;
    letter-spacing: 8px;
    text-transform: lowercase;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.6),
        0 0 40px rgba(255, 255, 255, 0.4);
    animation: textGlow 2s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% {
        opacity: 0.8;
        text-shadow:
            0 0 10px rgba(255, 255, 255, 0.8),
            0 0 20px rgba(255, 255, 255, 0.6),
            0 0 40px rgba(255, 255, 255, 0.4);
    }
    50% {
        opacity: 1;
        text-shadow:
            0 0 15px rgba(255, 255, 255, 1),
            0 0 30px rgba(255, 255, 255, 0.8),
            0 0 60px rgba(255, 255, 255, 0.5);
    }
}

/* Glitch Effect */
.glitch {
    position: relative;
    animation: glitch 2s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--pink);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--yellow);
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim-2 2s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(42px, 9999px, 44px, 0); }
    5% { clip: rect(12px, 9999px, 59px, 0); }
    10% { clip: rect(48px, 9999px, 29px, 0); }
    15% { clip: rect(42px, 9999px, 73px, 0); }
    20% { clip: rect(63px, 9999px, 27px, 0); }
    25% { clip: rect(34px, 9999px, 55px, 0); }
    30% { clip: rect(86px, 9999px, 73px, 0); }
    35% { clip: rect(20px, 9999px, 20px, 0); }
    40% { clip: rect(26px, 9999px, 60px, 0); }
    45% { clip: rect(25px, 9999px, 66px, 0); }
    50% { clip: rect(57px, 9999px, 98px, 0); }
    55% { clip: rect(5px, 9999px, 46px, 0); }
    60% { clip: rect(82px, 9999px, 31px, 0); }
    65% { clip: rect(54px, 9999px, 27px, 0); }
    70% { clip: rect(28px, 9999px, 99px, 0); }
    75% { clip: rect(45px, 9999px, 69px, 0); }
    80% { clip: rect(23px, 9999px, 85px, 0); }
    85% { clip: rect(54px, 9999px, 84px, 0); }
    90% { clip: rect(45px, 9999px, 47px, 0); }
    95% { clip: rect(37px, 9999px, 20px, 0); }
    100% { clip: rect(4px, 9999px, 91px, 0); }
}

@keyframes glitch-anim-2 {
    0% { clip: rect(65px, 9999px, 100px, 0); }
    5% { clip: rect(52px, 9999px, 74px, 0); }
    10% { clip: rect(79px, 9999px, 85px, 0); }
    15% { clip: rect(75px, 9999px, 5px, 0); }
    20% { clip: rect(67px, 9999px, 61px, 0); }
    25% { clip: rect(14px, 9999px, 79px, 0); }
    30% { clip: rect(1px, 9999px, 66px, 0); }
    35% { clip: rect(86px, 9999px, 30px, 0); }
    40% { clip: rect(23px, 9999px, 98px, 0); }
    45% { clip: rect(85px, 9999px, 72px, 0); }
    50% { clip: rect(71px, 9999px, 75px, 0); }
    55% { clip: rect(2px, 9999px, 48px, 0); }
    60% { clip: rect(30px, 9999px, 16px, 0); }
    65% { clip: rect(59px, 9999px, 50px, 0); }
    70% { clip: rect(41px, 9999px, 62px, 0); }
    75% { clip: rect(2px, 9999px, 82px, 0); }
    80% { clip: rect(47px, 9999px, 73px, 0); }
    85% { clip: rect(3px, 9999px, 27px, 0); }
    90% { clip: rect(26px, 9999px, 55px, 0); }
    95% { clip: rect(42px, 9999px, 25px, 0); }
    100% { clip: rect(38px, 9999px, 36px, 0); }
}

.entrance-prompt {
    animation: fadeInUp 1s ease 0.5s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.click-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: var(--pink);
    letter-spacing: 4px;
    display: block;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    animation: textBlink 1.5s ease-in-out infinite;
}

@keyframes textBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(0, 240, 255, 0.2);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.loading-progress {
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, var(--cyan), var(--pink));
    animation: loadingMove 2s ease-in-out infinite;
}

@keyframes loadingMove {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(400%); }
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    padding-bottom: 4rem;
}

.container {
    width: 100%;
    max-width: 450px;
}

/* Card Wrapper */
.card-wrapper {
    perspective: 1000px;
    transform-style: preserve-3d;
}

/* Profile Card */
.profile-card {
    position: relative;
    overflow: hidden;
    background: rgba(10, 10, 18, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 8px;
    padding: 1.5rem 2.5rem;
    margin-bottom: 1rem;
    border: 1px solid var(--cyan);
    box-shadow:
        0 0 15px var(--cyan),
        0 0 30px rgba(0, 240, 255, 0.4),
        0 0 60px rgba(0, 240, 255, 0.2),
        inset 0 0 30px rgba(0, 240, 255, 0.05);
    animation: cardFadeIn 0.8s ease forwards;
    opacity: 0;
}

.cyber-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.cyber-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), var(--pink), transparent);
    animation: borderGlow 3s linear infinite;
}

.cyber-border::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--pink), var(--cyan), transparent);
    animation: borderGlow 3s linear infinite reverse;
}

@keyframes borderGlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes cardFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Username */
.username {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    text-shadow:
        0 0 5px rgba(255, 255, 255, 0.8),
        0 0 10px rgba(255, 255, 255, 0.6),
        0 0 20px rgba(255, 255, 255, 0.4);
    text-align: center;
    margin-bottom: 0.5rem;
}

/* Bio */
.bio {
    font-size: 1rem;
    color: var(--pink);
    text-align: center;
    margin-bottom: 1.25rem;
    font-style: italic;
    text-shadow:
        0 0 5px var(--pink),
        0 0 15px var(--pink);
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(0, 240, 255, 0.1);
    border: 2px solid var(--cyan);
    border-radius: 10px;
    color: var(--cyan);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px var(--cyan);
}

.social-icon:hover {
    background: rgba(255, 0, 170, 0.2);
    border-color: var(--pink);
    color: var(--pink);
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--pink);
}

/* Music Player */
.music-player {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 6px;
}

.music-visualizer {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 20px;
}

.music-visualizer .bar {
    width: 3px;
    background: linear-gradient(to top, var(--cyan), var(--pink));
    animation: visualizer 0.5s ease-in-out infinite;
}

.music-visualizer .bar:nth-child(1) { height: 6px; animation-delay: 0s; }
.music-visualizer .bar:nth-child(2) { height: 12px; animation-delay: 0.1s; }
.music-visualizer .bar:nth-child(3) { height: 9px; animation-delay: 0.2s; }
.music-visualizer .bar:nth-child(4) { height: 15px; animation-delay: 0.3s; }
.music-visualizer .bar:nth-child(5) { height: 8px; animation-delay: 0.4s; }

@keyframes visualizer {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.5); }
}

.music-info {
    flex: 1;
}

.now-playing {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.5rem;
    color: var(--pink);
    letter-spacing: 1px;
}

.track-name {
    font-size: 0.8rem;
    color: var(--white);
}

.music-toggle {
    width: 32px;
    height: 32px;
    background: transparent;
    border: 2px solid var(--cyan);
    border-radius: 6px;
    color: var(--cyan);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px var(--cyan);
}

.music-toggle:hover {
    background: var(--cyan);
    color: var(--darker);
}

/* Discord Activity Card */
.discord-card {
    position: relative;
    overflow: hidden;
    background: rgba(10, 10, 18, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--pink);
    border-radius: 8px;
    box-shadow:
        0 0 10px var(--pink),
        0 0 25px rgba(255, 0, 170, 0.3),
        inset 0 0 20px rgba(255, 0, 170, 0.05);
    animation: cardFadeIn 0.8s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out, box-shadow 0.4s ease;
    will-change: transform;
}

.discord-avatar-wrapper {
    position: relative;
    width: 45px;
    height: 45px;
    flex-shrink: 0;
}

.discord-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--cyan);
    box-shadow: 0 0 10px var(--cyan);
}

.avatar-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 63px;
    height: 63px;
    pointer-events: none;
}

.discord-info {
    flex: 1;
    min-width: 0;
}

.discord-name {
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #747f8d;
    box-shadow: 0 0 8px currentColor;
    flex-shrink: 0;
}

.status-dot.online {
    background: #3ba55c;
    box-shadow: 0 0 10px #3ba55c, 0 0 20px #3ba55c;
}

.status-dot.idle {
    background: #faa61a;
    box-shadow: 0 0 10px #faa61a, 0 0 20px #faa61a;
}

.status-dot.dnd {
    background: #ed4245;
    box-shadow: 0 0 10px #ed4245, 0 0 20px #ed4245;
}

.discord-status {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 3px;
}

.discord-activity {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    color: var(--cyan);
    letter-spacing: 1px;
    text-shadow: 0 0 10px var(--cyan);
}

.discord-activity:empty {
    display: none;
}

.discord-activity .activity-type {
    color: var(--pink);
    font-size: 0.55rem;
    display: block;
    margin-bottom: 2px;
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.footer a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.2s ease;
    font-family: 'Rajdhani', sans-serif;
}

.footer a:hover {
    color: var(--cyan);
}

.footer img {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 900px) {
    .side-panel {
        display: none;
    }

    .entrance-name {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .destination-bar {
        max-width: 90%;
    }
}

@media (max-width: 600px) {
    .entrance-name {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .click-text {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }

    .click-box {
        padding: 0.75rem 1.5rem;
    }

    .hazard-tape {
        height: 15px;
    }

    .username {
        font-size: 1.4rem;
    }

    .profile-pic {
        width: 100px;
        height: 100px;
    }

    .profile-ring {
        width: 130px;
        height: 130px;
    }

    .profile-ring.ring-2 {
        width: 160px;
        height: 160px;
    }

    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .profile-card {
        padding: 2rem 1.5rem;
    }
}
