/* ==========================================================================
   Custom Font: Kode (kode.ttf)
   ========================================================================== */
@font-face {
    font-family: 'Kode';
    src: url('../assets/fonts/kode.ttf') format('truetype'),
         url('../kode.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Kode';
    src: url('../assets/fonts/kode.ttf') format('truetype'),
         url('../kode.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

/* ==========================================================================
   guns.lol dedicated card page styles - CoCoLeLe Redesign
   ========================================================================== */
:root {
    --bg-dark: #08080c;
    --bg-card: rgba(15, 15, 18, 0.65);
    --border-white: rgba(255, 255, 255, 0.05);
    --text-main: #f3f4f6;
    --text-muted: #666666;
    --font-heading: 'Kode', 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-bio: 'Kode', 'JetBrains Mono', monospace;
}

/* ==========================================================================
   Custom Cursor System (Desktop Pointer Only; Automatically Disabled on Mobile)
   ========================================================================== */
@media (hover: hover) and (pointer: fine) {
    *, *::before, *::after,
    html, body, a, button, input, select, textarea, [role="button"],
    input[type="range"], .volume-slider {
        cursor: none !important;
    }

    input[type="range"]::-webkit-slider-runnable-track,
    input[type="range"]::-webkit-slider-thumb,
    .volume-slider::-webkit-slider-runnable-track,
    .volume-slider::-webkit-slider-thumb {
        cursor: none !important;
    }

    input[type="range"]::-moz-range-track,
    input[type="range"]::-moz-range-thumb,
    input[type="range"]::-moz-range-progress,
    .volume-slider::-moz-range-track,
    .volume-slider::-moz-range-thumb {
        cursor: none !important;
    }
}

/* Touch & Mobile Cursor Reset: completely remove custom cursor & restore native touch targets */
@media (hover: none), (pointer: coarse), (max-width: 900px) {
    #custom-cursor,
    .custom-cursor,
    #glitter-trail-canvas,
    .glitter-trail-canvas {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
        opacity: 0 !important;
    }

    *, *::before, *::after,
    html, body, a, button, input, select, textarea, [role="button"] {
        cursor: auto !important;
    }

    a, button, [role="button"], input[type="button"], input[type="submit"],
    .social-circle, .dock-btn, .screen-cue, .insta-open-profile-btn,
    .yt-cta-btn, .social-switch-tab, .insta-reel-card {
        cursor: pointer !important;
        touch-action: manipulation;
    }
}

.glitter-trail-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 99999990;
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 28px;
    height: 28px;
    pointer-events: none;
    z-index: 99999999;
    mix-blend-mode: screen;
    opacity: 0;
    will-change: transform;
    transition: width 0.2s cubic-bezier(0.25, 1, 0.5, 1),
                height 0.2s cubic-bezier(0.25, 1, 0.5, 1),
                opacity 0.25s ease;
    transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
}

.custom-cursor.active {
    opacity: 1;
}

.custom-cursor-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.95));
}

/* Hover over clickable interactive elements */
.custom-cursor.cursor-hover {
    width: 44px;
    height: 44px;
}

.custom-cursor.cursor-hover .custom-cursor-img {
    filter: drop-shadow(0 0 16px rgba(255, 255, 255, 1)) drop-shadow(0 0 30px rgba(255, 255, 255, 0.85));
}

/* Click / Active state */
.custom-cursor.cursor-click {
    width: 22px;
    height: 22px;
}

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

/* ===== Click to Enter Overlay ===== */
@keyframes cteOrbitRing {
    from { transform: translate(-50%,-50%) rotate(0deg); opacity: 0.5; }
    50% { opacity: 1; }
    to { transform: translate(-50%,-50%) rotate(360deg); opacity: 0.5; }
}
@keyframes ctePulseRing {
    0% { transform: translate(-50%,-50%) scale(0.9); opacity: 0.6; }
    60% { transform: translate(-50%,-50%) scale(2.2); opacity: 0; }
    100% { transform: translate(-50%,-50%) scale(2.2); opacity: 0; }
}
@keyframes cteFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}
@keyframes cteOrbDrift {
    0% { transform: translate(0,0) scale(1); opacity: 0.12; }
    33% { transform: translate(30px,-20px) scale(1.1); opacity: 0.18; }
    66% { transform: translate(-15px,25px) scale(0.9); opacity: 0.1; }
    100% { transform: translate(0,0) scale(1); opacity: 0.12; }
}
@keyframes cteArrowBounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(6px); }
}
@keyframes cteFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

#click-to-enter-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: radial-gradient(circle at 50% 50%, rgba(5, 7, 12, 0.35) 0%, rgba(2, 3, 6, 0.65) 85%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    /* cursor managed by custom cursor */
    overflow: hidden;
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                backdrop-filter 0.8s ease;
}

#click-to-enter-overlay.cte-dismissed {
    opacity: 0;
    transform: scale(1.08);
    backdrop-filter: blur(0px);
    pointer-events: none;
}

/* Atmospheric Ambient Glow Flares */
.cte-glow-flare {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    will-change: transform, opacity;
}

.cte-flare-1 {
    width: 480px;
    height: 480px;
    top: 10%;
    left: 15%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    animation: cteDriftFlare 10s ease-in-out infinite alternate;
}

.cte-flare-2 {
    width: 520px;
    height: 520px;
    bottom: 5%;
    right: 15%;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.15) 0%, transparent 70%);
    animation: cteDriftFlare 12s ease-in-out infinite alternate-reverse;
}

.cte-flare-3 {
    width: 350px;
    height: 350px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 65%);
    animation: cteAuraPulse 4s ease-in-out infinite;
}

/* Glassmorphic Gateway Card */
.cte-card-gateway {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(12, 15, 24, 0.55);
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    border-radius: 26px;
    padding: 2.5rem 3.4rem;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.75),
                inset 0 1px 0 rgba(255, 255, 255, 0.3),
                0 0 35px rgba(255, 255, 255, 0.06);
    max-width: 440px;
    width: 90%;
    user-select: none;
    animation: cteCardFloat 4.5s ease-in-out infinite, cteEntrance 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                border-color 0.35s ease,
                box-shadow 0.35s ease;
}

#click-to-enter-overlay:hover .cte-card-gateway {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 45px 95px rgba(0, 0, 0, 0.85),
                0 0 45px rgba(255, 255, 255, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Avatar with Rotating Orbital Rings and Luminous Aura */
.cte-avatar-wrapper {
    position: relative;
    width: 116px;
    height: 116px;
    margin-bottom: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cte-aura-glow {
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(88, 101, 242, 0.2) 50%, transparent 72%);
    filter: blur(14px);
    animation: cteAuraPulse 3.5s ease-in-out infinite;
    pointer-events: none;
}

.cte-ring-outer {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 1.5px dashed rgba(255, 255, 255, 0.38);
    animation: cteSpinClockwise 14s linear infinite;
    pointer-events: none;
}

.cte-ring-inner {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1.5px solid transparent;
    border-top-color: #ffffff;
    border-right-color: rgba(0, 229, 255, 0.8);
    border-bottom-color: rgba(88, 101, 242, 0.6);
    animation: cteSpinCounter 7s linear infinite;
    pointer-events: none;
}

.cte-avatar {
    width: 116px;
    height: 116px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.32);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.65), 0 0 20px rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

#click-to-enter-overlay:hover .cte-avatar {
    transform: scale(1.04);
}

.cte-avatar-decoration {
    position: absolute;
    width: 138px;
    height: 138px;
    top: -11px;
    left: -11px;
    pointer-events: none;
    z-index: 3;
    object-fit: contain;
}

.cte-status-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid #0e111a;
    z-index: 4;
}

/* Name Row & Badges Pill */
.cte-name-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.cte-name {
    font-family: var(--font-heading);
    font-size: 2.15rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.04em;
    line-height: 1.2;
    margin: 0;
}

.cte-badges-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    padding: 4px 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

/* Enter Button */
.cte-enter-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 13px 34px;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    border-radius: 50px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45),
                inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.cte-enter-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: translateX(-100%);
    transition: transform 0.65s ease;
}

#click-to-enter-overlay:hover .cte-enter-btn {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.18),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

#click-to-enter-overlay:hover .cte-enter-btn::before {
    transform: translateX(100%);
}

.cte-enter-icon {
    font-size: 0.72rem;
    color: #ffffff;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.85));
}

.cte-enter-text {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.08em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.cte-arrow {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.9);
    transition: transform 0.25s ease;
    animation: cteArrowPulse 1.4s ease-in-out infinite;
}

#click-to-enter-overlay:hover .cte-arrow {
    transform: translateX(3px);
}

/* Keypress Hint */
.cte-hint {
    margin-top: 1.15rem;
    margin-bottom: 0;
    font-family: var(--font-body);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.42);
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.cte-hint-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00e5ff;
    box-shadow: 0 0 8px #00e5ff;
    animation: cteDotPulse 1.8s ease-in-out infinite;
}

/* ==========================================================================
   Click to Enter Animations
   ========================================================================== */

@keyframes cteEntrance {
    0% {
        opacity: 0;
        transform: translateY(24px) scale(0.94);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes cteCardFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes cteSpinClockwise {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes cteSpinCounter {
    from {
        transform: rotate(360deg);
    }
    to {
        transform: rotate(0deg);
    }
}

@keyframes cteAuraPulse {
    0%, 100% {
        transform: scale(0.96);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

@keyframes cteDriftFlare {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    100% {
        transform: translate(30px, -20px) scale(1.15);
        opacity: 0.85;
    }
}

@keyframes cteSoundPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 4px rgba(0, 229, 255, 0.5));
    }
    50% {
        transform: scale(1.18);
        filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.95));
    }
}

@keyframes cteDotPulse {
    0%, 100% {
        transform: scale(0.85);
        opacity: 0.45;
    }
    50% {
        transform: scale(1.25);
        opacity: 1;
    }
}

@keyframes cteArrowPulse {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(4px);
    }
}

/* ===== Entry Animation ===== */

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(32px) scale(0.97);
        filter: blur(4px);
    }

    60% {
        opacity: 1;
        filter: blur(0px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes shimmerPulse {

    0%,
    100% {
        box-shadow: 0 35px 70px rgba(0, 0, 0, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.25),
            0 0 0px rgba(255, 255, 255, 0);
    }

    50% {
        box-shadow: 0 35px 70px rgba(0, 0, 0, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.4),
            0 0 24px rgba(255, 255, 255, 0.06);
    }
}

@keyframes shimmerPulseDock {

    0%,
    100% {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.25),
            0 0 0px rgba(255, 255, 255, 0);
    }

    50% {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.4),
            0 0 20px rgba(255, 255, 255, 0.06);
    }
}

html, body {
    height: 100%;
    height: 100dvh;
    overflow: hidden;
    overscroll-behavior: none;
    margin: 0;
    padding: 0;
}

body {
    background-color: #06070a;
    color: var(--text-main);
    font-family: var(--font-body);
    position: relative;
}

/* Full-Screen Background Video Container */
.bg-video-container {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.06);
    filter: blur(8px);
    -webkit-filter: blur(8px);
}

.bg-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.55));
    pointer-events: none;
    z-index: 1;
}

/* Background elements matching screenshot's gray soft glow */
.grid-overlay {
    position: fixed;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px);
    background-size: 24px 24px;
    z-index: 1;
    pointer-events: none;
}

.glow-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    -webkit-filter: blur(140px);
    z-index: 2;
    pointer-events: none;
    opacity: 0.15;
}

.blob-1 {
    width: 500px;
    height: 500px;
    top: -10%;
    left: 10%;
    background: radial-gradient(circle, #ffffff 0%, transparent 70%);
}

.blob-2 {
    width: 400px;
    height: 400px;
    bottom: 5%;
    left: -10%;
    background: radial-gradient(circle, #888888 0%, transparent 70%);
}

#particle-canvas {
    position: fixed;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

/* Profile Layout Wrapper - Card & Music Dock tilt together as one connected unit */
.profile-layout-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    width: 100%;
    max-width: 660px;
    z-index: 10;
    margin: auto 0;
    transform-style: preserve-3d;
    will-change: transform;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.95) translateY(18px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

body.entered .profile-layout-wrapper,
body:not(:has(#click-to-enter-overlay)) .profile-layout-wrapper {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1) translateY(0);
}

/* Card Container & 3D Tilt Wrapper */
.card-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 660px;
    perspective: 1000px;
    /* Entrance animation */
    animation: fadeInUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.profile-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.14) 0%, rgba(14, 16, 26, 0.65) 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    padding: 1.65rem 2.2rem;
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    box-shadow: 0 35px 80px -15px rgba(0, 0, 0, 0.75),
        0 0 45px rgba(88, 101, 242, 0.1),
        inset 0 1px 1px rgba(255, 255, 255, 0.35);
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    position: relative;
    gap: 1.9rem;
    transition: border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
    animation: shimmerPulse 4s ease-in-out 1s infinite;
    /* cursor managed by custom cursor */
    transform-style: preserve-3d;
    will-change: transform;
    overflow: hidden;
}

/* Specular Aurora Rim Light across the top edge */
.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85) 50%, transparent);
    border-radius: 2px;
    pointer-events: none;
    z-index: 10;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.8));
}

.profile-card:hover {
    border-color: rgba(255, 255, 255, 0.32);
    box-shadow: 0 40px 90px -15px rgba(0, 0, 0, 0.85),
        0 0 55px rgba(88, 101, 242, 0.18),
        inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

.card-glow {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: radial-gradient(600px circle at var(--x, 0px) var(--y, 0px), rgba(255, 255, 255, 0.04), transparent 45%);
    pointer-events: none;
    z-index: 1;
}

/* Left Column: Avatar & Discord Handle Pill */
.card-avatar-col {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 2;
    position: relative;
}

/* Ambient Flame Aura Glow behind Avatar (Matching Horns Decoration) */
.avatar-aura-glow {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -55%);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 80, 20, 0.42) 0%, rgba(255, 140, 0, 0.22) 42%, transparent 70%);
    filter: blur(18px);
    pointer-events: none;
    z-index: 0;
    animation: flameAuraPulse 3.5s ease-in-out infinite alternate;
}

@keyframes flameAuraPulse {
    0% {
        transform: translate(-50%, -55%) scale(0.92);
        opacity: 0.65;
    }
    100% {
        transform: translate(-50%, -55%) scale(1.12);
        opacity: 0.95;
        filter: blur(22px);
    }
}

.avatar-container {
    position: relative;
    width: 114px;
    height: 114px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    z-index: 2;
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.28);
    z-index: 2;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.avatar-container:hover .avatar-img {
    transform: scale(1.05);
}

/* Discord Avatar Decoration overlay (guns.lol Discord collectible style) */
.avatar-decoration {
    position: absolute;
    top: -11%;
    left: -11%;
    width: 122%;
    height: 122%;
    pointer-events: none;
    z-index: 5;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.avatar-container:hover .avatar-decoration {
    transform: scale(1.05);
}

/* Discord Handle Pill beneath Avatar */
.avatar-handle-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    padding: 3.5px 11px;
    font-family: 'Kode', 'JetBrains Mono', monospace;
    font-size: 0.70rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    user-select: none;
    z-index: 2;
}

.avatar-handle-chip:hover {
    transform: translateY(-2px) scale(1.05);
    border-color: rgba(88, 101, 242, 0.55);
    background: rgba(88, 101, 242, 0.22);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(88, 101, 242, 0.35);
}

.handle-discord-icon {
    color: #5865f2;
    font-size: 0.74rem;
}

.handle-copy-hint {
    opacity: 0.55;
    font-size: 0.62rem;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.avatar-handle-chip:hover .handle-copy-hint {
    opacity: 1;
    transform: scale(1.15);
}

/* Discord Live Status Indicator Badge */
.discord-status-badge {
    position: absolute;
    bottom: 3px;
    right: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid rgba(20, 20, 26, 0.95);
    background-color: #80848e;
    z-index: 6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.discord-status-badge.status-online {
    background-color: #23a55a;
    box-shadow: 0 0 10px rgba(35, 165, 90, 0.6);
}

.discord-status-badge.status-idle {
    background-color: #f0b232;
    box-shadow: 0 0 10px rgba(240, 178, 50, 0.6);
}

.discord-status-badge.status-dnd {
    background-color: #f23f43;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(242, 63, 67, 0.6);
}

.discord-status-badge.status-dnd::after {
    content: '';
    width: 8px;
    height: 2.5px;
    background-color: #ffffff;
    border-radius: 2px;
}

.discord-status-badge.status-offline {
    background-color: #80848e;
}

/* Right Column: Info & Socials */
.card-info-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.35rem;
    min-width: 0;
    z-index: 2;
}

/* Row 1: Name + Badges Pill */
.name-badge-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
}

.glitch-wrapper,
.name-wave-wrapper,
.name-shine-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.profile-name {
    font-family: 'Kode', var(--font-heading);
    font-size: 2.15rem;
    font-weight: 800;
    font-style: italic;
    color: #ffffff;
    letter-spacing: -0.01em;
    line-height: 1.15;
    position: relative;
    z-index: 2;
    white-space: nowrap;
    display: inline-block;
    /* cursor managed by custom cursor */
    user-select: none;
    padding-right: 4px;
}

/* Pure White & Silver Metallic Shine Sweep Animation */
.profile-name.shine-sweep-text {
    background: linear-gradient(
        115deg,
        #ffffff 0%,
        #ffffff 35%,
        #e2e8f0 44%,
        #ffffff 50%,
        #ffffff 55%,
        #cbd5e1 65%,
        #ffffff 75%,
        #ffffff 100%
    );
    background-size: 250% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;

    animation: shineSweepLoop 3.4s ease-in-out infinite,
               shineGlowFlare 3.4s ease-in-out infinite,
               nameBreathingFloat 3.4s ease-in-out infinite;
    transition: filter 0.3s ease;
}

@keyframes shineSweepLoop {
    0% {
        background-position: 150% 0;
    }
    45% {
        background-position: -150% 0;
    }
    100% {
        background-position: -150% 0;
    }
}

@keyframes shineGlowFlare {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.75)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.85));
    }
    22% {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 1)) 
                drop-shadow(0 0 35px rgba(255, 255, 255, 0.8)) 
                drop-shadow(0 3px 10px rgba(0, 0, 0, 0.95));
    }
    45% {
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.75)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.85));
    }
}

@keyframes nameBreathingFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2.5px);
    }
}

.profile-name.shine-sweep-text:hover {
    animation-duration: 2s;
    filter: drop-shadow(0 0 24px rgba(255, 255, 255, 1)) drop-shadow(0 0 40px rgba(255, 255, 255, 0.85)) !important;
}







/* Badges Pill Box (guns.lol capsule style next to name) */
.badges-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    padding: 5px 12px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Real Profile Views Pill */
.profile-views-pill {
    position: absolute;
    top: 14px;
    right: 16px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(12, 14, 22, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 30px;
    padding: 3.5px 11px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    color: #ffffff;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.2s ease, filter 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    user-select: none;
}

.profile-views-pill:hover {
    transform: translateY(-1.5px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 12px rgba(255, 255, 255, 0.25);
}

.views-live-beacon {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #23a55a;
    box-shadow: 0 0 8px #23a55a;
    animation: rpcPulseDot 1.6s ease-in-out infinite alternate;
}

.views-eye-icon {
    font-size: 0.70rem;
    color: rgba(255, 255, 255, 0.85);
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.6));
}

.views-count-num {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    color: #ffffff;
}

.views-tag-label {
    font-family: var(--font-heading);
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
    margin-left: 1px;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.76rem;
    /* cursor managed by custom cursor */
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.2s ease;
}

.pill-badge:hover {
    transform: scale(1.25);
}

.pill-owner-gif {
    width: 17px;
    height: 17px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.65));
    border-radius: 2px;
}

.pill-star-gif {
    width: 17px;
    height: 17px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.65));
}

.pill-cat-gif {
    width: 17px;
    height: 17px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.pill-heart-gif {
    width: 17px;
    height: 17px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 5px rgba(255, 105, 180, 0.65));
}

.pill-owner i {
    color: #e2e8f0;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.7));
}

.pill-dev i {
    color: #34d399;
    filter: drop-shadow(0 0 5px rgba(52, 211, 153, 0.8));
}

.pill-kick {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #000;
    border: 1px solid #53fc18;
}

.pill-k-icon {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.6rem;
    color: #53fc18;
    line-height: 1;
}

.pill-star i {
    color: #c084fc;
    filter: drop-shadow(0 0 4px rgba(192, 132, 252, 0.8));
}

/* Status & Local Clock Pill Flex Container */
.status-clock-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0.15rem 0 0.3rem 0;
    width: 100%;
}

/* Live Discord Presence Status Pill */
.discord-presence-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.40);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    width: fit-content;
    margin: 0;
    transition: all 0.3s ease;
    user-select: none;
}

/* Real-Time Local Clock Pill (guns.lol staple) */
.local-clock-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.70rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.40);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    user-select: none;
    cursor: default;
}

.local-clock-pill:hover {
    transform: translateY(-1.5px) scale(1.04);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4), 0 0 12px rgba(56, 189, 248, 0.2);
}

.clock-icon {
    font-size: 0.68rem;
    color: #38bdf8;
    filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.6));
    animation: clockTickPulse 2s ease-in-out infinite alternate;
}

@keyframes clockTickPulse {
    0% { transform: rotate(0deg); opacity: 0.8; }
    100% { transform: rotate(10deg); opacity: 1; }
}

.clock-time {
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #ffffff;
}

.clock-tz {
    font-family: var(--font-heading);
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.08);
    padding: 1px 5px;
    border-radius: 4px;
    margin-left: 2px;
}

.presence-dot {
    width: 7.5px;
    height: 7.5px;
    border-radius: 50%;
    background-color: #80848e;
    flex-shrink: 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.status-online .presence-dot {
    background-color: #23a55a;
    box-shadow: 0 0 8px #23a55a;
    animation: presencePulse 2s ease-in-out infinite;
}

.status-dnd .presence-dot {
    background-color: #f23f43;
    box-shadow: 0 0 8px #f23f43;
}

.status-idle .presence-dot {
    background-color: #f0b232;
    box-shadow: 0 0 8px #f0b232;
}

.status-offline .presence-dot {
    background-color: #80848e;
}

@keyframes presencePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.25); opacity: 0.75; }
}

.presence-text {
    letter-spacing: 0.02em;
    font-weight: 600;
}

.presence-detail {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.68rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    padding-left: 7px;
    margin-left: 2px;
}

.presence-detail i {
    font-size: 0.62rem;
    opacity: 0.85;
}

/* Row 2: Bio / Tagline in monospace font */
/* Row 2: Bio / Tagline in sleek frosted capsule */
.bio-row {
    margin: 0.15rem 0 0.45rem 0;
    width: 100%;
}

.bio-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.bio-pill:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.bio-quote {
    font-family: 'Kode', serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    user-select: none;
    line-height: 1;
}

.profile-bio-text {
    font-family: 'Kode', 'JetBrains Mono', monospace;
    font-size: 0.96rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.06em;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.45), 0 2px 6px rgba(0, 0, 0, 0.8);
    user-select: none;
    margin: 0;
    display: inline-block;
    /* cursor managed by custom cursor */
    transition: all 0.3s ease;
}

.bio-pill:hover .profile-bio-text {
    text-shadow: 0 0 16px rgba(255, 255, 255, 0.9), 0 0 25px rgba(255, 255, 255, 0.5);
    letter-spacing: 0.09em;
}

.scramble-glyph {
    opacity: 0.75;
    color: #94a3b8;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
    font-weight: 700;
}

/* Little glitched black dots around username - ADJUSTED COVERAGE */
.particle-dots {
    position: absolute;
    inset: -15px -35px;
    pointer-events: none;
    z-index: 1;
}

.p-dot {
    position: absolute;
    width: 2px;
    height: 2px;
    background-color: #000;
    opacity: 0.85;
}

.pd-1 {
    top: -2px;
    left: 15%;
    width: 3px;
    height: 3px;
}

.pd-2 {
    top: 18px;
    left: 3%;
}

.pd-3 {
    top: 35px;
    left: -10%;
    width: 2px;
    height: 3px;
}

.pd-4 {
    top: -8px;
    right: 10%;
    width: 4px;
    height: 2px;
}

.pd-5 {
    bottom: -6px;
    left: 30%;
}

.pd-6 {
    bottom: 16px;
    right: -5%;
    width: 3px;
    height: 3px;
}

.pd-7 {
    top: 45%;
    left: 104%;
}

.pd-8 {
    top: 10%;
    left: -12%;
}

.pd-9 {
    bottom: -3px;
    right: 20%;
}

.pd-10 {
    top: -14px;
    left: 45%;
    width: 2px;
    height: 2px;
}

.pd-11 {
    bottom: 10px;
    left: -6%;
}

.pd-12 {
    top: 25%;
    right: -15%;
    width: 3px;
    height: 1.5px;
}

.pd-13 {
    bottom: -10px;
    left: 8%;
    width: 2px;
    height: 2px;
}

.pd-14 {
    top: 6px;
    right: 35%;
    width: 2px;
    height: 2px;
}

.pd-15 {
    bottom: -1px;
    right: 2%;
    width: 3px;
    height: 3px;
}

/* ===== Role Badges — Premium Redesign ===== */
@keyframes badgeSlideIn {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.85);
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes badgeBorderRotate {
    0% { --badge-angle: 0deg; }
    100% { --badge-angle: 360deg; }
}

@keyframes badgePulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes badgeIconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2) rotate(-5deg); }
}

.badges-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.3rem;
    flex-wrap: wrap;
    transform: translateZ(18px);
}

.role-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    /* cursor managed by custom cursor */
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    /* Glass base */
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    /* Entrance animation — staggered */
    opacity: 0;
    animation: badgeSlideIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.3s ease,
                border-color 0.3s ease,
                background 0.3s ease;
}

.role-badge:nth-child(1) { animation-delay: 0.15s; }
.role-badge:nth-child(2) { animation-delay: 0.3s; }
.role-badge:nth-child(3) { animation-delay: 0.45s; }
.role-badge:nth-child(4) { animation-delay: 0.6s; }

/* Colored accent line at the left */
.role-badge::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--badge-accent);
    box-shadow: 0 0 8px var(--badge-accent);
    animation: badgePulse 2.5s ease-in-out infinite;
}

/* Subtle shimmer sweep */
.role-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.06),
        transparent
    );
    transition: left 0.6s ease;
    pointer-events: none;
}

.role-badge:hover::after {
    left: 100%;
}

.role-badge:hover {
    transform: translateY(-3px) scale(1.04);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--badge-accent);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3),
                0 0 15px var(--badge-glow);
}

.role-badge:hover i {
    animation: badgeIconBounce 0.5s ease;
}

.role-badge i {
    font-size: 0.72rem;
    filter: drop-shadow(0 0 3px var(--badge-accent));
}

/* -- Owner Badge -- golden crown */
.badge-owner {
    --badge-accent: #f7a11d;
    --badge-glow: rgba(247, 161, 29, 0.25);
}
.badge-owner i {
    color: #fbbf24;
}

/* -- YouTuber Badge -- red play */
.badge-youtuber {
    --badge-accent: #ff0000;
    --badge-glow: rgba(255, 0, 0, 0.2);
}
.badge-youtuber i {
    color: #ff4444;
}

/* -- Gamer Badge -- purple controller */
.badge-gamer {
    --badge-accent: #a855f7;
    --badge-glow: rgba(168, 85, 247, 0.2);
}
.badge-gamer i {
    color: #c084fc;
}

/* -- Creator Badge -- cyan camera */
.badge-creator {
    --badge-accent: #06b6d4;
    --badge-glow: rgba(6, 182, 212, 0.2);
}
.badge-creator i {
    color: #22d3ee;
}


/* Booster Orange Badge */
.booster-badge-row {
    display: flex;
    justify-content: center;
    margin-bottom: 0.85rem;
    transform: translateZ(20px);
}

.booster-badge {
    width: 36px;
    /* Increased from 32px */
    height: 36px;
    /* Increased from 32px */
    border-radius: 50%;
    background-color: #f7a11d;
    /* Solid orange */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    box-shadow: 0 4px 15px rgba(247, 161, 29, 0.35);
    transition: transform 0.2s ease;
}

.booster-badge:hover {
    transform: scale(1.08) rotate(5deg);
}

/* Location and graph icon row */
.status-icon-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    /* Increased gap */
    margin-bottom: 2rem;
    /* Increased margin */
    color: #4a4a4a;
    font-size: 1.05rem;
    /* Slightly larger */
    transform: translateZ(15px);
}

.status-icon-row i {
    /* cursor managed by custom cursor */
    transition: color 0.2s ease;
}

.status-icon-row i:hover {
    color: #888;
}

/* Social buttons container row */
.social-row-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.25rem;
    margin-bottom: 0;
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.social-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.95rem;
    position: relative;
    /* cursor managed by custom cursor */
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease, filter 0.25s ease;
}

.social-circle:hover {
    transform: translateY(-3px) scale(1.18);
}



/* Kick circular button with neon cyan border and glowing letter K */
.sc-kick {
    background: #000000;
    border: 1.5px solid #00e5ff;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.5), inset 0 0 5px rgba(0, 229, 255, 0.3);
}

.sc-kick:hover {
    box-shadow: 0 0 18px rgba(0, 229, 255, 0.95), inset 0 0 8px rgba(0, 229, 255, 0.6);
}

.kick-symbol {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.05rem;
    color: #00e5ff;
    line-height: 1;
    text-shadow: 0 0 6px rgba(0, 229, 255, 0.8);
}

/* YouTube 3D button */
.sc-yt {
    background: transparent;
    border: none;
    box-shadow: none;
}

.yt-3d-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 3px 8px rgba(255, 0, 0, 0.45));
    transition: filter 0.25s ease;
}

.sc-yt:hover .yt-3d-img {
    filter: drop-shadow(0 5px 16px rgba(255, 0, 0, 0.9));
}

/* Instagram 3D button */
.sc-instagram {
    background: transparent;
    border: none;
    box-shadow: none;
}

.insta-3d-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 3px 8px rgba(225, 48, 108, 0.45));
    transition: filter 0.25s ease;
}

.sc-instagram:hover .insta-3d-img {
    filter: drop-shadow(0 5px 16px rgba(225, 48, 108, 0.9));
}

/* Spotify circular button */
.sc-spotify {
    background: rgba(30, 215, 96, 0.12);
    border: 1px solid rgba(30, 215, 96, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.sc-spotify:hover {
    background: rgba(30, 215, 96, 0.25);
    border-color: rgba(30, 215, 96, 0.6);
    box-shadow: 0 6px 20px rgba(30, 215, 96, 0.45);
    transform: translateY(-2px);
}

/* Email circular button */
.sc-mail {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.sc-mail:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.6);
}

/* Tip Creator (Luffy) circular button */
.sc-tip {
    background: #000;
    border: 1.5px solid rgba(255, 75, 75, 0.4);
    box-shadow: 0 0 10px rgba(255, 60, 60, 0.35);
    overflow: visible;
}

.sc-tip:hover {
    border-color: rgba(255, 75, 75, 0.9);
    box-shadow: 0 0 18px rgba(255, 60, 60, 0.8);
}

.sc-tip .luffy-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* ==========================================================================
   Discord Rich Presence (RPC) Card Widget (guns.lol / rip.lol Luxury Style)
   ========================================================================== */
.discord-rpc-container {
    width: 100%;
    margin: 0.45rem 0 0.15rem 0;
    position: relative;
    z-index: 5;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.discord-rpc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 7px;
    width: 100%;
    padding: 8px 11px 9px 11px;
    background: rgba(10, 11, 16, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 13px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.discord-rpc-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

/* Ambient Background Glow Flare */
.rpc-glow-ambient {
    position: absolute;
    top: -25px;
    right: -25px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.18) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transition: background 0.5s ease;
    filter: blur(14px);
}

/* Dynamic Themes */
/* Gaming Theme (e.g. Roblox, Minecraft, GTA, Valorant) */
.discord-rpc-card.theme-game {
    border-color: rgba(88, 101, 242, 0.32);
    background: linear-gradient(135deg, rgba(16, 17, 28, 0.65) 0%, rgba(10, 11, 18, 0.75) 100%);
}
.discord-rpc-card.theme-game .rpc-glow-ambient {
    background: radial-gradient(circle, rgba(88, 101, 242, 0.32) 0%, transparent 70%);
}
.discord-rpc-card.theme-game:hover {
    border-color: rgba(88, 101, 242, 0.55);
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.25);
}
.discord-rpc-card.theme-game .rpc-header-title {
    color: #8590ff;
}
.discord-rpc-card.theme-game .rpc-header-icon {
    color: #5865f2;
    filter: drop-shadow(0 0 6px rgba(88, 101, 242, 0.8));
}
.discord-rpc-card.theme-game .rpc-pulse-dot {
    background-color: #5865f2;
    box-shadow: 0 0 8px #5865f2;
}

/* Spotify Theme */
.discord-rpc-card.theme-spotify {
    border-color: rgba(29, 185, 84, 0.35);
    background: linear-gradient(135deg, rgba(12, 22, 16, 0.65) 0%, rgba(8, 14, 10, 0.75) 100%);
}
.discord-rpc-card.theme-spotify .rpc-glow-ambient {
    background: radial-gradient(circle, rgba(29, 185, 84, 0.3) 0%, transparent 70%);
}
.discord-rpc-card.theme-spotify:hover {
    border-color: rgba(29, 185, 84, 0.6);
    box-shadow: 0 10px 30px rgba(29, 185, 84, 0.25);
}
.discord-rpc-card.theme-spotify .rpc-header-title {
    color: #1ed760;
}
.discord-rpc-card.theme-spotify .rpc-header-icon {
    color: #1db954;
    filter: drop-shadow(0 0 6px rgba(29, 185, 84, 0.8));
}
.discord-rpc-card.theme-spotify .rpc-pulse-dot {
    background-color: #1db954;
    box-shadow: 0 0 8px #1db954;
}

/* Code / Developer Theme (VS Code) */
.discord-rpc-card.theme-code {
    border-color: rgba(0, 122, 204, 0.35);
    background: linear-gradient(135deg, rgba(10, 20, 30, 0.65) 0%, rgba(7, 13, 20, 0.75) 100%);
}
.discord-rpc-card.theme-code .rpc-glow-ambient {
    background: radial-gradient(circle, rgba(0, 122, 204, 0.3) 0%, transparent 70%);
}
.discord-rpc-card.theme-code:hover {
    border-color: rgba(0, 122, 204, 0.6);
    box-shadow: 0 10px 30px rgba(0, 122, 204, 0.25);
}
.discord-rpc-card.theme-code .rpc-header-title {
    color: #38bdf8;
}
.discord-rpc-card.theme-code .rpc-header-icon {
    color: #007acc;
    filter: drop-shadow(0 0 6px rgba(0, 122, 204, 0.8));
}
.discord-rpc-card.theme-code .rpc-pulse-dot {
    background-color: #38bdf8;
    box-shadow: 0 0 8px #38bdf8;
}

/* Streaming Theme (Twitch / YouTube) */
.discord-rpc-card.theme-stream {
    border-color: rgba(145, 70, 255, 0.35);
    background: linear-gradient(135deg, rgba(22, 12, 32, 0.65) 0%, rgba(14, 7, 20, 0.75) 100%);
}
.discord-rpc-card.theme-stream .rpc-glow-ambient {
    background: radial-gradient(circle, rgba(145, 70, 255, 0.3) 0%, transparent 70%);
}
.discord-rpc-card.theme-stream:hover {
    border-color: rgba(145, 70, 255, 0.6);
    box-shadow: 0 10px 30px rgba(145, 70, 255, 0.25);
}
.discord-rpc-card.theme-stream .rpc-header-title {
    color: #bf94ff;
}
.discord-rpc-card.theme-stream .rpc-header-icon {
    color: #9146ff;
    filter: drop-shadow(0 0 6px rgba(145, 70, 255, 0.8));
}
.discord-rpc-card.theme-stream .rpc-pulse-dot {
    background-color: #9146ff;
    box-shadow: 0 0 8px #9146ff;
}

/* Idle Theme */
.discord-rpc-card.theme-idle {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(12, 13, 18, 0.45);
}
.discord-rpc-card.theme-idle .rpc-header-title {
    color: rgba(255, 255, 255, 0.6);
}
.discord-rpc-card.theme-idle .rpc-header-icon {
    color: #5865f2;
}
.discord-rpc-card.theme-idle .rpc-pulse-dot {
    background-color: #23a55a;
    box-shadow: 0 0 6px #23a55a;
}

/* Header Bar */
.rpc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 1;
}

.rpc-header-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rpc-header-icon {
    font-size: 0.72rem;
    display: inline-flex;
    align-items: center;
}

.rpc-header-title {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.rpc-header-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rpc-platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-body);
    font-size: 0.58rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.07);
    padding: 1.5px 6px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.rpc-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.06);
    padding: 1.5px 7px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.rpc-pulse-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    animation: rpcPulseDot 1.6s ease-in-out infinite alternate;
}

@keyframes rpcPulseDot {
    0% { opacity: 0.6; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1.2); }
}

.rpc-status-tag {
    font-family: var(--font-body);
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
}

/* Main Content */
.rpc-main-content {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Asset Container */
.rpc-asset-container {
    flex-shrink: 0;
}

.rpc-art-wrapper {
    position: relative;
    width: 54px;
    height: 54px;
    border-radius: 13px;
}

.rpc-large-image {
    width: 100%;
    height: 100%;
    border-radius: 13px;
    object-fit: cover;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.55);
    display: block;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.discord-rpc-card:hover .rpc-large-image {
    transform: scale(1.04);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.65);
}

.rpc-fallback-icon {
    width: 100%;
    height: 100%;
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.35) 0%, rgba(20, 20, 30, 0.8) 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

/* Small Asset Overlay */
.rpc-small-asset {
    position: absolute;
    bottom: -3px;
    right: -3px;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: #111218;
    padding: 2px;
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rpc-small-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Metadata Info Column */
.rpc-info-col {
    display: flex;
    flex-direction: column;
    gap: 1.5px;
    min-width: 0;
    flex: 1;
    text-align: left;
}

.rpc-title-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.rpc-activity-name {
    font-family: var(--font-heading);
    font-size: 0.84rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.01em;
}

.rpc-verified-icon {
    font-size: 0.68rem;
    color: #5865f2;
    display: inline-flex;
    align-items: center;
}

.rpc-badge-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-heading);
    font-size: 0.52rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #8590ff;
    background: rgba(88, 101, 242, 0.16);
    border: 1px solid rgba(88, 101, 242, 0.35);
    padding: 1px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-left: 2px;
    box-shadow: 0 0 8px rgba(88, 101, 242, 0.25);
}

.rpc-badge-pulse {
    width: 4.5px;
    height: 4.5px;
    border-radius: 50%;
    background-color: #5865f2;
    box-shadow: 0 0 6px #5865f2;
    animation: rpcPulseDot 1.4s ease-in-out infinite alternate;
}

.rpc-line {
    font-family: var(--font-body);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
}

.rpc-details {
    font-size: 0.71rem;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 500;
}

.rpc-state {
    font-size: 0.66rem;
    color: rgba(255, 255, 255, 0.55);
}

/* Dynamic Live Elapsed Timer */
.rpc-timer-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-bio);
    font-size: 0.64rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 1px;
}

.rpc-timer-pill i {
    font-size: 0.6rem;
    opacity: 0.8;
}

.rpc-timer-value {
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Spotify Interactive Scrubber */
.rpc-spotify-container {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 100%;
    margin-top: 2px;
}

.rpc-spotify-bar-track {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.rpc-spotify-bar-fill {
    height: 100%;
    background: #1db954;
    border-radius: 3px;
    transition: width 0.3s linear;
    box-shadow: 0 0 6px rgba(29, 185, 84, 0.6);
}

.rpc-spotify-time-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-bio);
    font-size: 0.60rem;
    color: rgba(255, 255, 255, 0.65);
}

/* Mini Equalizer Bars for Spotify */
.rpc-spotify-eq {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 9px;
}

.rpc-spotify-eq span {
    width: 2px;
    background: #1db954;
    border-radius: 2px;
    animation: rpcEqBounce 0.8s ease-in-out infinite alternate;
}

.rpc-spotify-eq .eq-b1 { height: 3px; animation-delay: 0.1s; }
.rpc-spotify-eq .eq-b2 { height: 8px; animation-delay: 0.3s; }
.rpc-spotify-eq .eq-b3 { height: 5px; animation-delay: 0.2s; }

@keyframes rpcEqBounce {
    0% { height: 2px; }
    100% { height: 9px; }
}

/* Action Button Row */
.rpc-action-container {
    width: 100%;
    margin-top: 2px;
    position: relative;
    z-index: 1;
}

.rpc-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.70rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.22s ease;
}

.rpc-action-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.rpc-action-btn i.rpc-external-icon {
    font-size: 0.58rem;
    opacity: 0.7;
}


/* Discord Servers Container (Dual Server Stack) */
.discord-servers-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    margin-top: 0.55rem;
}

/* Discord Server Invite Card Widget */
/* Discord Server Invite Card Widget */
.discord-server-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 12px;
    background: rgba(10, 12, 18, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 3.5px solid rgba(88, 101, 242, 0.6);
    border-radius: 13px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* cursor managed by custom cursor */
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 5;
    overflow: hidden;
}

.discord-server-card:hover {
    background: rgba(88, 101, 242, 0.16);
    border-color: rgba(88, 101, 242, 0.45);
    border-left-color: #5865f2;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(88, 101, 242, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.server-card-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.server-icon-wrapper {
    position: relative;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.server-icon-img {
    width: 100%;
    height: 100%;
    border-radius: 11px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
    transition: transform 0.25s ease;
}

.discord-server-card:hover .server-icon-img {
    transform: scale(1.06);
}

.server-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    text-align: left;
}

.server-title-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.server-name {
    font-family: var(--font-heading);
    font-size: 0.84rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.01em;
}

.server-verified-badge {
    color: #5865f2;
    font-size: 0.72rem;
    display: inline-flex;
    align-items: center;
}

.server-stats {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.65);
}

.stat-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.stat-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.dot-online {
    background-color: #23a55a;
    box-shadow: 0 0 6px rgba(35, 165, 90, 0.8);
}

.dot-members {
    background-color: rgba(255, 255, 255, 0.4);
}

.stat-separator {
    opacity: 0.35;
    font-size: 0.6rem;
}

/* Discord Official Blurple Join Button with Gloss Sweep */
.server-join-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 3px 12px rgba(88, 101, 242, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
    transition: all 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-left: 8px;
    position: relative;
    overflow: hidden;
}

.server-join-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.45s ease;
    pointer-events: none;
}

.discord-server-card:hover .server-join-btn::before {
    left: 100%;
}

.discord-server-card:hover .server-join-btn {
    background: linear-gradient(135deg, #6774f8 0%, #4f5bd6 100%);
    transform: scale(1.04);
    box-shadow: 0 5px 18px rgba(88, 101, 242, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.45);
    border-color: rgba(255, 255, 255, 0.35);
}

.join-discord-icon {
    font-size: 0.75rem;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.5));
}

.join-btn-text {
    letter-spacing: 0.02em;
}

.join-arrow-icon {
    font-size: 0.65rem;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.discord-server-card:hover .join-arrow-icon {
    transform: translateX(3.5px);
}

/* Spotify & Music Player Dock (Stacked below card) */
.music-dock-container {
    position: relative;
    width: 100%;
    max-width: 660px;
    z-index: 100;
    /* Same entrance animation at same time as card */
    animation: fadeInUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.dock-track-artist {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
    margin-left: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Animated Sound Equalizer */
.dock-equalizer {
    display: inline-flex;
    align-items: flex-end;
    gap: 2.5px;
    height: 12px;
    margin-left: 8px;
}

.eq-bar {
    width: 2.5px;
    height: 12px;
    background: linear-gradient(to top, #f7a11d, #ff5e3a);
    border-radius: 1px;
    box-shadow: 0 0 6px rgba(247, 161, 29, 0.5);
    transform-origin: bottom;
    transform: scaleY(0.25);
    will-change: transform;
    transition: transform 0.2s ease;
}

.dock-equalizer.playing .bar-1 { animation: eqBounce 0.6s ease-in-out infinite alternate; }
.dock-equalizer.playing .bar-2 { animation: eqBounce 0.8s ease-in-out 0.2s infinite alternate; }
.dock-equalizer.playing .bar-3 { animation: eqBounce 0.5s ease-in-out 0.4s infinite alternate; }
.dock-equalizer.playing .bar-4 { animation: eqBounce 0.7s ease-in-out 0.1s infinite alternate; }

/* 100% GPU-composited zero-reflow equalizer animation */
@keyframes eqBounce {
    0% { transform: scaleY(0.25); }
    100% { transform: scaleY(1); }
}

.music-dock-wide {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.13) 0%, rgba(14, 16, 26, 0.65) 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 10px 15px;
    border-radius: 18px;
    backdrop-filter: blur(16px) saturate(145%);
    -webkit-backdrop-filter: blur(16px) saturate(145%);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6),
        0 0 35px rgba(88, 101, 242, 0.08),
        inset 0 1px 1px rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
    animation: shimmerPulseDock 4s ease-in-out 1s infinite;
    position: relative;
    overflow: hidden;
}

.music-dock-wide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7) 50%, transparent);
    border-radius: 2px;
    pointer-events: none;
    z-index: 10;
}

.music-dock-wide:hover {
    border-color: rgba(255, 255, 255, 0.32);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7),
        0 0 45px rgba(88, 101, 242, 0.15),
        inset 0 1px 1px rgba(255, 255, 255, 0.45);
}

/* Album Art Left */
.dock-left {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.dock-album-art {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

/* Mid Progress & details */
.dock-center {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.dock-track-info {
    display: flex;
    align-items: center;
}

.dock-track-title {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    /* Pure white for high contrast */
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dock-progress-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dock-time-text {
    font-family: var(--font-body);
    font-size: 0.66rem;
    color: rgba(255, 255, 255, 0.55);
    /* Lighter grey for white glass visibility */
    min-width: 28px;
    flex-shrink: 0;
}

.dock-progress-bar {
    flex-grow: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    /* More visible background */
    border-radius: 2px;
    position: relative;
    cursor: pointer;
}

.dock-progress-fill {
    height: 100%;
    width: 0%;
    background: #ffffff;
    /* White progress fill */
    border-radius: 2px;
    transition: width 0.1s linear;
}

.dock-progress-bar:hover .dock-progress-fill {
    background: #f7a11d;
    /* Orange boost on hover */
}

/* Control Buttons Right */
.dock-right {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.dock-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.55);
    /* White glass matching color */
    cursor: pointer;
    font-size: 0.9rem;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease;
}

.dock-btn:hover {
    color: #ffffff;
    transform: scale(1.08);
}

.dock-btn.play-pause-btn {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
}

.dock-btn.play-pause-btn:hover {
    color: #fff;
    transform: scale(1.1);
}

/* Volume Controls */
.dock-volume-container {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 6px;
}

.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 70px;
    height: 4px;
    --vol-percent: 80%;
    background: linear-gradient(
        to right,
        #ffffff 0%,
        #ffffff var(--vol-percent, 80%),
        rgba(255, 255, 255, 0.18) var(--vol-percent, 80%),
        rgba(255, 255, 255, 0.18) 100%
    );
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    transition: width 0.2s ease;
}

.volume-slider:hover {
    background: linear-gradient(
        to right,
        #f7a11d 0%,
        #f7a11d var(--vol-percent, 80%),
        rgba(255, 255, 255, 0.25) var(--vol-percent, 80%),
        rgba(255, 255, 255, 0.25) 100%
    );
}

/* Custom styling for range input track/thumb */
/* Chrome, Safari, Opera, Edge */
.volume-slider::-webkit-slider-runnable-track {
    background: transparent;
    height: 4px;
    border-radius: 2px;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    margin-top: -3px;
}

.volume-slider::-webkit-slider-thumb:hover {
    background: #f7a11d;
    /* Matches the orange highlight/theme */
    transform: scale(1.2);
    box-shadow: 0 0 8px rgba(247, 161, 29, 0.8);
}

/* Firefox */
.volume-slider::-moz-range-track {
    background: rgba(255, 255, 255, 0.18);
    height: 4px;
    border-radius: 2px;
}

.volume-slider::-moz-range-progress {
    background: #ffffff;
    height: 4px;
    border-radius: 2px;
}

.volume-slider:hover::-moz-range-progress {
    background: #f7a11d;
}

.volume-slider::-moz-range-thumb {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.volume-slider::-moz-range-thumb:hover {
    background: #f7a11d;
    transform: scale(1.2);
    box-shadow: 0 0 8px rgba(247, 161, 29, 0.8);
}

/* Mobile responsive adjustments */
/* Mobile responsive adjustments */
@media (max-width: 620px) {
    .profile-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.4rem;
        gap: 1.25rem;
    }

    .profile-views-pill {
        top: 10px;
        right: 12px;
        font-size: 0.68rem;
        padding: 3px 8px;
    }

    .card-info-col {
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .name-badge-row {
        justify-content: center;
    }

    .profile-name {
        font-size: 1.85rem;
    }

    .social-row-container {
        justify-content: center;
        gap: 0.6rem;
    }

    .social-circle {
        width: 34px;
        height: 34px;
    }

    .music-dock-container {
        width: 100%;
    }

    .discord-server-card {
        padding: 8px 10px;
        margin-top: 0.8rem;
    }

    .server-name {
        max-width: 160px;
    }

    .music-dock-wide {
        padding: 8px 12px;
        gap: 10px;
        border-radius: 12px;
    }

    .dock-album-art {
        width: 38px;
        height: 38px;
    }

    .dock-track-title {
        font-size: 0.78rem;
    }

    .dock-time-text {
        font-size: 0.6rem;
        min-width: 24px;
    }

    .dock-btn {
        font-size: 0.8rem;
        padding: 4px;
    }

    .dock-btn.play-pause-btn {
        font-size: 0.95rem;
    }

    .dock-volume-container {
        gap: 0;
        margin-left: 0;
    }

    .volume-slider {
        display: none;
    }
}

/* ==========================================================================
   Full-Screen Snap Scrolling System (Screen-to-Screen App Experience)
   ========================================================================== */
.app-viewport {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    z-index: 10;
    pointer-events: none;
}

body.entered .app-viewport,
body:not(:has(#click-to-enter-overlay)) .app-viewport {
    pointer-events: auto;
}

/* Individual 100% Viewport App Screens */
.app-screen {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    will-change: transform, opacity;
    transition: transform 0.46s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.44s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
}

.app-screen.screen-current {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.app-screen.screen-above {
    transform: translate3d(0, -100%, 0);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

.app-screen.screen-below {
    transform: translate3d(0, 100%, 0);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

/* Screen Content Wrapper */
.screen-content-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 1rem;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Screen Transition Navigation Cues (Scroll Hints) */
.screen-cue {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    background: rgba(14, 16, 24, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 30px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 20;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.screen-cue.cue-down {
    bottom: 22px;
    animation: cueBounceDown 2.2s ease-in-out infinite;
}

.screen-cue.cue-up {
    top: 20px;
    animation: cueBounceUp 2.2s ease-in-out infinite;
}

.screen-cue:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.06);
    box-shadow: 0 0 18px rgba(0, 229, 255, 0.35);
}

.cue-chevron {
    font-size: 0.75rem;
    color: #00e5ff;
}

@keyframes cueBounceDown {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(5px);
    }
    60% {
        transform: translateY(2px);
    }
}

@keyframes cueBounceUp {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-2px);
    }
}

/* Vertical Floating Screen Pagination Indicators */
.screen-indicators {
    position: fixed;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 9999;
    padding: 6px 4px;
    background: transparent;
    border: none;
    border-radius: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

body.entered .screen-indicators,
body:not(:has(#click-to-enter-overlay)) .screen-indicators {
    opacity: 1;
    pointer-events: auto;
}

.indicator-dot {
    position: relative;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator-dot .dot-inner {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.9), 0 2px 6px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.35);
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.indicator-dot:hover .dot-inner {
    background: #ffffff;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.95), 0 2px 6px rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 255, 255, 0.8);
}

.indicator-dot.active .dot-inner {
    width: 10px;
    height: 10px;
    background: #ffffff;
    outline: 2px solid rgba(255, 255, 255, 0.45);
    outline-offset: 3.5px;
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.95), 0 0 24px rgba(255, 255, 255, 0.6), 0 2px 8px rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.indicator-tooltip {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: rgba(12, 14, 22, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    padding: 4px 10px;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
}

.indicator-dot:hover .indicator-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* ==========================================================================
   Screen 2: Dedicated Instagram Recent Posts Screen Layout
   ========================================================================== */
.instagram-screen-wrapper {
    max-width: 1120px;
    width: 94%;
    height: 94vh;
    height: 94dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
}

.insta-app-card {
    width: 100%;
    max-height: 82vh;
    max-height: 82dvh;
    background: rgba(14, 16, 24, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    padding: 1.4rem 1.6rem;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.22);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    overflow: hidden;
    transform-style: preserve-3d;
}

/* Instagram Header Bar */
.insta-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    gap: 1rem;
    flex-wrap: wrap;
}

.insta-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.insta-profile-avatar-wrap {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    padding: 2.5px;
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
    box-shadow: 0 0 14px rgba(221, 42, 123, 0.45);
    flex-shrink: 0;
}

.insta-profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #111;
    display: block;
}

.insta-verified-check,
.insta-platform-corner-badge {
    position: absolute;
    bottom: -3px;
    right: -3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0e1018;
    border: 2px solid #0e1018;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(221, 42, 123, 0.75);
    overflow: hidden;
}

.insta-avatar-corner-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.insta-user-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.insta-user-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.insta-title-3d-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(221, 42, 123, 0.65));
    animation: instaLogoFloat 3s ease-in-out infinite;
}

@keyframes instaLogoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

.insta-user-handle {
    font-family: var(--font-heading);
    font-size: 1.18rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.04em;
    margin: 0;
    line-height: 1.1;
}

.insta-creator-badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: linear-gradient(135deg, rgba(245, 133, 41, 0.2), rgba(221, 42, 123, 0.2));
    border: 1px solid rgba(221, 42, 123, 0.45);
    color: #ff6b9d;
    padding: 2px 9px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.insta-creator-badge i {
    color: #dd2a7b;
    font-size: 0.65rem;
}

.insta-user-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.6);
}

.insta-meta-sep {
    opacity: 0.4;
    font-size: 0.6rem;
}

.insta-meta-item strong {
    color: #ffffff;
}

.insta-open-profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(221, 42, 123, 0.28), rgba(81, 91, 212, 0.28));
    border: 1px solid rgba(221, 42, 123, 0.45);
    border-radius: 50px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 4px 15px rgba(221, 42, 123, 0.2);
}

.insta-open-profile-btn:hover {
    background: linear-gradient(135deg, rgba(221, 42, 123, 0.55), rgba(81, 91, 212, 0.55));
    border-color: rgba(255, 255, 255, 0.75);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 25px rgba(221, 42, 123, 0.45);
}

.insta-open-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* Behold Widget & Real Grid Container */
.insta-behold-container {
    width: 100%;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.5rem 0.25rem;
    border-radius: 16px;
    display: flex;
    justify-content: center;
}

behold-widget {
    display: block;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
}

/* Real Instagram 3-Column Grid (Matches Behold Configuration) */
.insta-grid-container {
    width: 100%;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.4rem 0.3rem 0.8rem 0.3rem;
    border-radius: 16px;
}

.insta-reels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
}

.insta-reel-card {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(20, 24, 36, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    text-decoration: none;
    display: block;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.35s ease,
                box-shadow 0.35s ease;
}

.insta-reel-card:hover {
    transform: translateY(-4px) scale(1.025);
    border-color: rgba(221, 42, 123, 0.65);
    box-shadow: 0 16px 36px rgba(221, 42, 123, 0.25), 0 0 20px rgba(0, 229, 255, 0.15);
}

.insta-reel-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

.insta-reel-card:hover .insta-reel-thumb {
    transform: scale(1.08);
}

.insta-reel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.88) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
    transition: background 0.35s ease;
    pointer-events: none;
}

.insta-reel-card:hover .insta-reel-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.15) 30%, rgba(0, 0, 0, 0.94) 100%);
}

.insta-reel-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.insta-reel-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #ffffff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.insta-reel-badge i {
    color: #dd2a7b;
    font-size: 0.58rem;
}

.insta-reel-likes {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 600;
    color: #ff477e;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.insta-reel-center-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.75);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(221, 42, 123, 0.88);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 0 20px rgba(221, 42, 123, 0.65);
    pointer-events: none;
}

.insta-reel-card:hover .insta-reel-center-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.insta-reel-bottom {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.insta-reel-caption {
    font-size: 0.7rem;
    color: #ffffff;
    line-height: 1.25;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
    margin: 0;
}

.insta-reel-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.62rem;
    font-weight: 700;
    color: #00e5ff;
    letter-spacing: 0.03em;
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.insta-reel-card:hover .insta-reel-cta {
    opacity: 1;
    transform: translateX(2px);
}

/* Sleek custom scrollbars for containers */
.insta-behold-container::-webkit-scrollbar,
.insta-grid-container::-webkit-scrollbar {
    width: 6px;
}

.insta-behold-container::-webkit-scrollbar-track,
.insta-grid-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.insta-behold-container::-webkit-scrollbar-thumb,
.insta-grid-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.insta-behold-container::-webkit-scrollbar-thumb:hover,
.insta-grid-container::-webkit-scrollbar-thumb:hover {
    background: #00e5ff;
}

/* ==========================================================================
   SCREEN 3: YOUTUBE STATS HUB CARD (Exact Same Design System, YouTube Themed)
   ========================================================================== */
.youtube-screen-wrapper {
    position: relative;
    width: 100%;
    max-width: 680px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    padding: 1.8rem 1rem;
    box-sizing: border-box;
}

.yt-app-card {
    width: 100%;
    max-width: 680px;
    max-height: 82vh;
    max-height: 82dvh;
    background: rgba(16, 14, 18, 0.78);
    border: 1px solid rgba(255, 60, 60, 0.22);
    border-radius: 24px;
    padding: 1.4rem 1.6rem;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65),
                inset 0 1px 0 rgba(255, 255, 255, 0.18);
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Custom scrollbars for yt-app-card */
.yt-app-card::-webkit-scrollbar {
    width: 6px;
}
.yt-app-card::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}
.yt-app-card::-webkit-scrollbar-thumb {
    background: rgba(255, 60, 60, 0.3);
    border-radius: 10px;
}
.yt-app-card::-webkit-scrollbar-thumb:hover {
    background: #ff0033;
}

/* YouTube Header Bar */
.yt-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.35rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 60, 60, 0.15);
    border-radius: 16px;
    gap: 1rem;
    flex-wrap: wrap;
}

.yt-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.yt-profile-avatar-wrap {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 2.5px;
    background: linear-gradient(135deg, #ff0000, #ff4d4d, #cc0000, #ff7878);
    box-shadow: 0 0 16px rgba(255, 0, 0, 0.45);
    flex-shrink: 0;
}

.yt-profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #111;
    display: block;
}

.yt-verified-check {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #ff0033;
    color: #fff;
    font-size: 0.58rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #100e12;
    box-shadow: 0 0 8px rgba(255, 0, 51, 0.6);
}

.yt-user-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.yt-user-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.yt-user-handle {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.04em;
    margin: 0;
    line-height: 1.1;
}

.yt-creator-badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(255, 0, 51, 0.16);
    border: 1px solid rgba(255, 0, 51, 0.38);
    color: #ff3355;
    padding: 2px 9px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.yt-user-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
}

.yt-meta-sep {
    opacity: 0.4;
    font-size: 0.6rem;
}

.yt-meta-item strong {
    color: #ffffff;
}

.yt-open-channel-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    background: linear-gradient(135deg, rgba(255, 0, 51, 0.32), rgba(204, 0, 0, 0.32));
    border: 1px solid rgba(255, 60, 60, 0.5);
    border-radius: 50px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 4px 18px rgba(255, 0, 0, 0.28);
}

.yt-open-channel-btn:hover {
    background: linear-gradient(135deg, rgba(255, 0, 51, 0.65), rgba(204, 0, 0, 0.65));
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.5);
}

.yt-open-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* Social Platform Switcher Tabs */
.social-switch-tabs {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    padding: 3px;
    gap: 3px;
}

.social-switch-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 20px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.social-switch-tab.active {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.social-switch-tab:hover:not(.active) {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

/* YouTube Showcase Stats Grid (4 Live Tiles) */
.yt-showcase-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    width: 100%;
}

.yt-stat-card {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1.25rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}

.yt-stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 60, 60, 0.4);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 0, 51, 0.15);
}

.yt-stat-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.subs-icon {
    background: rgba(255, 0, 51, 0.15);
    color: #ff3355;
    border: 1px solid rgba(255, 0, 51, 0.3);
}

.vids-icon {
    background: rgba(0, 229, 255, 0.15);
    color: #00e5ff;
    border: 1px solid rgba(0, 229, 255, 0.3);
}

.genre-icon {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.status-icon {
    background: rgba(52, 211, 153, 0.15);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.3);
}

.views-icon {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.yt-stat-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.yt-stat-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

.yt-stat-number {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    letter-spacing: 0.02em;
    margin: 2px 0 0 0;
}

.yt-stat-value {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin: 2px 0 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yt-stat-subtext {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}

.yt-stat-subtext i {
    font-size: 0.65rem;
}

.yt-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #34d399;
    padding: 3px 0;
}

.yt-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 8px #34d399;
    animation: ytPulse 1.8s infinite;
}

@keyframes ytPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

/* Channel Action Hub Banner */
.yt-channel-banner-card {
    background: linear-gradient(135deg, rgba(255, 0, 51, 0.12), rgba(20, 20, 30, 0.55));
    border: 1px solid rgba(255, 60, 60, 0.22);
    border-radius: 20px;
    padding: 1.3rem 1.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.yt-banner-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-width: 560px;
}

.yt-banner-badge {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #ff3355;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.yt-banner-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.02em;
}

.yt-banner-desc {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.45;
    margin: 0;
}

.yt-banner-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.yt-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.yt-cta-primary {
    background: #ff0033;
    color: #ffffff;
    border: 1px solid #ff3355;
    box-shadow: 0 4px 18px rgba(255, 0, 51, 0.4);
}

.yt-cta-primary:hover {
    background: #ff1a44;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 6px 24px rgba(255, 0, 51, 0.6);
}

.yt-cta-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.yt-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-2px);
}

/* Mobile & Tablet Responsive Media Queries */
@media (max-width: 900px) {
    .insta-app-card,
    .yt-app-card {
        padding: 1rem;
        max-height: 86vh;
        max-height: 86dvh;
    }
    .insta-reels-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .insta-behold-container,
    .insta-grid-container {
        padding: 0.25rem 0;
    }
}

/* Hide floating screen indicator dots completely on mobile phones */
@media (max-width: 768px), (pointer: coarse) and (max-width: 900px) {
    .screen-indicators {
        display: none !important;
    }
    .yt-showcase-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    .yt-channel-banner-card {
        padding: 0.85rem !important;
        gap: 8px !important;
    }
    .yt-banner-actions {
        width: 100%;
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
    }
    .yt-cta-btn {
        flex: 1 !important;
        justify-content: center !important;
        padding: 7px 10px !important;
        font-size: 0.72rem !important;
    }
}

@media (max-width: 600px) {
    .youtube-screen-wrapper,
    .instagram-screen-wrapper,
    .insta-screen-wrapper {
        padding: 1.2rem 0.6rem !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .yt-app-card,
    .insta-app-card {
        margin: auto 0 !important;
        align-self: center !important;
        padding: 0.85rem !important;
        border-radius: 18px !important;
        gap: 0.75rem !important;
        max-height: 82vh !important;
        max-height: 82dvh !important;
    }

    .yt-header-bar {
        padding: 0.65rem 0.75rem !important;
        gap: 0.5rem !important;
        border-radius: 14px !important;
    }

    .yt-profile-avatar-wrap {
        width: 42px !important;
        height: 42px !important;
    }

    .yt-user-handle {
        font-size: 1.05rem !important;
    }

    .yt-creator-badge {
        font-size: 0.58rem !important;
        padding: 1px 6px !important;
    }

    .yt-user-meta-row {
        flex-wrap: wrap !important;
        gap: 4px 6px !important;
        font-size: 0.68rem !important;
    }

    .yt-open-channel-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 6px 12px !important;
        font-size: 0.72rem !important;
    }

    .yt-showcase-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 7px !important;
    }

    .yt-stat-card {
        padding: 0.65rem 0.7rem !important;
        gap: 8px !important;
        border-radius: 12px !important;
    }

    .yt-stat-icon-wrap {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.9rem !important;
        border-radius: 8px !important;
    }

    .yt-stat-label {
        font-size: 0.58rem !important;
    }

    .yt-stat-number {
        font-size: 1.1rem !important;
    }

    .yt-stat-value {
        font-size: 0.72rem !important;
        line-height: 1.2 !important;
    }

    .yt-stat-subtext {
        display: none !important;
    }

    .yt-channel-banner-card {
        padding: 0.75rem 0.85rem !important;
        gap: 6px !important;
        border-radius: 12px !important;
    }

    .yt-banner-badge {
        font-size: 0.55rem !important;
    }

    .yt-banner-title {
        font-size: 0.86rem !important;
    }

    .yt-banner-desc {
        font-size: 0.68rem !important;
        line-height: 1.35 !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .insta-header-bar {
        padding: 0.6rem 0.8rem;
    }
    .insta-open-profile-btn {
        padding: 6px 12px;
        font-size: 0.72rem;
    }
    .insta-user-handle {
        font-size: 1rem;
    }
    .insta-featured-caption {
        font-size: 0.78rem;
    }
    .screen-cue {
        padding: 5px 12px;
        font-size: 0.6rem;
    }
    .screen-cue.cue-down {
        bottom: 8px;
    }
    .screen-cue.cue-up {
        top: 8px;
    }
}

/* ==========================================================================
   Mobile Performance & Zero-Lag Mode (All Heavy Animations Disabled for Phone)
   ========================================================================== */
@media (max-width: 768px), (pointer: coarse) {
    /* 1. Turn off infinite non-essential keyframe loops to preserve CPU/GPU battery */
    *,
    *::before,
    *::after {
        animation: none !important;
        -webkit-animation: none !important;
    }

    /* 2. Enable smooth background video on mobile without heavy GPU blur filter */
    .bg-video {
        display: block !important;
        visibility: visible !important;
        filter: none !important;
        -webkit-filter: none !important;
        transform: translate3d(-50%, -50%, 0) scale(1.02) !important;
        will-change: transform !important;
    }

    .bg-video-overlay {
        background: rgba(6, 7, 10, 0.75) !important;
    }

    /* 3. Ensure active cards and components are instantly visible, crisp and lag-free */
    .card-container,
    .profile-card,
    .role-badge,
    .music-dock-container,
    .cte-card-gateway,
    .cte-avatar-wrapper,
    .insta-app-card,
    .yt-app-card,
    .discord-server-card,
    .discord-rpc-card {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translate3d(0, 0, 0) !important;
        filter: none !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
        will-change: auto !important;
    }

    /* 4. Disable heavy shine sweep loop gradient movement and keep static metallic luxury text */
    .shine-sweep-text {
        background: linear-gradient(135deg, #ffffff 0%, #f0f0f5 50%, #d8d8e5 100%) !important;
        -webkit-background-clip: text !important;
        background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4)) !important;
    }

    /* 5. Clean simplified box shadows without animated glow repaints */
    .profile-card {
        box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
        transform-style: flat !important;
    }

    .card-glow,
    .cte-aura-glow,
    .cte-flare-1,
    .cte-flare-2,
    .cte-ring-outer,
    .cte-ring-inner {
        display: none !important;
    }

    /* Hide keyboard hints on touch devices */
    .cte-hint {
        display: none !important;
    }

    /* 6. Static equalizer & cue states */
    .dock-equalizer.playing .eq-bar,
    .dock-equalizer.playing span {
        transform: scaleY(0.7) !important;
        height: 12px !important;
    }

    .screen-cue {
        opacity: 0.9 !important;
        transform: none !important;
        touch-action: manipulation;
    }

    /* 7. Hardware accelerated lightweight screen sliding with true off-screen culling */
    .app-screen {
        transition: transform 0.46s cubic-bezier(0.16, 1, 0.3, 1),
                    opacity 0.44s cubic-bezier(0.16, 1, 0.3, 1) !important;
        will-change: transform, opacity;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    .app-screen.screen-above {
        transform: translate3d(0, -100%, 0) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        z-index: 1 !important;
    }

    .app-screen.screen-below {
        transform: translate3d(0, 100%, 0) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        z-index: 1 !important;
    }

    .app-screen.screen-current {
        transform: translate3d(0, 0, 0) !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        z-index: 2 !important;
    }

    /* 8. Native smooth touch & momentum scrolling on actual containers */
    .insta-grid-container,
    .insta-behold-container,
    .yt-app-card,
    .screen-content-wrapper {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: contain;
        touch-action: pan-y;
    }

    /* Perfect Center Alignment for all Screens */
    .screen-content-wrapper {
        justify-content: center !important;
        align-items: center !important;
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        min-height: 100% !important;
        box-sizing: border-box !important;
        overflow-y: auto !important;
        padding: 1rem 0.6rem !important;
        padding-top: max(1rem, env(safe-area-inset-top)) !important;
        padding-bottom: max(1.5rem, env(safe-area-inset-bottom) + 10px) !important;
    }

    .profile-layout-wrapper {
        margin: auto 0 !important;
        align-self: center !important;
        min-height: min-content !important;
    }

    /* Dead-center YouTube & Instagram card placement */
    .youtube-screen-wrapper,
    .instagram-screen-wrapper {
        justify-content: center !important;
        align-items: center !important;
        height: 100% !important;
        min-height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        margin: 0 auto !important;
    }

    .yt-app-card,
    .insta-app-card {
        margin: auto 0 !important;
        align-self: center !important;
        width: 100% !important;
    }

    /* Ensure navigation cues are centered horizontally */
    .screen-cue {
        left: 0 !important;
        right: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: fit-content !important;
    }
}

/* ==========================================================================
   Responsive Viewports Sizing: 320px, 360px, 375px, 390px, 412px, 430px
   ========================================================================== */
@media (max-width: 480px) {
    .screen-content-wrapper {
        padding-left: 0.6rem !important;
        padding-right: 0.6rem !important;
    }

    .profile-card {
        padding: 1.4rem 1rem !important;
        gap: 0.95rem !important;
        border-radius: 18px !important;
    }

    .avatar-wrapper {
        width: 88px !important;
        height: 88px !important;
    }

    .profile-name {
        font-size: clamp(1.45rem, 6.5vw, 1.8rem) !important;
    }

    .social-circle {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
    }

    .social-row-container {
        gap: 0.5rem !important;
        flex-wrap: wrap !important;
    }

    .discord-server-card {
        width: 100% !important;
        max-width: 100% !important;
    }

    .music-dock-wide {
        padding: 8px 10px !important;
        gap: 8px !important;
    }

    .dock-btn {
        min-width: 36px !important;
        min-height: 36px !important;
        padding: 7px !important;
    }

    .dock-album-art {
        width: 34px !important;
        height: 34px !important;
    }

    .dock-track-title {
        max-width: 110px !important;
    }

    .instagram-screen-wrapper,
    .youtube-screen-wrapper {
        padding: 1rem 0.5rem !important;
        width: 100% !important;
        max-width: 680px !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 auto !important;
    }

    .yt-app-card,
    .insta-app-card {
        margin: auto 0 !important;
        align-self: center !important;
        padding: 0.8rem !important;
        border-radius: 18px !important;
        max-height: 82vh !important;
        max-height: 82dvh !important;
        width: 100% !important;
    }
}

/* Ultra-compact phones (320px - 360px width e.g., iPhone SE, Galaxy Fold cover) */
@media (max-width: 360px) {
    .profile-card {
        padding: 1.1rem 0.65rem !important;
        gap: 0.75rem !important;
    }

    .avatar-wrapper {
        width: 76px !important;
        height: 76px !important;
    }

    .name-badge-row {
        flex-direction: column !important;
        gap: 4px !important;
    }

    .role-badge {
        font-size: 0.6rem !important;
    }

    .social-circle {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
    }

    .yt-showcase-container {
        grid-template-columns: 1fr !important;
        gap: 6px !important;
    }

    .insta-reels-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
}

/* ==========================================================================
   Fluid Micro-Interactions & Tactile Touch Response (Native High-End Feel)
   ========================================================================== */
html, body, .app-viewport {
    overscroll-behavior: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.profile-card,
.insta-app-card,
.yt-app-card,
.music-dock-wide,
.discord-server-card,
.discord-rpc-card {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: flat;
}

/* Continuous smooth inner scrolling */
.insta-grid-container,
.insta-behold-container,
.yt-app-card,
.screen-content-wrapper {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
}

/* Tactile micro-compression on active tap (Native App Feeling) */
.social-circle,
.dock-btn,
.yt-cta-btn,
.insta-open-profile-btn,
.yt-open-channel-btn,
.cte-enter-btn,
.screen-cue,
.social-switch-tab,
.insta-reel-card {
    transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.25, 1),
                opacity 0.22s ease,
                background 0.22s ease,
                border-color 0.22s ease,
                box-shadow 0.22s ease;
}

.social-circle:active,
.dock-btn:active,
.screen-cue:active,
.social-switch-tab:active {
    transform: scale(0.93) !important;
    transition-duration: 0.1s !important;
}

.yt-cta-btn:active,
.insta-open-profile-btn:active,
.yt-open-channel-btn:active,
.cte-enter-btn:active,
.insta-reel-card:active {
    transform: scale(0.975) !important;
    transition-duration: 0.12s !important;
}




