/* Satoshi font */
@font-face {
    font-family: 'Satoshi';
    src: url('../fonts/Satoshi-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
    font-style: normal;
}
@font-face {
    font-family: 'Satoshi';
    src: url('../fonts/Satoshi-Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
    font-style: normal;
}
@font-face {
    font-family: 'Satoshi';
    src: url('../fonts/Satoshi-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
    font-style: normal;
}

@keyframes move-background {
    from {
        -webkit-transform: translate3d(0px, 0px, 0px);
    }

    to {
        -webkit-transform: translate3d(1000px, 0px, 0px);
    }
}

@-webkit-keyframes move-background {
    from {
        -webkit-transform: translate3d(0px, 0px, 0px);
    }

    to {
        -webkit-transform: translate3d(1000px, 0px, 0px);
    }
}

@-moz-keyframes move-background {
    from {
        -webkit-transform: translate3d(0px, 0px, 0px);
    }

    to {
        -webkit-transform: translate3d(1000px, 0px, 0px);
    }
}

@-webkit-keyframes move-background {
    from {
        -webkit-transform: translate3d(0px, 0px, 0px);
    }

    to {
        -webkit-transform: translate3d(1000px, 0px, 0px);
    }
}

html,
body {
    margin: 0;
    width: 100%;
    min-height: 100%;
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    min-height: 100vh;
    min-height: 100dvh;

    overflow-x: hidden;
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: black url("../img/stars.png") repeat;
    color: white;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: transparent url("../img/twinkling.png") repeat;
    background-size: 1000px 1000px;
    animation: move-background 70s linear infinite;
    z-index: -1;
}

@keyframes move-background {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(1000px, 0, 0);
    }
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    min-height: 100vh;
    min-height: 100dvh;

    text-align: center;
    padding: 24px 16px;
    box-sizing: border-box;
}

.avatar {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto;
}

.pfp {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: block;
}

.decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 118%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.social {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    transform: translateY(16px) scale(0.5);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.card.card-entered .social {
    animation: social-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.card.card-entered .social:nth-child(1) { animation-delay: 0.4s; }
.card.card-entered .social:nth-child(2) { animation-delay: 0.48s; }
.card.card-entered .social:nth-child(3) { animation-delay: 0.56s; }
.card.card-entered .social:nth-child(4) { animation-delay: 0.64s; }
.card.card-entered .social:nth-child(5) { animation-delay: 0.72s; }

@keyframes social-pop {
    0% {
        opacity: 0;
        transform: translateY(16px) scale(0.5);
    }
    60% {
        opacity: 1;
        transform: translateY(-4px) scale(1.08);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.social img,
.social svg {
    width: 100%;
    height: 100%;
    display: block;
    filter:
        drop-shadow(0 0 4px rgba(138, 99, 255, 0.9)) drop-shadow(0 0 8px rgba(138, 99, 255, 0.6));
    transition: transform 0.2s ease, filter 0.2s ease;
}

.social:hover img,
.social:hover svg {
    transform: translateY(-2px) scale(1.1);
    filter:
        drop-shadow(0 0 6px rgba(138, 99, 255, 1)) drop-shadow(0 0 12px rgba(138, 99, 255, 0.8));
}

.social svg {
    fill: #9b7cff;
}

.social.discord {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}


.social.discord::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: rgba(10, 10, 20, 0.9);
    color: white;
    font-size: 12px;
    padding: 6px 8px;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transition: 0.15s;
    white-space: nowrap;
}

.social.discord::before {
    content: "";
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(10, 10, 20, 0.9);
    opacity: 0;
    transition: 0.15s;
}

.social.discord:hover::after,
.social.discord:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}


h1,
p {
    margin: 0;
}

h1 {
    margin-bottom: 18px;
    font-size: 32px;
    font-weight: 600;
}

p {
    font-size: 18px;
    opacity: 0.9;
}

.socials {
    margin-top: 20px;
}

.avatar {
    margin-bottom: 10px;
}

.card {
    position: relative;
    padding: 48px 48px;
    border-radius: 20px;
    background: rgba(10, 10, 20, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 0 30px rgba(138, 99, 255, 0.15),
        0 10px 40px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: translateY(80px) scale(0.98);
    filter: blur(10px);
    transition:
        opacity 0.7s ease,
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.7s ease;
    will-change: transform, opacity, filter;
}

.card.card-entered {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.card-layout {
    display: flex;
    gap: 36px;
    align-items: flex-start;
}

.card-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.card-right {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.card-right > * {
    opacity: 0;
    transform: translateY(6px);
    filter: blur(4px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease,
        filter 0.7s ease;
}

.card.card-entered .card-right > *:nth-child(1) { opacity: 1; transform: translateY(0); filter: blur(0); transition-delay: 0.35s; }
.card.card-entered .card-right > *:nth-child(2) { opacity: 1; transform: translateY(0); filter: blur(0); transition-delay: 0.5s; }
.card.card-entered .card-right > *:nth-child(3) { opacity: 1; transform: translateY(0); filter: blur(0); transition-delay: 0.65s; }
.card.card-entered .card-right > *:nth-child(4) { opacity: 1; transform: translateY(0); filter: blur(0); transition-delay: 0.8s; }

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: radial-gradient(circle at top,
            rgba(155, 124, 255, 0.20),
            transparent 70%);
    opacity: 0.6;
    pointer-events: none;
}

.audio-controls {
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(10, 10, 20, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    box-sizing: border-box;
}

#audio-toggle {
    border: 0;
    background: transparent;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 2px;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.15s ease, opacity 0.15s ease;
    opacity: 0.8;
}

#audio-toggle:hover {
    transform: scale(1.15);
    opacity: 1;
}

#audio-scrubber {
    -webkit-appearance: none;
    appearance: none;
    flex: 1;
    height: 4px;
    border-radius: 999px;
    outline: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.12);
    transition: height 0.15s ease;
    min-width: 0;
}

#audio-scrubber:hover {
    height: 6px;
}

#audio-scrubber::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    border: 0;
    box-shadow: 0 0 8px rgba(155, 124, 255, 0.7);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

#audio-scrubber:hover::-webkit-slider-thumb {
    box-shadow: 0 0 12px rgba(155, 124, 255, 0.9);
    transform: scale(1.15);
}

#audio-scrubber::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    border: 0;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(155, 124, 255, 0.7);
}

#audio-scrubber::-moz-range-track {
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

#audio-time {
    font-size: 11px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.45);
    flex-shrink: 0;
    letter-spacing: 0.02em;
}

.volume-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    padding-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.volume-icon {
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    line-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease, transform 0.15s ease;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
}

.volume-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.volume-icon:hover {
    color: rgba(255, 255, 255, 0.85);
    transform: scale(1.1);
}

#volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 64px;
    height: 3px;
    border-radius: 999px;
    outline: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.12);
    transition: height 0.15s ease;
}

#volume-slider:hover {
    height: 5px;
}

#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #c4b1ff;
    border: 0;
    cursor: pointer;
    box-shadow: 0 0 6px rgba(155, 124, 255, 0.5);
    transition: box-shadow 0.15s ease;
}

#volume-slider:hover::-webkit-slider-thumb {
    box-shadow: 0 0 10px rgba(155, 124, 255, 0.8);
}

#volume-slider::-moz-range-thumb {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #c4b1ff;
    border: 0;
    cursor: pointer;
    box-shadow: 0 0 6px rgba(155, 124, 255, 0.5);
}

#volume-slider::-moz-range-track {
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.panel-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.45);
    font-size: 10px;
    font-weight: 600;
    font-family: inherit;
    padding: 4px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    letter-spacing: 0.03em;
}

.panel-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.15);
}

.panel-btn.active {
    background: rgba(155, 124, 255, 0.2);
    border-color: rgba(155, 124, 255, 0.35);
    color: #c4b1ff;
    box-shadow: 0 0 12px rgba(155, 124, 255, 0.15);
}

.eq-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(10, 10, 20, 0.5);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow:
        0 2px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    width: 100%;
    box-sizing: border-box;
}

.eq-header,
.comp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.eq-label,
.comp-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.35);
}

.eq-actions,
.comp-actions {
    display: flex;
    gap: 6px;
}

.eq-bands {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 0;
}

.eq-band {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.eq-band label {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.eq-value {
    font-size: 9px;
    color: rgba(155, 124, 255, 0.7);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    transition: color 0.15s;
}

.eq-band:hover .eq-value {
    color: rgba(155, 124, 255, 1);
}

.eq-slider {
    writing-mode: vertical-lr;
    direction: rtl;
    -webkit-appearance: slider-vertical;
    appearance: none;
    width: 24px;
    height: 80px;
    cursor: pointer;
    background-color: transparent;
    background-size: 3px 100%;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    outline: none;
    touch-action: none;
}

.eq-slider::-webkit-slider-runnable-track {
    width: 3px;
    background: rgba(155, 124, 255, 0.15);
    border-radius: 2px;
}

.eq-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #c4b1ff, #9b7cff);
    box-shadow:
        0 0 8px rgba(155, 124, 255, 0.5),
        0 2px 4px rgba(0, 0, 0, 0.3);
    margin-left: -5.5px;
    transition: box-shadow 0.15s ease;
}

.eq-slider:hover::-webkit-slider-thumb {
    box-shadow:
        0 0 14px rgba(155, 124, 255, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.3);
}

.eq-slider::-moz-range-track {
    width: 3px;
    background: rgba(155, 124, 255, 0.15);
    border-radius: 2px;
}

.eq-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #c4b1ff, #9b7cff);
    border: none;
    box-shadow:
        0 0 8px rgba(155, 124, 255, 0.5),
        0 2px 4px rgba(0, 0, 0, 0.3);
}

.compressor-container {
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(10, 10, 20, 0.5);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow:
        0 2px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
}

.comp-controls {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.comp-knob {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 52px;
}

.comp-knob label {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.comp-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 54px;
    height: 3px;
    border-radius: 999px;
    outline: none;
    cursor: pointer;
    background: rgba(155, 124, 255, 0.15);
    transition: height 0.15s ease;
}

.comp-slider:hover {
    height: 5px;
}

.comp-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #c4b1ff, #9b7cff);
    border: 0;
    cursor: pointer;
    box-shadow:
        0 0 6px rgba(155, 124, 255, 0.5),
        0 1px 3px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.15s ease;
}

.comp-slider:hover::-webkit-slider-thumb {
    box-shadow:
        0 0 12px rgba(155, 124, 255, 0.8),
        0 1px 3px rgba(0, 0, 0, 0.3);
}

.comp-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #c4b1ff, #9b7cff);
    border: none;
    cursor: pointer;
    box-shadow:
        0 0 6px rgba(155, 124, 255, 0.5),
        0 1px 3px rgba(0, 0, 0, 0.3);
}

.comp-slider::-moz-range-track {
    height: 3px;
    border-radius: 999px;
    background: rgba(155, 124, 255, 0.15);
}

.comp-value {
    font-size: 9px;
    color: rgba(155, 124, 255, 0.7);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    transition: color 0.15s;
}

.comp-knob:hover .comp-value {
    color: rgba(155, 124, 255, 1);
}

.comp-meter-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding-top: 2px;
}

.comp-meter-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.comp-meter-track {
    flex: 1;
    height: 5px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.comp-meter-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #9b7cff 0%, #d166ff 50%, #f23f43 100%);
    border-radius: 3px;
    transition: width 0.06s linear;
    box-shadow: 0 0 8px rgba(155, 124, 255, 0.3);
}

.spectrum-wrap {
    display: flex;
    align-items: stretch;
    gap: 6px;
    width: 100%;
    box-sizing: border-box;
}

.spectrum-scale {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4px 0;
    flex-shrink: 0;
    width: 24px;
    text-align: right;
}

.spectrum-scale span {
    font-size: 8px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: rgba(255, 255, 255, 0.25);
    line-height: 1;
    letter-spacing: 0.02em;
}

#spectrum {
    flex: 1;
    min-width: 0;
    height: 72px;
    border-radius: 12px;
    background: rgba(10, 10, 20, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow:
        inset 0 1px 3px rgba(0, 0, 0, 0.25),
        0 1px 0 rgba(255, 255, 255, 0.03);
    display: block;
    box-sizing: border-box;
}


.enter-screen {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.5s ease, backdrop-filter 0.5s ease;
}

.enter-screen.fade-out {
    opacity: 0;
    backdrop-filter: blur(0px);
}

.enter-screen.fade-out #enter-button {
    transform: scale(0.95);
    opacity: 0;
}

#enter-button {
    background: rgba(255, 255, 255, 0.00);
    color: white;
    border: 0px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 14px 22px;
    font-size: 32px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.4s ease, opacity 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.profile-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.discord-card {
    position: relative;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 340px;
    max-width: 100%;
    padding: 9px 18px;
    border-radius: 20px;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.45s ease 0.25s,
        transform 0.55s ease 0.25s;
}

.card.card-entered .discord-card {
    opacity: 1;
    transform: translateY(0);
}

.discord-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient( 90deg, rgba(115, 11, 200, 0) 0%, rgba(115, 11, 200, 0.08) 20%, rgba(115, 11, 200, 0.08) 50%, rgba(115, 11, 200, 0.5) 100% );
    z-index: 0;
}

.card-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    z-index: 0;
    opacity: 0.6;
    pointer-events: none;
}

.discord-card > *:not(.card-bg-video) {
    position: relative;
    z-index: 1;
}

.discord-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    transition: opacity 0.3s ease;
}

.discord-loading-icon {
    width: 20px;
    height: 20px;
    opacity: 0.4;
    filter: drop-shadow(0 0 4px rgba(138, 99, 255, 0.6));
    animation: pulse-loading 1.5s ease-in-out infinite;
}

.discord-loading span {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.02em;
}

@keyframes pulse-loading {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.discord-loaded {
    display: none;
    align-items: center;
    gap: 14px;
    width: 100%;
}

.discord-loaded.visible {
    display: flex;
}

.discordavatar-wrap {
    position: relative;
    width: 70px;
    height: 70px;
    flex: 0 0 70px;
}

.discordavatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.presence-dot {
    position: absolute;
    right: 0;
    bottom: 2px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 3px solid rgba(10, 10, 20, 0.95);
    background: #747f8d;
}

.presence-online {
    background: #23a55a;
}

.presence-idle {
    background: #f0b232;
}

.presence-dnd {
    background: #f23f43;
}

.presence-offline {
    background: #747f8d;
}

.discord-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    text-align: left;
}

.username {
    font-size: 22px;
    line-height: 1.1;
    font-weight: 700;
    color: #fff;
    word-break: break-word;
}

.status-line {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.68);
    line-height: 1.3;
    word-break: break-word;
}

.activity-line {
    font-size: 14px;
    font-weight: 600;
    color: rgba(35, 165, 90, 0.85);
    line-height: 1.3;
    word-break: break-word;
}

.activity-detail {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.3;
    margin-top: 2px;
}

.offline-line {
    color: #747f8d;
}

.handle {
    margin: -10px 0 10px;
    color: #a8a8a8;
}

.bio {
    margin: 0;
    font-weight: 800;
    font-size: 24px;
}

.social-label {
    margin: 10px 0 -4px;
}

#glitch {
    display: block;
}

#typewriter {
    display: grid;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

#typewriter::before {
    content: attr(data-text);
    visibility: hidden;
    grid-area: 1 / 1;
    font-weight: 900;
    white-space: normal;
    word-wrap: break-word;
}

#typewriter b {
    grid-area: 1 / 1;
    min-width: 0;
    position: relative;
}

#typewriter b::after {
    content: "|";
    position: absolute;
    animation: blink 0.7s step-end infinite;
    margin-left: 2px;
    font-weight: 400;
}

#typewriter.done b::after {
    display: none;
}

@keyframes blink {
    50% { opacity: 0; }
}

.view-count {
    position: absolute;
    bottom: 12px;
    left: 16px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.02em;
    z-index: 1;
    display: none;
    align-items: center;
    gap: 5px;
}

.view-count.visible {
    display: flex;
}

.view-count svg {
    opacity: 0.7;
    flex-shrink: 0;
    vertical-align: middle;
    margin-top: 1px;
}

.credits-btn {
    position: relative;
    border: 0;
    background: transparent;
    padding: 2px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: color 0.15s ease, transform 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.credits-btn:hover {
    color: rgba(255, 255, 255, 0.85);
    transform: scale(1.1);
}

.credits-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: rgba(10, 10, 20, 0.9);
    color: white;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 8px;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transition: 0.15s;
    white-space: nowrap;
}

.credits-btn::before {
    content: "";
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(10, 10, 20, 0.9);
    opacity: 0;
    transition: 0.15s;
}

.credits-btn:hover::after,
.credits-btn:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.credits-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.credits-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.credits-card {
    position: relative;
    width: 360px;
    max-width: calc(100vw - 32px);
    padding: 32px 28px 26px;
    border-radius: 18px;
    background: rgba(15, 15, 25, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 0 30px rgba(138, 99, 255, 0.2),
        0 10px 50px rgba(0, 0, 0, 0.7);
    transform: translateY(20px) scale(0.96);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.credits-modal.open .credits-card {
    transform: translateY(0) scale(1);
}

.credits-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: radial-gradient(circle at top, rgba(155, 124, 255, 0.18), transparent 70%);
    pointer-events: none;
}

.credits-close {
    position: absolute;
    top: 8px;
    right: 12px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.4);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: color 0.15s ease, background 0.15s ease;
}

.credits-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.credits-title {
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    position: relative;
}

.credits-song {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    background: linear-gradient(135deg, #c4b1ff, #9b7cff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.credits-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.credits-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 13px;
}

.credits-label {
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
}

.credits-value {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-align: right;
}

.credit {
    position: absolute;
    bottom: 12px;
    right: 16px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
    z-index: 1;
}

.credit:hover {
    color: #c4b1ff;
}

@media (max-width: 900px) {
    .card-layout {
        flex-direction: column;
        align-items: center;
    }
    .card-right {
        width: 100%;
    }
    .profile-layout {
        flex-direction: column;
    }
    .discord-card {
        width: min(100%, 420px);
    }
}

@media (max-width: 600px) {
    .discord-card {
        padding: 16px;
        gap: 12px;
    }
    .discordavatar-wrap {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
    }
    .discordavatar {
        width: 64px;
        height: 64px;
    }
    .presence-dot {
        width: 16px;
        height: 16px;
        border-width: 3px;
    }
    .username {
        font-size: 18px;
    }
    .status-line, .activity-line {
        font-size: 13px;
    }
    .card {
        padding: 32px 16px;
        max-width: 100%;
    }
    .card-layout {
        gap: 20px;
    }
    .bio {
        font-size: 20px;
    }

    .eq-bands {
        gap: 4px;
    }
    .eq-slider {
        height: 64px;
        width: 18px;
    }
    .eq-band label {
        font-size: 8px;
    }

    .comp-controls {
        gap: 8px;
    }
    .comp-knob {
        min-width: 44px;
    }
    .comp-slider {
        width: 46px;
    }

    .volume-wrap {
        display: none;
    }

    .audio-controls {
        gap: 8px;
        padding: 8px 12px;
    }

}
