/* ============================================
   ROOT VARIABLES & THEME SYSTEM
   ============================================ */
:root {
    /* Primary Colors */
    --primary-color: #F59E0B;
    --primary-hover: #D97706;
    --primary-active: #92400E;
    --primary-rgb: 245, 158, 11;
    
    /* Text Colors */
    --text: #7b3811;
    --text-muted: #6b7280;
    --text-danger: #ef4444;
    --text-success: #10b981;
    
    /* UI Colors */
    --background: #ffffff;
    --background-rgb: 255, 255, 255;
    --heading: #F59E0B;
    --highlight: #FFFFFF;
    --accent: #8b5cf6;
    --accent-rgb: 139, 92, 246;
    
    /* Navigation */
    --nav-link: #78350F;
    --nav-link-hover: #F59E0B;
    --nav-bg: #ffffff;
    --nav-bg-rgb: 255, 255, 255;
    
    /* Buttons */
    --button-bg: #F59E0B;
    --button-text: #FFFFFF;
    --button-hover: #D97706;
    --button-active: #92400E;
    --button-bg-rgb: 245, 158, 11;
    --button-hover-rgb: 217, 119, 6;
    
    /* Borders */
    --border-color: #e5e7eb;
    --border-rgb: 229, 231, 235;
    
    /* Cards & Containers */
    --card-bg: #ffffff;
    --dropdown-bg: #ffffff;
    --sidebar-bg: #ffffff;
    --sidebar-footer-bg: #f9fafb;
    --activity-bg: #f9fafb;
    
    /* Forms */
    --input-bg: #f9fafb;
    --search-bg: #f3f4f6;
    --modal-bg: #FFFFFF;
    --modal-text: #78350F;
    --modal-input-bg: #f9fafb;
    --modal-input-border: #e5e7eb;
    
    /* Footer */
    --footer-bg: #E5E7EB;
    --footer-text: #78350F;
    --footer-text-light: #92400E;
    --footer-accent: #F59E0B;
    --footer-hover: #D97706;
    --footer-border: rgba(245, 158, 11, 0.15);
    
    /* Badges */
    --badge-bg: rgba(245, 158, 11, 0.1);
    --badge-border: rgba(245, 158, 11, 0.3);
    
    /* KBD */
    --kbd-bg: #f3f4f6;
    --kbd-border: #e5e7eb;
    
    /* Transitions */
    --transition: all 0.3s ease-in-out;
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Z-Index Scale */
    --z-dropdown: 50;
    --z-modal: 100;
    --z-popover: 200;
    --z-tooltip: 300;
    --z-toast: 400;
    --z-overlay: 500;
    --z-sidebar: 1000;
    --z-navigation: 2000;
    --z-loading: 10000;
}

/* Dark Theme */
[data-theme="dark"] {
    /* Primary Colors */
    --primary-color: #FFD54F;
    --primary-hover: #e6bf45;
    --primary-active: #FFB300;
    --primary-rgb: 255, 213, 79;
    
    /* Text Colors */
    --text: #E0E0E0;
    --text-muted: #9ca3af;
    
    /* UI Colors */
    --background: #1E1E1E;
    --background-rgb: 30, 30, 30;
    --heading: #FBC02D;
    --highlight: #424242;
    --accent: #a78bfa;
    --accent-rgb: 167, 139, 250;
    
    /* Navigation */
    --nav-link: #E0E0E0;
    --nav-link-hover: #FFD54F;
    --nav-bg: #1a1a1a;
    --nav-bg-rgb: 26, 26, 26;
    
    /* Buttons */
    --button-bg: #FFD54F;
    --button-text: #1E1E1E;
    --button-hover: #e6bf45;
    --button-active: #FFB300;
    --button-bg-rgb: 255, 213, 79;
    --button-hover-rgb: 230, 191, 69;
    
    /* Borders */
    --border-color: #404040;
    --border-rgb: 64, 64, 64;
    
    /* Cards & Containers */
    --card-bg: #1a1a1a;
    --dropdown-bg: #262626;
    --sidebar-bg: #1a1a1a;
    --sidebar-footer-bg: #262626;
    --activity-bg: #262626;
    
    /* Forms */
    --input-bg: #262626;
    --search-bg: #1f1f1f;
    --modal-bg: #1E1E1E;
    --modal-text: #E0E0E0;
    --modal-input-bg: #262626;
    --modal-input-border: #404040;
    
    /* Footer */
    --footer-bg: #424242;
    --footer-text: #E0E0E0;
    --footer-text-light: #a8a8a8;
    --footer-accent: #FFD54F;
    --footer-hover: #FBC02D;
    --footer-border: rgba(255, 213, 79, 0.2);
    
    /* Badges */
    --badge-bg: rgba(255, 213, 79, 0.15);
    --badge-border: rgba(255, 213, 79, 0.4);
    
    /* KBD */
    --kbd-bg: #262626;
    --kbd-border: #404040;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

/* ============================================
   GLOBAL RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--background);
    color: var(--text);
    transition: background-color 0.3s ease, color 0.3s ease;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.2; font-weight: 800; color: var(--heading); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); line-height: 1.3; font-weight: 700; color: var(--heading); }
h3 { font-size: clamp(1.25rem, 3vw, 1.875rem); line-height: 1.4; font-weight: 600; color: var(--heading); }
h4 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); line-height: 1.5; font-weight: 600; color: var(--heading); }
h5 { font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.5; font-weight: 500; }
h6 { font-size: clamp(0.875rem, 1.5vw, 1.125rem); line-height: 1.5; font-weight: 500; }
p { font-size: 1rem; line-height: 1.75; }

/* Selection */
::selection {
    background: var(--button-bg);
    color: var(--button-text);
}

/* Focus */
:focus-visible {
    outline: 2px solid var(--button-bg);
    outline-offset: 2px;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--button-bg);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--button-hover);
}

/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 768px) { .container { padding: 0 2rem; } }

/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(0.95); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }
@keyframes slideInLeft { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@keyframes slideInRight { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes scaleOut { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(0.9); } }
@keyframes bounce { 0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); } 50% { transform: translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
@keyframes wiggle { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes shimmer { 0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); } 100% { transform: translateX(100%) translateY(100%) rotate(45deg); } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); } 20%, 40%, 60%, 80% { transform: translateX(5px); } }
@keyframes float { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-20px) scale(1.05); } }
@keyframes gentlePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
@keyframes skeleton-loading { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes gradient { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes rotateRing { to { transform: rotate(360deg); } }
@keyframes pulsate { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes floatPattern { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(-20px, -20px) scale(1.05); } 66% { transform: translate(20px, -10px) scale(0.95); } }
@keyframes contentFadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Footer-specific animations */
@keyframes waveDash { 0% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -2000; } }
@keyframes zoomOut { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.7); opacity: 0.8; } }
@keyframes zoomOutLine { 0%, 100% { transform: translateX(-50%) scaleX(1); opacity: 1; } 50% { transform: translateX(-50%) scaleX(0.7); opacity: 0.6; } }
@keyframes pulseZoomLine { 0%, 100% { transform: translateX(-50%) scaleX(0.5); opacity: 0; } 50% { transform: translateX(-50%) scaleX(1); opacity: 0.3; } }
@keyframes gentleRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes gentleRing { 0%, 100% { transform: rotate(0deg); } 5%, 15% { transform: rotate(-10deg); } 10%, 20% { transform: rotate(10deg); } }
@keyframes subtleGlow { 0%, 100% { box-shadow: 0 0 5px rgba(245, 158, 11, 0.1); } 50% { box-shadow: 0 0 15px rgba(245, 158, 11, 0.2); } }
@keyframes onlinePulse { 0%, 100% { transform: translateY(-50%) scale(1); box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2); } 50% { transform: translateY(-50%) scale(1.1); box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1); } }
@keyframes livePulse { 0%, 100% { transform: translateY(-50%) scale(1); box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2); } 50% { transform: translateY(-50%) scale(1.2); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.1); } }
@keyframes overlayFadeIn { from { opacity: 0; backdrop-filter: blur(0); } to { opacity: 1; backdrop-filter: blur(8px); } }
@keyframes modalSlideUp { from { opacity: 0; transform: scale(0.95) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes successPulse { 0% { transform: scale(1); } 50% { transform: scale(1.02); box-shadow: 0 0 40px rgba(16, 185, 129, 0.4); } 100% { transform: scale(1); } }

/* ============================================
   UTILITY CLASSES
   ============================================ */
.gradient-text {
    background: linear-gradient(135deg, var(--button-bg), var(--button-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass {
    background: rgba(var(--background-rgb), 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--border-rgb), 0.2);
}

.glow {
    box-shadow: 0 0 20px rgba(var(--button-bg-rgb), 0.3),
                0 0 40px rgba(var(--button-bg-rgb), 0.2),
                0 0 60px rgba(var(--button-bg-rgb), 0.1);
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.skeleton {
    background: linear-gradient(90deg,
            rgba(var(--border-rgb), 0.2) 25%,
            rgba(var(--border-rgb), 0.3) 50%,
            rgba(var(--border-rgb), 0.2) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================
   LOADING SCREEN
   ============================================ */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: var(--z-loading);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.loading-screen.fade-out {
    opacity: 0;
    transform: scale(1.05);
    pointer-events: none;
}

.loader {
    display: flex;
    gap: 8px;
    margin-bottom: 2rem;
}

.loader-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--button-bg);
    animation: bounce 1.4s infinite ease-in-out both;
}

.loader-circle:nth-child(1) { animation-delay: -0.32s; }
.loader-circle:nth-child(2) { animation-delay: -0.16s; }

.loading-text {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--button-bg), var(--button-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gentlePulse 2s infinite;
}

.hero-section,
.features-section,
.navbar {
    animation: contentFadeIn 0.8s ease-out;
}

/* Mock Data Badge - Using main theme colors */
.mock-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    background: linear-gradient(135deg, var(--button-bg) 0%, var(--button-hover) 100%);
    color: var(--button-text);
    font-size: 10px;
    font-weight: 600;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(var(--button-bg-rgb), 0.4);
    transition: var(--transition-fast);
}

/* Optional: Add hover effect */
.mock-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(var(--button-bg-rgb), 0.5);
    background: linear-gradient(135deg, var(--button-hover) 0%, var(--button-active) 100%);
}

/* ============================================
   BUTTONS & FORM ELEMENTS
   ============================================ */
.btn,
.btn-primary,
.btn-secondary,
.btn-ad,
.btn-join,
.btn-live {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn::before,
.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before,
.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--button-bg), var(--button-hover));
    color: var(--button-text);
    box-shadow: 0 4px 15px rgba(var(--button-bg-rgb), 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(var(--button-bg-rgb), 0.4);
}

.btn-secondary {
    background: rgba(var(--button-bg-rgb), 0.1);
    color: var(--button-bg);
    border: 2px solid var(--button-bg);
}

.btn-secondary:hover {
    background: var(--button-bg);
    color: var(--button-text);
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 1.1rem;
}

.btn-icon-only {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(var(--button-bg-rgb), 0.1);
    border: 2px solid transparent;
    color: var(--button-bg);
    cursor: pointer;
    transition: var(--transition);
}

.btn-icon-only:hover {
    background: var(--button-bg);
    color: white;
    transform: rotate(15deg) scale(1.1);
}

.btn-add,
.btn-remove {
    cursor: pointer;
    transition: var(--transition);
}

.btn-add {
    padding: 10px 16px;
    background: rgba(var(--button-bg-rgb), 0.1);
    border: 2px dashed var(--button-bg);
    border-radius: 12px;
    color: var(--button-bg);
    font-weight: 600;
    margin-top: 12px;
}

.btn-add:hover {
    background: var(--button-bg);
    color: white;
    border-style: solid;
}

.btn-remove {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid rgba(239, 68, 68, 0.2);
    color: var(--text-danger);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove:hover {
    background: var(--text-danger);
    color: white;
    transform: scale(1.1);
}

/* CTA Button */
.cta-button {
    background-color: var(--button-bg);
    color: var(--button-text);
}

/* Form Inputs */
.form-input,
.form-select,
.form-textarea,
.newsletter-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(var(--button-bg-rgb), 0.15);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--input-bg);
    color: var(--text);
    transition: var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus,
.newsletter-input:focus {
    outline: none;
    border-color: var(--button-bg);
    background: var(--background);
    box-shadow: 0 0 0 4px rgba(var(--button-bg-rgb), 0.1),
                0 2px 8px rgba(var(--button-bg-rgb), 0.15);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-label.required::after {
    content: '*';
    color: var(--text-danger);
    margin-left: 4px;
}

.form-helper {
    display: block;
    margin-top: 6px;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.form-helper.error { color: var(--text-danger); }
.form-helper.success { color: var(--text-success); }

/* Form Validation States */
.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: var(--text-danger);
    animation: shake 0.4s;
}

.form-input.success,
.form-select.success,
.form-textarea.success {
    border-color: var(--text-success);
}

/* ============================================
   SEARCH COMPONENTS
   ============================================ */
.search-box {
    position: relative;
    width: 100%;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 2.5rem;
    background: var(--search-bg);
    border: 1px solid rgba(var(--border-rgb), 0.2);
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--text);
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--button-bg);
    box-shadow: 0 0 0 3px rgba(var(--button-bg-rgb), 0.1);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

.search-shortcut {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 2px 6px;
    background: var(--kbd-bg);
    border: 1px solid var(--kbd-border);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============================================
   LOGO & BRANDING
   ============================================ */
.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-main {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--button-bg), var(--button-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    line-height: 1;
    padding-bottom: 4px;
}

.logo-sub {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: -8px;
}

.logo-badge {
    padding: 0.2rem 0.5rem;
    background: linear-gradient(135deg, var(--button-bg), var(--button-hover));
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: flex-start;
}

/* ============================================
   AVATAR & PROFILE COMPONENTS
   ============================================ */
.avatar {
    position: relative;
    display: inline-block;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.avatar-status {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    background: var(--text-success);
    border: 2px solid var(--background);
    border-radius: 50%;
}

.avatar-ring {
    position: absolute;
    inset: -4px;
    border: 4px solid transparent;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--button-bg), var(--button-hover));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.avatar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 1rem;
    padding: 1.5rem 0;
}

.avatar-option {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
}

.avatar-option:hover {
    transform: scale(1.1);
    border-color: var(--button-bg);
}

.avatar-option.selected {
    border-color: var(--button-bg);
    box-shadow: 0 0 0 3px rgba(var(--button-bg-rgb), 0.2);
}

.profile-pic {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
}

.profile-pic:hover {
    opacity: 0.8;
}

/* ============================================
   BADGES & NOTIFICATIONS
   ============================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.375rem 0.875rem;
    background: var(--badge-bg);
    border: 1px solid var(--badge-border);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--footer-accent);
    letter-spacing: 0.3px;
    transition: var(--transition);
    cursor: default;
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--button-bg-rgb), 0.2);
    background: var(--footer-accent);
    color: white;
    border-color: var(--footer-accent);
}

.badge.glow {
    animation: subtleGlow 3s ease-in-out infinite;
}

.notification-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: linear-gradient(135deg, var(--text-danger), #dc2626);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-badge.pulse {
    animation: pulse 2s infinite;
}

/* ============================================
   CARDS & PANELS
   ============================================ */
.chart-card,
.insights-panel,
.price-display,
.quick-action {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.panel-title,
.chart-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--heading);
    margin-bottom: 1.5rem;
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100vh;
    background: var(--background);
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: var(--z-navigation);
    overflow-y: auto;
}

.sidebar.active {
    transform: translateX(320px);
}

.sidebar-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--button-bg), var(--button-hover));
    color: var(--button-text);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-close {
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.sidebar-close:hover {
    transform: rotate(90deg);
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: calc(var(--z-navigation) - 1);
}

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

/* ============================================
   HAMBURGER MENU
   ============================================ */
.hamburger {
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    margin-right: 1.5rem;
    transition: var(--transition);
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--nav-link);
    border-radius: 3px;
    transition: var(--transition);
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ============================================
   MODALS
   ============================================ */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: var(--z-modal);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--modal-bg);
    border-radius: 24px;
    width: 100%;
    max-width: 600px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-content.error {
    animation: shake 0.5s;
}

.modal-content.success {
    animation: successPulse 0.5s ease;
}

.modal-header {
    padding: 24px 32px;
    border-bottom: 1px solid rgba(var(--button-bg-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 32px;
}

.modal-footer {
    padding: 20px 32px;
    border-top: 1px solid rgba(var(--button-bg-rgb), 0.1);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(var(--button-bg-rgb), 0.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--button-bg);
    color: white;
    transform: rotate(90deg);
}

.modal-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-radius: 24px;
    backdrop-filter: blur(5px);
}

.modal-loading::after {
    content: '';
    width: 48px;
    height: 48px;
    border: 4px solid rgba(var(--button-bg-rgb), 0.2);
    border-top-color: var(--button-bg);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ============================================
   PROFILE DROPDOWN
   ============================================ */
.profile-dropdown-container {
    position: relative;
}

.profile-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.profile-dropdown-toggle:hover,
.profile-dropdown-toggle.active {
    background: rgba(var(--button-bg-rgb), 0.08);
    border-color: var(--button-bg);
}

.profile-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 260px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    z-index: var(--z-dropdown);
    opacity: 0;
    transform: translateY(-10px);
    transition: var(--transition);
    pointer-events: none;
}

.profile-dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-header {
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--sidebar-footer-bg);
    border-radius: 12px 12px 0 0;
    transition: background-color 0.3s ease;
}

.dropdown-header:hover {
    background-color: var(--sidebar-footer-bg);
}

.dropdown-profile-pic {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--button-bg);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: var(--text);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--sidebar-footer-bg);
}

.dropdown-item.logout-item {
    color: var(--text-danger);
    border-radius: 0 0 12px 12px;
}

.dropdown-item.logout-item:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* ============================================
   FOOTER
   ============================================ */
.footer-section {
    position: relative;
    background: var(--footer-bg);
    padding-top: 4rem;
    padding-bottom: 2rem;
    margin-top: auto;
}

.footer-wave {
    position: absolute;
    top: -119px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

.wave-fill {
    fill: var(--footer-bg);
}

.footer-wave .wave-line {
    fill: none;
    stroke: url(#wave-gradient);
    stroke-width: 2;
    stroke-dasharray: 1000;
    stroke-dashoffset: 0;
    animation: waveDash 12s linear infinite;
    opacity: 0.8;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section-item {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.footer-section-item:nth-child(1) { animation-delay: 0.1s; }
.footer-section-item:nth-child(2) { animation-delay: 0.2s; }
.footer-section-item:nth-child(3) { animation-delay: 0.3s; }
.footer-section-item:nth-child(4) { animation-delay: 0.4s; }

.footer-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--footer-text);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--footer-accent);
    transition: width 0.3s ease;
}

.footer-section-item:hover .footer-title::after {
    width: 50px;
}

.footer-bottom-content {
    padding-top: 2rem;
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
}

.footer-bottom-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        var(--footer-border) 10%,
        var(--footer-accent) 30%,
        var(--footer-accent) 70%,
        var(--footer-border) 90%,
        transparent);
    animation: zoomOutLine 4s ease-in-out infinite;
    transform-origin: center center;
}

.footer-bottom-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: var(--footer-accent);
    animation: pulseZoomLine 3s ease-in-out infinite;
    opacity: 0.3;
    filter: blur(1px);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-bottom-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .modal-content {
        max-width: 100%;
        margin: 1rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .profile-dropdown-menu {
        position: fixed;
        top: 70px;
        right: 16px;
        left: 16px;
        width: auto;
        min-width: unset;
    }
}

/* ============================================
   ACCESSIBILITY & PRINT
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
}/* ============================================
   ROOT VARIABLES & THEME SYSTEM
   ============================================ */
:root {
    /* Primary Colors */
    --primary-color: #F59E0B;
    --primary-hover: #D97706;
    --primary-active: #92400E;
    --primary-rgb: 245, 158, 11;
    
    /* Text Colors */
    --text: #7b3811;
    --text-muted: #6b7280;
    --text-danger: #ef4444;
    --text-success: #10b981;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    
    /* UI Colors */
    --background: #ffffff;
    --background-rgb: 255, 255, 255;
    --heading: #F59E0B;
    --highlight: #FFFFFF;
    --accent: #8b5cf6;
    --accent-rgb: 139, 92, 246;
    --white: #ffffff;
    --error: #EF4444;
    --success: #10B981;
    
    /* Navigation */
    --nav-link: #78350F;
    --nav-link-hover: #F59E0B;
    --nav-bg: #ffffff;
    --nav-bg-rgb: 255, 255, 255;
    
    /* Buttons */
    --button-bg: #F59E0B;
    --button-text: #FFFFFF;
    --button-hover: #D97706;
    --button-active: #92400E;
    --button-bg-rgb: 245, 158, 11;
    --button-hover-rgb: 217, 119, 6;
    
    /* Borders */
    --border-color: #e5e7eb;
    --border-rgb: 229, 231, 235;
    
    /* Cards & Containers */
    --card-bg: #ffffff;
    --dropdown-bg: #ffffff;
    --sidebar-bg: #ffffff;
    --sidebar-footer-bg: #f9fafb;
    --activity-bg: #f9fafb;
    --hover-bg: #f3f4f6;
    
    /* Forms */
    --input-bg: #f9fafb;
    --search-bg: #f3f4f6;
    --modal-bg: #FFFFFF;
    --modal-text: #78350F;
    --modal-input-bg: #f9fafb;
    --modal-input-border: #e5e7eb;
    --search-heading: #F59E0B;
    
    /* Footer */
    --footer-bg: #E5E7EB;
    --footer-text: #78350F;
    --footer-text-light: #92400E;
    --footer-accent: #F59E0B;
    --footer-hover: #D97706;
    --footer-border: rgba(245, 158, 11, 0.15);
    
    /* Badges */
    --badge-bg: rgba(245, 158, 11, 0.1);
    --badge-border: rgba(245, 158, 11, 0.3);
    
    /* KBD */
    --kbd-bg: #f3f4f6;
    --kbd-border: #e5e7eb;
    
    /* Transitions */
    --transition: all 0.3s ease-in-out;
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Z-Index Scale */
    --z-dropdown: 50;
    --z-modal: 100;
    --z-popover: 200;
    --z-tooltip: 300;
    --z-toast: 400;
    --z-overlay: 500;
    --z-sidebar: 1000;
    --z-navigation: 2000;
    --z-loading: 10000;
}

/* Dark Theme */
[data-theme="dark"] {
    --primary-color: #FFD54F;
    --primary-hover: #e6bf45;
    --primary-active: #FFB300;
    --primary-rgb: 255, 213, 79;
    
    --text: #E0E0E0;
    --text-muted: #9ca3af;
    --text-primary: #E0E0E0;
    --text-secondary: #9ca3af;
    
    --background: #1E1E1E;
    --background-rgb: 30, 30, 30;
    --heading: #FBC02D;
    --highlight: #424242;
    --accent: #a78bfa;
    --accent-rgb: 167, 139, 250;
    
    --nav-link: #E0E0E0;
    --nav-link-hover: #FFD54F;
    --nav-bg: #1a1a1a;
    --nav-bg-rgb: 26, 26, 26;
    
    --button-bg: #FFD54F;
    --button-text: #1E1E1E;
    --button-hover: #e6bf45;
    --button-active: #FFB300;
    --button-bg-rgb: 255, 213, 79;
    --button-hover-rgb: 230, 191, 69;
    
    --border-color: #404040;
    --border-rgb: 64, 64, 64;
    
    --card-bg: #1a1a1a;
    --dropdown-bg: #262626;
    --sidebar-bg: #1a1a1a;
    --sidebar-footer-bg: #262626;
    --activity-bg: #262626;
    --hover-bg: #374151;
    
    --input-bg: #262626;
    --search-bg: #1f1f1f;
    --modal-bg: #1E1E1E;
    --modal-text: #E0E0E0;
    --modal-input-bg: #262626;
    --modal-input-border: #404040;
    --search-heading: #FBC02D;
    
    --footer-bg: #424242;
    --footer-text: #E0E0E0;
    --footer-text-light: #a8a8a8;
    --footer-accent: #FFD54F;
    --footer-hover: #FBC02D;
    --footer-border: rgba(255, 213, 79, 0.2);
    
    --badge-bg: rgba(255, 213, 79, 0.15);
    --badge-border: rgba(255, 213, 79, 0.4);
    
    --kbd-bg: #262626;
    --kbd-border: #404040;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

/* Light theme specific overrides */
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] .nav-logo {
    color: #F59E0B;
}

[data-theme="light"] .description,
[data-theme="light"] .no-results,
[data-theme="light"] input#search-input {
    color: #FFFFFF;
}

[data-theme="light"] input#search-input::-webkit-input-placeholder,
[data-theme="light"] input#search-input::-moz-placeholder {
    color: #D1D5DB;
}

/* Dark theme specific overrides */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4 {
    color: #FFD54F;
}

[data-theme="dark"] .modal-content {
    background-color: rgba(0, 0, 0, 0.85);
    color: #FFE082;
    border: 1px solid #555;
}

[data-theme="dark"] .modal-content input,
[data-theme="dark"] .modal-content select,
[data-theme="dark"] .modal-content textarea {
    background-color: rgba(0, 0, 0, 0.7);
    color: #FFE082;
    border: 1px solid #888;
}

[data-theme="dark"] .modal-content input::placeholder,
[data-theme="dark"] .modal-content textarea::placeholder {
    color: #A0AEC0;
}

[data-theme="dark"] .cta-button {
    background-color: #FFD54F;
    color: #1E1E1E;
}

[data-theme="light"] .cta-button {
    background-color: #F59E0B;
    color: #FFFFFF;
}

/* ============================================
   GLOBAL RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--background);
    color: var(--text);
    transition: background-color 0.3s ease, color 0.3s ease;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.2; font-weight: 800; color: var(--heading); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); line-height: 1.3; font-weight: 700; color: var(--heading); }
h3 { font-size: clamp(1.25rem, 3vw, 1.875rem); line-height: 1.4; font-weight: 600; color: var(--heading); }
h4 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); line-height: 1.5; font-weight: 600; color: var(--heading); }
h5 { font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.5; font-weight: 500; }
h6 { font-size: clamp(0.875rem, 1.5vw, 1.125rem); line-height: 1.5; font-weight: 500; }
p { font-size: 1rem; line-height: 1.75; }

/* Selection */
::selection {
    background: var(--button-bg);
    color: var(--button-text);
}

::-moz-selection {
    background: var(--button-bg);
    color: var(--button-text);
}

/* Focus */
:focus-visible {
    outline: 2px solid var(--button-bg);
    outline-offset: 2px;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--button-bg);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--button-hover);
}

/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 768px) { .container { padding: 0 2rem; } }

/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(0.95); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }
@keyframes slideInLeft { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(100%); } to { opacity: 1; transform: translateX(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes scaleOut { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(0.9); } }
@keyframes bounce { 0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); } 50% { transform: translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
@keyframes wiggle { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes shimmer { 0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); } 100% { transform: translateX(100%) translateY(100%) rotate(45deg); } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
@keyframes float { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-20px) scale(1.05); } }
@keyframes gentlePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
@keyframes skeleton-loading { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes gradient { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes rotateRing { to { transform: rotate(360deg); } }
@keyframes pulsate { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes floatPattern { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(-20px, -20px) scale(1.05); } 66% { transform: translate(20px, -10px) scale(0.95); } }
@keyframes contentFadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Footer-specific animations */
@keyframes waveDash { 0% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -2000; } }
@keyframes zoomOut { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.7); opacity: 0.8; } }
@keyframes zoomOutLine { 0%, 100% { transform: translateX(-50%) scaleX(1); opacity: 1; } 50% { transform: translateX(-50%) scaleX(0.7); opacity: 0.6; } }
@keyframes pulseZoomLine { 0%, 100% { transform: translateX(-50%) scaleX(0.5); opacity: 0; } 50% { transform: translateX(-50%) scaleX(1); opacity: 0.3; } }
@keyframes gentleRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes gentleRing { 0%, 100% { transform: rotate(0deg); } 5%, 15% { transform: rotate(-10deg); } 10%, 20% { transform: rotate(10deg); } }
@keyframes subtleGlow { 0%, 100% { box-shadow: 0 0 5px rgba(245, 158, 11, 0.1); } 50% { box-shadow: 0 0 15px rgba(245, 158, 11, 0.2); } }
@keyframes onlinePulse { 0%, 100% { transform: translateY(-50%) scale(1); box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2); } 50% { transform: translateY(-50%) scale(1.1); box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1); } }
@keyframes livePulse { 0%, 100% { transform: translateY(-50%) scale(1); box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2); } 50% { transform: translateY(-50%) scale(1.2); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.1); } }
@keyframes overlayFadeIn { from { opacity: 0; backdrop-filter: blur(0); } to { opacity: 1; backdrop-filter: blur(8px); } }
@keyframes modalSlideUp { from { opacity: 0; transform: scale(0.95) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes successPulse { 0% { transform: scale(1); } 50% { transform: scale(1.02); box-shadow: 0 0 40px rgba(16, 185, 129, 0.4); } 100% { transform: scale(1); } }

/* ============================================
   UTILITY CLASSES
   ============================================ */
.gradient-text {
    background: linear-gradient(135deg, var(--button-bg), var(--button-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass {
    background: rgba(var(--background-rgb), 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--border-rgb), 0.2);
}

.glow {
    box-shadow: 0 0 20px rgba(var(--button-bg-rgb), 0.3),
                0 0 40px rgba(var(--button-bg-rgb), 0.2),
                0 0 60px rgba(var(--button-bg-rgb), 0.1);
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.skeleton {
    background: linear-gradient(90deg,
            rgba(var(--border-rgb), 0.2) 25%,
            rgba(var(--border-rgb), 0.3) 50%,
            rgba(var(--border-rgb), 0.2) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.not-sr-only {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

/* ============================================
   LOADING SCREEN
   ============================================ */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: none;
}

.loading-screen.fade-out {
    opacity: 0;
    transform: scale(1.05);
    pointer-events: none;
}

.loader {
    display: flex;
    gap: 8px;
    margin-bottom: 2rem;
}

.loader-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--button-bg);
    animation: bounce 1.4s infinite ease-in-out both;
}

.loader-circle:nth-child(1) { animation-delay: -0.32s; }
.loader-circle:nth-child(2) { animation-delay: -0.16s; }

.loading-text {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--button-bg), var(--button-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gentlePulse 2s infinite;
    border: none;
    outline: none;
}

.hero-section,
.features-section,
.navbar {
    animation: contentFadeIn 0.8s ease-out;
}

/* ============================================
   BUTTONS & FORM ELEMENTS
   ============================================ */
.btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--button-bg), var(--button-hover));
    color: var(--button-text);
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-secondary {
    background: white;
    color: #F59E0B;
    border: 2px solid #F59E0B;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-secondary:hover {
    background: rgba(245, 158, 11, 0.1);
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 1.1rem;
}

.btn-icon-only {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.1);
    border: 2px solid transparent;
    color: #F59E0B;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-icon-only:hover {
    background: #F59E0B;
    color: white;
    transform: rotate(15deg) scale(1.1);
}

.btn-ad {
    background: rgba(255, 255, 255, 0.2);
    color: var(--button-text);
    border: 2px solid var(--button-text);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-ad:hover {
    background: var(--button-text);
    color: var(--button-bg);
    transform: translateY(-2px);
}

.btn-join,
.btn-live {
    padding: 10px 24px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-join:hover,
.btn-live:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.btn-live {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.btn-live:hover {
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

.btn-live::before {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.btn-add {
    padding: 10px 16px;
    background: rgba(245, 158, 11, 0.1);
    border: 2px dashed #F59E0B;
    border-radius: 12px;
    color: #F59E0B;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 12px;
}

.btn-add:hover {
    background: #F59E0B;
    color: white;
    border-style: solid;
}

.btn-remove {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove:hover {
    background: #ef4444;
    color: white;
    transform: scale(1.1);
}

.btn-edit-schedule {
    padding: 8px 16px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid #F59E0B;
    border-radius: 8px;
    color: #F59E0B;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-edit-schedule:hover {
    background: #F59E0B;
    color: white;
}

.btn-like,
.btn-reply {
    padding: 6px 12px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid transparent;
    border-radius: 8px;
    color: #F59E0B;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-like:hover,
.btn-reply:hover {
    border-color: #F59E0B;
    background: rgba(245, 158, 11, 0.15);
}

/* CTA Button */
.cta-button {
    background-color: var(--button-bg);
    color: var(--button-text);
}

/* Upload Button */
.upload-btn {
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.upload-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* Newsletter Button */
.newsletter-btn {
    padding: 0.625rem 1.25rem;
    background: var(--footer-accent);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    position: relative;
    overflow: hidden;
}

.newsletter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.newsletter-btn:hover {
    background: var(--footer-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3);
}

.newsletter-btn:active::before {
    width: 300px;
    height: 300px;
}

.newsletter-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

/* Form Components */
.form-section {
    margin-bottom: 28px;
}

.form-section:last-child {
    margin-bottom: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width,
.form-group.span-2 {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #78350F;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
}

.form-label.required::after {
    content: '*';
    color: #ef4444;
    margin-left: 4px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(245, 158, 11, 0.15);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.8);
    color: #78350F;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #F59E0B;
    background: white;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1),
                0 2px 8px rgba(245, 158, 11, 0.15);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.comment-textarea {
    padding: 12px 16px;
    border: 2px solid rgba(245, 158, 11, 0.15);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
}

/* Form Validation States */
.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: #ef4444;
    animation: shake 0.4s;
}

.form-input.success,
.form-select.success,
.form-textarea.success {
    border-color: #10b981;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(120, 53, 15, 0.4);
    transition: all 0.3s ease;
}

.form-input:focus::placeholder,
.form-textarea:focus::placeholder {
    color: rgba(120, 53, 15, 0.2);
    transform: translateX(4px);
}

.form-helper {
    display: block;
    margin-top: 6px;
    font-size: 0.875rem;
    color: rgba(120, 53, 15, 0.6);
    line-height: 1.4;
}

.form-helper.error { color: #ef4444; }
.form-helper.success { color: #10b981; }

/* Newsletter Form */
.newsletter-signup {
    margin-top: 2rem;
}

.newsletter-signup h4 {
    color: var(--footer-text);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    position: relative;
}

.newsletter-input {
    flex: 1;
    padding: 0.625rem 1rem;
    border: 1px solid var(--footer-border);
    border-radius: 6px;
    background: var(--white);
    color: var(--footer-text);
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--footer-accent);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.newsletter-input.error {
    border-color: var(--error);
    animation: shake 0.5s ease;
}

.newsletter-input.success {
    border-color: var(--success);
}

.newsletter-feedback {
    position: absolute;
    bottom: -25px;
    left: 0;
    font-size: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.newsletter-feedback.show {
    opacity: 1;
}

.newsletter-feedback.error {
    color: var(--error);
}

.newsletter-feedback.success {
    color: var(--success);
}

/* ============================================
   MODAL LAYOUTS & SPECIFIC FORMS
   ============================================ */

/* Edit Profile Modal Layout */
.edit-profile-modal .form-section {
    border-bottom: 1px solid rgba(245, 158, 11, 0.08);
    padding-bottom: 24px;
}

.edit-profile-modal .form-section:last-child {
    border-bottom: none;
}

/* Location & Social Items */
.location-item,
.social-item {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.location-item .form-input {
    flex: 1;
}

.social-item {
    display: grid;
    grid-template-columns: 180px 1fr auto;
    gap: 12px;
    align-items: center;
}

.social-item .form-select {
    width: 180px;
    flex: none;
}

.social-item .form-input {
    flex: 1;
}

/* Schedule Modal */
.calendar-sync-section {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(217, 119, 6, 0.05) 100%);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
}

.calendar-sync-section h3 {
    color: #F59E0B;
    margin-bottom: 16px;
    font-size: 1.125rem;
}

.sync-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.sync-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: white;
    border: 2px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sync-btn:hover {
    border-color: #F59E0B;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.sync-icon {
    font-size: 24px;
}

.schedule-form {
    margin-bottom: 32px;
}

.schedule-form h3 {
    color: #F59E0B;
    margin-bottom: 20px;
}

.upcoming-schedule {
    background: rgba(245, 158, 11, 0.03);
    border-radius: 16px;
    padding: 24px;
}

.upcoming-schedule h3 {
    color: #F59E0B;
    margin-bottom: 20px;
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.schedule-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: white;
    border-radius: 12px;
    border: 1px solid rgba(245, 158, 11, 0.1);
    transition: all 0.3s ease;
}

.schedule-item:hover {
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.1);
    transform: translateX(4px);
}

.schedule-time {
    display: flex;
    flex-direction: column;
    min-width: 80px;
}

.schedule-time .time {
    font-weight: 700;
    color: #F59E0B;
    font-size: 1rem;
}

.schedule-time .date {
    font-size: 0.875rem;
    color: #92400E;
}

.schedule-info {
    flex: 1;
}

.schedule-info h4 {
    margin: 0 0 4px 0;
    color: #78350F;
}

.schedule-info p {
    margin: 0;
    color: #92400E;
    font-size: 0.875rem;
}

/* Followers Modal Layout */
.followers-modal-layout {
    display: flex;
    gap: 24px;
    height: 550px;
}

.followers-sidebar {
    width: 260px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(245, 158, 11, 0.03);
    border-radius: 16px;
    padding: 12px;
}

.followers-sidebar-title {
    padding: 14px 18px;
    margin-bottom: 12px;
    border-bottom: 2px solid rgba(245, 158, 11, 0.1);
}

.followers-sidebar-title h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #F59E0B;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.followers-sidebar-title h3::before {
    content: '🔗';
    font-size: 1.375rem;
}

.followers-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: white;
    border: 2px solid transparent;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #78350F;
    position: relative;
    overflow: hidden;
}

.followers-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.1), transparent);
    transition: left 0.5s ease;
}

.followers-tab:hover::before {
    left: 100%;
}

.followers-tab:hover {
    background: linear-gradient(145deg, #ffffff 0%, #fef9f3 100%);
    transform: translateX(4px);
    border-color: rgba(245, 158, 11, 0.2);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.1);
}

.followers-tab.active {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
    border-color: #F59E0B;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.followers-tab .count {
    margin-left: auto;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.followers-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.followers-controls {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.followers-controls .search-wrapper {
    position: relative;
    width: 100%;
}

.followers-controls .search-wrapper::before {
    content: '🔍';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    opacity: 0.6;
    pointer-events: none;
}

.followers-controls .search-input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    border: 2px solid rgba(245, 158, 11, 0.2);
    border-radius: 50px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
}

.followers-controls .search-input:focus {
    outline: none;
    border-color: #F59E0B;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
    background: linear-gradient(145deg, #ffffff 0%, #fffbf5 100%);
}

.filter-buttons-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    padding: 10px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.03) 0%, rgba(217, 119, 6, 0.03) 100%);
    border-radius: 60px;
    border: 1px solid rgba(245, 158, 11, 0.08);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5),
                0 4px 12px rgba(245, 158, 11, 0.05);
}

.followers-controls .filter-btn {
    padding: 12px 36px;
    background: linear-gradient(145deg, #ffffff 0%, #fef9f3 100%);
    border: 2px solid transparent;
    border-radius: 50px;
    color: #78350F;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.followers-controls .filter-btn::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50px;
    padding: 2px;
    background: linear-gradient(135deg, #F59E0B, #D97706, #F59E0B);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.followers-controls .filter-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.followers-controls .filter-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.25);
}

.followers-controls .filter-btn:hover::before {
    opacity: 1;
}

.followers-controls .filter-btn:hover::after {
    width: 200%;
    height: 200%;
}

.followers-controls .filter-btn.active {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-2px) scale(1.05);
}

.followers-controls .filter-btn.active::before {
    opacity: 0;
}

.followers-controls .filter-btn.online-btn {
    position: relative;
}

.followers-controls .filter-btn.online-btn::after {
    content: '';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
    animation: onlinePulse 2s infinite;
}

.followers-controls .filter-btn.live-btn {
    position: relative;
}

.followers-controls .filter-btn.live-btn::after {
    content: '';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
    animation: livePulse 1.5s infinite;
}

.followers-controls .filter-btn:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.followers-list {
    flex: 1;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    padding: 4px;
}

/* Upload Video Modal */
.upload-area {
    border: 3px dashed rgba(245, 158, 11, 0.3);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.03) 0%, rgba(217, 119, 6, 0.03) 100%);
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 24px;
    position: relative;
}

.upload-area:hover {
    border-color: #F59E0B;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(217, 119, 6, 0.08) 100%);
}

.upload-thumbnail-preview {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-thumbnail-preview img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 12px;
}

.upload-placeholder {
    color: #92400E;
}

.upload-placeholder span {
    font-size: 48px;
    display: block;
    margin-bottom: 12px;
}

.upload-placeholder p {
    margin: 0;
    font-weight: 500;
}

#thumbnailInput {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/* Ad Analytics Modal */
.ad-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.ad-stat-card {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(217, 119, 6, 0.05) 100%);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(245, 158, 11, 0.1);
}

.ad-stat-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.ad-stat-info h3 {
    margin: 8px 0;
    color: #F59E0B;
    font-size: 1.75rem;
}

.ad-stat-info p {
    margin: 0;
    color: #92400E;
    font-size: 0.875rem;
}

.advertisers-section {
    margin-bottom: 32px;
}

.advertisers-section h3 {
    color: #F59E0B;
    margin-bottom: 20px;
}

.advertisers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.advertiser-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: white;
    border-radius: 12px;
    border: 1px solid rgba(245, 158, 11, 0.1);
    transition: all 0.3s ease;
}

.advertiser-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.15);
}

.advertiser-card img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
}

.advertiser-card span {
    font-weight: 500;
    color: #78350F;
    font-size: 0.875rem;
}

/* Testimonials */
.testimonials-section {
    margin-bottom: 32px;
}

.testimonials-section h3 {
    color: #F59E0B;
    margin-bottom: 20px;
}

.testimonials-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(245, 158, 11, 0.1);
}

.testimonial-content {
    margin-bottom: 16px;
}

.testimonial-content p {
    color: #78350F;
    font-style: italic;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.testimonial-author h4 {
    margin: 0;
    color: #F59E0B;
    font-size: 0.95rem;
}

.testimonial-author span {
    color: #92400E;
    font-size: 0.875rem;
}

/* Ad Packages */
.ad-packages {
    margin-top: 32px;
}

.ad-packages h3 {
    color: #F59E0B;
    margin-bottom: 20px;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.package-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    border: 2px solid rgba(245, 158, 11, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.2);
}

.package-card.featured {
    border-color: #F59E0B;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(217, 119, 6, 0.05) 100%);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.package-card h4 {
    color: #78350F;
    margin-bottom: 12px;
}

.package-price {
    font-size: 2rem;
    font-weight: 700;
    color: #F59E0B;
    margin-bottom: 20px;
}

.package-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-card li {
    padding: 8px 0;
    color: #92400E;
    position: relative;
    padding-left: 24px;
}

.package-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #F59E0B;
    font-weight: 700;
}

/* Comments Modal */
.comments-stats {
    display: flex;
    justify-content: space-around;
    padding: 24px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(217, 119, 6, 0.08) 100%);
    border-radius: 16px;
    margin-bottom: 24px;
}

.comment-stat {
    text-align: center;
}

.comment-stat .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #F59E0B;
}

.comment-stat .stat-label {
    display: block;
    color: #92400E;
    font-size: 0.875rem;
    margin-top: 4px;
}

.comments-filter {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    overflow-x: auto;
}

.comments-filter .filter-btn {
    padding: 8px 16px;
    background: transparent;
    border: 2px solid rgba(245, 158, 11, 0.2);
    border-radius: 20px;
    color: #78350F;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.comments-filter .filter-btn.active {
    background: #F59E0B;
    color: white;
    border-color: #F59E0B;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.comment-item {
    background: white;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(245, 158, 11, 0.1);
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.comment-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.comment-meta {
    flex: 1;
}

.comment-meta h4 {
    margin: 0 0 4px 0;
    color: #78350F;
}

.comment-rating {
    display: flex;
    gap: 2px;
    margin-bottom: 4px;
}

.comment-rating .star {
    width: 16px;
    height: 16px;
    fill: #F59E0B;
}

.comment-date {
    font-size: 0.875rem;
    color: #92400E;
}

.comment-content p {
    color: #78350F;
    line-height: 1.6;
    margin: 0;
}

.comment-actions {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.add-comment-section {
    background: rgba(245, 158, 11, 0.03);
    border-radius: 16px;
    padding: 24px;
}

.add-comment-section h3 {
    color: #F59E0B;
    margin-bottom: 20px;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rating-input {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rating-input label {
    font-weight: 600;
    color: #78350F;
}

.star-rating {
    display: flex;
    gap: 4px;
}

.star-rating .star {
    font-size: 24px;
    color: #ddd;
    cursor: pointer;
    transition: all 0.2s ease;
}

.star-rating .star:hover,
.star-rating .star.active {
    color: #F59E0B;
    transform: scale(1.1);
}

/* Progress Components */
.progress-container {
    margin: 20px 0;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.875rem;
    color: #78350F;
}

.progress-bar {
    height: 8px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 50px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #F59E0B 0%, #D97706 100%);
    border-radius: 50px;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    animation: shimmer 2s infinite;
}

.progress-bar-mini {
    flex: 1;
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

/* Step Wizard */
.step-wizard {
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
    position: relative;
}

.step-wizard::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(245, 158, 11, 0.2);
    z-index: -1;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 2px solid rgba(245, 158, 11, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #92400E;
    transition: all 0.3s ease;
}

.step-item.active .step-circle {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
    border-color: #F59E0B;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.step-item.completed .step-circle {
    background: #10b981;
    color: white;
    border-color: #10b981;
}

.step-label {
    margin-top: 8px;
    font-size: 0.875rem;
    color: #92400E;
    font-weight: 500;
}

.step-item.active .step-label {
    color: #F59E0B;
    font-weight: 600;
}

/* ============================================
   SEARCH COMPONENTS
   ============================================ */
.search-box {
    position: relative;
    width: 100%;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 2.5rem;
    background: var(--search-bg);
    border: 1px solid rgba(var(--border-rgb), 0.2);
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--text);
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--button-bg);
    box-shadow: 0 0 0 3px rgba(var(--button-bg-rgb), 0.1);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

.search-shortcut {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 2px 6px;
    background: var(--kbd-bg);
    border: 1px solid var(--kbd-border);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============================================
   LOGO & BRANDING
   ============================================ */
.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-main {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #F59E0B, #D97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    line-height: 1;
    padding-bottom: 4px;
}

.logo-sub {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
    background: transparent;
    margin-top: -8px;
}

.logo-badge {
    padding: 0.2rem 0.5rem;
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: flex-start;
}

/* ============================================
   AVATAR & PROFILE COMPONENTS
   ============================================ */
.avatar {
    position: relative;
    display: inline-block;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.avatar-status {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    background: #10b981;
    border: 2px solid var(--background);
    border-radius: 50%;
}

.avatar-ring {
    position: absolute;
    inset: -4px;
    border: 4px solid transparent;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--button-bg), var(--button-hover));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.avatar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 1rem;
    padding: 1.5rem 0;
}

.avatar-option {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    padding: 10px;
    text-align: center;
}

.avatar-option:hover {
    transform: scale(1.1);
    border-color: var(--button-bg);
    background: var(--hover-bg);
    transform: translateY(-2px);
}

.avatar-option.selected {
    border-color: var(--button-bg);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
    background: rgba(99, 102, 241, 0.1);
}

.avatar-option img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 8px;
}

.avatar-label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 5px;
}

.avatar-selection-container {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

.avatar-upload-section {
    margin-bottom: 20px;
    text-align: center;
}

.profile-pic {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
}

.profile-pic:hover {
    opacity: 0.8;
}

/* Profile Components */
.profile-header {
    background: var(--highlight);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out;
}

.cover-photo {
    height: 280px;
    position: relative;
    background: linear-gradient(135deg, var(--button-bg), var(--button-hover));
    overflow: hidden;
}

.cover-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.cover-photo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
}

.edit-icon {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.edit-icon:hover {
    transform: scale(1.1);
    background: var(--button-bg);
    color: var(--button-text);
}

.cover-edit {
    bottom: 20px;
    right: 20px;
}

.profile-content {
    padding: 0 2rem 2rem;
    display: flex;
    gap: 2rem;
}

.profile-picture {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.profile-picture img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 5px solid var(--highlight);
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.profile-edit {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 40px;
    background: var(--button-bg);
    color: var(--button-text);
    font-size: 1.2rem;
    z-index: 15;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-edit:hover {
    transform: scale(1.1);
    background: var(--button-hover);
}

.profile-info {
    flex: 1;
    padding-top: 1rem;
}

.profile-header-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.profile-info h1 {
    font-size: 2rem;
    color: var(--heading);
    animation: fadeInUp 0.8s ease-out;
}

.verified-badge {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    animation: pulse 2s infinite;
}

.rating-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.stars {
    color: #f1c40f;
    font-size: 1.3rem;
}

.rating-text {
    color: var(--text);
    font-weight: 600;
}

.rating-tooltip {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--highlight);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 100;
    min-width: 280px;
}

.rating-container:hover .rating-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(10px);
}

.tooltip-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.tooltip-item span:first-child {
    min-width: 120px;
    font-size: 0.9rem;
}

.profile-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text);
}

.detail-icon {
    font-size: 1.2rem;
}

.profile-bio {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 10px;
}

.profile-bio p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.profile-next-session {
    margin-bottom: 1.5rem;
}

.session-alert {
    background: linear-gradient(135deg, rgba(241, 196, 15, 0.1), rgba(243, 156, 18, 0.1));
    border-left: 4px solid var(--button-bg);
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    animation: pulse 3s infinite;
}

.alert-icon {
    font-size: 1.5rem;
}

.profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ============================================
   AD COMPONENTS
   ============================================ */
.ad-placeholder-section {
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out;
}

.ad-banner {
    background: linear-gradient(135deg, var(--button-bg), var(--button-hover));
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.ad-content-main {
    position: relative;
    padding: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 200px;
}

.ad-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
}

.ad-text {
    flex: 1;
    z-index: 2;
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: opacity 0.5s ease-in-out;
    display: block;
    margin-bottom: 1rem;
}

.ad-text h3 {
    color: var(--button-text);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.ad-text p {
    color: var(--button-text);
    opacity: 0.9;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.ad-visual {
    position: relative;
    width: 200px;
    height: 200px;
}

.ad-circles {
    position: relative;
    width: 100%;
    height: 100%;
}

.circle {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    top: 10px;
    left: 10px;
}

.circle-2 {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.3);
    top: 60px;
    right: 20px;
    animation-delay: 2s;
}

.circle-3 {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.25);
    bottom: 20px;
    left: 40px;
    animation-delay: 4s;
}

.ad-container {
    background: linear-gradient(135deg, var(--button-bg) 0%, var(--button-hover) 100%);
    min-height: 200px;
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.25);
    position: relative;
    overflow: hidden;
}

.ad-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: shimmer 3s infinite;
}

.ad-content {
    text-align: center;
    z-index: 1;
    position: relative;
}

.ad-cta {
    padding: 0.75rem 2rem;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.ad-cta:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.ad-placeholder {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--button-bg) 0%, var(--button-hover) 100%);
    min-height: 180px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.2);
    position: relative;
    overflow: hidden;
}

.ad-placeholder .ad-text {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    z-index: 1;
    position: relative;
}

/* ============================================
   BADGES & NOTIFICATIONS
   ============================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.375rem 0.875rem;
    background: var(--badge-bg);
    border: 1px solid var(--badge-border);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--footer-accent);
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    position: relative;
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.2);
    background: var(--footer-accent);
    color: var(--white);
    border-color: var(--footer-accent);
}

.badge.glow {
    animation: subtleGlow 3s ease-in-out infinite;
}

.notification-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-badge.pulse {
    animation: pulse 2s infinite;
}

/* ============================================
   CARDS & PANELS
   ============================================ */
.chart-card,
.insights-panel {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.chart-card.large {
    grid-column: span 2;
}

.panel-title,
.chart-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--heading);
    margin-bottom: 1.5rem;
}

.chart-content {
    position: relative;
    width: 100%;
    height: 300px;
}

.insight-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.insight-card {
    padding: 1rem;
    background: linear-gradient(135deg, rgba(var(--button-bg-rgb), 0.05), rgba(var(--button-hover-rgb), 0.05));
    border: 1px solid rgba(var(--button-bg-rgb), 0.2);
    border-radius: 12px;
}

.insight-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.insight-badge {
    padding: 0.25rem 0.75rem;
    background: rgba(var(--button-bg-rgb), 0.1);
    color: var(--button-bg);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.insight-score {
    font-size: 1.125rem;
    font-weight: 700;
    color: #10b981;
}

.insight-text {
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.insight-action {
    padding: 0.5rem 1rem;
    background: var(--button-bg);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.insight-action:hover {
    background: var(--button-hover);
    transform: translateY(-2px);
}

/* Price Display */
.price-display {
    padding: 1rem;
    background: linear-gradient(135deg, rgba(var(--button-bg-rgb), 0.1), rgba(var(--button-hover-rgb), 0.1));
    border-radius: 12px;
    border: 1px solid rgba(var(--button-bg-rgb), 0.2);
}

.price-amount {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--button-bg);
    margin-bottom: 0.25rem;
}

.price-info {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Quick Actions */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: var(--input-bg);
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-action:hover {
    border-color: var(--button-bg);
    background: rgba(var(--button-bg-rgb), 0.05);
    transform: translateY(-5px);
}

.quick-action svg {
    color: var(--button-bg);
    margin-bottom: 0.75rem;
}

.quick-action span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
}

/* Date Range Picker */
.date-range-picker {
    display: flex;
    gap: 0.5rem;
}

.date-btn {
    padding: 0.625rem 1.25rem;
    background: rgba(var(--button-bg-rgb), 0.1);
    border: 1px solid var(--button-bg);
    border-radius: 8px;
    color: var(--button-bg);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.date-btn:hover {
    background: var(--button-bg);
    color: white;
}

/* Filter Controls */
.filter-controls {
    display: flex;
    gap: 1rem;
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
}

.filter-tab {
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.filter-tab:hover {
    background: rgba(var(--button-bg-rgb), 0.05);
}

.filter-tab.active {
    background: rgba(var(--button-bg-rgb), 0.1);
    color: var(--button-bg);
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: transparent;
    border: 1px solid rgba(var(--border-rgb), 0.2);
    border-radius: 8px;
    color: var(--text);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(var(--button-bg-rgb), 0.05);
    border-color: var(--button-bg);
}

/* Stats */
.stat-card {
    grid-column: span 1;
}

.stat-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--footer-accent);
    margin-bottom: 0.25rem;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--footer-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100vh;
    background: var(--background);
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2000;
    overflow-y: auto;
}

.sidebar.active {
    transform: translateX(320px);
}

.sidebar-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--button-bg), var(--button-hover));
    color: var(--button-text);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.sidebar-close {
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.sidebar-close:hover {
    transform: rotate(90deg);
}

.sidebar-nav {
    padding: 1rem 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.sidebar-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, transparent, var(--button-bg), transparent);
    transition: width 0.3s;
}

.sidebar-link:hover {
    background: rgba(var(--button-bg-rgb), 0.1);
    color: var(--button-bg);
}

.sidebar-link:hover::before {
    width: 100%;
}

.sidebar-icon {
    margin-right: 1rem;
    font-size: 1.2rem;
}

.sidebar-arrow {
    margin-left: auto;
    transition: transform 0.3s;
}

.sidebar-submenu.active .sidebar-arrow {
    transform: rotate(180deg);
}

.submenu-items {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(0, 0, 0, 0.05);
}

.sidebar-submenu.active .submenu-items {
    max-height: 300px;
}

.submenu-item {
    padding-left: 3.5rem;
    font-size: 0.9rem;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1999;
}

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

/* ============================================
   HAMBURGER MENU
   ============================================ */
.hamburger {
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    margin-right: 1.5rem;
    transition: var(--transition);
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--nav-link);
    border-radius: 3px;
    transition: var(--transition);
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ============================================
   MODALS BASE
   ============================================ */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 10000;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    animation: overlayFadeIn 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    animation: overlayFadeIn 0.3s ease;
}

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

.modal-content {
    position: relative;
    background: linear-gradient(145deg, var(--modal-bg) 0%, #fafafa 100%);
    border-radius: 24px;
    width: 100%;
    max-width: 600px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(245, 158, 11, 0.1);
    animation: modalSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-content.large {
    max-width: 900px;
}

.modal-content.error {
    animation: shake 0.5s;
}

.modal-content.success {
    animation: successPulse 0.5s ease;
}

.modal-header {
    padding: 24px 32px;
    border-bottom: 1px solid rgba(245, 158, 11, 0.1);
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.05) 0%, transparent 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    position: relative;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: #F59E0B;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #F59E0B;
    font-size: 1.5rem;
}

.modal-close:hover {
    background: #F59E0B;
    color: white;
    transform: rotate(90deg);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 32px;
    background: linear-gradient(180deg, transparent 0%, rgba(245, 158, 11, 0.02) 100%);
}

.modal-footer {
    padding: 20px 32px;
    border-top: 1px solid rgba(245, 158, 11, 0.1);
    background: linear-gradient(180deg, transparent 0%, rgba(245, 158, 11, 0.02) 100%);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-shrink: 0;
}

.modal-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-radius: 24px;
    backdrop-filter: blur(5px);
}

.modal-loading::after {
    content: '';
    width: 48px;
    height: 48px;
    border: 4px solid rgba(245, 158, 11, 0.2);
    border-top-color: #F59E0B;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
}

/* Dark mode modal adjustments */
[data-theme="dark"] .modal-content {
    background: linear-gradient(145deg, #1E1E1E 0%, #2a2a2a 100%);
    border: 1px solid rgba(255, 213, 79, 0.2);
}

[data-theme="dark"] .modal-header {
    border-bottom-color: rgba(255, 213, 79, 0.1);
    background: linear-gradient(180deg, rgba(255, 213, 79, 0.05) 0%, transparent 100%);
}

[data-theme="dark"] .modal-header h2 {
    color: #FFD54F;
}

[data-theme="dark"] .modal-close {
    background: rgba(255, 213, 79, 0.1);
    color: #FFD54F;
}

[data-theme="dark"] .modal-close:hover {
    background: #FFD54F;
    color: #1E1E1E;
}

[data-theme="dark"] .form-label {
    color: #FFD54F;
}

[data-theme="dark"] .form-input,
[data-theme="dark"] .form-select,
[data-theme="dark"] .form-textarea {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 213, 79, 0.2);
    color: #E0E0E0;
}

[data-theme="dark"] .form-input:focus,
[data-theme="dark"] .form-select:focus,
[data-theme="dark"] .form-textarea:focus {
    border-color: #FFD54F;
    background: rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .modal-footer {
    border-top-color: rgba(255, 213, 79, 0.1);
}

[data-theme="dark"] .btn-primary {
    background: linear-gradient(135deg, #FFD54F 0%, #e6bf45 100%);
    color: #1E1E1E;
}

[data-theme="dark"] .btn-secondary {
    background: rgba(0, 0, 0, 0.3);
    color: #FFD54F;
    border-color: #FFD54F;
}

/* Role & Dropdown specific */
.add-role-option {
    border-top: 1px solid var(--border-color);
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.add-role-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}

.role-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    margin: 2px 0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
}

.role-option:hover {
    background: var(--hover-bg);
}

.role-option.active {
    background: rgba(245, 158, 11, 0.1);
    color: var(--button-bg);
    font-weight: 500;
}

.role-option.disabled {
    opacity: 0.7;
    cursor: default;
}

[data-theme="dark"] .role-option.active {
    background: rgba(255, 213, 79, 0.1);
    color: var(--button-bg);
}

.role-badge {
    font-size: 10px;
    padding: 2px 6px;
    background: var(--button-bg);
    color: var(--button-text);
    border-radius: 4px;
    font-weight: 600;
}

.role-options {
    padding: 0 8px 8px;
}

/* Tooltips */
.tooltip {
    position: relative;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: #1a1a1a;
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-12px);
}

/* ============================================
   PROFILE DROPDOWN
   ============================================ */
.profile-dropdown-container {
    position: relative;
}

.profile-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-dropdown-toggle:hover {
    background: rgba(245, 158, 11, 0.08);
    border-color: var(--button-bg);
}

.profile-dropdown-toggle.active {
    background: rgba(245, 158, 11, 0.12);
    border-color: var(--button-bg);
}

[data-theme="dark"] .profile-dropdown-toggle:hover {
    background: rgba(255, 213, 79, 0.08);
    border-color: var(--button-bg);
}

[data-theme="dark"] .profile-dropdown-toggle.active {
    background: rgba(255, 213, 79, 0.12);
    border-color: var(--button-bg);
}

.profile-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.profile-dropdown-toggle.active .dropdown-arrow {
    transform: rotate(180deg);
}

.profile-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 260px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.profile-dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-header {
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--hover-bg);
    border-radius: 12px 12px 0 0;
    transition: background-color 0.3s ease;
}

.dropdown-header:hover {
    background-color: var(--hover-bg);
    border-radius: 8px;
}

.dropdown-profile-pic {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--button-bg);
}

.dropdown-user-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.dropdown-user-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-user-email {
    font-size: 12px;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-user-role {
    font-size: 11px;
    color: var(--button-bg);
    font-weight: 500;
    text-transform: capitalize;
    margin-top: 2px;
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0;
}

.dropdown-item-header {
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: var(--text-primary);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: var(--hover-bg);
}

.logout-item {
    color: #ef4444;
    border-radius: 0 0 12px 12px;
}

.logout-item:hover {
    background: rgba(239, 68, 68, 0.1);
}

.dropdown-icon {
    width: 18px;
    height: 18px;
}

[data-theme="dark"] .profile-dropdown-menu {
    background: #1f2937;
    border-color: #374151;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .dropdown-header {
    background: #111827;
}

[data-theme="dark"] .dropdown-divider {
    background: #374151;
}

[data-theme="dark"] .dropdown-item:hover,
[data-theme="dark"] .role-option:hover {
    background: #374151;
}

[data-theme="dark"] .role-option.active {
    background: rgba(99, 102, 241, 0.2);
}

/* ============================================
   FOOTER
   ============================================ */
.footer-section {
    position: relative;
    background: var(--footer-bg);
    padding-top: 4rem;
    padding-bottom: 2rem;
    margin-top: auto;
}

.footer-wave {
    position: absolute;
    top: -119px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

.wave-fill {
    fill: var(--footer-bg);
}

.footer-wave .wave-line {
    fill: none;
    stroke: url(#wave-gradient);
    stroke-width: 2;
    stroke-dasharray: 1000;
    stroke-dashoffset: 0;
    animation: waveDash 12s linear infinite;
    opacity: 0.8;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section-item {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.footer-section-item:nth-child(1) { animation-delay: 0.1s; }
.footer-section-item:nth-child(2) { animation-delay: 0.2s; }
.footer-section-item:nth-child(3) { animation-delay: 0.3s; }
.footer-section-item:nth-child(4) { animation-delay: 0.4s; }

.footer-section-item h3 {
    color: var(--heading);
    margin-bottom: 1.5rem;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--footer-text);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--footer-accent);
    transition: width 0.3s ease;
}

.footer-section-item:hover .footer-title::after {
    width: 50px;
}

.footer-description {
    color: var(--footer-text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-stats {
    display: flex;
    gap: 2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-link {
    color: var(--footer-text);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-left: 0;
}

.footer-link::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--footer-accent);
    padding-left: 20px;
}

.footer-link:hover::before {
    left: 0;
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--badge-bg);
    border: 1px solid var(--badge-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--footer-text);
}

.social-link:hover {
    background: var(--footer-accent);
    border-color: var(--footer-accent);
    transform: translateY(-5px) scale(1.1);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

.social-link:active {
    transform: translateY(-3px) scale(1.05);
}

.footer-bottom-content {
    padding-top: 2rem;
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
}

.footer-bottom-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        var(--footer-border) 10%,
        var(--footer-accent) 30%,
        var(--footer-accent) 70%,
        var(--footer-border) 90%,
        transparent);
    animation: zoomOutLine 4s ease-in-out infinite;
    transform-origin: center center;
}

.footer-bottom-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: var(--footer-accent);
    animation: pulseZoomLine 3s ease-in-out infinite;
    opacity: 0.3;
    filter: blur(1px);
}

.footer-badges {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-badges:first-child {
    justify-content: flex-start;
}

.footer-badges:nth-child(2) {
    justify-content: center;
}

.footer-badges:last-child {
    justify-content: flex-end;
}

.company-brand {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    color: var(--footer-text);
    font-weight: 600;
}

.company-text {
    background: linear-gradient(135deg, var(--footer-text), var(--footer-accent));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.trademark-symbol {
    display: inline-block;
    color: var(--footer-accent);
    font-size: 0.7rem;
    vertical-align: super;
    animation: zoomOut 4s ease-in-out infinite;
    transform-origin: center center;
}

.phone-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--footer-accent);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.phone-icon {
    font-size: 1rem;
    animation: gentleRing 4s ease-in-out infinite;
}

.phone-link:hover {
    color: var(--footer-hover);
    transform: translateY(-1px);
}

.copyright {
    color: var(--footer-text);
    font-size: 0.95rem;
    display: inline-block;
    animation: gentleRotate 8s linear infinite;
    transform-origin: center center;
}

.trademark-symbol:hover,
.copyright:hover {
    animation-play-state: paused;
}

.skip-to-footer {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--footer-accent);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-to-footer:focus {
    top: 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-bottom-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-badges:nth-child(2) {
        grid-column: 1 / -1;
        order: -1;
    }

    .ad-stats-grid,
    .advertisers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .packages-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .modal {
        padding: 10px;
    }

    .modal-content {
        max-width: 100%;
        max-height: 95vh;
        border-radius: 16px;
        margin: 1rem;
    }

    .modal-content.large {
        max-width: 100%;
    }

    .modal-header {
        padding: 20px;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-footer {
        padding: 16px 20px;
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.span-2 {
        grid-column: span 1;
    }

    .social-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .social-item .form-select {
        width: 100%;
    }

    .sync-options {
        grid-template-columns: 1fr;
    }

    .stat-card {
        grid-column: span 1;
    }

    .card-footer {
        flex-direction: column;
    }

    .dropdown {
        width: calc(100vw - 2rem);
        right: -1rem;
    }

    .profile-name {
        display: none;
    }

    .profile-dropdown-menu {
        position: fixed;
        top: 70px;
        right: 16px;
        left: 16px;
        width: auto;
        min-width: unset;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-badges {
        justify-content: center !important;
    }

    .footer-stats {
        justify-content: space-around;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-feedback {
        bottom: -45px;
    }

    .copyright {
        animation: none;
    }

    .trademark-symbol {
        animation-duration: 6s;
    }

    .footer-bottom-content::after {
        display: none;
    }

    .followers-modal-layout {
        flex-direction: column;
        height: auto;
    }

    .followers-sidebar {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        padding: 8px;
        background: transparent;
    }

    .followers-sidebar-title {
        display: none;
    }

    .followers-tab {
        min-width: 150px;
        flex-shrink: 0;
    }

    .filter-buttons-row {
        flex-wrap: wrap;
    }

    .followers-list {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .trademark-symbol {
        opacity: 0.9;
    }

    .footer-bottom-content::before {
        transform: translateX(-50%) scaleX(0.9);
        opacity: 0.8;
    }
}

.footer-link:focus-visible,
.social-link:focus-visible,
.newsletter-input:focus-visible,
.newsletter-btn:focus-visible,
.phone-link:focus-visible {
    outline: 2px solid var(--footer-accent);
    outline-offset: 2px;
    border-radius: 4px;
}