/* ============================================
   FAN DASHBOARD — PREMIUM REDESIGN
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg: #07070f;
    --surface: rgba(255,255,255,0.04);
    --surface-hover: rgba(255,255,255,0.07);
    --border: rgba(255,255,255,0.07);
    --border-bright: rgba(255,255,255,0.14);
    --accent: #7c6bff;
    --accent2: #c850e4;
    --green: #22d3a5;
    --red: #f87171;
    --gold: #f5c842;
    --text: #f3f3f8;
    --sub: rgba(255,255,255,0.5);
    --muted: rgba(255,255,255,0.28);
    --glow-purple: rgba(124,107,255,0.25);
    --glow-green: rgba(34,211,165,0.2);
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --ease: cubic-bezier(0.4,0,0.2,1);
    --trans: all 0.3s var(--ease);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Ambient background blobs */
body::before {
    content: '';
    position: fixed;
    top: -200px;
    left: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124,107,255,0.12) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
    animation: blobFloat 12s ease-in-out infinite;
}

body::after {
    content: '';
    position: fixed;
    bottom: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(200,80,228,0.09) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
    animation: blobFloat 16s ease-in-out infinite reverse;
}

@keyframes blobFloat {
    0%,100% { transform: translate(0,0) scale(1); }
    33% { transform: translate(30px,-20px) scale(1.05); }
    66% { transform: translate(-20px,15px) scale(0.97); }
}

.app-container {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    z-index: 1;
    padding-bottom: 90px;
}

/* ── HEADER ── */
.app-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: rgba(7,7,15,0.82);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    z-index: 200;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-icon {
    font-size: 1.2rem;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text {
    font-size: 1rem;
    font-weight: 800;
    background: linear-gradient(135deg, #a78bfa, #e879f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.3px;
}

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

.icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--trans);
    position: relative;
    backdrop-filter: blur(10px);
}

.icon-btn:hover {
    background: var(--surface-hover);
    border-color: var(--border-bright);
    transform: scale(1.05);
}

.icon-btn .badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: linear-gradient(135deg, #f87171, #ef4444);
    color: #fff;
    font-size: 0.55rem;
    padding: 2px 5px;
    border-radius: 10px;
    font-weight: 800;
}

/* ── MAIN ── */
.main-content { padding-top: 68px; }

/* ── HERO WELCOME ── */
.user-welcome {
    position: relative;
    padding: 28px 20px 24px;
    background: linear-gradient(160deg, rgba(124,107,255,0.1) 0%, rgba(200,80,228,0.06) 60%, transparent 100%);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.user-welcome::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 200px; height: 200px;
    background: radial-gradient(circle at top right, rgba(124,107,255,0.15), transparent 70%);
    pointer-events: none;
}

.user-info { display: flex; align-items: center; gap: 14px; }

.user-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 2px solid rgba(124,107,255,0.6);
    object-fit: cover;
    box-shadow: 0 0 20px rgba(124,107,255,0.3);
    transition: var(--trans);
}

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

.user-text { display: flex; flex-direction: column; }

.greeting {
    font-size: 0.75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.user-name {
    font-size: 1.35rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 50%, rgba(255,255,255,0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.profile-btn {
    background: rgba(124,107,255,0.1);
    border: 1px solid rgba(124,107,255,0.3);
    color: #a78bfa;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: var(--trans);
    font-weight: 600;
    white-space: nowrap;
}

.profile-btn:hover {
    background: rgba(124,107,255,0.2);
    border-color: rgba(124,107,255,0.6);
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(124,107,255,0.25);
}

/* ── STATS OVERVIEW ── */
.subscription-overview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 20px;
}

.overview-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 12px;
    text-align: center;
    transition: var(--trans);
    position: relative;
    overflow: hidden;
    cursor: default;
    backdrop-filter: blur(8px);
}

.overview-card::before {
    content: '';
    position: absolute;
    top: -40px; left: -40px;
    width: 100px; height: 100px;
    border-radius: 50%;
    opacity: 0.08;
    transition: var(--trans);
}

.overview-card:nth-child(1)::before { background: var(--accent); }
.overview-card:nth-child(2)::before { background: var(--gold); }
.overview-card:nth-child(3)::before { background: var(--red); }

.overview-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-bright);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.overview-card:hover::before { opacity: 0.16; }

.overview-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin: 0 auto 10px;
}

.overview-card:nth-child(1) .overview-icon {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
}

.overview-card:nth-child(2) .overview-icon {
    background: linear-gradient(135deg, #f5c842, #f97316);
}

.overview-card:nth-child(3) .overview-icon {
    background: linear-gradient(135deg, #f87171, #ec4899);
}

.overview-info { display: flex; flex-direction: column; align-items: center; gap: 2px; }

.overview-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.overview-label {
    font-size: 0.62rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
}

/* ── SECTION BLOCKS ── */
.section-block {
    padding: 0 16px 20px;
}

.section-block + .section-block {
    padding-top: 0;
}

.section-inner {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px;
    backdrop-filter: blur(8px);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.section-header h2 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 7px;
}

.section-header h2 i {
    font-size: 0.85rem;
}

.view-all {
    font-size: 0.75rem;
    color: var(--accent);
    text-decoration: none;
    cursor: pointer;
    font-weight: 600;
    transition: color 0.2s;
}

.view-all:hover { color: #c4b5fd; }

/* ── WALLET CARD ── */
.wallet-card-full {
    background: linear-gradient(135deg, #3b2f8c 0%, #6d28d9 40%, #9d1fd9 100%);
    border-radius: var(--radius-lg);
    padding: 22px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.wallet-card-full::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 180px; height: 180px;
    background: rgba(255,255,255,0.07);
    border-radius: 50%;
}

.wallet-card-full::after {
    content: '';
    position: absolute;
    bottom: -60px; left: 10px;
    width: 220px; height: 220px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.wallet-label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.wallet-amount {
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    position: relative;
    z-index: 1;
    margin: 6px 0 18px;
    color: #fff;
}

.wallet-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.wallet-btn {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--trans);
    backdrop-filter: blur(6px);
}

.wallet-btn:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* ── SUBSCRIPTIONS ── */
.sub-manager-card {
    background: rgba(255,255,255,0.025);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    margin-bottom: 10px;
    transition: var(--trans);
}

.sub-manager-card:hover {
    background: var(--surface-hover);
    border-color: var(--border-bright);
}

.sub-manager-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }

.sub-manager-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(124,107,255,0.4);
}

.sub-badge-status {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

.sub-badge-status.active {
    background: rgba(34,211,165,0.12);
    color: var(--green);
    border: 1px solid rgba(34,211,165,0.2);
}

.sub-badge-status.grace {
    background: rgba(249,115,22,0.12);
    color: #f97316;
    border: 1px solid rgba(249,115,22,0.2);
}

.sub-manager-actions { display: flex; gap: 6px; flex-wrap: wrap; }

.sub-action-btn {
    font-size: 0.72rem;
    padding: 6px 13px;
    border-radius: 20px;
    border: 1px solid var(--border-bright);
    background: transparent;
    color: var(--sub);
    cursor: pointer;
    transition: var(--trans);
    font-weight: 500;
}

.sub-action-btn:hover { background: var(--surface-hover); color: var(--text); }
.sub-action-btn.danger:hover { background: rgba(248,113,113,0.1); color: var(--red); border-color: var(--red); }
.sub-action-btn.primary {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    border: none;
    color: #fff;
}

.toggle-switch { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--sub); cursor: pointer; }

.toggle-input {
    appearance: none;
    width: 36px;
    height: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    transition: background 0.25s;
}

.toggle-input:checked { background: var(--green); }

.toggle-input::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.25s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.toggle-input:checked::after { transform: translateX(16px); }

/* ── DISCOVER GRID ── */
.creators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}

.discover-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--trans);
    position: relative;
}

.discover-card:hover {
    transform: translateY(-4px);
    border-color: rgba(124,107,255,0.4);
    box-shadow: 0 15px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(124,107,255,0.1);
}

.discover-banner {
    height: 65px;
    background-size: cover;
    background-position: center;
}

.discover-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2.5px solid var(--bg);
    margin: -22px 0 0 12px;
    display: block;
}

.discover-info { padding: 6px 12px 10px; }

.discover-name {
    font-size: 0.83rem;
    font-weight: 700;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.discover-category {
    font-size: 0.68rem;
    color: var(--muted);
    display: block;
    margin: 1px 0;
}

.discover-stats { font-size: 0.68rem; color: var(--accent); }

.follow-btn {
    width: calc(100% - 24px);
    margin: 0 12px 12px;
    padding: 7px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    border: none;
    color: #fff;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--trans);
}

.follow-btn:hover { opacity: 0.9; transform: scale(1.02); }
.follow-btn.following {
    background: transparent;
    border: 1px solid var(--border-bright);
    color: var(--sub);
}

/* ── CATEGORIES ── */
.categories-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: none;
}
.categories-scroll::-webkit-scrollbar { display: none; }

.category-btn {
    flex-shrink: 0;
    padding: 7px 18px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--sub);
    font-size: 0.78rem;
    cursor: pointer;
    transition: var(--trans);
    font-weight: 500;
}

.category-btn:hover { border-color: var(--border-bright); color: var(--text); }

.category-btn.active {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    border-color: transparent;
    color: #fff;
    font-weight: 700;
}

/* ── ACTIVITY FEED ── */
.activity-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.activity-item:last-child { border-bottom: none; }

.activity-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.activity-icon.unlock { background: linear-gradient(135deg, var(--accent), var(--accent2)); }
.activity-icon.tip { background: linear-gradient(135deg, #f87171, #ec4899); }
.activity-icon.sub { background: linear-gradient(135deg, #22d3a5, #3b82f6); }
.activity-icon.wallet { background: linear-gradient(135deg, #f5c842, #f97316); }

.activity-text { font-size: 0.82rem; color: var(--sub); line-height: 1.5; }
.activity-time { font-size: 0.7rem; color: var(--muted); display: block; margin-top: 2px; }

/* ── STORIES ── */
.stories-bar { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.stories-bar::-webkit-scrollbar { display: none; }

.story-bubble { display: flex; flex-direction: column; align-items: center; gap: 5px; cursor: pointer; flex-shrink: 0; }

.story-ring {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 2.5px;
    background: linear-gradient(135deg, var(--accent), var(--accent2), #f5c842);
    transition: var(--trans);
}

.story-ring:hover { transform: scale(1.07); }

.story-ring.seen { background: rgba(255,255,255,0.12); }

.story-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid var(--bg);
}

.story-name { font-size: 0.68rem; color: var(--sub); max-width: 62px; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── MODAL ── */
.fd-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: 500;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(6px);
}

.fd-modal.open { display: flex; }

.fd-modal-box {
    background: #12121e;
    border: 1px solid var(--border-bright);
    border-radius: var(--radius-lg);
    padding: 2rem;
    width: 100%;
    max-width: 420px;
    position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}

.fd-modal-title { font-size: 1.15rem; font-weight: 800; margin-bottom: 1.4rem; }

.fd-modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; color: var(--muted); font-size: 1.3rem; cursor: pointer; transition: color 0.2s; }
.fd-modal-close:hover { color: var(--text); }

.fd-input {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-bright);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: border-color 0.2s;
}
.fd-input:focus { outline: none; border-color: var(--accent); }

.fd-quick-amounts { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 1rem; }

.fd-quick-btn {
    background: rgba(124,107,255,0.1);
    border: 1px solid rgba(124,107,255,0.25);
    color: #a78bfa;
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 0.82rem;
    cursor: pointer;
    transition: var(--trans);
    font-weight: 600;
}

.fd-quick-btn:hover { background: rgba(124,107,255,0.22); }

.fd-btn-primary {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    border: none;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--trans);
}

.fd-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(124,107,255,0.35); }
.fd-msg { margin-top: 1rem; text-align: center; font-size: 0.88rem; min-height: 1.2em; }

/* ── LIVE PULSE ── */
.live-pulse {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(239,68,68,0.15);
    color: #f87171;
    border: 1px solid rgba(239,68,68,0.35);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 800;
    text-decoration: none;
    animation: liveFlash 1.8s ease-in-out infinite;
}

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

/* ── GALLERY ── */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }

.gallery-item {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--surface);
    cursor: pointer;
    position: relative;
}

.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.gallery-item:hover img { transform: scale(1.12); }

.gallery-badge {
    position: absolute;
    bottom: 5px;
    left: 5px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    font-size: 0.55rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}

/* ── LIGHTBOX ── */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.96);
    z-index: 2000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.lightbox-overlay.open { display: flex; }

.lightbox-img {
    max-width: 95vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 0 80px rgba(0,0,0,0.8);
}

.lightbox-info { color: #fff; margin-top: 16px; text-align: center; }
.lightbox-close {
    position: absolute;
    top: 20px; right: 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    font-size: 1.3rem;
    width: 44px; height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--trans);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* ── EMPTY STATE ── */
.empty-state {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--muted);
}
.empty-state i { font-size: 2rem; margin-bottom: 0.8rem; display: block; opacity: 0.3; }
.empty-state p { font-size: 0.85rem; line-height: 1.6; }

/* ── STORY VIEWER ── */
.story-viewer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.97);
    z-index: 1500;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.story-viewer-overlay.open { display: flex; }
.story-viewer-img { max-height: 80vh; max-width: 500px; width: 100%; object-fit: contain; border-radius: var(--radius); }
.story-viewer-caption { color: #fff; font-size: 1rem; margin-top: 1rem; text-align: center; padding: 0 1rem; }
.story-viewer-close {
    position: absolute; top: 20px; right: 20px;
    background: rgba(255,255,255,0.1);
    border: none; color: #fff; font-size: 1.5rem;
    width: 44px; height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.story-viewer-creator { display: flex; align-items: center; gap: 10px; position: absolute; top: 20px; left: 20px; }
.story-viewer-creator img { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #fff; }
.story-viewer-creator span { color: #fff; font-weight: 600; font-size: 0.88rem; }

/* ── BOTTOM NAV ── */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 10px 28px;
    background: rgba(7,7,15,0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid var(--border);
    z-index: 200;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: var(--trans);
    cursor: pointer;
    border: none;
    background: none;
}

.nav-item i { font-size: 1.15rem; }

.nav-item:hover { color: rgba(255,255,255,0.6); }

.nav-item.active {
    color: var(--accent);
    background: rgba(124,107,255,0.1);
}

/* ── SEARCH ── */
.search-wrapper {
    display: flex;
    align-items: center;
    background: var(--surface);
    border-radius: 20px;
    padding: 3px 5px 3px 14px;
    border: 1px solid var(--border);
    transition: var(--trans);
}
.search-wrapper input {
    background: none;
    border: none;
    color: var(--text);
    font-size: 0.83rem;
    width: 0;
    transition: width 0.3s;
    outline: none;
}
.search-wrapper.active { border-color: var(--accent); background: var(--surface-hover); }
.search-wrapper.active input { width: 130px; margin-right: 4px; }

/* ── RESPONSIVE ── */
@media (min-width: 481px) {
    .app-container {
        border-left: 1px solid var(--border);
        border-right: 1px solid var(--border);
    }
}

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }