/* =========================================================
   B2F HUB — Next-Gen Esports Arena Portal v31.0
   Design System · Molten Metal Gold · Glassmorphism
   ========================================================= */

:root {
    --void: #050508;
    --ink: #09090e;
    --panel: #101017;
    --panel-2: #161621;
    --panel-glass: rgba(16, 16, 23, 0.65);
    --line: rgba(255,255,255,0.08);
    --line-g: rgba(212,175,55,0.36);
    --gold: #d4af37;
    --gold-2: #fbe69b;
    --gold-3: #9e7f22;
    --gold-glow: rgba(212,175,55,0.38);
    --text: #f3f3f6;
    --muted: #8e8e9e;
    --live: #ff2a4b;
    --ok: #3edc8c;
    --r: 20px;
    --r-sm: 12px;
    --nav: 72px;
    --max: 1140px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --font-d: 'Unbounded', system-ui, sans-serif;
    --font-b: 'Plus Jakarta Sans', 'Onest', system-ui, sans-serif;
    --metal: linear-gradient(135deg, #9e7f22 0%, #fbe69b 28%, #d4af37 52%, #fff0b8 72%, #a8862a 100%);
}

*, *::before, *::after { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    -webkit-tap-highlight-color: transparent !important;
    -webkit-focus-ring-color: transparent !important;
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* Custom Cyberpunk Dark Gold Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #06060a;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #9e7f22, #d4af37, #9e7f22);
    border-radius: 999px;
    border: 2px solid #06060a;
}
::-webkit-scrollbar-thumb:hover {
    background: #fbe69b;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}
* {
    scrollbar-width: thin;
    scrollbar-color: #d4af37 #06060a;
}

body {
    background: var(--void);
    color: var(--text);
    font-family: var(--font-b);
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; -webkit-user-drag: none; }
a, a:visited, a:hover, a:active, a:focus {
    text-decoration: none !important;
    color: inherit;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
}
button { 
    font-family: inherit; 
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
}
button:focus, button:active, a:focus, a:active {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
}
h1,h2,h3,h4 { font-family: var(--font-d); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; }
::selection { background: var(--gold); color: #000; }

.hamburger {
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
    user-select: none;
}
.hamburger:focus, .hamburger:active {
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Ambient stage background */
.bg-stage {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 90% 55% at 50% -5%, rgba(212,175,55,0.14), transparent 60%),
        radial-gradient(ellipse 45% 35% at 100% 30%, rgba(168,134,42,0.08), transparent 55%),
        radial-gradient(ellipse 40% 30% at 0% 80%, rgba(255,42,75,0.05), transparent 55%),
        var(--void);
}
.bg-stage::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px;
    mix-blend-mode: overlay;
}

/* ========== LOADER ========== */
#top-progress-bar {
    position: fixed; top: 0; left: 0; z-index: 100002;
    height: 3px; width: 0;
    background: var(--metal);
    box-shadow: 0 0 16px var(--gold-glow);
    transition: width .2s ease, opacity .35s ease;
}
#loader {
    position: fixed; inset: 0; z-index: 100001;
    background: var(--void);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    transition: opacity .5s var(--ease), visibility .5s;
}
#loader.is-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loader-logo {
    width: 110px; max-width: 34vw;
    animation: pulseLogo 1.25s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 26px var(--gold-glow));
}
.loader-text {
    margin-top: 18px;
    font-family: var(--font-d);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .4em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: .85;
}
@keyframes pulseLogo {
    from { transform: scale(.96); opacity: .8; }
    to { transform: scale(1.06); opacity: 1; filter: drop-shadow(0 0 38px var(--gold-glow)); }
}

/* ========== SITE NAVIGATION ========== */
.site-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 9000;
    height: var(--nav);
    padding: 0 clamp(16px, 4vw, 48px);
    display: flex; align-items: center; justify-content: space-between;
    transition: background .35s ease, border-color .35s, height .3s, backdrop-filter .35s;
    border-bottom: 1px solid transparent;
}
.site-nav.is-scrolled {
    height: 64px;
    background: rgba(6,6,9,.88);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom-color: rgba(212,175,55,0.15);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-d);
    font-weight: 900;
    font-size: 1.25rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    z-index: 2;
}
.nav-brand span {
    background: var(--metal);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 16px var(--gold-glow));
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-links a {
    position: relative;
    font-family: var(--font-d);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 10px 16px;
    transition: color .25s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.is-active { color: var(--gold-2); }
.nav-links a.is-active::after,
.nav-links a:hover::after {
    content: '';
    position: absolute;
    left: 16px; right: 16px; bottom: 4px;
    height: 2px;
    background: var(--metal);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--gold-glow);
}
.nav-links a:hover::after { opacity: .55; }
.nav-links a.is-active::after { opacity: 1; }

.hamburger {
    display: none;
    width: 44px; height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255,255,255,.03);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    z-index: 3;
    transition: border-color .25s, background .25s;
}
.hamburger:hover { border-color: var(--line-g); background: rgba(212,175,55,.1); }
.hamburger span {
    display: block;
    width: 18px; height: 1.8px;
    background: var(--gold);
    transition: transform .35s var(--ease), opacity .2s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

.nav-backdrop {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,.65);
    backdrop-filter: blur(8px);
    z-index: 1;
    opacity: 0;
    transition: opacity .3s;
}
.nav-backdrop.is-on { opacity: 1; }

/* ========== ACTION BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-d);
    font-weight: 800;
    font-size: .74rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 16px 32px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s, background .35s, color .35s, border-color .35s;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0); }
.btn-primary {
    background: var(--metal);
    color: #080602;
    box-shadow: 0 12px 36px rgba(212,175,55,.32);
}
.btn-primary:hover {
    box-shadow: 0 16px 44px rgba(212,175,55,.48);
}
.btn-ghost {
    background: rgba(212,175,55,0.04);
    color: var(--gold-2);
    border: 1px solid rgba(212,175,55,0.35);
    backdrop-filter: blur(10px);
}
.btn-ghost:hover {
    background: rgba(212,175,55,0.14);
    border-color: var(--gold);
    box-shadow: 0 10px 28px rgba(212,175,55,0.18);
}
.btn-sm { padding: 11px 22px; font-size: .68rem; }

/* ========== LAYOUT ========== */
.section {
    position: relative;
    padding: clamp(52px, 8vw, 96px) clamp(16px, 4vw, 36px);
}
.section-tight { padding-top: 8px; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-head {
    text-align: center;
    margin-bottom: clamp(28px, 5vw, 44px);
}
.section-kicker {
    display: inline-block;
    font-family: var(--font-d);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--gold-2);
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.65rem, 3.8vw, 2.5rem);
    text-transform: uppercase;
    margin-bottom: 10px;
}
.section-desc {
    color: var(--muted);
    font-size: .95rem;
    max-width: 400px;
    margin: 0 auto;
}
.empty-board {
    text-align: center;
    padding: 42px 24px;
    border-radius: var(--r);
    border: 1px dashed var(--line);
    background:
        linear-gradient(180deg, rgba(255,255,255,.02), transparent),
        var(--panel);
    max-width: 520px;
    margin: 0 auto;
}
.empty-board .mark {
    font-family: var(--font-d);
    font-size: .65rem;
    letter-spacing: .3em;
    color: var(--gold);
    margin-bottom: 10px;
}
.empty-board p {
    color: var(--muted);
    font-size: .9rem;
}
.empty-board.live-off .mark { color: var(--live); }

/* ========== HERO NEXUS COMMAND CENTER ========== */
.hero-nexus {
    position: relative;
    padding: calc(var(--nav) + clamp(36px, 6vh, 64px)) clamp(16px, 4vw, 48px) clamp(44px, 7vh, 72px);
    overflow: hidden;
}
.hero-nexus-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(28px, 5vw, 48px);
    align-items: center;
}
@media (max-width: 880px) {
    .hero-nexus-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
.hero-nexus-kicker {
    font-family: var(--font-d);
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .24em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 12px;
}
.hero-nexus-title {
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: .95;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}
.hero-nexus-title span {
    background: var(--metal);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-nexus-subtitle {
    color: var(--muted);
    font-size: clamp(.92rem, 1.6vw, 1.08rem);
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 520px;
}
@media (max-width: 880px) {
    .hero-nexus-subtitle { margin-left: auto; margin-right: auto; }
}
.hero-nexus-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
@media (max-width: 880px) {
    .hero-nexus-actions { justify-content: center; }
}

/* Hero Media Group Showcase Card */
.hero-nexus-media {
    position: relative;
    width: 100%;
}
.hero-media-card {
    position: relative;
    border-radius: var(--r);
    overflow: hidden;
    border: 1px solid var(--line-g);
    background: rgba(16, 16, 23, 0.75);
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 30px rgba(212, 175, 55, 0.15);
    aspect-ratio: 16/10;
}
.hero-media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .7s var(--ease);
}
.hero-media-card:hover .hero-media-img {
    transform: scale(1.04);
}
.hero-media-overlay {
    position: absolute;
    bottom: 16px;
    left: 16px;
    z-index: 2;
}
.hero-media-badge {
    font-family: var(--font-d);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .16em;
    color: var(--gold-2);
    background: rgba(8, 8, 12, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.35);
    padding: 6px 14px;
    border-radius: 999px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

/* Article Featured Image */
.article-img-container {
    width: 100%;
    margin-bottom: 24px;
    border-radius: var(--r-sm);
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0,0,0,0.5);
}
.article-featured-img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

/* Disclaimer Highlight */
.disclaimer-highlight {
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: underline !important;
    text-decoration-color: var(--gold) !important;
    text-underline-offset: 3px;
    color: var(--gold-2);
}

/* ========== LIVE STREAM TRACKER ========== */
.grid-live, .live-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 22px;
    max-width: 1200px;
    margin: 0 auto;
}
.live-card {
    display: flex;
    flex-direction: column;
    background: rgba(16, 16, 23, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 42, 75, 0.4);
    border-radius: var(--r);
    overflow: hidden;
    transition: transform .4s var(--ease), box-shadow .4s, border-color .35s;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
}
.live-card:hover {
    transform: translateY(-8px);
    border-color: var(--live);
    box-shadow: 0 24px 56px rgba(255, 42, 75, 0.22), 0 0 24px rgba(255, 42, 75, 0.15);
}
.live-thumb-wrap {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #08080c;
}
.live-thumb {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease);
}
.live-card:hover .live-thumb { transform: scale(1.06); }
.live-tag {
    position: absolute; top: 14px; left: 14px;
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--live); color: #fff;
    font-family: var(--font-d);
    font-size: .64rem; font-weight: 800;
    letter-spacing: .12em;
    padding: 6px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(255, 42, 75, 0.4);
    z-index: 2;
}
.live-tag .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #fff;
    animation: blink .85s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: .25; } }
.live-viewers {
    position: absolute; bottom: 14px; right: 14px;
    background: rgba(8, 8, 12, 0.85);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: .72rem; font-weight: 600;
    padding: 6px 11px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.12);
    z-index: 2;
}
.live-member-tag {
    position: absolute; bottom: 14px; left: 14px;
    background: var(--ok); color: #022;
    font-family: var(--font-d);
    font-size: .6rem; font-weight: 800;
    letter-spacing: .1em;
    padding: 6px 10px;
    border-radius: 8px;
    z-index: 2;
}
.live-info { padding: 20px 22px 22px; }
.live-title {
    font-family: var(--font-d);
    font-size: 1rem; font-weight: 700;
    line-height: 1.38;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.live-title.is-membership { color: var(--ok); }
.live-streamer { color: var(--gold-2); font-size: .85rem; font-weight: 600; }
.api-alert {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    color: #ff9e9e;
    font-size: .9rem;
    line-height: 1.65;
    padding: 24px;
    border-radius: var(--r);
    border: 1px dashed rgba(255,42,75,.45);
    background: rgba(255,42,75,.08);
    backdrop-filter: blur(10px);
}

/* ========== SCHEDULE TIMELINE ========== */
.sched-list {
    max-width: 660px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.sched-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 20px;
    background: rgba(16, 16, 23, 0.65);
    backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    border-radius: var(--r);
    transition: border-color .35s, transform .35s var(--ease), background .35s, box-shadow .35s;
    position: relative;
    z-index: 1;
}
.sched-card:hover {
    border-color: var(--line-g);
    background: rgba(22, 22, 33, 0.85);
    transform: translateX(6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.sched-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    flex-shrink: 0;
    background: #000;
    box-shadow: 0 0 0 4px rgba(5,5,8,.9);
}
.sched-info { flex: 1; min-width: 0; }
.sched-time {
    font-family: var(--font-d);
    color: var(--gold);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    margin-bottom: 4px;
}
.sched-title {
    font-family: var(--font-d);
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sched-title.is-membership { color: var(--ok); }
.sched-name { color: var(--muted); font-size: .78rem; font-weight: 500; }
.sched-btn {
    flex-shrink: 0;
    padding: 10px 18px;
    font-family: var(--font-d);
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,.04);
    transition: .3s;
}
.sched-btn:hover {
    border-color: var(--gold);
    color: var(--gold-2);
    background: rgba(212,175,55,.14);
    box-shadow: 0 0 16px var(--gold-glow);
}

/* ========== NEWS GRID ========== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 22px;
}
.news-card, .home-news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: rgba(16, 16, 23, 0.65);
    backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    transition: transform .4s var(--ease), border-color .35s, box-shadow .4s;
}
.news-card:hover, .home-news-card:hover {
    transform: translateY(-8px);
    border-color: var(--line-g);
    box-shadow: 0 24px 52px rgba(0,0,0,.5);
}
.news-img-wrapper, .hn-img-wrapper {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #0a0a0f;
}
.news-img, .hn-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease);
}
.news-card:hover .news-img,
.home-news-card:hover .hn-img { transform: scale(1.07); }
.news-content, .hn-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.news-meta, .hn-date {
    font-family: var(--font-d);
    color: var(--gold);
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.news-title, .hn-title {
    font-family: var(--font-d);
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.36;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-excerpt {
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.btn-read, .hn-readmore {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-family: var(--font-d);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color .25s;
}
.news-card:hover .btn-read,
.home-news-card:hover .hn-readmore { color: var(--gold-2); }
.section-link {
    text-align: center;
    margin-top: 36px;
}

/* ========== ROSTER MINI (LIGHTWEIGHT 60FPS) ========== */
.roster-band {
    background: linear-gradient(180deg, transparent, rgba(212,175,55,.04), transparent);
}
.mini-roster {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 14px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
    contain: layout style;
}
.mini-avatar-link {
    width: 82px;
    display: flex;
    flex-direction: column;
    align-items: center;
    content-visibility: auto;
    contain-intrinsic-size: 82px;
}
.mini-avatar {
    width: 66px; height: 66px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    background: #000;
    margin-bottom: 8px;
    transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.mini-avatar-link:hover .mini-avatar {
    transform: scale(1.08);
    border-color: var(--gold-2);
    box-shadow: 0 0 20px rgba(212,175,55,0.35);
}
.mini-name {
    width: 100%;
    text-align: center;
    color: var(--muted);
    font-size: .7rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color .25s;
}
.mini-avatar-link:hover .mini-name { color: var(--text); }

/* ========== MEMBER GRID (OPTIMIZED 60FPS STABLE HOVER) ========== */
.grid-roster, .grid-members {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 22px;
}

.roster-card, .member-card {
    display: flex;
    flex-direction: column;
    background: rgba(16, 16, 23, 0.94);
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    transition: border-color .3s, box-shadow .3s, transform .3s;
}

.roster-card:hover, .member-card:hover {
    border-color: var(--line-g);
    box-shadow: 0 16px 40px rgba(0,0,0,.65), 0 0 24px rgba(212,175,55,0.2);
    transform: translateY(-4px);
}

.roster-img-box, .member-card .photo-wrap {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #08060a;
    width: 100%;
}

.roster-img-box img, .member-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s var(--ease);
}

.roster-card:hover .roster-img-box img, .member-card:hover img {
    transform: scale(1.06);
}

.roster-info-box {
    padding: 14px 14px 18px;
    text-align: center;
}

.roster-nick {
    font-family: var(--font-d);
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 4px;
}

.roster-role {
    font-size: .75rem;
    color: var(--gold-2);
    margin-bottom: 10px;
}

.btn-roster-profile {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 999px;
    color: var(--gold-2);
    font-size: .72rem;
    font-weight: 700;
}

.member-card:hover {
    border-color: var(--line-g);
    box-shadow: 0 16px 40px rgba(0,0,0,.65), 0 0 24px rgba(212,175,55,0.2);
}
.member-card .photo-wrap {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #08060a;
}
.member-photo {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s var(--ease);
}
.member-card:hover .member-photo {
    transform: scale(1.06);
}
.member-card .photo-wrap {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #0a0a0f;
}
.member-card .photo-wrap::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(5,5,7,.92) 0%, transparent 48%);
    pointer-events: none;
}
.member-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease);
}
.member-card:hover img { transform: scale(1.06); }
.member-card .card-meta {
    padding: 14px 14px 18px;
    text-align: center;
}
.member-card .card-name {
    font-family: var(--font-d);
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .03em;
    margin-bottom: 4px;
}
.member-card .card-role {
    font-size: .7rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* ========== MEMBER SUBS BADGE ========== */
.member-subs-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(8, 8, 12, 0.85);
    backdrop-filter: blur(10px);
    color: var(--gold-2);
    font-family: var(--font-d);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .08em;
    padding: 5px 10px;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    z-index: 2;
}

/* ========== FEATURED NEWS BANNER ========== */
.featured-news-banner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    background: rgba(16, 16, 23, 0.75);
    backdrop-filter: blur(16px);
    border: 1px solid var(--line-g);
    border-radius: var(--r);
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
@media (max-width: 820px) {
    .featured-news-banner { grid-template-columns: 1fr; }
}
.fnb-img-wrap {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #000;
}
.fnb-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease);
}
.featured-news-banner:hover .fnb-img-wrap img { transform: scale(1.06); }
.fnb-info {
    padding: clamp(20px, 4vw, 36px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.fnb-badge {
    display: inline-block;
    font-family: var(--font-d);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .18em;
    color: var(--gold-2);
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 5px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    width: fit-content;
}
.fnb-meta {
    font-size: .78rem;
    color: var(--muted);
    margin-bottom: 10px;
}
.fnb-title {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    line-height: 1.25;
    margin-bottom: 12px;
}
.fnb-excerpt {
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.65;
    margin-bottom: 20px;
}

/* ========== NAV EXTRA STYLES ========== */
.nav-container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}
.nav-cta-btn {
    padding: 9px 18px;
    font-family: var(--font-d);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold-2);
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 999px;
    cursor: pointer;
    margin-left: 8px;
    transition: background .3s, border-color .3s, transform .25s;
}
.nav-cta-btn:hover {
    background: rgba(212, 175, 55, 0.22);
    border-color: var(--gold);
    transform: translateY(-2px);
}

/* ========== PAGE HERO ========== */
.page-hero {
    position: relative;
    padding: calc(var(--nav) + 48px) clamp(16px, 4vw, 36px) 36px;
    text-align: center;
}
.page-hero-badge {
    display: inline-block;
    font-family: var(--font-d);
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .2em;
    color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.page-hero h1 {
    position: relative;
    font-size: clamp(2rem, 5vw, 3rem);
    text-transform: uppercase;
    margin-bottom: 12px;
}
.page-hero p {
    position: relative;
    color: var(--muted);
    font-size: 1rem;
    max-width: 480px;
    margin: 0 auto;
}

/* ========== PAGINATION ========== */
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 48px;
}
.page-link {
    min-width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    font-family: var(--font-d);
    font-size: .78rem;
    font-weight: 700;
    color: var(--muted);
    background: rgba(16, 16, 23, 0.7);
    border: 1px solid var(--line);
    border-radius: 12px;
    transition: .3s;
}
.page-link:hover, .page-link.active {
    background: var(--metal);
    color: #080602;
    border-color: transparent;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

/* ========== ARTICLE READER ========== */
.article-reader-container {
    padding-top: var(--nav);
}
.article-hero-header {
    position: relative;
    min-height: 44vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 20px 48px;
    overflow: hidden;
}
.article-hero-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.45) saturate(1.1);
}
.article-hero-shade {
    position: absolute; inset: 0;
    background: linear-gradient(to top, var(--void) 0%, rgba(5,5,8,.6) 50%, rgba(5,5,8,.3) 100%);
}
.article-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 820px;
    text-align: center;
}
.article-kicker {
    font-family: var(--font-d);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .24em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 14px;
}
.article-title {
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    margin-bottom: 16px;
    line-height: 1.18;
}
.article-meta {
    color: var(--muted);
    font-size: .88rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.meta-date, .meta-author { color: var(--gold-2); font-weight: 600; }
.article-content-wrapper {
    max-width: 800px;
    margin: -30px auto 0;
    padding: 0 20px 64px;
    position: relative;
    z-index: 4;
}
.article-body-card {
    background: rgba(16, 16, 23, 0.75);
    backdrop-filter: blur(16px);
    border: 1px solid var(--line-g);
    border-radius: var(--r);
    padding: clamp(24px, 5vw, 44px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}
.article-text {
    color: #d1d1db;
    font-size: 1.08rem;
    line-height: 1.85;
}
.article-actions {
    text-align: center;
    margin-top: 36px;
}

/* ========== PROFILE MEMBER DETAIL ========== */
.profile-container { margin-top: var(--nav); }
.profile-banner {
    position: relative;
    width: 100%;
    aspect-ratio: 21/9;
    max-height: 340px;
    overflow: hidden;
}
.profile-banner img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(.45) saturate(.95);
}
.profile-banner::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 10%, var(--void));
}
.profile-head {
    max-width: 720px;
    margin: -70px auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.profile-avatar {
    width: 128px; height: 128px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold);
    background: #000;
    cursor: pointer;
    box-shadow: 0 16px 40px rgba(0,0,0,.6), 0 0 0 6px rgba(5,5,8,.95), 0 0 36px var(--gold-glow);
    transition: transform .35s var(--ease), box-shadow .35s;
}
.profile-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 18px 48px rgba(0,0,0,.65), 0 0 0 6px rgba(5,5,8,.95), 0 0 48px var(--gold-glow);
}
.profile-meta { margin-top: 16px; margin-bottom: 26px; }
.profile-meta h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    text-transform: uppercase;
    margin-bottom: 6px;
}
.profile-meta .aka {
    color: var(--muted);
    font-size: .82rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.profile-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    font-family: var(--font-d);
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold-2);
    background: rgba(212,175,55,.12);
    border: 1px solid var(--line-g);
}
.social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 18px;
}
.soc-btn {
    padding: 11px 20px;
    border-radius: 999px;
    font-family: var(--font-d);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    transition: transform .25s var(--ease);
}
.soc-btn:hover { transform: translateY(-3px); }
.soc-btn.ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #bc1888); }
.soc-btn.yt { background: #e11; }
.soc-btn.tt { background: #1a1a1a; border: 1px solid #333; }

.detail-grid {
    max-width: 780px;
    margin: 0 auto;
    padding: 12px 20px 80px;
    display: grid;
    gap: 18px;
}
.detail-panel {
    background: rgba(16, 16, 23, 0.75);
    backdrop-filter: blur(14px);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 26px;
    transition: border-color .35s, box-shadow .35s;
}
.detail-panel:hover {
    border-color: var(--line-g);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.detail-panel h3 {
    font-size: .75rem;
    color: var(--gold);
    letter-spacing: .2em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.stat-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: .9rem;
}
.stat-row:last-child { border-bottom: none; }
.stat-row span:first-child { color: var(--muted); }
.stat-row span:last-child { color: #fff; font-weight: 600; text-align: right; }
.stat-live {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    padding: 14px 16px;
    background: rgba(255,42,75,.08);
    border-left: 3px solid var(--live);
    border-radius: 0 12px 12px 0;
}
.stat-live .lbl {
    color: var(--live);
    font-size: .8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}
.stat-live .val { color: #fff; font-weight: 700; font-size: .88rem; }
.bio-text { color: var(--muted); font-size: .95rem; line-height: 1.85; }

/* Modal Lightbox */
.modal {
    display: none;
    position: fixed; inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,.92);
    backdrop-filter: blur(12px);
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.modal.is-open { display: flex; }
.modal-content {
    max-width: min(90vw, 560px);
    max-height: 80vh;
    border-radius: 18px;
    border: 2px solid var(--gold);
    box-shadow: 0 0 50px var(--gold-glow);
    object-fit: contain;
    animation: pop .35s var(--ease);
}
.close-btn {
    position: absolute;
    top: 20px; right: 26px;
    color: #fff;
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
}
.close-btn:hover { color: var(--gold); }
@keyframes pop {
    from { transform: scale(.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Modal Donation */
.don-modal-overlay {
    position: fixed; inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0,0,0,.82);
    backdrop-filter: blur(8px);
}
.don-modal-overlay.is-open { display: flex; }
.don-modal-content {
    width: 100%;
    max-width: 440px;
    background: var(--ink);
    border: 1px solid var(--line-g);
    border-radius: var(--r);
    padding: 32px 28px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0,0,0,.6);
    animation: pop .4s var(--ease);
}
.don-title {
    font-family: var(--font-d);
    font-size: 1.15rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.don-desc {
    text-align: left;
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.7;
    background: rgba(255,255,255,.03);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 22px;
}
.don-desc strong { color: var(--gold-2); }
.btn-donasi {
    display: block;
    width: 100%;
    padding: 15px;
    border-radius: 999px;
    background: var(--metal);
    color: #080602;
    font-family: var(--font-d);
    font-weight: 800;
    font-size: .78rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 12px;
    transition: box-shadow .35s;
}
.btn-donasi:hover { box-shadow: 0 12px 34px rgba(212,175,55,.4); }
.btn-hide-1day {
    width: 100%;
    background: none;
    border: none;
    color: var(--muted);
    font-size: .78rem;
    cursor: pointer;
    padding: 10px;
}
.btn-hide-1day:hover { color: #fff; }

/* ========== MULTI-COLUMN FOOTER ========== */
.site-footer {
    margin-top: 40px;
    padding: 64px 20px 40px;
    background: #040407;
    border-top: 1px solid var(--line-g);
}
.footer-container {
    max-width: var(--max);
    margin: 0 auto;
}
.footer-top-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1.2fr;
    gap: clamp(24px, 4vw, 48px);
    margin-bottom: 48px;
}
@media (max-width: 820px) {
    .footer-top-grid { grid-template-columns: 1fr; }
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-d);
    font-size: 1.35rem;
    font-weight: 900;
    margin-bottom: 14px;
}
.footer-logo-img { height: 34px; width: auto; }
.footer-logo span em {
    font-style: normal;
    background: var(--metal);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.footer-about-text {
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.65;
    margin-bottom: 20px;
}
.footer-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #bc1888);
    color: #fff;
    font-family: var(--font-d);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(220,39,67,.3);
    transition: transform .3s;
}
.footer-social-btn:hover { transform: translateY(-2px); }
.footer-heading {
    font-family: var(--font-d);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .16em;
    color: var(--gold-2);
    text-transform: uppercase;
    margin-bottom: 16px;
}
.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links-list a {
    color: var(--muted);
    font-size: .88rem;
    transition: color .25s;
}
.footer-links-list a:hover { color: #fff; }
.footer-disclaimer-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px;
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.65;
}
.footer-disclaimer-card strong { color: var(--gold-2); }
.footer-bottom-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: .8rem;
    color: var(--muted);
}
.footer-credits span { color: var(--gold); font-weight: 600; }

/* ========== REVEAL SYSTEM (SMOOTH LEFT-TO-RIGHT FADE IN) ========== */
[data-reveal] {
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity .55s cubic-bezier(0.16, 1, 0.3, 1), transform .55s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
[data-reveal].is-in {
    opacity: 1;
    transform: translateX(0);
    will-change: auto;
}
[data-reveal-delay="1"] { transition-delay: .06s; }
[data-reveal-delay="2"] { transition-delay: .12s; }
[data-reveal-delay="3"] { transition-delay: .18s; }
[data-reveal-delay="4"] { transition-delay: .24s; }

/* ========== RESPONSIVE MOBILE BREAKPOINTS ========== */
@media (max-width: 900px) {
    .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
    .hamburger { display: flex; }
    .nav-backdrop { display: block; }
    .nav-links {
        position: fixed;
        top: 0; right: 0;
        width: min(300px, 84vw);
        height: 100vh;
        height: 100dvh;
        padding: calc(var(--nav) + 20px) 24px 40px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        background: rgba(8,8,12,.98);
        backdrop-filter: blur(20px);
        border-left: 1px solid var(--line-g);
        transform: translateX(105%);
        transition: transform .42s var(--ease);
        z-index: 2;
        box-shadow: -24px 0 60px rgba(0,0,0,.6);
    }
    .nav-links.is-open { transform: translateX(0); }
    .nav-item {
        font-size: 1rem;
        padding: 14px 0;
        border-bottom: 1px solid var(--line);
    }
    .nav-item::after { display: none !important; }
    .nav-cta-btn { margin-left: 0; margin-top: 12px; width: 100%; text-align: center; }
    .grid-3 {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
    }
    .sched-card { flex-wrap: wrap; justify-content: center; text-align: center; }
    .sched-info { width: 100%; }
    .sched-title { white-space: normal; }
}
@media (max-width: 480px) {
    .grid-members { grid-template-columns: 1fr 1fr; gap: 14px; }
    .member-card .card-name { font-size: .92rem; }
    .member-card .card-meta { padding: 12px 8px 16px; }
    .mini-avatar-link { width: 70px; }
    .mini-avatar { width: 56px; height: 56px; }
    .btn { padding: 14px 24px; font-size: .7rem; }
}

/* ========== MEMBER DETAIL OVERHAUL STYLES ========== */
.md-container {
    max-width: 1040px;
    margin: 0 auto;
    padding: 30px 20px 80px;
}
.md-hero-card {
    position: relative;
    background: rgba(16, 16, 23, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--line-g);
    border-radius: var(--r);
    padding: clamp(28px, 6vw, 48px);
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: clamp(24px, 4vw, 40px);
    align-items: center;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 40px rgba(212, 175, 55, 0.12);
    overflow: hidden;
    margin-bottom: 32px;
}
.md-hero-bg {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    opacity: 0.12;
    background-size: cover;
    background-position: center;
    filter: blur(30px);
    pointer-events: none;
    z-index: 0;
}
.md-hero-left {
    position: relative;
    z-index: 1;
    text-align: center;
}
.md-avatar-wrap {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 50%;
    padding: 6px;
    background: linear-gradient(135deg, var(--gold), var(--gold-2), rgba(212, 175, 55, 0.2));
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 175, 55, 0.25);
    cursor: pointer;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.md-avatar-wrap:hover {
    transform: scale(1.04);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 40px rgba(212, 175, 55, 0.45);
}
.md-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    background: #08060a;
}
.md-zoom-badge {
    position: absolute;
    bottom: 8px;
    right: 12px;
    background: rgba(8, 8, 12, 0.88);
    backdrop-filter: blur(10px);
    color: var(--gold-2);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.md-hero-right {
    position: relative;
    z-index: 1;
}
.md-nickname {
    font-family: var(--font-d);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 6px;
    letter-spacing: -.02em;
    background: var(--metal);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.md-fullname {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--gold-2);
    font-weight: 600;
    margin-bottom: 16px;
}
.md-badge-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}
.md-badge {
    padding: 6px 14px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 999px;
    color: var(--gold-2);
    font-family: var(--font-d);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.md-badge.badge-highlight {
    background: var(--metal);
    color: #080602;
    border: none;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}

.md-social-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.md-soc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    font-family: var(--font-d);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: transform .25s, box-shadow .25s;
}
.md-soc-btn:hover { transform: translateY(-2px); }
.md-soc-yt {
    background: rgba(255, 42, 75, 0.16);
    border: 1px solid rgba(255, 42, 75, 0.45);
    color: #ff99a8;
}
.md-soc-yt:hover {
    background: #ff2a4b;
    color: #fff;
    box-shadow: 0 8px 24px rgba(255, 42, 75, 0.4);
}
.md-soc-ig {
    background: rgba(225, 48, 108, 0.16);
    border: 1px solid rgba(225, 48, 108, 0.45);
    color: #ff85b3;
}
.md-soc-ig:hover {
    background: #e1306c;
    color: #fff;
    box-shadow: 0 8px 24px rgba(225, 48, 108, 0.4);
}
.md-soc-tt {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}
.md-soc-tt:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.md-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 32px;
}
.md-stat-card {
    background: rgba(16, 16, 23, 0.75);
    backdrop-filter: blur(16px);
    border: 1px solid var(--line-g);
    border-radius: var(--r);
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    transition: transform .3s, border-color .3s;
}
.md-stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(212, 175, 55, 0.4);
}
.md-stat-icon {
    font-size: 1.8rem;
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.25);
}
.md-stat-label {
    font-size: .72rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 4px;
}
.md-stat-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
}

.md-bio-card {
    background: rgba(16, 16, 23, 0.75);
    backdrop-filter: blur(16px);
    border: 1px solid var(--line-g);
    border-radius: var(--r);
    padding: clamp(24px, 4vw, 36px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    margin-bottom: 36px;
}
.md-bio-title {
    font-family: var(--font-d);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: .06em;
    color: var(--gold-2);
    text-transform: uppercase;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.md-bio-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: var(--gold);
    border-radius: 2px;
}
.md-bio-content {
    font-size: 1rem;
    line-height: 1.85;
    color: #e0e0ea;
    word-break: break-word;
}
.md-bio-content .bio-p {
    font-size: 1.02rem;
    line-height: 1.85;
    color: #e2e2ec;
    margin-bottom: 1.4rem;
}
.md-bio-content .bio-p:last-child {
    margin-bottom: 0;
}

.md-back-wrap {
    text-align: center;
}
.btn-md-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 999px;
    color: var(--gold-2);
    font-family: var(--font-d);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: all .3s var(--ease);
}
.btn-md-back:hover {
    background: var(--metal);
    color: #080602;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.35);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .md-hero-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .md-badge-group, .md-social-group {
        justify-content: center;
    }
}

