/* ==========================================================================
   VISTARA - CORE GLOBAL BASE STYLESHEET
   - Global Tokens, Reset, Layout Containers & Smooth Transitions
   - Site Header & Two-Row Unbreakable Responsive Navigation Grid
   - Modern Site Footer with Legal Links & 18+ Verification Trigger
   - Global Meta Verified Badge & Reusable Utilities
   - Dual Theme Engine: 3D Cream Clay (Light) & Obsidian Cyberpunk (Dark)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. GLOBAL DESIGN TOKENS & CSS VARIABLES
   -------------------------------------------------------------------------- */
:root {
    /* Dark Theme Tokens (Default Engine) */
    --bg-dark: #090c15;
    --bg-card: #111726;
    --bg-card-hover: #172036;
    --bg-surface: #1a2238;
    --primary: #ff2a6d;
    --primary-hover: #ff4785;
    --primary-glow: rgba(255, 42, 109, 0.45);
    --cyan: #05d9e8;
    --cyan-glow: rgba(5, 217, 232, 0.35);
    --purple: #9d4edd;
    --text-main: #f0f3fc;
    --text-muted: #8e9bb5;
    --text-dim: #5c6882;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 42, 109, 0.4);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 25px var(--primary-glow);
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme Tokens (3D Cream Clay Aesthetic) */
html[data-theme="light"],
body[data-theme="light"],
[data-theme="light"] {
    --bg-dark: #f5f0ea;
    --bg-card: #ffffff;
    --bg-card-hover: #faf6f0;
    --bg-surface: #ede4d8;
    --primary: #ea6e56;
    --primary-hover: #f78d78;
    --primary-glow: rgba(234, 110, 86, 0.4);
    --cyan: #3d84a8;
    --cyan-glow: rgba(61, 132, 168, 0.3);
    --purple: #8b5cf6;
    --text-main: #2d2621;
    --text-muted: #7d6e64;
    --text-dim: #9c8e82;
    --border: #ede4d8;
    --border-hover: rgba(234, 110, 86, 0.5);
    --shadow-card: 0 4px 15px rgba(65, 50, 35, 0.08);
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESET & FOUNDATION
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    position: relative;
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
}

/* Hardware-Accelerated Ambient Light Layer */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 15% 15%, rgba(157, 78, 221, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 65%, rgba(5, 217, 232, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 50% 90%, rgba(255, 42, 109, 0.07) 0%, transparent 50%);
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
}

[data-theme="light"] body {
    background-color: #f5f0ea;
    color: #2d2621;
}

[data-theme="light"] body::before {
    background-image:
        radial-gradient(circle at 10% 10%, rgba(234, 110, 86, 0.09) 0%, transparent 45%),
        radial-gradient(circle at 90% 60%, rgba(95, 168, 135, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 50% 95%, rgba(247, 141, 120, 0.07) 0%, transparent 50%);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img,
video {
    display: block;
    max-width: 100%;
}

/* Centralized Layout Container */
.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --------------------------------------------------------------------------
   3. SITE HEADER & NAVIGATION BAR (DESKTOP & TABLET)
   -------------------------------------------------------------------------- */
.site-header {
    background: rgba(9, 12, 21, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.25s, border-color 0.25s;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    gap: 16px;
    padding: 10px 20px;
}

/* Brand Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff;
    flex-shrink: 0;
}

.brand-logo .logo-icon.vistara-logo-emblem,
.brand-logo .logo-icon.haneko-logo-emblem {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.4);
    border: 1px solid rgba(0, 198, 255, 0.4);
    background: #000;
    transition: var(--transition);
    flex-shrink: 0;
}

.brand-logo .logo-icon.vistara-logo-emblem img.brand-logo-img,
.brand-logo .logo-icon.haneko-logo-emblem img.brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.brand-logo:hover .vistara-logo-emblem,
.brand-logo:hover .haneko-logo-emblem {
    transform: scale(1.08) rotate(-2deg);
    box-shadow: 0 0 25px rgba(0, 198, 255, 0.7);
    border-color: #00c6ff;
}

.logo-text-group {
    display: flex;
    align-items: baseline;
    font-family: var(--font-heading);
    font-weight: 800;
}

.logo-text-group .brand-name {
    color: var(--text-main);
    font-size: 22px;
    letter-spacing: 1px;
}

.logo-text-group .highlight {
    color: var(--primary);
    font-size: 13px;
    margin-left: 4px;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: 1px;
}

/* Search Box Form */
.search-box {
    flex: 1;
    max-width: 460px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 10px 16px 10px 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.search-box input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(255, 42, 109, 0.25);
}

.search-box svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-dim);
    pointer-events: none;
}

/* Nav Actions Group */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Light / Dark Mode Toggle Button */
.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    outline: none;
    user-select: none;
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

/* Theme Toggle Button Icon/Text State */
[data-theme="light"] .theme-toggle-btn .light-text,
html[data-theme="light"] .theme-toggle-btn .light-text {
    display: none !important;
}

[data-theme="light"] .theme-toggle-btn .dark-text,
html[data-theme="light"] .theme-toggle-btn .dark-text {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
}

[data-theme="dark"] .theme-toggle-btn .dark-text,
html[data-theme="dark"] .theme-toggle-btn .dark-text {
    display: none !important;
}

[data-theme="dark"] .theme-toggle-btn .light-text,
html[data-theme="dark"] .theme-toggle-btn .light-text {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
}

/* Reels Mode Navigation Button */
.btn-nav-reels {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: #ffffff !important;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 4px 15px rgba(255, 65, 108, 0.4);
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-nav-reels:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 65, 108, 0.6);
}

.nav-reels-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 6px #ffffff;
    animation: livePulse 1.2s infinite;
}

@keyframes livePulse {
    0% { transform: scale(0.9); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
    100% { transform: scale(0.9); opacity: 1; }
}

/* Telegram Nav Button */
.btn-nav-telegram {
    background: linear-gradient(135deg, #0088cc, #00b4d8);
    color: #fff;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.35);
}

.btn-nav-telegram:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.5);
}

/* Creator Studio Nav Button */
.btn-nav-creator {
    background: linear-gradient(135deg, rgba(5, 217, 232, 0.18), rgba(0, 119, 182, 0.25));
    border: 1px solid rgba(5, 217, 232, 0.35);
    color: var(--cyan, #05d9e8) !important;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(5, 217, 232, 0.2);
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    user-select: none;
}

.btn-nav-creator:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(5, 217, 232, 0.3), rgba(0, 119, 182, 0.4));
    box-shadow: 0 6px 20px rgba(5, 217, 232, 0.45);
    color: #fff !important;
}

.btn-nav-creator.logged-in {
    background: linear-gradient(135deg, rgba(0, 240, 168, 0.2), rgba(5, 217, 232, 0.25));
    border-color: rgba(0, 240, 168, 0.4);
    color: #00f0a8 !important;
}

[data-theme="light"] .btn-nav-creator {
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    border: 1px solid #7dd3fc;
    color: #0369a1 !important;
    box-shadow: 0 2px 10px rgba(3, 105, 161, 0.12);
}

[data-theme="light"] .btn-nav-creator:hover {
    background: linear-gradient(135deg, #bae6fd, #7dd3fc);
    color: #0c4a6e !important;
}

[data-theme="light"] .btn-nav-creator.logged-in {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border-color: #6ee7b7;
    color: #065f46 !important;
}

/* Light Theme Header Overrides */
[data-theme="light"] .site-header {
    background: rgba(245, 240, 234, 0.92);
    border-bottom: 2px solid #ffffff;
    box-shadow: 0 4px 15px rgba(65, 50, 35, 0.05);
}

[data-theme="light"] .brand-name {
    color: #2d2621 !important;
}

[data-theme="light"] .highlight {
    color: #ea6e56;
}

[data-theme="light"] .search-box input {
    background: #ffffff;
    border: 2px solid #ffffff;
    color: #2d2621;
    box-shadow: 0 2px 8px rgba(65, 50, 35, 0.06), inset 0 1px 2px rgba(65, 50, 35, 0.04);
}

[data-theme="light"] .search-box input:focus {
    background: #ffffff;
    border-color: #ea6e56;
    box-shadow: 0 0 14px rgba(234, 110, 86, 0.25);
}

[data-theme="light"] .theme-toggle-btn {
    background: #ffffff;
    border: 2px solid #ffffff;
    color: #2d2621;
    box-shadow: 0 3px 0 #ded6cb, 0 4px 10px rgba(65, 50, 35, 0.06);
}

[data-theme="light"] .theme-toggle-btn:hover {
    background: #faf6f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 0 #ded6cb, 0 6px 14px rgba(65, 50, 35, 0.1);
}

[data-theme="light"] .btn-nav-reels {
    background: linear-gradient(180deg, #f78d78, #ea6e56) !important;
    color: #ffffff !important;
    border: 2px solid #ffffff;
    box-shadow: 0 3px 0 #c7523c, 0 6px 14px rgba(234, 110, 86, 0.35) !important;
}

[data-theme="light"] .btn-nav-telegram {
    background: linear-gradient(180deg, #6ec6a0, #5fa887);
    color: #ffffff !important;
    border: 2px solid #ffffff;
    box-shadow: 0 3px 0 #4c8a6e, 0 6px 14px rgba(95, 168, 135, 0.35);
}

[data-theme="light"] .btn-nav-creator {
    background: linear-gradient(180deg, #4ea8de, #0077b6) !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 3px 0 #023e8a, 0 6px 14px rgba(0, 119, 182, 0.35) !important;
}

[data-theme="light"] .btn-nav-creator:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 0 #023e8a, 0 8px 18px rgba(0, 119, 182, 0.45) !important;
}

[data-theme="light"] .btn-nav-creator.logged-in {
    background: linear-gradient(180deg, #56ab91, #38b000) !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 3px 0 #208b3a, 0 6px 14px rgba(56, 176, 0, 0.35) !important;
}

/* Dark Theme Header Overrides */
[data-theme="dark"] .brand-name {
    color: #f0f3fc !important;
}

[data-theme="dark"] .site-header {
    background: rgba(9, 12, 21, 0.92);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* --------------------------------------------------------------------------
   4. MOBILE HEADER UNBREAKABLE TWO-ROW GRID (<= 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .container {
        padding: 0 14px;
    }

    .nav-container {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas: 
            "brand actions"
            "search search";
        align-items: center;
        padding: 8px 12px;
        min-height: auto;
        row-gap: 8px;
        column-gap: 8px;
    }

    /* Row 1 Left: Brand Logo */
    .brand-logo {
        grid-area: brand;
        justify-self: start;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
    }

    .brand-logo .logo-icon.vistara-logo-emblem,
    .brand-logo .logo-icon.haneko-logo-emblem {
        width: 32px;
        height: 32px;
        border-radius: 9px;
        flex-shrink: 0;
    }

    .logo-text-group {
        display: inline-flex;
        align-items: baseline;
        white-space: nowrap;
    }

    .logo-text-group .brand-name {
        font-size: 18px;
        letter-spacing: 0.5px;
    }

    .logo-text-group .highlight {
        font-size: 11px;
        margin-left: 3px;
    }

    /* Row 1 Right: Nav Actions (Theme Switcher + Reels + Telegram) */
    .nav-actions {
        grid-area: actions;
        justify-self: end;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        flex-shrink: 0;
        margin-left: 0;
    }

    .theme-toggle-btn {
        padding: 5.5px 10px;
        font-size: 11px;
        gap: 4px;
        white-space: nowrap;
        border-radius: var(--radius-full);
    }

    .theme-toggle-btn svg {
        width: 13px;
        height: 13px;
    }

    .btn-nav-reels {
        padding: 5.5px 11px;
        font-size: 11.5px;
        font-weight: 700;
        border-radius: var(--radius-full);
        display: inline-flex;
        align-items: center;
        gap: 5px;
        white-space: nowrap;
        box-shadow: 0 3px 12px rgba(255, 65, 108, 0.4);
    }

    .btn-nav-reels svg {
        width: 12px;
        height: 12px;
    }

    .btn-nav-reels .nav-reels-pulse {
        width: 6px;
        height: 6px;
    }

    .btn-nav-telegram {
        padding: 5.5px 10px;
        font-size: 11px;
        gap: 5px;
        white-space: nowrap;
        border-radius: var(--radius-full);
    }

    .btn-nav-telegram svg {
        width: 14px;
        height: 14px;
    }

    .btn-nav-telegram .btn-text {
        display: inline !important;
        font-size: 11px;
        font-weight: 600;
    }

    .btn-nav-creator {
        padding: 5.5px 10px;
        font-size: 11px;
        gap: 4px;
        white-space: nowrap;
        border-radius: var(--radius-full);
    }

    /* Auto-collapse Creator button to icon circle on medium mobile (<= 560px) to prevent navbar overflow */
    @media (max-width: 560px) {
        .nav-actions {
            gap: 5px;
        }
        .btn-nav-creator {
            padding: 0;
            width: 32px;
            height: 32px;
            min-width: 32px;
            justify-content: center;
            border-radius: 50%;
        }
        .btn-nav-creator .btn-text {
            display: none !important;
        }
        .btn-nav-creator .creator-nav-icon {
            font-size: 14px;
            margin: 0;
            line-height: 1;
        }
    }

    /* Hide text labels on narrow screens (<= 480px) for ultra-compact symmetrical icon pills */
    @media (max-width: 480px) {
        .theme-toggle-btn {
            padding: 6px;
            width: 32px;
            height: 32px;
            justify-content: center;
            border-radius: 50%;
        }
        .theme-toggle-btn .theme-btn-content span:last-child {
            display: none !important;
        }
        .btn-nav-telegram {
            padding: 6px;
            width: 32px;
            height: 32px;
            justify-content: center;
            border-radius: 50%;
        }
        .btn-nav-telegram .btn-text {
            display: none !important;
        }
        .btn-nav-creator {
            padding: 0;
            width: 32px;
            height: 32px;
            min-width: 32px;
            justify-content: center;
            border-radius: 50%;
        }
        .btn-nav-creator .btn-text {
            display: none !important;
        }
        .btn-nav-creator .creator-nav-icon {
            font-size: 14px;
            margin: 0;
            line-height: 1;
        }
        .btn-nav-reels {
            padding: 5px 9px;
            font-size: 11px;
        }
    }

    /* Row 2: Search Form Spanning 100% Full Width */
    .search-box {
        grid-area: search;
        width: 100%;
        max-width: 100%;
        margin-top: 2px;
    }

    .search-box input {
        width: 100%;
        padding: 9px 14px 9px 38px;
        font-size: 13px;
        border-radius: var(--radius-full);
    }

    .search-box svg {
        left: 12px;
        width: 16px;
        height: 16px;
    }
}

/* Compact Mobile Phones (<= 375px) */
@media (max-width: 375px) {
    .container {
        padding: 0 10px;
    }

    .nav-container {
        padding: 6px 10px;
        row-gap: 6px;
        column-gap: 5px;
    }

    .brand-logo {
        gap: 6px;
    }

    .brand-logo .logo-icon.vistara-logo-emblem,
    .brand-logo .logo-icon.haneko-logo-emblem {
        width: 28px;
        height: 28px;
        border-radius: 7px;
    }

    .logo-text-group .brand-name {
        font-size: 16px;
    }

    .logo-text-group .highlight {
        font-size: 10px;
        margin-left: 2px;
    }

    .nav-actions {
        gap: 4px;
    }

    .theme-toggle-btn {
        padding: 5px;
        width: 30px;
        height: 30px;
        font-size: 10.5px;
    }

    .theme-toggle-btn svg {
        width: 12px;
        height: 12px;
    }

    .btn-nav-reels {
        padding: 4.5px 8px;
        font-size: 10.5px;
        gap: 3.5px;
    }

    .btn-nav-reels svg {
        width: 11px;
        height: 11px;
    }

    .btn-nav-telegram {
        padding: 5px;
        width: 30px;
        height: 30px;
        font-size: 10.5px;
    }

    .btn-nav-telegram svg {
        width: 13px;
        height: 13px;
    }

    .btn-nav-telegram .btn-text {
        display: none !important;
    }

    .btn-nav-creator {
        padding: 0;
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 10.5px;
        justify-content: center;
        border-radius: 50%;
    }
    .btn-nav-creator .btn-text {
        display: none !important;
    }
    .btn-nav-creator .creator-nav-icon {
        font-size: 13px;
        margin: 0;
        line-height: 1;
    }

    .search-box input {
        padding: 7.5px 12px 7.5px 34px;
        font-size: 12.5px;
    }

    .search-box svg {
        left: 10px;
        width: 14px;
        height: 14px;
    }
}

/* Ultra-Compact Phones (<= 330px) */
@media (max-width: 330px) {
    .container {
        padding: 0 6px;
    }

    .nav-container {
        padding: 5px 6px;
        row-gap: 5px;
        column-gap: 4px;
    }

    .brand-logo {
        gap: 5px;
    }

    .brand-logo .logo-icon.vistara-logo-emblem,
    .brand-logo .logo-icon.haneko-logo-emblem {
        width: 25px;
        height: 25px;
        border-radius: 6px;
    }

    .logo-text-group .brand-name {
        font-size: 14.5px;
    }

    .nav-actions {
        gap: 3.5px;
    }

    .theme-toggle-btn {
        padding: 4px;
        width: 27px;
        height: 27px;
        font-size: 9.5px;
    }

    .theme-toggle-btn svg {
        width: 11px;
        height: 11px;
    }

    .btn-nav-reels {
        padding: 3.5px 6.5px;
        font-size: 9.5px;
        gap: 3px;
    }

    .btn-nav-reels svg {
        width: 10px;
        height: 10px;
    }

    .btn-nav-telegram {
        padding: 4px;
        width: 27px;
        height: 27px;
        font-size: 9.5px;
    }

    .btn-nav-telegram svg {
        width: 12px;
        height: 12px;
    }

    .btn-nav-telegram .btn-text {
        display: none !important;
    }

    .btn-nav-creator {
        padding: 0;
        width: 27px;
        height: 27px;
        min-width: 27px;
        font-size: 9.5px;
        justify-content: center;
        border-radius: 50%;
    }
    .btn-nav-creator .btn-text {
        display: none !important;
    }
    .btn-nav-creator .creator-nav-icon {
        font-size: 12px;
        margin: 0;
        line-height: 1;
    }

    .search-box input {
        padding: 6.5px 10px 6.5px 30px;
        font-size: 11.5px;
    }
}

/* --------------------------------------------------------------------------
   5. SITE FOOTER & LEGAL LINKS
   -------------------------------------------------------------------------- */
.site-footer {
    margin-top: auto;
    padding: 12px 0 14px;
    background: rgba(9, 12, 21, 0.95);
    border-top: 1px solid var(--border);
    font-size: 12px;
    transition: background-color 0.25s, border-color 0.25s;
}

.footer-compact-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
    min-height: 26px;
    width: 100%;
}

.footer-left {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    color: #64748b;
}

.footer-brand-copy {
    color: #94a3b8;
    font-weight: 500;
}

.footer-nav-items {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 8px;
    font-size: 11.5px;
    text-align: center;
}

.footer-nav-link {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.footer-nav-link:hover {
    color: #ffffff;
}

.footer-sep {
    color: #334155;
    font-size: 8px;
    user-select: none;
    line-height: 1;
}

.footer-tg-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #2ea6ff;
    font-weight: 600;
    white-space: nowrap;
}

.footer-tg-link:hover {
    color: #60a5fa;
}

.footer-badge-18 {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: rgba(255, 42, 95, 0.12);
    border: 1px solid rgba(255, 42, 95, 0.35);
    color: #ff3b69 !important;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 10.5px;
    font-weight: 800;
    cursor: pointer;
    line-height: 1.2;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.footer-badge-18:hover {
    background: #ff2a5f;
    color: #ffffff !important;
    border-color: #ff2a5f;
    box-shadow: 0 0 10px rgba(255, 42, 95, 0.4);
}

/* Light Theme Footer */
[data-theme="light"] .site-footer {
    background: rgba(245, 240, 234, 0.95);
    border-top: 1.5px solid #ede4d8;
    box-shadow: 0 -2px 10px rgba(65, 50, 35, 0.04);
}

[data-theme="light"] .footer-brand-copy,
[data-theme="light"] .footer-nav-link {
    color: #7d6e64;
}

[data-theme="light"] .footer-nav-link:hover {
    color: #ea6e56;
}

[data-theme="light"] .footer-sep {
    color: #d5c8b8;
}

/* Dark Theme Footer */
[data-theme="dark"] .site-footer {
    background: rgba(9, 12, 21, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .footer-brand-copy,
[data-theme="dark"] .footer-nav-link {
    color: #8e9bb5 !important;
}

[data-theme="dark"] .footer-nav-link:hover {
    color: #05d9e8 !important;
}

@media (max-width: 640px) {
    .site-footer {
        padding: 8px 0 10px;
    }

    .footer-compact-row {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        text-align: center;
    }

    .footer-nav-items {
        justify-content: center;
        width: 100%;
        gap: 4px 6px;
    }

    .footer-left {
        order: 2;
        font-size: 11px;
    }

    .footer-nav-link {
        font-size: 11px;
    }

    .footer-sep {
        font-size: 7px;
        margin: 0 1px;
    }
}

/* --------------------------------------------------------------------------
   6. GLOBAL UI COMPONENTS & REUSABLE UTILITIES
   -------------------------------------------------------------------------- */
/* Official Meta Verified Badge (Facebook / Instagram Style) */
.meta-verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    filter: drop-shadow(0 1px 4px rgba(0, 100, 224, 0.7));
    cursor: pointer;
    line-height: 1;
    margin-left: 3px;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.meta-verified-badge:hover {
    transform: scale(1.2) rotate(6deg);
}

.meta-verified-badge svg {
    display: block;
}

/* Empty State Helper */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

/* Admin Link Button Utility */
.btn-nav-admin {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
}

.btn-nav-admin:hover {
    color: #fff;
    border-color: var(--cyan);
}

/* ==========================================================================
   7. 5-TIER VERIFIED BADGE (V-BADGE) STYLES
   ========================================================================== */
.v-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    flex-shrink: 0;
    user-select: none;
    position: relative;
    cursor: pointer;
    line-height: 1;
    margin-left: 5px;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.25s ease;
}

.v-badge:hover {
    transform: scale(1.18);
}

.v-badge svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* 1. TIER BLUE - Standard Official Meta / Twitter Blue Tick */
.v-badge-blue {
    width: 18px;
    height: 18px;
    filter: drop-shadow(0 2px 4px rgba(0, 100, 224, 0.45));
}
.v-badge-blue:hover {
    filter: drop-shadow(0 3px 10px rgba(0, 100, 224, 0.8));
    transform: scale(1.16);
}

/* 2. TIER GOLD - Twitter / X Official Gold Organization Shimmer */
.v-badge-gold {
    width: 19px;
    height: 19px;
    filter: drop-shadow(0 2px 6px rgba(245, 158, 11, 0.65));
    animation: vbadgeGoldSweep 3.2s infinite ease-in-out;
}
.v-badge-gold:hover {
    transform: scale(1.2);
}
@keyframes vbadgeGoldSweep {
    0%, 100% {
        filter: drop-shadow(0 2px 6px rgba(245, 158, 11, 0.65));
    }
    50% {
        filter: drop-shadow(0 0 13px rgba(251, 191, 36, 0.95)) drop-shadow(0 2px 4px rgba(180, 83, 9, 0.5));
        transform: scale(1.06);
    }
}

/* 3. TIER PRO - VIP Partner Electric Violet with Cyber Corona */
.v-badge-pro {
    width: 19px;
    height: 19px;
    filter: drop-shadow(0 2px 7px rgba(147, 51, 234, 0.6));
    animation: vbadgeProPulse 2.8s infinite ease-in-out;
}
.v-badge-pro:hover {
    transform: scale(1.2);
}
@keyframes vbadgeProPulse {
    0%, 100% {
        filter: drop-shadow(0 2px 6px rgba(147, 51, 234, 0.6));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 12px rgba(6, 182, 212, 0.9)) drop-shadow(0 0 5px rgba(192, 132, 252, 0.8));
        transform: scale(1.08);
    }
}
.v-badge-pro .v-badge-corona {
    animation: vbadgeCoronaSpin 6s linear infinite;
    transform-origin: 12px 12px;
}
@keyframes vbadgeCoronaSpin {
    100% { transform: rotate(360deg); }
}

/* 4. TIER DIAMOND - Prismatic Ice Crystal with Sparkling Glint Star */
.v-badge-diamond {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.75));
    animation: vbadgeDiamondTwinkle 2.5s ease-in-out infinite;
}
.v-badge-diamond:hover {
    transform: scale(1.22);
}
@keyframes vbadgeDiamondTwinkle {
    0%, 100% {
        filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.65));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 16px rgba(14, 165, 233, 0.95)) drop-shadow(0 0 5px #ffffff);
        transform: scale(1.09) rotate(2deg);
    }
}
.v-badge-diamond .v-badge-star-glint {
    animation: vbadgeGlintFlash 2s infinite ease-in-out;
    transform-origin: 19px 6px;
}
@keyframes vbadgeGlintFlash {
    0%, 100% { opacity: 0.3; transform: scale(0.7); }
    50% { opacity: 1; transform: scale(1.3); }
}

/* 5. TIER RUBY - Master Dragon Flame (REAL BURNING FIRE TONGUES & UPWARD HEAT FLICKER) */
.v-badge-ruby {
    width: 22px;
    height: 24px;
    filter: drop-shadow(0 0 4px #e11d48) drop-shadow(0 -3px 8px #ff4500) drop-shadow(0 -6px 14px rgba(255, 180, 0, 0.85));
    animation: vbadgeRealFire 1.6s infinite alternate ease-in-out;
}
.v-badge-ruby:hover {
    transform: scale(1.24) translateY(-1px);
}
@keyframes vbadgeRealFire {
    0% {
        filter: drop-shadow(0 0 4px #e11d48) drop-shadow(0 -3px 8px #ff4500) drop-shadow(0 -6px 13px rgba(255, 180, 0, 0.8));
        transform: translateY(0) scale(1);
    }
    33% {
        filter: drop-shadow(0 0 6px #ff003c) drop-shadow(0 -5px 12px #ff5a00) drop-shadow(0 -9px 18px rgba(255, 210, 40, 0.95));
        transform: translateY(-0.5px) scale(1.04) rotate(1deg);
    }
    66% {
        filter: drop-shadow(0 0 5px #e11d48) drop-shadow(0 -4px 10px #ff3700) drop-shadow(0 -7px 15px rgba(255, 170, 0, 0.85));
        transform: translateY(0) scale(1.02) rotate(-1deg);
    }
    100% {
        filter: drop-shadow(0 0 7px #ff1e00) drop-shadow(0 -6px 14px #ff7700) drop-shadow(0 -10px 22px rgba(255, 235, 60, 1));
        transform: translateY(-1px) scale(1.06) rotate(1.5deg);
    }
}
.v-badge-ruby .flame-center {
    animation: vbadgeFlameCenter 1.1s infinite ease-in-out alternate;
    transform-origin: 12px 9px;
}
.v-badge-ruby .flame-left {
    animation: vbadgeFlameLeft 1.4s infinite ease-in-out alternate;
    transform-origin: 6px 10px;
}
.v-badge-ruby .flame-right {
    animation: vbadgeFlameRight 1.3s infinite ease-in-out alternate;
    transform-origin: 18px 10px;
}
@keyframes vbadgeFlameCenter {
    0% { transform: scaleY(1) scaleX(1); opacity: 0.9; }
    50% { transform: scaleY(1.3) scaleX(0.88) skewX(3deg); opacity: 1; }
    100% { transform: scaleY(1.15) scaleX(1.15) skewX(-3deg); opacity: 0.95; }
}
@keyframes vbadgeFlameLeft {
    0% { transform: scale(1) rotate(0deg); opacity: 0.85; }
    50% { transform: scale(1.22) rotate(-6deg); opacity: 1; }
    100% { transform: scale(0.92) rotate(4deg); opacity: 0.8; }
}
@keyframes vbadgeFlameRight {
    0% { transform: scale(1) rotate(0deg); opacity: 0.85; }
    50% { transform: scale(1.18) rotate(6deg); opacity: 1; }
    100% { transform: scale(0.88) rotate(-4deg); opacity: 0.8; }
}

/* Size Modifiers */
.v-badge-lg.v-badge-blue { width: 24px; height: 24px; }
.v-badge-lg.v-badge-gold { width: 25px; height: 25px; }
.v-badge-lg.v-badge-pro { width: 25px; height: 25px; }
.v-badge-lg.v-badge-diamond { width: 26px; height: 26px; }
.v-badge-lg.v-badge-ruby { width: 28px; height: 30px; }

.v-badge-sm.v-badge-blue { width: 15px; height: 15px; }
.v-badge-sm.v-badge-gold { width: 16px; height: 16px; }
.v-badge-sm.v-badge-pro { width: 16px; height: 16px; }
.v-badge-sm.v-badge-diamond { width: 17px; height: 17px; }
.v-badge-sm.v-badge-ruby { width: 18px; height: 19px; }

/* ==========================================================================
   8. YOUTUBE-STYLE SOCIAL MEDIA LINK PILLS & CARDS
   ========================================================================== */
.creator-social-links-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.social-links-header-row {
    margin-top: 10px;
}

.social-header-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--social-brand-bg, rgba(0, 0, 0, 0.05));
    border: 1.5px solid var(--social-brand-border, rgba(0, 0, 0, 0.15));
    color: var(--social-brand-color, #1e293b);
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.04);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

[data-theme="dark"] .social-header-pill {
    background: var(--social-brand-bg, rgba(255, 255, 255, 0.08));
    border-color: var(--social-brand-border, rgba(255, 255, 255, 0.18));
    color: #f1f5f9;
}

.social-header-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--social-brand-color);
}

.social-pill-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.social-pill-icon svg {
    display: block;
}

.social-pill-arrow {
    font-size: 11px;
    opacity: 0.65;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-header-pill:hover .social-pill-arrow {
    transform: translate(2px, -2px);
    opacity: 1;
}

/* About Tab Grid Cards */
.social-links-about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
    margin-top: 14px;
    width: 100%;
}

.social-about-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 16px;
    background: #ffffff;
    border: 2px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.03);
    text-decoration: none;
    color: inherit;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .social-about-card {
    background: #131b2e;
    border-color: rgba(255, 255, 255, 0.08);
}

.social-about-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    border-color: var(--social-brand-color);
}

.social-card-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--social-brand-bg);
    color: var(--social-brand-color);
    flex-shrink: 0;
}

.social-card-icon-box svg {
    display: block;
}

.social-card-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.social-card-name {
    font-size: 14px;
    font-weight: 800;
    color: var(--social-brand-color);
    line-height: 1.2;
}

.social-card-url {
    font-size: 11.5px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
    line-height: 1.4;
}

[data-theme="dark"] .social-card-url {
    color: #94a3b8;
}

.social-card-external-arrow {
    margin-left: auto;
    font-size: 16px;
    font-weight: 900;
    color: #94a3b8;
    transition: transform 0.2s ease, color 0.2s ease;
}

.social-about-card:hover .social-card-external-arrow {
    transform: translate(2px, -2px);
    color: var(--social-brand-color);
}