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

html {
    overflow: hidden;
    height: 100vh;
    position: fixed;
    width: 100%;
}

@font-face {
    font-family: 'Maven Pro';
    src: url('font/MavenPro-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Maven Pro';
    src: url('font/MavenPro-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Maven Pro';
    src: url('font/MavenPro-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Maven Pro';
    src: url('font/MavenPro-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

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

:root {
    --page-accent: #ffffff;
}

body {
    font-family: 'Maven Pro', -apple-system, sans-serif;
    background: #000 none no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    position: fixed;
    padding-top: 0;
}

body.page-fx,
body.page-fx a,
body.page-fx button {
    cursor: none;
}

body.page-fx input,
body.page-fx .social-link,
body.page-fx .control-btn,
body.page-fx .page-edit-fab {
    cursor: none;
}

.yt-bg-wrap {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.yt-bg-wrap iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.78vh;
    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: none;
}

.bg-video-wrap {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.bg-video-wrap video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.78vh;
    transform: translate(-50%, -50%);
    object-fit: cover;
    border: 0;
    pointer-events: none;
}

.music-youtube-hidden,
.music-youtube-offscreen {
    position: fixed !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: -9999 !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    border: 0 !important;
}

.music-youtube-hidden iframe,
.music-youtube-offscreen iframe {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    border: 0 !important;
}

.preview-mode .pv-player-controls {
    pointer-events: none;
}

.page-edit-fab {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 20;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    transition: background 0.2s, border-color 0.2s;
}

.page-edit-fab:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--page-accent);
    color: #fff;
}

.profile-name {
    /* color set by PageNameStyle */
}

/* Snow + cursor FX */
.snow-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -5%;
    color: #fff;
    user-select: none;
    animation: snowFall linear infinite;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.35);
}

@keyframes snowFall {
    0% { transform: translateY(-10vh) rotate(0deg); }
    100% { transform: translateY(110vh) rotate(360deg); }
}

.cursor-trail {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
}

.page-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 20px rgba(255, 255, 255, 0.4);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    will-change: transform;
}

/* Navigation Bar */
.navbar {
    display: none;
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #999;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75em;
    padding: 6px 12px;
    border-radius: 0;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 2px solid transparent;
}

.nav-link:hover {
    color: #fff;
    border-bottom-color: #fff;
}

.nav-link i {
    font-size: 1em;
}

/* Animated Stars Background */
.stars, .stars2, .stars3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.stars {
    width: 1px;
    height: 1px;
    background: transparent;
    box-shadow: 780px 1290px #FFF, 1480px 430px #FFF, 1030px 1540px #FFF, 340px 1050px #FFF, 
                1890px 650px #FFF, 670px 990px #FFF, 1740px 1730px #FFF, 920px 1220px #FFF,
                1560px 310px #FFF, 460px 1820px #FFF, 1390px 960px #FFF, 250px 570px #FFF,
                1720px 1450px #FFF, 980px 200px #FFF, 520px 1620px #FFF, 1850px 1070px #FFF;
    opacity: 0.6;
}

.stars2 {
    width: 2px;
    height: 2px;
    background: transparent;
    box-shadow: 1180px 790px #FFF, 280px 1330px #FFF, 1530px 940px #FFF, 840px 1650px #FFF,
                390px 460px #FFF, 1770px 1280px #FFF, 1020px 120px #FFF, 630px 1490px #FFF,
                1660px 580px #FFF, 460px 890px #FFF, 1290px 1870px #FFF, 920px 340px #FFF;
    opacity: 0.5;
}

.stars3 {
    width: 3px;
    height: 3px;
    background: transparent;
    box-shadow: 580px 1190px #FFF, 1380px 730px #FFF, 830px 1430px #FFF, 1680px 290px #FFF,
                280px 940px #FFF, 1130px 1670px #FFF, 680px 520px #FFF, 1820px 1080px #FFF;
    opacity: 0.4;
}

/* Full screen deco2 overlay */
.deco2-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('media/deco2.gif') repeat;
    background-size: 400px 400px;
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: screen;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.main-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    min-height: 100vh;
    max-height: 100vh;
    padding: 40px 20px;
    overflow: hidden;
}

.main-layout.profile-only {
    align-items: center;
    padding: 0 20px;
}

.left-panel {
    width: 100%;
    max-width: 520px;
}

.right-panel {
    min-height: 100vh;
}

/* Profile Section */
.profile-section {
    margin-bottom: 0;
    perspective: 1400px;
}

.profile-card.card-tilt-target {
    transform-style: preserve-3d;
    will-change: transform;
    transform: rotateX(0deg) rotateY(0deg);
    transition: box-shadow 0.25s ease;
}

.profile-card.card-tilt-hover {
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.profile-card-minimal {
    background: transparent;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    padding: 0;
    max-width: var(--card-max-width, 520px);
    text-align: left;
}

.profile-card-minimal.profile-card::before,
.profile-card-minimal.profile-card::after {
    display: none;
    content: none;
}

.profile-header {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 16px;
}

.profile-meta {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
    align-content: start;
    gap: 0;
    padding-top: 2px;
    width: 100%;
}

.profile-name-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    margin-bottom: 4px;
    grid-column: 1;
}

.profile-site-url,
.profile-username,
.profile-bio {
    grid-column: 1;
    display: block;
    width: 100%;
    max-width: 100%;
    text-align: left;
    margin: 0;
}

.profile-site-url {
    font-size: 0.82em;
    color: rgba(255, 255, 255, 0.42);
    font-weight: 400;
    line-height: 1.35;
    word-break: break-word;
    margin-top: 1px;
}

.profile-username {
    font-size: 0.82em;
    color: rgba(255, 255, 255, 0.52);
    font-weight: 400;
    line-height: 1.35;
    word-break: break-word;
    margin-top: 2px;
}

.profile-name {
    font-size: 1.65em;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: none;
    line-height: 1.15;
    flex-shrink: 0;
}

.profile-name-wrap {
    position: relative;
    display: inline-flex;
    max-width: 100%;
    cursor: default;
}

.profile-name-wrap.uid-hover-ready {
    cursor: pointer;
}

.profile-name-wrap.uid-hover-ready .profile-name {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

.profile-name-wrap.uid-hover-ready:hover .profile-name,
.profile-name-wrap.uid-hover-ready:focus-within .profile-name {
    transform: translateY(-1px) scale(1.02);
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.25));
}

.uid-float-card {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 14px);
    transform: translateX(-50%) translateY(10px) scale(0.9);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 60;
    min-width: 128px;
    padding: 11px 18px 13px;
    border-radius: 16px;
    background: rgba(10, 10, 14, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    text-align: center;
    transition:
        opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.4s;
}

.profile-name-wrap.uid-hover-ready:hover .uid-float-card,
.profile-name-wrap.uid-hover-ready:focus-within .uid-float-card {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}

.uid-float-card::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 10px;
    height: 10px;
    transform: translateX(-50%) rotate(45deg);
    background: rgba(10, 10, 14, 0.88);
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.uid-float-shine {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.16) 0%,
        transparent 42%,
        rgba(255, 255, 255, 0.06) 100%
    );
    pointer-events: none;
    animation: uidShinePulse 2.8s ease-in-out infinite;
}

@keyframes uidShinePulse {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 1; }
}

.uid-float-label {
    position: relative;
    display: block;
    font-size: 0.58em;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
    margin-bottom: 3px;
}

.uid-float-value {
    position: relative;
    display: block;
    font-size: 1.45em;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.65) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: uidValuePop 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes uidValuePop {
    0% { transform: scale(0.85); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.uid-float-sub {
    position: relative;
    display: block;
    font-size: 0.62em;
    color: rgba(255, 255, 255, 0.32);
    margin-top: 4px;
}

.profile-name.name-tw-cursor::after {
    content: "|";
    display: inline-block;
    margin-left: 2px;
    font-weight: 300;
    opacity: 1;
    -webkit-text-fill-color: currentColor;
    color: inherit;
    animation: nameTwBlink 0.75s step-end infinite;
}

.profile-name.name-gradient.name-tw-cursor::after {
    background: inherit;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes nameTwBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.profile-username:empty {
    display: none;
}

.profile-bio:empty {
    display: none;
}

.profile-bio {
    font-size: 0.82em;
    color: rgba(255, 255, 255, 0.52);
    margin-top: 4px;
    line-height: 1.4;
    font-weight: 400;
    word-break: break-word;
}

.profile-card {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 32px 28px;
    text-align: center;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    max-width: 480px;
    overflow: visible;
    position: relative;
}

.profile-card-minimal.profile-card {
    background: var(--card-bg, rgba(0, 0, 0, 0.35));
    border: var(--card-border, 1px solid rgba(255, 255, 255, 0.08));
    padding: var(--card-padding, 28px);
    border-radius: var(--card-radius, 20px);
    max-width: var(--card-max-width, 520px);
    backdrop-filter: var(--card-blur, none);
    -webkit-backdrop-filter: var(--card-blur, none);
}

.profile-card.card-variant-transparent {
    background: transparent !important;
    border-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.profile-card.card-variant-glass {
    backdrop-filter: var(--card-blur, blur(16px));
    -webkit-backdrop-filter: var(--card-blur, blur(16px));
}

.profile-card.card-variant-solid {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.profile-card.card-corners::before,
.profile-card.card-corners::after {
    display: block;
    content: '';
}

.profile-card-minimal.profile-card:not(.card-corners)::before,
.profile-card-minimal.profile-card:not(.card-corners)::after {
    display: none;
    content: none;
}

.profile-card.card-shadow-off,
.profile-card-minimal.profile-card.card-shadow-off {
    box-shadow: none !important;
}

.profile-card.card-align-center {
    text-align: center;
}

.profile-card.card-align-center .profile-header {
    flex-direction: column;
    align-items: center;
}

.profile-card.card-align-center .profile-meta {
    align-items: center;
    text-align: center;
}

.profile-card.card-align-center .profile-name-row {
    justify-content: center;
}

.profile-card.card-align-center .social-links {
    justify-content: center;
}

.profile-card.card-align-center .profile-site-url,
.profile-card.card-align-center .profile-bio,
.profile-card.card-align-center .profile-username {
    text-align: center;
    justify-self: center;
}

.profile-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 60px;
    border-left: 2px solid rgba(255, 255, 255, 0.4);
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    border-bottom-left-radius: 8px;
}

.profile-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    border-top: 2px solid rgba(255, 255, 255, 0.4);
    border-right: 2px solid rgba(255, 255, 255, 0.4);
    border-top-right-radius: 8px;
}

.profile-image {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 0;
    flex-shrink: 0;
    overflow: visible;
    border-radius: 22%;
}

.tilt-target {
    transform-style: preserve-3d;
}

.tilt-inner {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    will-change: transform;
    overflow: hidden;
    border-radius: 22%;
    transform: rotateX(0deg) rotateY(0deg) scale3d(1, 1, 1);
}

.profile-image img,
.profile-pfp-video {
    width: 100%;
    height: 100%;
    border-radius: 22%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: none;
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background: transparent;
}

.profile-image img[hidden],
.profile-pfp-video[hidden] {
    display: none !important;
}

.profile-deco {
    position: absolute;
    top: -110%;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 22% !important;
    border: none !important;
    box-shadow: none !important;
    z-index: 3;
    pointer-events: none;
    object-fit: cover;
}

.profile-glow {
    display: none;
}

.profile-name.name-gradient {
    display: inline-block;
    background-size: 100% auto;
    line-height: 1.15;
    max-width: 100%;
}

.profile-name.name-gradient-animate {
    background-size: 200% auto;
    animation: nameGradientShift 4s linear infinite;
}

@keyframes nameGradientShift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.profile-badges {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0;
}

.profile-badges .badge-verified {
    color: #3b82f6;
    font-size: 1em;
    line-height: 1;
    filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.5));
}

.profile-badges .badge-icon {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85em;
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    padding: 0;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1em;
}

.social-link span {
    display: none;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.social-link i {
    font-size: 1em;
    width: auto;
    text-align: center;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Music Player — guns.lol style */
.music-player {
    position: relative;
    margin-top: 14px;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
}

.music-player-shine {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 45%, rgba(255, 255, 255, 0.03) 100%);
    opacity: 0.7;
}

.music-player-layout {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 13px 9px;
    border-radius: 14px;
    background: rgba(8, 8, 12, 0.62);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 8px 28px rgba(0, 0, 0, 0.35);
}

.music-player-center {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.music-play-btn,
.music-vol-btn {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.72em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: none;
}

.music-play-btn:hover,
.music-vol-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.28);
    transform: scale(1.06);
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.12);
}

.music-play-btn:active,
.music-vol-btn:active {
    transform: scale(0.94);
}

.music-player--playing .music-play-btn {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 0 14px color-mix(in srgb, var(--page-accent, #fff) 35%, transparent);
}

.song-name-scroll {
    overflow: hidden;
    white-space: nowrap;
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.song-name-track {
    display: inline-flex;
    gap: 28px;
    animation: musicTitleScroll 14s linear infinite;
    will-change: transform;
}

.song-name {
    display: inline-block;
    font-size: 0.78em;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    letter-spacing: 0.03em;
    white-space: nowrap;
    line-height: 1.2;
}

.song-name-dup {
    opacity: 0.88;
}

@keyframes musicTitleScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 14px)); }
}

.progress-container {
    position: relative;
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    overflow: visible;
    cursor: pointer;
    border: none;
    box-shadow: none;
}

.progress-bar {
    position: relative;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.65));
    width: 0%;
    transition: width 0.12s linear;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
}

.progress-bar::after {
    content: "";
    position: absolute;
    right: -4px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    transform: translateY(-50%) scale(0);
    transition: transform 0.15s ease;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.music-player:hover .progress-bar::after,
.music-mount-fixed .music-player:hover .progress-bar::after {
    transform: translateY(-50%) scale(1);
}

.music-volume-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.volume-slider {
    -webkit-appearance: none;
    width: 0;
    opacity: 0;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    outline: none;
    cursor: pointer;
    border: none;
    box-shadow: none;
    transition: width 0.25s ease, opacity 0.25s ease;
    pointer-events: none;
}

.music-volume-wrap:hover .volume-slider,
.music-volume-wrap:focus-within .volume-slider {
    width: 72px;
    opacity: 1;
    pointer-events: auto;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
    border: none;
    transition: transform 0.15s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.volume-slider::-moz-range-thumb {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.music-visualizer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    height: 14px;
    margin-top: 6px;
    opacity: 0.35;
    transition: opacity 0.3s ease;
}

.music-visualizer span {
    display: block;
    width: 3px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    transform-origin: bottom;
    animation: musicBar 1.1s ease-in-out infinite;
}

.music-visualizer span:nth-child(1) { animation-delay: 0s; }
.music-visualizer span:nth-child(2) { animation-delay: 0.15s; }
.music-visualizer span:nth-child(3) { animation-delay: 0.3s; }
.music-visualizer span:nth-child(4) { animation-delay: 0.45s; }
.music-visualizer span:nth-child(5) { animation-delay: 0.6s; }

.music-player--playing .music-visualizer {
    opacity: 0.85;
}

.music-player--playing .music-visualizer span {
    animation-play-state: running;
}

.music-visualizer span {
    animation-play-state: paused;
}

@keyframes musicBar {
    0%, 100% { height: 4px; opacity: 0.45; }
    50% { height: 12px; opacity: 1; }
}

.music-audio-wrap,
.music-youtube-wrap {
    display: none;
}

.player-controls {
    display: contents;
}

.control-btn {
    /* legacy fallback */
}

/* Music player fixed positions */
.music-mount-fixed {
    position: fixed;
    z-index: 900;
    pointer-events: none;
}

.music-mount-fixed:not([hidden]) {
    display: block;
}

.music-mount-fixed .music-player {
    pointer-events: auto;
    margin-top: 0;
    min-width: 300px;
    max-width: 380px;
}

.music-player.music-player-compact .music-player-layout {
    padding: 9px 11px 8px;
}

.music-player.music-player-compact .music-visualizer {
    height: 10px;
    margin-top: 4px;
}

.music-mount-fixed.music-pos-bottom-left {
    left: 20px;
    bottom: 20px;
    right: auto;
    top: auto;
}

.music-mount-fixed.music-pos-bottom-right {
    right: 20px;
    bottom: 20px;
    left: auto;
    top: auto;
}

.music-mount-fixed.music-pos-top-left {
    left: 20px;
    top: 80px;
    right: auto;
    bottom: auto;
}

.music-mount-fixed.music-pos-top-right {
    right: 20px;
    top: 80px;
    left: auto;
    bottom: auto;
}

.music-player.music-player-compact .song-name-scroll {
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .music-mount-fixed .music-player {
        min-width: 240px;
        max-width: calc(100vw - 40px);
    }

    .music-mount-fixed.music-pos-bottom-left,
    .music-mount-fixed.music-pos-bottom-right {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .music-mount-fixed.music-pos-top-left,
    .music-mount-fixed.music-pos-top-right {
        left: 12px;
        right: 12px;
        top: 70px;
    }
}
/* Gallery Section */
.section-title {
    font-size: 1.4em;
    text-align: left;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.section-title i {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1em;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7),
                0 0 0 1px rgba(255, 255, 255, 0.1);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.1);
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.overlay i {
    font-size: 2em;
    color: white;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
    transition: opacity 0.2s ease;
}

.close-modal:hover {
    opacity: 0.7;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.modal-img,
.modal-video {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 0;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.5em;
    width: 50px;
    height: 50px;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 1001;
}

.modal-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.prev-btn {
    left: 30px;
}

.next-btn {
    right: 30px;
}

/* Responsive */
@media (max-width: 1024px) {
    .main-layout {
        flex-direction: column;
        align-items: center;
        padding: 40px 20px;
    }
    
    .left-panel {
        margin-bottom: 40px;
        max-width: 480px;
        width: 100%;
    }
    
    .right-panel {
        width: 100%;
        max-width: 900px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 10px;
    }
    
    .nav-link {
        font-size: 0.7em;
        padding: 4px 8px;
    }
    
    .profile-card {
        padding: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 8px;
    }

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

    .profile-name {
        font-size: 1.5em;
    }
    
    .profile-bio {
        font-size: 0.8em;
    }

    .section-title {
        font-size: 0.9em;
    }

    .modal-nav {
        width: 50px;
        height: 50px;
        font-size: 1.5em;
    }
}
/* Floating Images Effect */
.floating-images {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-img {
    position: absolute;
    width: 80px;
    height: 80px;
    object-fit: contain;
    opacity: 0;
    animation: floatAndFade 8s infinite;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    will-change: transform, opacity;
}

@keyframes floatAndFade {
    0% {
        opacity: 0;
        transform: translateY(-100px) rotate(0deg) scale(0.5);
    }
    10% {
        opacity: 0.3;
        transform: translateY(50px) rotate(45deg) scale(1);
    }
    25% {
        opacity: 0.4;
        transform: translateY(200px) rotate(120deg) scale(1.1);
    }
    50% {
        opacity: 0.35;
        transform: translateY(400px) rotate(240deg) scale(0.9);
    }
    75% {
        opacity: 0.25;
        transform: translateY(600px) rotate(320deg) scale(1.05);
    }
    90% {
        opacity: 0.15;
        transform: translateY(800px) rotate(380deg) scale(0.7);
    }
    100% {
        opacity: 0;
        transform: translateY(1000px) rotate(420deg) scale(0.5);
    }
}