/* ===== Full Cut Panty ? Bubble Carousel Dashboard ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ===== Body & Background ===== */
body.dashboard-mode {
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    background: linear-gradient(160deg, #0d0d14 0%, #1a1225 50%, #0f0a18 100%);
    font-family: 'Inter', sans-serif;
    color: #f0f0f5;
}

body.dashboard-mode::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(139, 92, 246, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 85% 75%, rgba(236, 72, 153, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Disable right-click & drag on media */
img,
video {
    -webkit-user-drag: none;
    user-select: none;
}

/* ===== Navigation ===== */
.dashboard-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    background: rgba(13, 13, 20, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.15);
    z-index: 100;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    height: 40px;
    border-radius: 10px;
    border: 2px solid rgba(139, 92, 246, 0.3);
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, #a78bfa 0%, #ec4899 50%, #f97316 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}

.nav-stats {
    display: flex;
    gap: 10px;
}

.stat-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    color: #c4b5fd;
}

.nav-actions {
    display: flex;
    gap: 8px;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-login {
    background: transparent;
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #c4b5fd;
}

.btn-login:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.5);
}

.btn-join {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-join:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

/* ===== Bubble Dashboard Layout ===== */
.bubble-dashboard {
    margin-top: 64px;
    padding: 24px 30px 60px;
    position: relative;
    z-index: 1;
}

.bubble-dashboard::before {
    content: '';
    position: fixed;
    inset: 64px 0 0;
    background:
        radial-gradient(circle at 50% 28%, rgba(245, 197, 141, 0.14), transparent 24%),
        radial-gradient(circle at 22% 56%, rgba(236, 72, 153, 0.08), transparent 28%),
        radial-gradient(circle at 78% 62%, rgba(120, 119, 255, 0.07), transparent 32%);
    pointer-events: none;
    z-index: -1;
}

.is-hidden {
    display: none !important;
}

.marketing-strip {
    max-width: 1180px;
    margin: 0 auto 22px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-radius: 18px;
    background: rgba(255, 248, 239, 0.06);
    border: 1px solid rgba(255, 235, 216, 0.12);
    box-shadow: 0 18px 34px rgba(2, 2, 8, 0.18);
}

.marketing-pill {
    flex: 0 0 auto;
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(245, 197, 141, 0.18), rgba(236, 72, 153, 0.14));
    color: rgba(255, 236, 214, 0.92);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.marketing-copy {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
}

.cluster-stage {
    position: relative;
    min-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
}

.cluster-stage::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 52%;
    width: min(980px, 82vw);
    height: min(980px, 82vw);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(255, 245, 230, 0.08) 0%, rgba(245, 197, 141, 0.04) 26%, rgba(236, 72, 153, 0.02) 44%, transparent 68%);
    filter: blur(12px);
    pointer-events: none;
}

.stage-copy {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.stage-kicker {
    font-size: 0.75rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 228, 204, 0.76);
    margin-bottom: 12px;
    text-shadow: 0 0 18px rgba(245, 197, 141, 0.16);
}

.stage-title {
    font-size: clamp(2.2rem, 4vw, 4.3rem);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #fff7ef 0%, #ffd5e8 38%, #ffc36f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 14px;
    text-shadow: 0 14px 40px rgba(245, 197, 141, 0.18);
}

.stage-subtitle {
    max-width: 620px;
    margin: 0 auto;
    font-size: 1.03rem;
    line-height: 1.72;
    color: rgba(255, 248, 240, 0.72);
}

.stage-actions {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.stage-cta,
.stage-secondary {
    min-width: 180px;
}

.cluster-shell {
    position: relative;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 72px;
    align-items: center;
    gap: 16px;
}

.cluster-viewport {
    position: relative;
    min-height: 700px;
    overflow: hidden;
}

.cluster-panel {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    padding: 16px 28px;
    border-radius: 36px;
    background:
        linear-gradient(160deg, rgba(24, 18, 34, 0.8), rgba(10, 9, 16, 0.4)),
        radial-gradient(circle at 50% 50%, rgba(246, 174, 85, 0.07), transparent 50%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    opacity: 0;
    pointer-events: none;
    transform: translateX(0) scale(0.82);
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease, filter 0.45s ease;
    filter: blur(4px) saturate(0.75);
}

.cluster-panel::after {
    content: '';
    position: absolute;
    inset: 16% 23%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 243, 227, 0.1), transparent 62%);
    filter: blur(18px);
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}

.cluster-panel::before {
    content: '';
    position: absolute;
    inset: 10% 15%;
    border-radius: 50%;
    border: 1px dashed rgba(255, 239, 224, 0.08);
    opacity: 0.65;
    pointer-events: none;
}

.cluster-panel.is-active,
.cluster-panel.is-prev,
.cluster-panel.is-next {
    opacity: 1;
}

.cluster-panel.is-active {
    pointer-events: auto;
    transform: translateX(0) scale(1);
    filter: none;
    z-index: 3;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 36px 90px rgba(2, 2, 8, 0.42);
}

.cluster-panel.is-active::after {
    opacity: 1;
}

.cluster-panel.is-prev {
    transform: translateX(-57%) scale(0.72);
    filter: blur(1px) saturate(0.68) brightness(0.62);
    z-index: 2;
}

.cluster-panel.is-next {
    transform: translateX(57%) scale(0.72);
    filter: blur(1px) saturate(0.68) brightness(0.62);
    z-index: 2;
}

.cluster-panel.is-hidden {
    opacity: 0;
    transform: translateX(0) scale(0.62);
    z-index: 1;
}

.cluster-meta {
    position: relative;
    z-index: 2;
    padding-left: 10px;
}

.cluster-eyebrow {
    margin-bottom: 12px;
    font-size: 0.75rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 225, 193, 0.55);
}

.cluster-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: clamp(1.8rem, 2.8vw, 2.8rem);
    line-height: 1;
    color: #fff;
    margin-bottom: 16px;
}

.cluster-icon {
    font-size: 1.1em;
}

.cluster-description {
    max-width: 28ch;
    font-size: 0.96rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.58);
    margin-bottom: 18px;
}

.cluster-count {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 240, 226, 0.82);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}

.cluster-surface {
    position: relative;
    width: min(100%, 800px);
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 240, 219, 0.08), rgba(255, 240, 219, 0.02) 32%, transparent 62%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.04) 0, rgba(255, 255, 255, 0.02) 55%, transparent 70%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.03),
        0 0 90px rgba(245, 197, 141, 0.05);
}

.cluster-surface::before,
.cluster-surface::after {
    content: '';
    position: absolute;
    inset: 6%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.cluster-surface::after {
    inset: 20%;
    border-style: dashed;
    opacity: 0.55;
}

.cluster-panel.is-active .cluster-surface::before {
    border-color: rgba(255, 255, 255, 0.08);
}

.cluster-panel.is-active .cluster-surface::after {
    border-color: rgba(245, 197, 141, 0.14);
}

.cluster-nav {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(7, 8, 15, 0.6);
    color: #fff5eb;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(16px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.cluster-nav:hover {
    transform: scale(1.05);
    background: rgba(20, 18, 29, 0.92);
    border-color: rgba(255, 231, 204, 0.42);
}

.cluster-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.cluster-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.24);
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, width 0.25s ease;
}

.cluster-dot.is-active {
    width: 38px;
    background: linear-gradient(135deg, #f5c58d, #ec4899);
}

.membership-pitch {
    max-width: 1180px;
    margin: 18px auto 0;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 22px;
    align-items: stretch;
}

.pitch-copy,
.pricing-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(160deg, rgba(17, 15, 27, 0.9), rgba(10, 10, 18, 0.72));
    box-shadow: 0 28px 50px rgba(2, 2, 8, 0.28);
}

.pitch-copy {
    padding: 28px 30px;
}

.pitch-copy::before {
    content: '';
    position: absolute;
    inset: auto -12% -35% auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.14), transparent 65%);
    pointer-events: none;
}

.pitch-kicker {
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 229, 201, 0.56);
    margin-bottom: 12px;
}

.pitch-title {
    font-size: clamp(1.8rem, 2.6vw, 2.8rem);
    line-height: 1.02;
    color: #fff7ef;
    margin-bottom: 16px;
}

.pitch-description {
    max-width: 48ch;
    font-size: 0.98rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.64);
    margin-bottom: 20px;
}

.pitch-list {
    list-style: none;
    display: grid;
    gap: 12px;
    color: rgba(255, 247, 239, 0.86);
}

.pitch-list li {
    position: relative;
    padding-left: 22px;
}

.pitch-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5c58d, #ec4899);
    box-shadow: 0 0 12px rgba(245, 197, 141, 0.3);
}

.pricing-card {
    padding: 28px;
}

.pricing-glow {
    position: absolute;
    inset: -12% auto auto 54%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 197, 141, 0.22), transparent 68%);
    filter: blur(6px);
    pointer-events: none;
}

.pricing-label {
    position: relative;
    z-index: 1;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 232, 214, 0.58);
    margin-bottom: 14px;
}

.pricing-value {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: end;
    gap: 10px;
    margin-bottom: 14px;
}

.pricing-amount {
    font-size: clamp(2.8rem, 5vw, 4.4rem);
    line-height: 0.9;
    font-weight: 800;
    color: #fff7ef;
}

.pricing-term {
    color: rgba(255, 255, 255, 0.62);
    padding-bottom: 8px;
}

.pricing-note {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.64);
    line-height: 1.7;
    margin-bottom: 20px;
}

.pricing-cta {
    width: 100%;
    margin-bottom: 16px;
}

.pricing-trust {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pricing-trust span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 243, 230, 0.78);
    font-size: 0.8rem;
}

.premium-explorer {
    max-width: 1180px;
    margin: 34px auto 0;
    padding: 26px;
    border-radius: 30px;
    background: rgba(12, 11, 19, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.premium-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.premium-kicker {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: rgba(255, 226, 196, 0.55);
    margin-bottom: 10px;
}

.premium-header h2 {
    font-size: 1.9rem;
    color: #fff7ef;
}

.premium-controls,
.premium-sortbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.premium-sortbar {
    align-items: center;
    margin-bottom: 18px;
}

.premium-label {
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.82rem;
    margin-right: 6px;
}

.premium-tab,
.premium-sort {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.78);
    cursor: pointer;
}

.premium-tab.is-active,
.premium-sort.is-active {
    background: linear-gradient(135deg, rgba(245, 197, 141, 0.2), rgba(236, 72, 153, 0.18));
    border-color: rgba(255, 235, 216, 0.2);
    color: #fff7ef;
}

.premium-grid {
    position: relative;
    min-height: 760px;
    border-radius: 34px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(10, 9, 16, 0.92), rgba(17, 11, 25, 0.82)),
        radial-gradient(circle at 50% 48%, rgba(245, 197, 141, 0.1), transparent 24%),
        radial-gradient(circle at 20% 72%, rgba(236, 72, 153, 0.08), transparent 30%),
        radial-gradient(circle at 78% 28%, rgba(120, 119, 255, 0.08), transparent 26%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 24px 60px rgba(0, 0, 0, 0.34);
}

.premium-grid::before,
.premium-grid::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
}

.premium-grid::before {
    width: min(76vw, 620px);
    height: min(76vw, 620px);
    border: 1px solid rgba(255, 235, 216, 0.08);
    box-shadow:
        0 0 0 120px rgba(255, 235, 216, 0.03),
        0 0 0 240px rgba(255, 235, 216, 0.02);
}

.premium-grid::after {
    width: min(92vw, 820px);
    height: min(92vw, 820px);
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 22%, transparent 52%);
    filter: blur(12px);
}

.premium-bubble {
    --bubble-size: 152px;
    animation-duration: 0.55s, calc(var(--bubble-orbit) + 4s);
}

.premium-bubble .bubble-label {
    opacity: 1;
    padding: 22px 12px 10px;
    font-size: 0.62rem;
    letter-spacing: 0.04em;
}

.premium-bubble:hover .bubble-label {
    opacity: 1;
}

.premium-empty {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    padding: 18px 24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
}

.premium-card {
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.premium-card:nth-child(1),
.premium-card:nth-child(2) {
    grid-column: span 2;
}

.premium-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 236, 214, 0.26);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.premium-card-media {
    position: relative;
    aspect-ratio: 1 / 1;
    background: rgba(0, 0, 0, 0.4);
}

.premium-card:nth-child(1) .premium-card-media,
.premium-card:nth-child(2) .premium-card-media {
    aspect-ratio: 1.45 / 1;
}

.premium-card-media img,
.premium-card-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.premium-card-play {
    position: absolute;
    inset: auto auto 14px 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 8, 14, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.premium-card-body {
    padding: 12px 14px 14px;
}

.premium-card-label {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.84rem;
    line-height: 1.4;
}

.premium-pagination {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.auth-content {
    max-width: 420px;
    padding: 34px 28px 28px;
}

.auth-subtitle {
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.6);
}

.auth-content form {
    display: grid;
    gap: 10px;
}

.auth-content input {
    width: 100%;
    padding: 14px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.auth-error {
    color: #f6a6b8;
    font-size: 0.85rem;
}

.auth-switch {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.9rem;
}

.auth-switch a {
    color: #f5c58d;
    text-decoration: none;
}

/* ===== Bubble Item ===== */
.bubble-item {
    --bubble-left: 50%;
    --bubble-top: 50%;
    --bubble-size: 136px;
    --bubble-drift-x: 8px;
    --bubble-drift-y: -8px;
    --bubble-drift-x-soft: 6px;
    --bubble-drift-x-back: -4px;
    --bubble-drift-y-back: 4px;
    --bubble-drift-y-soft: -3px;
    --bubble-orbit: 16s;
    --bubble-delay: 0s;
    --bubble-tilt: 0deg;
    width: var(--bubble-size);
    height: var(--bubble-size);
    position: absolute;
    left: var(--bubble-left);
    top: var(--bubble-top);
    transform: translate(-50%, -50%) rotate(var(--bubble-tilt));
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        0 22px 40px rgba(3, 3, 8, 0.45),
        0 8px 16px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
    animation:
        float-in 0.6s ease-out backwards,
        bubble-orbit var(--bubble-orbit) ease-in-out infinite;
    animation-delay: calc(var(--bubble-delay) * 0.45), var(--bubble-delay);
}

.bubble-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.08) 18%, transparent 42%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.12), transparent 45%, rgba(236, 72, 153, 0.14) 100%);
    z-index: 1;
    pointer-events: none;
}

.bubble-item img,
.bubble-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease, filter 0.45s ease;
    pointer-events: none;
}

.bubble-item:hover {
    transform: translate(-50%, calc(-50% - 10px)) scale(1.12) rotate(calc(var(--bubble-tilt) * 0.35));
    border-color: rgba(255, 236, 214, 0.82);
    box-shadow:
        0 28px 70px rgba(15, 12, 26, 0.58),
        0 0 0 8px rgba(255, 230, 194, 0.09),
        0 0 55px rgba(236, 72, 153, 0.14);
    z-index: 10;
}

.bubble-item.is-front {
    z-index: 14;
}

.bubble-item:hover img,
.bubble-item:hover video {
    transform: scale(1.1) translate3d(var(--bubble-drift-x-soft), var(--bubble-drift-y-soft), 0);
    filter: saturate(1.08) contrast(1.04);
}

/* Bubble overlays */
.bubble-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 18px 12px 10px;
    background: linear-gradient(transparent, rgba(5, 6, 12, 0.92));
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bubble-item:hover .bubble-label {
    opacity: 1;
}

.bubble-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 2;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bubble-item:hover .bubble-badge {
    opacity: 1;
}

.bubble-badge.new {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
    animation: pulse-glow 2s infinite;
}

.bubble-badge.source {
    background: rgba(0, 0, 0, 0.7);
    color: #a78bfa;
}

.bubble-badge.source.gemini {
    background: linear-gradient(135deg, #4285f4, #34a853);
    color: white;
}

.bubble-badge.source.grok {
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: white;
}

/* Locked bubble */
.bubble-item.locked {
    filter: brightness(0.62) saturate(0.52) blur(0.4px);
}

.bubble-item.locked::after {
    content: '??';
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background:
        radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.18), transparent 26%),
        linear-gradient(160deg, rgba(11, 9, 18, 0.3), rgba(11, 9, 18, 0.58));
    backdrop-filter: blur(7px);
    border-radius: 50%;
}

.bubble-item.locked::before {
    background:
        radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.04) 18%, transparent 42%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.1), transparent 45%, rgba(236, 72, 153, 0.22) 100%);
}

/* Video play overlay */
.bubble-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 2;
}

.bubble-play-icon {
    width: 38px;
    height: 38px;
    background: rgba(17, 14, 28, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: white;
    box-shadow: 0 2px 10px rgba(139, 92, 246, 0.5);
    transition: transform 0.3s ease;
}

.bubble-item:hover .bubble-play-icon {
    transform: scale(1.2);
}

/* ===== Spotlight Overlay ===== */
.spotlight-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.spotlight-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.spotlight-content {
    text-align: center;
}

.spotlight-content img {
    max-height: 65vh;
    max-width: 65vw;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 20px 80px rgba(139, 92, 246, 0.3), 0 0 120px rgba(236, 72, 153, 0.15);
    border: 2px solid rgba(139, 92, 246, 0.3);
}

.spotlight-caption {
    margin-top: 12px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* ===== Animations ===== */
@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(245, 158, 11, 0.5);
    }

    50% {
        box-shadow: 0 0 15px rgba(245, 158, 11, 0.8);
    }
}

@keyframes float-in {
    from {
        opacity: 0;
        transform: translate(-50%, calc(-50% + 24px)) scale(0.7) rotate(calc(var(--bubble-tilt) * 0.6));
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(var(--bubble-tilt));
    }
}

@keyframes bubble-orbit {
    0%,
    100% {
        transform: translate(-50%, -50%) translateX(0) rotate(var(--bubble-tilt));
    }

    25% {
        transform: translate(calc(-50% + var(--bubble-drift-x-soft)), calc(-50% + var(--bubble-drift-y))) rotate(calc(var(--bubble-tilt) + 1.5deg));
    }

    50% {
        transform: translate(calc(-50% + var(--bubble-drift-x)), calc(-50% + var(--bubble-drift-y-back))) rotate(calc(var(--bubble-tilt) - 1deg));
    }

    75% {
        transform: translate(calc(-50% + var(--bubble-drift-x-back)), calc(-50% + var(--bubble-drift-y-soft))) rotate(calc(var(--bubble-tilt) + 0.8deg));
    }
}

/* ===== Loading Spinner ===== */
.loading-spinner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-spinner::after {
    content: '';
    width: 32px;
    height: 32px;
    border: 3px solid rgba(139, 92, 246, 0.2);
    border-top-color: #8b5cf6;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== Modals (preserved from original) ===== */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    position: relative;
    background: linear-gradient(160deg, rgba(25, 18, 40, 0.98) 0%, rgba(15, 10, 25, 0.98) 100%);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 24px;
    max-width: 420px;
    width: 90%;
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Paywall */
.paywall-content {
    padding: 40px 30px;
    text-align: center;
}

.paywall-crown {
    font-size: 3rem;
    display: block;
    margin-bottom: 16px;
}

.paywall-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #a78bfa 0%, #ec4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.paywall-content>p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
}

.paywall-benefits {
    text-align: left;
    margin-bottom: 28px;
}

.benefit {
    padding: 8px 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.paywall-pricing {
    margin-bottom: 24px;
}

.price-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: rgba(139, 92, 246, 0.1);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    position: relative;
}

.price-badge {
    position: absolute;
    top: -10px;
    padding: 4px 12px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #a78bfa 0%, #ec4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-period {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.btn-premium {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    transition: all 0.2s ease;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.5);
}

.paywall-note {
    margin-top: 16px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Crypto options in paywall */
.crypto-options {
    margin-top: 24px;
    border-top: 1px solid rgba(139, 92, 246, 0.15);
    padding-top: 16px;
}

.crypto-header {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 12px;
}

.crypto-wallet {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 10px;
    margin-bottom: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.crypto-wallet:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
}

.crypto-icon {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.crypto-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #c4b5fd;
    width: 35px;
}

.crypto-addr {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: monospace;
    overflow: hidden;
    text-overflow: ellipsis;
}

.crypto-note {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 8px;
}

/* Lightbox */
.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-info {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    max-width: 820px;
    text-align: center;
}

.engagement-panel {
    width: min(90vw, 820px);
    margin-top: 18px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(14, 12, 22, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.engagement-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.engagement-like-btn {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 240, 228, 0.9);
    cursor: pointer;
}

.engagement-like-btn.is-active {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.24), rgba(245, 197, 141, 0.22));
    border-color: rgba(255, 218, 197, 0.24);
}

.engagement-meta {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.84rem;
}

.engagement-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin-bottom: 12px;
}

.engagement-form input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.comments-list {
    display: grid;
    gap: 10px;
    max-height: 220px;
    overflow: auto;
    padding-right: 4px;
}

.comment-item {
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
}

.comment-author {
    font-size: 0.78rem;
    color: rgba(245, 197, 141, 0.82);
    margin-bottom: 6px;
}

.comment-content {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.88rem;
    line-height: 1.45;
}

.engagement-empty {
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.84rem;
    padding: 6px 2px;
}

/* Video Modal */
.video-modal-content {
    max-width: 850px;
    width: 95%;
    padding: 0;
}

.video-modal-content video {
    width: 100%;
    max-height: 65vh;
    background: black;
    border-radius: 24px 24px 0 0;
}

.video-modal-content .video-info {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(139, 92, 246, 0.15);
}

.video-engagement-panel {
    width: 100%;
    margin-top: 0;
    border-radius: 0 0 24px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.video-modal-content h3 {
    font-size: 1rem;
    font-weight: 600;
}

.video-type-badge {
    padding: 4px 10px;
    background: rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #c4b5fd;
}

.video-type-badge.ai {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    color: white;
}

/* ===== Toast ===== */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2000;
}

.toast {
    padding: 12px 20px;
    background: rgba(25, 18, 40, 0.95);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 10px;
    color: white;
    font-size: 0.85rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .bubble-dashboard {
        padding: 18px 18px 40px;
    }

    .marketing-strip,
    .premium-explorer,
    .membership-pitch {
        max-width: 100%;
    }

    .cluster-viewport {
        min-height: 620px;
    }

    .cluster-panel {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 22px 12px;
    }

    .cluster-meta {
        text-align: center;
        padding-left: 0;
    }

    .cluster-description {
        max-width: 42ch;
        margin-left: auto;
        margin-right: auto;
    }

    .cluster-panel.is-prev {
        transform: translateX(-60%) scale(0.68);
    }

    .cluster-panel.is-next {
        transform: translateX(60%) scale(0.68);
    }

    .cluster-surface {
        width: min(100%, 620px);
    }

    .membership-pitch {
        grid-template-columns: 1fr;
    }

    .premium-grid {
        min-height: 680px;
    }
}

@media (max-width: 768px) {
    .dashboard-nav {
        position: sticky;
        height: auto;
        padding: 10px 14px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .nav-stats {
        display: none;
    }

    .bubble-dashboard {
        padding: 10px 12px 30px;
        margin-top: 0;
    }

    .marketing-strip {
        flex-direction: column;
        align-items: start;
        margin-bottom: 18px;
    }

    .stage-copy {
        padding: 0 10px;
    }

    .stage-subtitle {
        font-size: 0.92rem;
    }

    .stage-actions {
        flex-direction: column;
    }

    .cluster-shell {
        grid-template-columns: 48px minmax(0, 1fr) 48px;
        gap: 8px;
    }

    .cluster-viewport {
        min-height: 560px;
    }

    .cluster-panel {
        padding: 18px 0;
        border-radius: 24px;
    }

    .cluster-panel::before {
        inset: 14% 10%;
    }

    .cluster-panel.is-prev,
    .cluster-panel.is-next,
    .cluster-panel.is-hidden {
        opacity: 0;
        transform: translateX(0) scale(0.86);
    }

    .cluster-nav {
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
    }

    .cluster-surface {
        width: min(100%, 430px);
    }

    .bubble-item {
        --bubble-size: clamp(74px, 18vw, 126px);
    }

    .bubble-label {
        font-size: 0.52rem;
        padding: 14px 8px 8px;
    }

    .premium-header {
        flex-direction: column;
        align-items: start;
    }

    .premium-grid {
        min-height: 580px;
    }

    .premium-bubble {
        --bubble-size: clamp(88px, 22vw, 156px);
    }

    .pricing-card,
    .pitch-copy {
        padding: 22px 20px;
    }

    .engagement-form {
        grid-template-columns: 1fr;
    }
}








