/* ==========================================================================
   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: grid;
    grid-template-columns: 1fr minmax(280px, 440px) 1fr;
    align-items: center;
    min-height: 70px;
    gap: 16px;
    padding: 10px 20px;
}

/* Brand Logo */
.brand-logo {
    justify-self: start;
    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 {
    justify-self: center;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    position: relative;
}

.search-box form {
    width: 100%;
    margin: 0;
    position: relative;
}

.search-box input {
    width: 100%;
    box-sizing: border-box;
    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 {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    flex-wrap: nowrap;
}

/* ==========================================================================
   UNIFIED NAVBAR 3D CLAY PILL BUTTONS (Strictly Equal Size & Alignment)
   ========================================================================== */
.btn-nav-pill {
    height: 38px;
    min-height: 38px;
    max-height: 38px;
    padding: 0 16px;
    border-radius: var(--radius-full, 999px);
    font-family: var(--font-heading, 'Outfit', -apple-system, sans-serif);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-decoration: none;
    box-sizing: border-box;
    cursor: pointer;
    outline: none;
    user-select: none;
    white-space: nowrap;
    line-height: 1;
    border: 2px solid #ffffff;
    transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.15s cubic-bezier(0.16, 1, 0.3, 1), filter 0.15s;
    vertical-align: middle;
    -webkit-appearance: none;
    appearance: none;
}

.btn-nav-pill:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.btn-nav-pill:active {
    transform: translateY(2px);
}

.btn-nav-pill svg,
.btn-nav-pill .nav-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-nav-pill .btn-text {
    display: inline-block;
    line-height: 1;
}

/* Light / Dark Mode Toggle Button */
.theme-toggle-btn {
    border: 2px solid #ffffff;
    cursor: pointer;
    background: transparent;
}

.theme-toggle-btn .theme-btn-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    line-height: 1;
}

/* 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: 6px;
}

[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: 6px;
}

/* Reels Mode Navigation Button */
.btn-nav-reels {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: #ffffff !important;
    box-shadow: 0 3px 0 #b91c1c, 0 6px 14px rgba(255, 65, 108, 0.35);
}

.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: #ffffff !important;
    box-shadow: 0 3px 0 #0077b6, 0 6px 14px rgba(0, 136, 204, 0.35);
}

/* Pricing Nav Button (Desktop) */
.btn-nav-pricing,
.btn-nav-vip {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000000 !important;
    box-shadow: 0 3px 0 #b45309, 0 6px 14px rgba(245, 158, 11, 0.35);
}

/* Creator Studio Button */
.btn-nav-creator {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #ffffff !important;
    box-shadow: 0 3px 0 #1e40af, 0 6px 14px rgba(59, 130, 246, 0.35);
}

.btn-nav-creator.logged-in {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff !important;
    box-shadow: 0 3px 0 #047857, 0 6px 14px rgba(16, 185, 129, 0.35);
}

/* Mobile 3-Dot / Hamburger Menu Button */
.btn-mobile-nav-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border);
    color: var(--text-main);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    outline: none;
    padding: 0;
    flex-shrink: 0;
}

.btn-mobile-nav-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

/* Mobile Drawer Backdrop Overlay */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}

.mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Slide-Over Drawer */
.mobile-slide-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 86vw;
    height: 100%;
    background: rgba(13, 18, 31, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
    z-index: 99999;
    transform: translate3d(100%, 0, 0);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px 16px;
    will-change: transform;
}

.mobile-slide-drawer.active {
    transform: translate3d(0, 0, 0);
}

[data-theme="light"] .mobile-slide-drawer {
    background: rgba(251, 248, 244, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 2px solid #ede4d8;
    box-shadow: -10px 0 35px rgba(65, 50, 35, 0.15);
}

/* Drawer Header */
.drawer-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .drawer-header-row {
    border-bottom-color: #ede4d8;
}

.drawer-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.drawer-user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 17px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.drawer-user-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.drawer-user-name {
    font-size: 14px;
    font-weight: 800;
    color: #f0f3fc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[data-theme="light"] .drawer-user-name {
    color: #2d2621;
}

.drawer-user-status {
    font-size: 11.5px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}

.badge-role-pill {
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 999px;
    text-transform: uppercase;
}

.badge-role-pill.vip {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.badge-role-pill.creator {
    background: rgba(6, 182, 212, 0.2);
    color: #22d3ee;
    border: 1px solid rgba(6, 182, 212, 0.4);
}

.badge-role-pill.free {
    background: rgba(148, 163, 184, 0.2);
    color: #94a3b8;
}

.drawer-quick-auth {
    font-size: 12px;
    font-weight: 700;
    color: #05d9e8;
    text-decoration: none;
    margin-top: 2px;
}

[data-theme="light"] .drawer-quick-auth {
    color: #0284c7;
}

.drawer-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--text-muted);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.drawer-close-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-main);
}

[data-theme="light"] .drawer-close-btn {
    background: #ede4d8;
    color: #2d2621;
}

/* Drawer Menu Items */
.drawer-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.drawer-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    text-decoration: none;
    color: #cbd5e1;
    background: transparent;
    transition: background 0.2s ease, color 0.2s ease;
}

.drawer-nav-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    transform: translateX(3px);
}

[data-theme="light"] .drawer-nav-item {
    color: #475569;
}

[data-theme="light"] .drawer-nav-item:hover {
    background: #ede4d8;
    color: #2d2621;
}

.drawer-nav-item .item-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.drawer-nav-item .item-text-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.drawer-nav-item .item-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.3;
}

.drawer-nav-item .item-sub {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.2;
}

.drawer-nav-item.item-vip-pass {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(234, 88, 12, 0.08));
    border: 1px solid rgba(245, 158, 11, 0.35);
    margin-bottom: 6px;
}

[data-theme="light"] .drawer-nav-item.item-vip-pass {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border: 1.5px solid #fcd34d;
}

.drawer-separator {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 8px 4px;
}

[data-theme="light"] .drawer-separator {
    background: #ede4d8;
}

/* ============================================================= */
/* ULTRA-SMOOTH SLOW-MOTION STAGGERED ENTRANCE FOR MOBILE DRAWER */
/* ============================================================= */

/* Base state: All drawer items are permanently invisible and offset downwards */
.mobile-slide-drawer .drawer-header-row,
.mobile-slide-drawer .drawer-nav-menu>* {
    opacity: 0;
    transform: translateY(28px);
    will-change: transform, opacity;
}

/* 1. First Item: Welcome, Guest! / User Profile Header Row */
.mobile-slide-drawer.active .drawer-header-row {
    animation: drawerItemRise 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

/* 2. Second Item: VIP Pricing & Ad-Free Pass Card */
.mobile-slide-drawer.active .drawer-nav-menu>*:nth-child(1) {
    animation: drawerItemRise 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.26s both;
}

/* 3. Third Item: Fullscreen Reels Mode */
.mobile-slide-drawer.active .drawer-nav-menu>*:nth-child(2) {
    animation: drawerItemRise 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.40s both;
}

/* 4. Fourth Item: Creator Studio / Sign In */
.mobile-slide-drawer.active .drawer-nav-menu>*:nth-child(3) {
    animation: drawerItemRise 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.54s both;
}

/* 5. Fifth Item: Verified Anime Creators */
.mobile-slide-drawer.active .drawer-nav-menu>*:nth-child(4) {
    animation: drawerItemRise 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.68s both;
}

/* 6. Sixth Item: Telegram Channel */
.mobile-slide-drawer.active .drawer-nav-menu>*:nth-child(5) {
    animation: drawerItemRise 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.82s both;
}

/* 7. Separator Line */
.mobile-slide-drawer.active .drawer-nav-menu>*:nth-child(6) {
    animation: drawerItemRise 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.94s both;
}

/* 8. Apply for Creator Partner */
.mobile-slide-drawer.active .drawer-nav-menu>*:nth-child(7) {
    animation: drawerItemRise 0.55s cubic-bezier(0.16, 1, 0.3, 1) 1.04s both;
}

/* 9. Sign Out / Extra */
.mobile-slide-drawer.active .drawer-nav-menu>*:nth-child(8) {
    animation: drawerItemRise 0.55s cubic-bezier(0.16, 1, 0.3, 1) 1.16s both;
}

.mobile-slide-drawer.active .drawer-nav-menu>*:nth-child(n+9) {
    animation: drawerItemRise 0.55s cubic-bezier(0.16, 1, 0.3, 1) 1.28s both;
}

/* Luxury Light Shimmer across VIP Card on entrance */
.drawer-nav-item.item-vip-pass {
    position: relative;
    overflow: hidden;
}

.drawer-nav-item.item-vip-pass::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transform: skewX(-25deg);
    pointer-events: none;
}

.mobile-slide-drawer.active .drawer-nav-item.item-vip-pass::after {
    animation: vipShineSweep 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.65s both;
}

/* Keyframes: 60FPS GPU Hardware-Accelerated Staggered Rise */
@keyframes drawerItemRise {
    0% {
        opacity: 0;
        transform: translateY(28px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes vipShineSweep {
    0% {
        left: -120%;
    }

    100% {
        left: 220%;
    }
}

/* 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"] .btn-nav-reels {
    background: linear-gradient(180deg, #f78d78, #ea6e56) !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 3px 0 #c7523c, 0 6px 14px rgba(234, 110, 86, 0.32) !important;
}

[data-theme="light"] .btn-nav-reels:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 0 #c7523c, 0 8px 18px rgba(234, 110, 86, 0.45) !important;
}

[data-theme="light"] .btn-nav-reels:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #c7523c !important;
}

[data-theme="light"] .btn-nav-pricing,
[data-theme="light"] .btn-nav-vip {
    background: linear-gradient(180deg, #fbbf24, #f59e0b) !important;
    color: #451a03 !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 3px 0 #b45309, 0 6px 14px rgba(245, 158, 11, 0.32) !important;
}

[data-theme="light"] .btn-nav-pricing:hover,
[data-theme="light"] .btn-nav-vip:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 0 #b45309, 0 8px 18px rgba(245, 158, 11, 0.45) !important;
}

[data-theme="light"] .btn-nav-pricing:active,
[data-theme="light"] .btn-nav-vip:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #b45309 !important;
}

[data-theme="light"] .btn-nav-creator {
    background: linear-gradient(180deg, #60a5fa, #2563eb) !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 3px 0 #1d4ed8, 0 6px 14px rgba(37, 99, 235, 0.35) !important;
}

[data-theme="light"] .btn-nav-creator.logged-in {
    background: linear-gradient(180deg, #52b788, #22c55e) !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 3px 0 #15803d, 0 6px 14px rgba(34, 197, 94, 0.35) !important;
}

[data-theme="light"] .btn-nav-creator:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 0 #15803d, 0 8px 18px rgba(34, 197, 94, 0.48) !important;
}

[data-theme="light"] .btn-nav-creator:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #15803d !important;
}

/* Light Mode Theme Switcher (3D Soft Clay Pill) */
[data-theme="light"] .theme-toggle-btn {
    background: linear-gradient(180deg, #ffffff, #ece5dc) !important;
    color: #2d2621 !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 3px 0 #ded6cb, 0 6px 14px rgba(65, 50, 35, 0.12) !important;
}

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

[data-theme="light"] .theme-toggle-btn:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #ded6cb !important;
}

/* Light Mode Telegram Button */
[data-theme="light"] .btn-nav-telegram {
    background: linear-gradient(135deg, #2AABEE, #0284c7) !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35) !important;
}

[data-theme="light"] .btn-nav-telegram:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.45) !important;
}

[data-theme="light"] .btn-nav-telegram:active {
    transform: translateY(2px);
    box-shadow: 0 1px 4px rgba(2, 132, 199, 0.3) !important;
}

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

[data-theme="light"] .btn-mobile-nav-toggle:hover {
    background: #faf6f0 !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);
}

[data-theme="dark"] .btn-nav-pill {
    border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .btn-nav-reels {
    background: linear-gradient(135deg, #ff416c, #ff4b2b) !important;
    color: #ffffff !important;
    box-shadow: 0 3px 0 #b91c1c, 0 6px 16px rgba(255, 65, 108, 0.4) !important;
}

[data-theme="dark"] .btn-nav-pricing,
[data-theme="dark"] .btn-nav-vip {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: #000000 !important;
    box-shadow: 0 3px 0 #b45309, 0 6px 16px rgba(245, 158, 11, 0.4) !important;
}

[data-theme="dark"] .btn-nav-creator {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
    color: #ffffff !important;
    box-shadow: 0 3px 0 #1e40af, 0 6px 16px rgba(59, 130, 246, 0.4) !important;
}

[data-theme="dark"] .btn-nav-creator.logged-in {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: #ffffff !important;
    box-shadow: 0 3px 0 #047857, 0 6px 16px rgba(16, 185, 129, 0.4) !important;
}

/* Dark Mode Theme Switcher (Shows ☀️ Light) */
[data-theme="dark"] .theme-toggle-btn {
    background: linear-gradient(180deg, #fef08a, #eab308) !important;
    color: #422006 !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 3px 0 #ca8a04, 0 6px 16px rgba(234, 179, 8, 0.35) !important;
}

[data-theme="dark"] .theme-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 0 #ca8a04, 0 8px 20px rgba(234, 179, 8, 0.45) !important;
}

[data-theme="dark"] .theme-toggle-btn:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #ca8a04 !important;
}

[data-theme="dark"] .btn-nav-telegram {
    background: linear-gradient(135deg, #0088cc, #00b4d8) !important;
    color: #ffffff !important;
    box-shadow: 0 3px 0 #0077b6, 0 6px 16px rgba(0, 136, 204, 0.4) !important;
}

/* Tablet & Medium Laptops (769px to 1320px) */
@media (min-width: 769px) and (max-width: 1320px) {
    .nav-container {
        gap: 10px;
        padding: 8px 14px;
        grid-template-columns: 1fr minmax(240px, 360px) 1fr;
    }

    .search-box {
        max-width: 360px;
    }

    .nav-actions {
        gap: 5px;
    }

    .btn-nav-pill {
        padding: 0 10px;
        font-size: 12px;
        height: 36px;
        min-height: 36px;
    }
}

/* --------------------------------------------------------------------------
   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;
    }

    /* Hide desktop navigation items on mobile */
    .nav-desktop-item {
        display: none !important;
    }

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

    /* Show Mobile 3-Dot / Hamburger Menu Toggle */
    .btn-mobile-nav-toggle {
        display: inline-flex !important;
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        aspect-ratio: 1 / 1 !important;
        border-radius: 50% !important;
        padding: 0 !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        box-sizing: border-box !important;
    }

    /* Compact Circular Theme Toggle Button */
    .theme-toggle-btn {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        aspect-ratio: 1 / 1 !important;
        padding: 0 !important;
        border-radius: 50% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        box-sizing: border-box !important;
    }

    .theme-toggle-btn .theme-btn-content span:last-child {
        display: none !important;
    }

    .theme-toggle-btn svg {
        width: 16px !important;
        height: 16px !important;
        margin: 0 !important;
    }

    /* Flawless Geometric Circular Telegram Button on Mobile */
    .btn-nav-telegram {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        max-width: 36px !important;
        max-height: 36px !important;
        aspect-ratio: 1 / 1 !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 50% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        box-sizing: border-box !important;
        border: 2px solid #ffffff !important;
        box-shadow: 0 2px 8px rgba(0, 136, 204, 0.35) !important;
        overflow: hidden !important;
    }

    [data-theme="light"] .btn-nav-telegram {
        background: linear-gradient(135deg, #2AABEE, #0284c7) !important;
        border: 2px solid #ffffff !important;
        box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35) !important;
    }

    [data-theme="dark"] .btn-nav-telegram,
    :root:not([data-theme="light"]) .btn-nav-telegram {
        background: linear-gradient(135deg, #2AABEE, #0088cc) !important;
        border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
        box-shadow: 0 0 12px rgba(42, 171, 238, 0.4) !important;
    }

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

    .btn-nav-telegram svg {
        width: 17px !important;
        height: 17px !important;
        margin: 0 !important;
        display: block !important;
        transform: translate(-1px, 0.5px);
    }

    /* 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: 0 !important;
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        aspect-ratio: 1 / 1 !important;
        border-radius: 50% !important;
    }

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

    .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: 0 !important;
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
        aspect-ratio: 1 / 1 !important;
        border-radius: 50% !important;
    }

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

    .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: 18px 0 20px;
    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;
    width: 100%;
}

.footer-compact-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 24px;
    width: 100%;
}

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

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

/* Middle Navigation Links (Clean, modern typography, NO ugly bullet dots) */
.footer-nav-links {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 14px;
    font-size: 12px;
}

.footer-nav-link {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 2px 4px;
    border-radius: 4px;
}

.footer-nav-link:hover {
    color: #05d9e8;
    transform: translateY(-1px);
}

.footer-nav-divider {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.15);
    display: inline-block;
    margin: 0 2px;
}

/* Action Pills (Official Telegram & 18+ Verification) */
.footer-pills-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4.5px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    line-height: 1.2;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
}

.footer-pill-btn:hover {
    transform: translateY(-1.5px);
}

.footer-pill-tg {
    background: rgba(14, 165, 233, 0.12);
    border-color: rgba(14, 165, 233, 0.28);
    color: #38bdf8;
}

.footer-pill-tg:hover {
    background: #0ea5e9;
    color: #ffffff;
    border-color: #0ea5e9;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.35);
}

.footer-pill-18 {
    background: rgba(244, 63, 94, 0.12);
    border-color: rgba(244, 63, 94, 0.28);
    color: #fb7185;
}

.footer-pill-18:hover {
    background: #f43f5e;
    color: #ffffff;
    border-color: #f43f5e;
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.35);
}

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

[data-theme="light"] .footer-brand-copy {
    color: #8c7e73;
}

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

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

[data-theme="light"] .footer-nav-divider {
    background: #e2d9cd;
}

[data-theme="light"] .footer-pill-tg {
    background: #e0f2fe;
    border-color: #bae6fd;
    color: #0284c7;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.08);
}

[data-theme="light"] .footer-pill-tg:hover {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
}

[data-theme="light"] .footer-pill-18 {
    background: #ffe4e6;
    border-color: #fecdd3;
    color: #e11d48;
    box-shadow: 0 2px 6px rgba(225, 29, 72, 0.08);
}

[data-theme="light"] .footer-pill-18:hover {
    background: #e11d48;
    color: #ffffff;
    border-color: #e11d48;
}

/* 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);
}

/* Mobile Screen Layout (<= 768px) */
@media (max-width: 768px) {
    .site-footer {
        padding: 16px 12px 22px;
    }

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

    /* Row 1 (Top on Mobile): Action Badges */
    .footer-pills-row {
        order: 1;
        justify-content: center;
        gap: 8px;
    }

    .footer-pill-btn {
        padding: 5px 12px;
        font-size: 11.5px;
    }

    /* Row 2 (Middle on Mobile): Navigation Links */
    .footer-nav-links {
        order: 2;
        justify-content: center;
        gap: 6px 14px;
        font-size: 11.5px;
    }

    .footer-nav-divider {
        display: none;
    }

    /* Row 3 (Bottom on Mobile): Copyright Text */
    .footer-left {
        order: 3;
        margin-top: 2px;
        font-size: 11px;
    }
}

/* --------------------------------------------------------------------------
   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);
}