:root {
    --gray-50: #fafafa;
    --gray-100: #f4f4f5;
    --gray-200: #e4e4e7;
    --gray-300: #d4d4d8;
    --gray-400: #a1a1aa;
    --gray-500: #71717a;
    --gray-600: #52525b;
    --gray-700: #3f3f46;
    --gray-800: #27272a;
    --gray-900: #18181b;


    --gradient-primary: linear-gradient(135deg, #71717a 0%, #27272a 100%);
    --gradient-dark: linear-gradient(135deg, #1c1c1f 0%, #0a0a0b 100%);
    --gradient-glow: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);

    --bg-main: #0a0a0b;


    --discord: #5865F2;
    --spotify: #1DB954;
    --github: #ffffff;
    --twitter: #1DA1F2;
    --instagram: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    --email: #EA4335;


    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.4);


    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}


.status-dot {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 3px solid var(--gray-800);
    background: var(--gray-500);
    transition: all 0.3s ease;
}

.status-dot.online {
    background: #43b581;
    box-shadow: 0 0 10px #43b581;
}

.status-dot.idle {
    background: #faa61a;
    box-shadow: 0 0 10px #faa61a;
}

.status-dot.dnd {
    background: #f04747;
    box-shadow: 0 0 10px #f04747;
}

.status-dot.offline {
    background: #747f8d;
}

.status-container {
    margin-top: -4px;
    margin-bottom: 20px;
}

.status-text {
    font-size: 14px;
    color: var(--gray-400);
    font-weight: 400;
}

.activity-time {
    font-size: 15px;
    color: var(--gray-400);
    margin-top: 6px;
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 1.5px;
    font-weight: 500;
}

#particles-js {
    animation: starlight 10s ease-in-out infinite;
}

@keyframes starlight {

    0%,
    100% {
        filter: brightness(1) contrast(1);
    }

    50% {
        filter: brightness(1.5) contrast(1.1);
    }
}


.activity-container {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
    animation: fadeIn 1s ease 0.6s both;
}


.activity-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    margin: 24px 0;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.activity-image {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.activity-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.activity-name {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 4px;
}

.activity-details {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-100);
}

.activity-state {
    font-size: 14px;
    color: var(--gray-400);
}


.spotify-progress-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-top: 16px;
    overflow: hidden;
}

.spotify-progress-bar {
    height: 100%;
    background: #1DB954;
    width: 0%;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(29, 185, 84, 0.4);
}

.activity-soundcloud .spotify-progress-bar {
    background: #ff5500;
    box-shadow: 0 0 10px rgba(255, 85, 0, 0.4);
}

.spotify-time {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--gray-100);
    margin-top: 8px;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 600;
}

.activity-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.visualizer {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 18px;
}

.visualizer-bar {
    width: 3px;
    background: var(--gray-400);
    border-radius: 2px;
    animation: visualize 1s ease-in-out infinite;
}

@keyframes visualize {

    0%,
    100% {
        height: 4px;
        opacity: 0.5;
    }

    50% {
        height: 20px;
        opacity: 1;
    }
}

.visualizer-bar:nth-child(2) {
    animation-delay: 0.2s;
}

.visualizer-bar:nth-child(3) {
    animation-delay: 0.4s;
}

.visualizer-bar:nth-child(4) {
    animation-delay: 0.1s;
}

.activity-spotify .visualizer-bar {
    background: #1DB954;
}

.activity-soundcloud .visualizer-bar {
    background: #ff5500;
}

.activity-spotify {
    border-color: rgba(29, 185, 84, 0.3);
    background: rgba(29, 185, 84, 0.05);
    box-shadow: 0 0 30px rgba(29, 185, 84, 0.1);
    animation: spotifyPulse 2s infinite ease-in-out;
}

.activity-soundcloud {
    border-color: rgba(255, 85, 0, 0.2);
    background: rgba(255, 85, 0, 0.05);
}

.activity-soundcloud .activity-name {
    color: #ff5500;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: none;
}

*::-webkit-scrollbar {
    display: none;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    user-select: none;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--gray-100);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #0a0a0b;
    overflow: hidden;
    z-index: -2;
}

.aura-1,
.aura-2 {
    will-change: transform;
    position: absolute;
    width: 80vmax;
    height: 80vmax;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
    z-index: -1;
}

.aura-1 {
    background: radial-gradient(circle, #71717a 0%, transparent 70%);
    top: -20%;
    left: -10%;
    animation: auraFloat 20s ease-in-out infinite alternate;
}

.aura-2 {
    background: radial-gradient(circle, #27272a 0%, transparent 70%);
    bottom: -20%;
    right: -10%;
    animation: auraFloat 25s ease-in-out infinite alternate-reverse;
}

@keyframes auraFloat {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(10%, 15%) scale(1.1);
    }
}

.container {
    max-width: 800px;

    width: 90%;
    margin: 0 auto;
    padding: 60px;

    background: rgba(10, 10, 11, 0.85);
    border-radius: 40px;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 10;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, 0.05);
}


.container::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: conic-gradient(from var(--border-angle),
            transparent 0%,
            transparent 30%,
            rgba(255, 255, 255, 0.1) 40%,
            rgba(255, 255, 255, 0.8) 50%,
            rgba(255, 255, 255, 0.1) 60%,
            transparent 70%,
            transparent 100%);
    border-radius: 40px;
    z-index: -1;
    animation: rotateBorder 3s linear infinite;

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-clip: content-box, border-box;
    mask-clip: content-box, border-box;
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 2px;
    pointer-events: none;
}

@property --border-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@keyframes rotateBorder {
    from {
        --border-angle: 0deg;
    }

    to {
        --border-angle: 360deg;
    }
}

.container::-webkit-scrollbar {
    display: none;
}


.profile-section {
    text-align: center;
    margin-bottom: 48px;
    animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.avatar-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

.avatar-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: var(--gradient-primary);
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.6;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

.avatar {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--gray-700);
    background: var(--gradient-dark);
    object-fit: cover;
    transition: transform var(--transition-normal);
    cursor: none;
}

.avatar:hover {
    transform: scale(1.05);
}

.device-status {
    position: absolute;
    bottom: 5px;
    left: 0;
    display: flex;
    gap: -5px;
    z-index: 6;
    pointer-events: none;
}

.device-icon {
    width: 24px;
    height: 24px;
    background: rgba(10, 10, 11, 0.8);
    border-radius: 50%;
    padding: 4px;
    color: var(--gray-400);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.name-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
    position: relative;
    animation: fadeIn 1s ease 0.2s both;
}

.name {
    font-size: 42px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.copy-discord {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-400);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-discord svg {
    width: 18px;
    height: 18px;
}

.copy-discord:hover {
    background: rgba(88, 101, 242, 0.2);
    color: #5865F2;
    border-color: rgba(88, 101, 242, 0.3);
    transform: translateY(-2px);
}

.copy-notification {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--gray-800);
    color: var(--gray-100);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    border: 1px solid var(--gray-600);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 100;
}

.copy-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.bio-text {
    font-size: 16px;
    color: var(--gray-300);
    font-weight: 400;
    animation: fadeIn 1s ease 0.4s both;
}


body {
    cursor: none !important;
}

a,
button,
.link-card,
.copy-discord {
    cursor: none !important;
}

.custom-cursor {
    will-change: transform;
    position: fixed;
    width: 28px;

    height: 28px;
    background-image: url('cursor/icons8-mouse-cursor-48.png');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, opacity 0.3s;
    opacity: 0;

}


.custom-cursor.link-hover {
    width: 34px;
    height: 34px;
}


.links-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 20px;
    text-decoration: none;
    color: var(--gray-100);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    overflow: hidden;
    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.link-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.05),
            transparent);
    transition: 0.6s;
}

.link-card:hover::after {
    left: 100%;
}


.link-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.link-card:active {
    transform: translateY(-2px);
}

.link-icon {
    position: relative;
    z-index: 1;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--gray-700);
    transition: all var(--transition-normal);
    flex-shrink: 0;
}

.link-icon svg {
    width: 24px;
    height: 24px;
    transition: transform var(--transition-normal);
}

.link-card:hover .link-icon {
    transform: scale(1.1);
}

.link-card:hover .link-icon svg {
    transform: rotate(5deg);
}


.discord .link-icon {
    background: transparent;
}

.spotify .link-icon {
    background: rgba(29, 185, 84, 0.15);
    color: var(--spotify);
}

.github .link-icon {
    background: rgba(255, 255, 255, 0.15);
    color: var(--github);
}

.instagram .link-icon {
    background: linear-gradient(45deg, rgba(240, 148, 67, 0.15) 0%, rgba(188, 24, 136, 0.15) 100%);
    color: #E1306C;
}

.osu .link-icon {
    background: transparent;
}

.email .link-icon {
    background: rgba(234, 67, 53, 0.15);
    color: var(--email);
}

.link-content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.link-title {
    font-size: 20px;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.link-subtitle {
    font-size: 15px;
    font-weight: 400;
    color: var(--gray-400);
}

.link-arrow {
    position: relative;
    z-index: 1;
    font-size: 24px;
    color: var(--gray-500);
    transition: all var(--transition-normal);
    flex-shrink: 0;
}

.link-card:hover .link-arrow {
    color: var(--gray-200);
    transform: translateX(4px);
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}


.clock-box {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    color: var(--gray-400);
    letter-spacing: 1px;
    pointer-events: none;
    animation: fadeIn 1s ease 0.6s both;
}

#current-time {
    color: var(--gray-100);
    font-weight: 600;
}


#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0b;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001;

    cursor: pointer;
    transition: opacity 1s ease, visibility 1s;
}

#intro-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.intro-text {
    font-size: 32px;
    font-family: 'Outfit', 'Inter', sans-serif;
    color: var(--gray-100);
    letter-spacing: 2px;
    font-weight: 300;
    animation: introFade 2s infinite ease-in-out;
}

@keyframes introFade {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(0.98);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}


.volume-control {
    position: fixed;
    top: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(20, 20, 22, 0.95);
    padding: 12px 25px;
    border-radius: 50px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 10002;

    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.volume-control.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.volume-control svg {
    width: 20px;
    height: 20px;
    color: var(--gray-300);
}

#volume-slider {
    width: 100px;
    cursor: pointer;
    accent-color: var(--gray-100);
    height: 4px;
    outline: none;
}

input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 14px;
    width: 14px;
    border-radius: 50%;
    background: var(--gray-100);
    cursor: pointer;
    border: none;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}


.footer {
    margin-top: 40px;
    text-align: center;
    color: var(--gray-500);
    font-size: 14px;
    font-family: 'Courier New', Courier, monospace;
    min-height: 1.5em;
    animation: fadeIn 1s ease 0.8s both;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.dev-credit {
    font-size: 13px;
    opacity: 0.8;
}

.dev-credit a {
    color: var(--gray-400);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.dev-credit a:hover {
    color: var(--gray-100);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

#typewriter-text::after,
#dev-typewriter::after {
    content: '|';
    animation: blink 0.7s infinite;
    margin-left: 2px;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}


@media (max-width: 768px) {
    .container {
        padding: 40px 16px;
    }

    .name {
        font-size: 28px;
    }

    .bio-text {
        font-size: 14px;
    }

    .link-card {
        padding: 16px 20px;
    }

    .link-icon {
        width: 40px;
        height: 40px;
    }

    .link-icon svg {
        width: 20px;
        height: 20px;
    }

    .link-title {
        font-size: 16px;
    }

    .link-subtitle {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .avatar {
        width: 100px;
        height: 100px;
    }

    .avatar-glow {
        width: 120px;
        height: 120px;
    }

    .name {
        font-size: 24px;
    }
}


.grain-overlay {
    position: fixed;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    width: 200%;
    height: 200%;
    background: transparent url('https://grainy-gradients.vercel.app/noise.svg') repeat;
    background-repeat: repeat;
    animation: grain 8s steps(10) infinite;
    z-index: 1000;
    opacity: 0.04;

    pointer-events: none;
    mix-blend-mode: soft-light;
}

@keyframes grain {

    0%,
    100% {
        transform: translate(0, 0);
    }

    10% {
        transform: translate(-5%, -10%);
    }

    20% {
        transform: translate(-15%, 5%);
    }

    30% {
        transform: translate(7%, -25%);
    }

    40% {
        transform: translate(-5%, 25%);
    }

    50% {
        transform: translate(-15%, 10%);
    }

    60% {
        transform: translate(15%, 0%);
    }

    70% {
        transform: translate(0%, 15%);
    }

    80% {
        transform: translate(3%, 35%);
    }

    90% {
        transform: translate(-10%, 10%);
    }
}