/* =============================================
   AMIT KULKARNI — Yohita
   CSS Grid: short=1col, regular/bio=2col
   ============================================= */
:root {
    --bg:    #050816;
    --card:  rgba(12, 16, 32, 0.25);
    --text:  #f0f0f8;
    --text2: #95a0c3;
    --text3: #4b5578;
    --accent: #67e8f9;
    --accent-2: #7c3aed;
    --accent-3: #f97316;
    --wa:    #25D366;
    --yt:    #FF0000;
    --ig:    #E1306C;
    --gap:   5px;
    --col:   180px;       /* base column width — shorts are 1×, regulars are 2× */
    --topbar: 72px;
    --r:     8px;
    --grad:  linear-gradient(135deg, #38bdf8 0%, #22d3ee 32%, #7c3aed 72%, #fb923c 100%);
    --line: rgba(255,255,255,0.08);
    --surface: rgba(255,255,255,0.03);
    --font:  'Inter', system-ui, sans-serif;
    --disp:  'Space Grotesk', 'Inter', sans-serif;
    --ease:  cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body { 
    background:
        radial-gradient(circle at 16% 12%, rgba(56,189,248,0.18), transparent 28%),
        radial-gradient(circle at 84% 10%, rgba(124,58,237,0.2), transparent 24%),
        radial-gradient(circle at 50% 78%, rgba(249,115,22,0.12), transparent 22%),
        linear-gradient(180deg, rgba(4, 7, 18, 0.76), rgba(4, 6, 14, 0.93)),
        url('assets/bg.png') no-repeat center center / cover fixed; 
    background-color: var(--bg);
    color: var(--text); 
    font-family: var(--font); 
    overflow-x: hidden; 
    position: relative;
    min-height: 100vh;
}

.site-bg {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -2;
}

.site-bg::before,
.site-bg::after {
    content: "";
    position: absolute;
    inset: -12%;
    pointer-events: none;
}

.site-bg::before {
    background:
        linear-gradient(115deg,
            transparent 18%,
            rgba(56,189,248,0.2) 34%,
            rgba(124,58,237,0.16) 50%,
            rgba(249,115,22,0.16) 66%,
            transparent 82%);
    opacity: 0.32;
    mix-blend-mode: screen;
    transform: translate3d(-6%, 0, 0) rotate(-10deg) scale(1.08);
    animation: auroraSweep 12s ease-in-out infinite alternate;
}

.site-bg::after {
    inset: 0;
    background:
        radial-gradient(circle at center, transparent 44%, rgba(2, 6, 23, 0.18) 100%),
        linear-gradient(180deg, rgba(2, 6, 23, 0.06), rgba(2, 6, 23, 0.22));
}

.site-bg > div {
    position: absolute;
    inset: 0;
}

.site-bg-mesh {
    background:
        radial-gradient(circle at 18% 18%, rgba(103,232,249,0.3), transparent 20%),
        radial-gradient(circle at 82% 14%, rgba(124,58,237,0.26), transparent 22%),
        radial-gradient(circle at 58% 78%, rgba(249,115,22,0.2), transparent 20%);
    filter: blur(26px);
    opacity: 0.84;
    animation: meshPulse 11s ease-in-out infinite;
}

.site-bg-orb {
    border-radius: 50%;
    filter: blur(96px);
    opacity: 0.56;
    will-change: transform, opacity;
    animation: drift 16s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.orb-a {
    top: -12%;
    left: -8%;
    width: 42vw;
    height: 42vw;
    background: radial-gradient(circle, rgba(56,189,248,0.34) 0%, rgba(56,189,248,0) 72%);
}

.orb-b {
    top: 18%;
    right: -12%;
    width: 34vw;
    height: 34vw;
    background: radial-gradient(circle, rgba(124,58,237,0.3) 0%, rgba(124,58,237,0) 72%);
    animation-duration: 18s;
    animation-delay: -6s;
}

.orb-c {
    bottom: -20%;
    left: 28%;
    width: 38vw;
    height: 38vw;
    background: radial-gradient(circle, rgba(249,115,22,0.24) 0%, rgba(249,115,22,0) 72%);
    animation-duration: 20s;
    animation-direction: alternate-reverse;
}

.site-bg-grid {
    background-image: radial-gradient(rgba(255,255,255,0.12) 1.5px, transparent 1.5px);
    background-size: 36px 36px;
    mask-image: radial-gradient(ellipse at top center, black 40%, transparent 80%);
    opacity: 0.25;
    animation: gridGlow 12s ease-in-out infinite alternate;
}

.site-bg-noise {
    opacity: 0.05;
    mix-blend-mode: soft-light;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.32) 0 1px, transparent 1px),
        radial-gradient(circle at 80% 30%, rgba(255,255,255,0.22) 0 1px, transparent 1px),
        radial-gradient(circle at 40% 70%, rgba(255,255,255,0.26) 0 1px, transparent 1px);
    background-size: 180px 180px, 220px 220px, 260px 260px;
}

a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; color: inherit; }
img { display: block; }

/* ── TOPBAR ─────────────────────────────── */
.topbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--topbar);
    background: linear-gradient(180deg, rgba(6,10,22,0.78), rgba(6,10,22,0.58));
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 10px 35px rgba(0,0,0,0.22);
}

.topbar::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(103,232,249,0.65), rgba(124,58,237,0.55), rgba(249,115,22,0.45), transparent);
    opacity: 0.8;
}

.topbar::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 0%, rgba(56,189,248,0.12), transparent 30%),
        radial-gradient(circle at 85% 0%, rgba(124,58,237,0.1), transparent 28%);
    opacity: 0.8;
    pointer-events: none;
}
.topbar-inner {
    width: 100%; max-width: 1600px; margin: 0 auto;
    height: 100%;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 24px;
}
.topbar-logo {
    font-family: var(--disp); font-weight: 800; font-size: 1.15rem;
    letter-spacing: -0.025em;
    background: var(--grad);
    background-size: 180% 180%;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    animation: logoShine 8s linear infinite;
}
.topbar-left { display: flex; align-items: center; gap: 16px; min-width: 0; }
/* ── AGENCY CTA BUTTON — animated border + glow ───── */
@keyframes ctaBorderSpin {
    0%   { --cta-angle: 0deg; }
    100% { --cta-angle: 360deg; }
}
@keyframes ctaPulseRing {
    0%   { box-shadow: 0 0 0 0   rgba(103,232,249,0.55), 0 0 0 0   rgba(124,58,237,0.4); }
    60%  { box-shadow: 0 0 0 8px rgba(103,232,249,0),    0 0 0 14px rgba(124,58,237,0); }
    100% { box-shadow: 0 0 0 0   rgba(103,232,249,0),    0 0 0 0   rgba(124,58,237,0); }
}
@keyframes ctaShimmer {
    0%   { transform: translateX(-130%) skewX(-20deg); }
    100% { transform: translateX(230%)  skewX(-20deg); }
}

@property --cta-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.topbar-cta {
    position: relative;
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 0.875rem; font-weight: 800;
    color: #fff;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 10px;
    white-space: nowrap; flex-shrink: 0;
    overflow: hidden;
    isolation: isolate;
    /* Animated conic-gradient border via background trick */
    background:
        linear-gradient(135deg, rgba(6,10,22,0.92), rgba(10,12,28,0.88)) padding-box,
        conic-gradient(from var(--cta-angle),
            #67e8f9 0%, #7c3aed 25%, #fb923c 50%, #7c3aed 75%, #67e8f9 100%
        ) border-box;
    border: 1.5px solid transparent;
    animation:
        ctaBorderSpin 3s linear infinite,
        ctaPulseRing  2.8s ease-out infinite;
    box-shadow:
        0 0 18px rgba(103,232,249,0.25),
        0 0 36px rgba(124,58,237,0.15),
        inset 0 1px 0 rgba(255,255,255,0.12);
    transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), color 0.15s;
    letter-spacing: 0.01em;
    cursor: pointer;
}

/* Shimmer sweep pseudo-element */
.topbar-cta-spark {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255,255,255,0.18) 50%,
        transparent 60%
    );
    transform: translateX(-130%) skewX(-20deg);
    animation: ctaShimmer 2.4s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.topbar-cta-label {
    position: relative; z-index: 1;
}

.topbar-cta:hover {
    color: #fff;
    transform: translateY(-2px) scale(1.03);
    box-shadow:
        0 0 28px rgba(103,232,249,0.5),
        0 0 54px rgba(124,58,237,0.3),
        inset 0 1px 0 rgba(255,255,255,0.18);
}

.link-arrow {
    width: 14px; height: 14px;
    transition: transform 0.2s var(--ease);
    position: relative; z-index: 1; flex-shrink: 0;
}
.topbar-cta:hover .link-arrow {
    transform: translateX(4px);
}

/* Keep old .topbar-link in case used elsewhere */
.topbar-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.9rem; font-weight: 700; color: #bae6fd;
    text-decoration: none; padding: 7px 16px; border-radius: 8px;
    background: linear-gradient(135deg, rgba(56,189,248,0.16), rgba(124,58,237,0.12));
    border: 1px solid rgba(103,232,249,0.22);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
    transition: 0.2s var(--ease); white-space: nowrap; flex-shrink: 0;
}
.topbar-link:hover {
    color: #fff; background: rgba(56,189,248,0.25); border-color: rgba(56,189,248,0.4);
    transform: translateY(-1px);
}
.topbar-search {
    background: rgba(8,12,24,0.55); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px; color: var(--text); padding: 9px 16px;
    font-size: 0.95rem; font-family: var(--font); width: 240px;
    transition: width 0.2s, border-color 0.2s, box-shadow 0.2s, background 0.2s; outline: none; margin-right: 12px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.topbar-search:focus { width: 340px; border-color: rgba(103,232,249,0.45); box-shadow: 0 0 0 4px rgba(56,189,248,0.12); background: rgba(8,12,24,0.72); }
.topbar-right { display: flex; align-items: center; gap: 4px; }
.topbar-icon {
    width: 38px; height: 38px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.15s;
}
.topbar-icon svg { width: 18px; height: 18px; }
.topbar-icon.yt  { color: var(--yt); }
.topbar-icon.yt:hover  { background: rgba(255,0,0,0.12); }
.topbar-icon.ig  { color: var(--ig); }
.topbar-icon.ig:hover  { background: rgba(225,48,108,0.12); }
.topbar-wa {
    display: flex; align-items: center; gap: 6px;
    padding: 7px 16px; margin-left: 4px;
    background: var(--wa); color: #fff;
    border-radius: 999px; font-size: 0.85rem; font-weight: 700;
    white-space: nowrap; transition: 0.15s var(--ease);
}
.topbar-wa svg { width: 15px; height: 15px; }
.topbar-wa:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(37,211,102,0.35); }
.topbar-gh {
    display: flex; align-items: center; gap: 6px;
    padding: 7px 14px; margin-left: 4px;
    background: rgba(36,41,47,0.85); color: #e6edf3;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px; font-size: 0.85rem; font-weight: 700;
    white-space: nowrap; transition: 0.15s var(--ease);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.topbar-gh svg { width: 16px; height: 16px; flex-shrink: 0; }
.topbar-gh:hover { transform: translateY(-1px); background: rgba(56,62,70,0.95); border-color: rgba(255,255,255,0.22); box-shadow: 0 4px 14px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08); }

/* ── GRID & MASONRY ─────────────────────── */
.grid {
    padding: calc(var(--topbar) + 24px) 24px 40px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: 4px; /* Tiny rows for precise masonry packing */
    grid-auto-flow: dense; /* Fill gaps efficiently for 2x width cards */
    column-gap: 24px;
    align-items: start;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    isolation: isolate;
}

.grid::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 10%, rgba(56,189,248,0.14), transparent 24%),
        radial-gradient(circle at 82% 16%, rgba(124,58,237,0.14), transparent 22%),
        radial-gradient(circle at 48% 92%, rgba(249,115,22,0.1), transparent 20%);
    opacity: 0.95;
    z-index: -1;
    pointer-events: none;
}

.grid::after {
    content: "";
    position: absolute;
    inset: 36px 0 0;
    background:
        linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent),
        linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
    background-size: 100% 100%, 120px 120px, 120px 120px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 92%);
    opacity: 0.26;
    z-index: -1;
    pointer-events: none;
}

/* ── CARDS ──────────────────────────────── */
.card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015)),
        linear-gradient(135deg, rgba(56,189,248,0.06), rgba(124,58,237,0.04) 45%, rgba(249,115,22,0.04)),
        var(--card);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.2s, background 0.25s;
    border: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 0px; /* Vertical gap handled by JS grid row span */
    display: flex;
    flex-direction: column;
    box-shadow: 0 18px 34px rgba(0,0,0,0.18);
    grid-row-end: span 85; /* Default span for regular video cards before JS layout */
}
.card.short {
    grid-row-end: span 125; /* Default span for short video cards before JS layout */
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(103,232,249,0.16), transparent 34%),
        linear-gradient(135deg, rgba(103,232,249,0.12), transparent 32%, transparent 68%, rgba(124,58,237,0.12));
    opacity: 0.55;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
    pointer-events: none;
}

.card::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    border: 1px solid rgba(255,255,255,0.03);
    pointer-events: none;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 54px rgba(2,6,23,0.42);
    border-color: rgba(103,232,249,0.26);
    z-index: 5;
}
.card:hover::before { opacity: 0.95; transform: scale(1.03); }

.card-thumb-wrap {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #0b0f1b;
}

/* Auto-fit aspect ratio for dynamic sizing */
.card.short .card-thumb-wrap { aspect-ratio: 9 / 16; }
.card.regular .card-thumb-wrap { aspect-ratio: 16 / 9; }

.thumb {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.card:hover .thumb { transform: scale(1.06); }

/* Overlays on Thumb */
.card-badge {
    position: absolute; top: 10px; left: 10px;
    padding: 4px 8px; border-radius: 6px;
    font-size: 0.65rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.05em; color: #fff; z-index: 2;
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.18);
}
.card-badge.s { background: rgba(255,0,0,0.8); }
.card-badge.r { background: linear-gradient(135deg, rgba(56,189,248,0.9), rgba(124,58,237,0.8)); }

.card-dur {
    position: absolute; bottom: 10px; right: 10px;
    padding: 3px 6px; border-radius: 4px;
    font-size: 0.7rem; font-weight: 600; color: #fff;
    background: rgba(2,6,23,0.62); backdrop-filter: blur(8px); z-index: 2;
    border: 1px solid rgba(255,255,255,0.08);
}

/* Play — CSS-only triangle, no inline SVG needed */
.card-play {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.65);
    width: 48px; height: 48px;
    background: rgba(0,0,0,0.5); backdrop-filter: blur(8px);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: 0.25s var(--ease); z-index: 2;
    border: 1px solid rgba(255,255,255,0.2);
}
.card:hover .card-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.card-play::after {
    content: '';
    display: block;
    width: 0; height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 14px solid #fff;
    margin-left: 3px;
}
/* LLM-readable description — visually hidden, in DOM for crawlers */
.card-desc-llm {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

/* Info Area */
.card-info {
    padding: 16px;
    display: flex; flex-direction: column; gap: 8px;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}
.card-title {
    font-size: 1rem; font-weight: 600; color: var(--text); line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-meta { font-size: 0.8rem; color: var(--text2); }

/* ── PLAYLISTS CARD ───────────────────────── */
.playlists-card {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
        linear-gradient(135deg, rgba(124,58,237,0.08), rgba(56,189,248,0.06));
    grid-row-end: span 65; /* Default span for playlists card before JS layout */
}
.pl-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pl-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}
.pl-header svg {
    width: 20px;
    height: 20px;
    color: var(--yt);
}
.pl-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.pl-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    text-decoration: none;
    padding: 8px;
    border-radius: var(--r);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.25s var(--ease);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}
.pl-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(103,232,249,0.26);
    transform: translateY(-4px);
}
.pl-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}
.pl-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow: hidden;
}
.pl-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pl-count {
    font-size: 0.75rem;
    color: var(--text2);
}

/* ── BIO CARD ──────────────────────────── */
.bio-card {
    border-radius: 16px;
    position: relative;
    background:
        radial-gradient(circle at top left, rgba(56,189,248,0.15), transparent 28%),
        radial-gradient(circle at bottom right, rgba(124,58,237,0.12), transparent 24%),
        linear-gradient(145deg, rgba(8,16,36,0.96), rgba(10,12,24,0.92));
    border: 1px solid rgba(103,232,249,0.18);
    overflow: hidden;
    display: flex;
    flex-direction: row;
    box-shadow: inset 0 0 60px rgba(56,189,248,0.05), 0 24px 54px rgba(0,0,0,0.2);
    grid-row-end: span 120; /* Default span for bio card before JS layout */
}

@media (min-width: 640px) {
    .bio-card { grid-column: span 2; }
    .card.regular { grid-column: span 2; }
}


/* Animated gradient top edge */
.bio-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--grad); background-size: 200% auto;
    animation: shimmer 4s linear infinite; z-index: 2;
}

.bio-card::after {
    content: "";
    position: absolute;
    inset: auto -10% -30% auto;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56,189,248,0.14), rgba(56,189,248,0) 70%);
    filter: blur(10px);
    pointer-events: none;
}
@keyframes shimmer { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }

.bio-top {
    display: flex; align-items: center; gap: 16px;
}
.bio-content-wrap {
    padding: 32px 24px;
    flex: 1;
    display: flex; flex-direction: column; gap: 20px;
    position: relative;
    z-index: 2;
}
.bio-photo-full {
    width: 38%;
    min-width: 140px;
    position: relative;
    flex-shrink: 0;
}
.bio-photo-full::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to left, #0a0a11 0%, transparent 40%);
    z-index: 1;
}
.bio-photo-full img {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
}
.bio-name { font-family: var(--disp); font-size: 1.5rem; font-weight: 800; color: #fff; line-height: 1.2; letter-spacing: -0.02em; }
.bio-role { font-size: 0.9rem; font-weight: 600; color: var(--accent); margin-top: 2px; }

.bio-desc { font-size: 0.95rem; color: #d0d4e3; line-height: 1.6; font-weight: 400; opacity: 0.95; }

.bio-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.bio-pill {
    padding: 5px 12px; border-radius: 8px;
    background: linear-gradient(135deg, rgba(56,189,248,0.14), rgba(124,58,237,0.12));
    border: 1px solid rgba(103,232,249,0.15);
    font-size: 0.75rem; font-weight: 600; color: #bae6fd;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.bio-bottom { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.bio-wa {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 20px; background: var(--wa); color: #fff;
    border-radius: 10px; font-size: 0.85rem; font-weight: 700;
    transition: 0.2s var(--ease);
}
.bio-wa svg { width: 16px; height: 16px; }
.bio-wa:hover { box-shadow: 0 6px 20px rgba(37,211,102,0.4); transform: translateY(-2px); }

.bio-socials { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.bio-soc-card {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 14px 6px 6px;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    transition: 0.2s var(--ease);
    text-decoration: none;
}
.bio-soc-card:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.15); box-shadow: 0 4px 12px rgba(0,0,0,0.3); background: rgba(255,255,255,0.06); }

.soc-icon {
    width: 34px; height: 34px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    transition: 0.2s;
}
.soc-icon svg { width: 18px; height: 18px; }

.bio-soc-card.yt .soc-icon { background: rgba(255,0,0,0.15); color: var(--yt); }
.bio-soc-card.yt:hover .soc-icon { background: var(--yt); color: #fff; }
.bio-soc-card.ig .soc-icon { background: rgba(225,48,108,0.15); color: var(--ig); }
.bio-soc-card.ig:hover .soc-icon { background: var(--ig); color: #fff; }

.soc-info { display: flex; flex-direction: column; line-height: 1.05; }
.soc-count { font-size: 0.82rem; font-weight: 800; color: #fff; }
.soc-label { font-size: 0.68rem; color: var(--text2); margin-top: 3px; text-transform: uppercase; letter-spacing: 0.04em; }

.bio-stat {
    display: flex; flex-direction: column;
    padding: 8px 14px;
    background: rgba(255,255,255,0.04);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.06);
}
.bio-stat-n { font-size: 1rem; font-weight: 800; color: #fff; }
.bio-stat-l { font-size: 0.68rem; color: var(--text2); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 2px; }

/* ── FILLERS ───────────────────────────── */
.filler {
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.012)),
        linear-gradient(135deg, rgba(56,189,248,0.05), rgba(124,58,237,0.04) 50%, rgba(249,115,22,0.035));
    border: 1px solid rgba(255,255,255,0.05);
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.filler.sm { min-height: 92px; }
.filler.md { min-height: 132px; }
.filler.lg { min-height: 180px; }

.filler-status {
    gap: 10px; color: #22d3ee; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em;
}
.filler-status .dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: #22d3ee; box-shadow: 0 0 18px rgba(34,211,238,0.8);
    animation: pulse 2.4s ease-in-out infinite;
}

.filler-marquee .mq-wrap { width: 100%; overflow: hidden; }
.filler-marquee .mq {
    display: inline-flex; white-space: nowrap; gap: 20px;
    animation: mq 18s linear infinite;
    font-family: var(--disp); font-weight: 800; font-size: 1rem; color: rgba(255,255,255,0.75);
}
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.filler-abstract .abs-circle {
    width: 120px; height: 120px; border-radius: 50%;
    background: radial-gradient(circle, rgba(56,189,248,0.35), rgba(59,130,246,0.04) 70%, transparent 75%);
    filter: blur(2px);
    animation: floaty 8s ease-in-out infinite;
}
.filler-abstract .abs-star {
    position: absolute; font-size: 2.1rem; color: #38bdf8;
    text-shadow: 0 0 18px rgba(56,189,248,0.4);
    animation: twinkle 4s ease-in-out infinite;
}
.abs-bars {
    display: flex; align-items: flex-end; gap: 8px;
    height: 70px;
}
.abs-bars .bar {
    width: 12px; border-radius: 8px 8px 2px 2px;
    background: linear-gradient(180deg, #38bdf8, #818cf8);
    opacity: 0.9;
}

.filler-quote .qt {
    font-family: var(--disp); font-size: 1rem; font-weight: 700; color: rgba(255,255,255,0.9);
    text-align: center; padding: 0 16px;
}

.filler-shape {
    padding: 20px; align-items: stretch; justify-content: center; gap: 8px; flex-direction: column;
}
.filler-shape .shp {
    height: 28px; border-radius: 999px;
    background: linear-gradient(90deg, rgba(56,189,248,0.18), rgba(59,130,246,0.12));
    border: 1px solid rgba(255,255,255,0.05);
}

.filler-tags,
.filler-tags-multi {
    padding: 18px;
    justify-content: flex-start;
    align-items: center;
}
.tag-chip {
    display: inline-flex; align-items: center;
    min-height: 34px; padding: 0 12px; border-radius: 999px;
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.01em;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }

.t-c1 { background: rgba(255,95,95,0.14); color: #ffb3b3; }
.t-c2 { background: rgba(255,208,0,0.12); color: #ffe58a; }
.t-c3 { background: rgba(52,211,153,0.12); color: #9ff0d0; }
.t-c4 { background: rgba(96,165,250,0.13); color: #bfdcff; }
.t-c5 { background: rgba(167,139,250,0.15); color: #d7c7ff; }

/* ── FAB ───────────────────────────────── */
.fab {
    position: fixed; right: 16px; bottom: 18px; z-index: 50;
    width: 54px; height: 54px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--wa); color: #fff;
    box-shadow: 0 12px 30px rgba(37,211,102,0.35), 0 0 0 10px rgba(37,211,102,0.08);
    transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
    animation: fabFloat 3.2s ease-in-out infinite;
}
.fab svg { width: 24px; height: 24px; }
.fab:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 16px 36px rgba(37,211,102,0.42); }

/* ── MODAL ─────────────────────────────── */
.modal {
    position: fixed; inset: 0; z-index: 200;
    display: none; align-items: center; justify-content: center;
}
.modal.on { display: flex; }
.modal-bg {
    position: absolute; inset: 0;
    background: rgba(4,4,8,0.78);
    backdrop-filter: blur(10px);
}
.modal-box {
    position: relative; z-index: 1;
    width: min(1100px, calc(100vw - 32px));
    border-radius: 18px; overflow: hidden;
    background: linear-gradient(180deg, rgba(10,12,22,0.96), rgba(8,10,18,0.94));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 28px 80px rgba(0,0,0,0.55);
}
.modal-box.short { width: min(560px, calc(100vw - 32px)); }
.modal-close {
    position: absolute; top: 10px; right: 10px; z-index: 2;
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(0,0,0,0.45); color: #fff;
    font-size: 0.95rem; line-height: 1;
    backdrop-filter: blur(6px);
}
.modal-player { background: #000; }
.modal-player iframe {
    display: block; width: 100%; aspect-ratio: 16 / 9; border: 0;
}
.modal-box.short .modal-player iframe { aspect-ratio: 9 / 16; }
.modal-info { padding: 16px 18px 18px; }
.modal-info h3 {
    font-size: 1.02rem; font-weight: 700; line-height: 1.4; color: #fff;
}
.modal-info p {
    margin-top: 8px; font-size: 0.82rem; color: var(--text2);
}

.reveal {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
    transition:
        opacity 0.7s var(--ease),
        transform 0.7s var(--ease);
    transition-delay: calc(var(--reveal-order, 0) * 45ms);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@keyframes drift {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(7%, -6%, 0) scale(1.08); }
    100% { transform: translate3d(-5%, 6%, 0) scale(0.96); }
}

@keyframes auroraSweep {
    0% { transform: translate3d(-8%, -2%, 0) rotate(-12deg) scale(1.08); opacity: 0.22; }
    50% { transform: translate3d(2%, 1%, 0) rotate(-7deg) scale(1.12); opacity: 0.36; }
    100% { transform: translate3d(8%, -1%, 0) rotate(-3deg) scale(1.08); opacity: 0.26; }
}

@keyframes meshPulse {
    0%, 100% { opacity: 0.72; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.05); }
}

@keyframes gridGlow {
    0%, 100% { opacity: 0.12; }
    50% { opacity: 0.22; }
}

@keyframes logoShine {
    0% { background-position: 0% 50%; }
    100% { background-position: 180% 50%; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.18); opacity: 1; }
}

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

@keyframes twinkle {
    0%, 100% { opacity: 0.65; transform: scale(0.96); }
    50% { opacity: 1; transform: scale(1.05); }
}

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

/* ── RESPONSIVE ────────────────────────── */
@media (max-width: 900px) {
    .grid { padding: calc(var(--topbar) + 18px) 14px 28px; column-gap: 14px; }
    .bio-card { flex-direction: column; }
    .bio-photo-full { width: 100%; min-height: 420px; }
    .bio-photo-full img { position: relative; height: 420px; object-position: center 15%; }
    .bio-photo-full::before { background: linear-gradient(to top, #0a0a11 0%, transparent 45%); }
    .bio-content-wrap { padding: 20px 18px 22px; }
    .grid::after { opacity: 0.18; }
}

@media (max-width: 640px) {
    .topbar {
        height: auto;
        min-height: var(--topbar);
    }
    .topbar-inner {
        padding: 12px 14px;
        gap: 12px;
        align-items: flex-start;
        flex-direction: column;
        height: auto;
    }
    .topbar-logo { font-size: 1rem; }
    .topbar-left { width: 100%; justify-content: space-between; }
    .topbar-right { width: 100%; justify-content: flex-start; gap: 6px; }
    .topbar-search { flex: 1; min-width: 80px; margin-right: 0; }
    .topbar-search:focus { width: auto; }
    .topbar-wa { padding: 8px 12px; font-size: 0.8rem; margin-left: auto; }
    .topbar-link { padding: 6px 10px; font-size: 0.8rem; }
    .topbar-cta { padding: 6px 10px; font-size: 0.75rem; }
    .grid { padding-top: 92px; grid-template-columns: 1fr; }
    .bio-card, .card.regular { grid-column: auto; }
    .site-bg::before { opacity: 0.22; animation-duration: 14s; }
    .site-bg-grid { opacity: 0.15; transform: none; }
    .orb-a, .orb-b, .orb-c { filter: blur(78px); opacity: 0.46; }
}

/* ── FALLBACK LINKS (crawler / LLM accessible, hidden visually) ── */
.card-fallback-link {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
