/* ================================================================
   ELIGHTA - Main CSS Styles
   ================================================================ */

/* ================================================================
   CSS VARIABLES - LIGHT & DARK MODE
   ================================================================ */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: #ffffff;
    --bg-nav: #ffffff;
    --bg-hero: #ffffff;
    --bg-dark: #0a1628;
    --text-primary: #0a0a0a;
    --text-secondary: #0f172a;
    --text-muted: #475569;
    --text-light: #64748b;
    --border-color: #e8ecf1;
    --border-light: #e2e8f0;
    --shadow-color: rgba(0,0,0,0.08);
    --shadow-hover: rgba(0,0,0,0.15);
    --pill-bg: #f8fafc;
    --pill-hover: #1a56db;
    --pill-text: #475569;
    --pill-text-hover: #fff;
    --hero-heading: #0a1628;
    --stat-number: #1a56db;
    --stat-label: #64748b;
    --cta-bg: #0a1628;
    --cta-text: #fff;
    --footer-bg: #0a1628;
    --footer-text: rgba(255,255,255,0.6);
    --badge-bg: #ef4444;
    --badge-text: #fff;
    --search-bg: #f8fafc;
    --search-border: #e2e8f0;
    --search-text: #0f172a;
    --search-placeholder: #94a3b8;
    --icon-color: #475569;
    --icon-hover: #1a56db;
}

.dark {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: #1e293b;
    --bg-nav: #0f172a;
    --bg-hero: #0f172a;
    --bg-dark: #0a1628;
    --text-primary: #e2e8f0;
    --text-secondary: #f1f5f9;
    --text-muted: #94a3b8;
    --text-light: #94a3b8;
    --border-color: #334155;
    --border-light: #334155;
    --shadow-color: rgba(0,0,0,0.3);
    --shadow-hover: rgba(0,0,0,0.4);
    --pill-bg: #1e293b;
    --pill-hover: #1a56db;
    --pill-text: #94a3b8;
    --pill-text-hover: #fff;
    --hero-heading: #f1f5f9;
    --stat-number: #60a5fa;
    --stat-label: #94a3b8;
    --cta-bg: #1a56db;
    --cta-text: #fff;
    --footer-bg: #0a1628;
    --footer-text: rgba(255,255,255,0.6);
    --badge-bg: #ef4444;
    --badge-text: #fff;
    --search-bg: #1e293b;
    --search-border: #334155;
    --search-text: #f1f5f9;
    --search-placeholder: #64748b;
    --icon-color: #94a3b8;
    --icon-hover: #60a5fa;
}

/* ================================================================
   RESET & BASE
   ================================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    transition: background 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================================================
   DARK MODE TOGGLE
   ================================================================ */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--icon-color);
    transition: color 0.3s;
    padding: 4px 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.theme-toggle:hover {
    color: var(--icon-hover);
}

.theme-toggle .sun-icon {
    display: inline-block;
}
.theme-toggle .moon-icon {
    display: none;
}

.dark .theme-toggle .sun-icon {
    display: none;
}
.dark .theme-toggle .moon-icon {
    display: inline-block;
}

/* ================================================================
   NAVBAR CONTAINER
   ================================================================ */
.navbar-container {
    background: var(--bg-nav);
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s ease, border-color 0.3s ease;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    flex-wrap: wrap;
    gap: 12px;
    background: var(--bg-nav);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.navbar .logo {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--text-secondary);
}

.navbar .logo a {
    text-decoration: none;
    color: inherit;
}

.navbar .logo .highlight {
    color: #1a56db;
}

.navbar .logo .tagline {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.5px;
    display: block;
    margin-top: -2px;
}

.navbar .search-wrapper {
    flex: 1;
    max-width: 500px;
    margin: 0 20px;
    position: relative;
}

.navbar .search-wrapper input {
    width: 100%;
    padding: 10px 16px 10px 44px;
    border: 1px solid var(--search-border);
    border-radius: 10px;
    font-size: 14px;
    color: var(--search-text);
    background: var(--search-bg);
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
    cursor: text;
}

.navbar .search-wrapper input:focus {
    outline: none;
    border-color: #1a56db;
    background: var(--bg-primary);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.navbar .search-wrapper input::placeholder {
    color: var(--search-placeholder);
}

.navbar .search-wrapper i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--search-placeholder);
    font-size: 16px;
}

.navbar .nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.navbar .nav-actions .action-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--icon-color);
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.navbar .nav-actions .action-link:hover {
    color: var(--icon-hover);
}

.navbar .nav-actions .action-link i {
    font-size: 16px;
}

.navbar .nav-actions .action-link .nav-label {
    display: inline;
}

.navbar .nav-actions .bell-icon {
    font-size: 18px;
    color: var(--icon-color);
    cursor: pointer;
    transition: color 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}

.navbar .nav-actions .bell-icon:hover {
    color: var(--icon-hover);
}

.navbar .nav-actions .bell-icon .badge {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    background: var(--badge-bg);
    color: var(--badge-text);
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-nav {
    padding: 8px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.btn-nav-primary {
    background: var(--bg-dark);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-nav-primary:hover {
    background: #1a56db;
    transform: scale(1.02);
}

.hamburger {
    display: none;
    font-size: 22px;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-secondary);
}

/* ================================================================
   MOBILE RESPONSIVE NAVIGATION - FIXED: Shows Labels
   ================================================================ */
@media (max-width: 992px) {
    .navbar .search-wrapper {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .navbar .search-wrapper {
        order: 3;
        max-width: 100%;
        margin: 8px 0 0;
        flex-basis: 100%;
    }
    
    /* OVERRIDE: Force nav labels to show on mobile */
    .navbar .nav-actions .action-link .nav-label {
        display: inline-block !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        margin-left: 8px !important;
    }
    
    /* OVERRIDE: Theme toggle label on mobile */
    .navbar .nav-actions .theme-toggle .nav-label {
        display: inline-block !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        margin-left: 8px !important;
    }
    
    /* Hide hamburger menu - show full nav when open */
    .navbar .nav-actions {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding: 16px 0;
        border-top: 1px solid var(--border-color);
        gap: 4px;
    }
    
    .navbar .nav-actions.open {
        display: flex !important;
    }
    
    /* Style each action link for mobile - full width with text */
    .navbar .nav-actions .action-link {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
        font-size: 16px;
        border-radius: 8px;
        transition: background 0.2s;
        gap: 10px;
        text-align: center;
    }
    
    .navbar .nav-actions .action-link:hover {
        background: var(--bg-secondary);
    }
    
    .navbar .nav-actions .action-link i {
        font-size: 20px;
        width: 24px;
        text-align: center;
    }
    
    .navbar .nav-actions .action-link .nav-label {
        font-size: 15px !important;
        font-weight: 500 !important;
        display: inline-block !important;
    }
    
    /* Theme toggle on mobile */
    .navbar .nav-actions .theme-toggle {
        display: flex !important;
        justify-content: center;
        align-items: center;
        padding: 12px 16px;
        width: 100%;
        font-size: 18px;
        gap: 10px;
        background: none;
        border: none;
        cursor: pointer;
        color: var(--icon-color);
        border-radius: 8px;
    }
    
    .navbar .nav-actions .theme-toggle:hover {
        background: var(--bg-secondary);
    }
    
    .navbar .nav-actions .theme-toggle .nav-label {
        display: inline-block !important;
        font-size: 15px !important;
        font-weight: 500 !important;
    }
    
    .navbar .nav-actions .theme-toggle i {
        font-size: 20px;
        width: 24px;
        text-align: center;
    }
    
    /* Notification bell on mobile */
    .navbar .nav-actions .bell-icon {
        display: flex !important;
        align-items: center;
        gap: 10px;
        padding: 12px 16px;
        width: 100%;
        justify-content: center;
        position: relative;
        border-radius: 8px;
    }
    
    .navbar .nav-actions .bell-icon:hover {
        background: var(--bg-secondary);
    }
    
    .navbar .nav-actions .bell-icon .badge {
        position: static;
        margin-left: 4px;
        width: 22px;
        height: 22px;
        font-size: 11px;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }
    
    /* Fix badge on messages */
    .navbar .nav-actions .action-link .badge {
        position: static;
        margin-left: 4px;
        display: inline-block !important;
    }
    
    /* Hide username on mobile profile button */
    .username-display {
        display: none !important;
    }
    
    /* Login button on mobile */
    .navbar .nav-actions .btn-nav {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
        text-align: center;
        font-size: 15px;
    }
    
    /* Make sure the login button also shows icon + text */
    .navbar .nav-actions .btn-nav i {
        margin-right: 8px;
        font-size: 18px;
    }
}

/* ================================================================
   CATEGORY MENU
   ================================================================ */
.category-menu-container {
    background: var(--bg-nav);
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.category-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 14px 0 10px;
    overflow-x: auto;
    scrollbar-width: none;
    background: var(--bg-nav);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.category-menu::-webkit-scrollbar {
    display: none;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 500;
    color: var(--pill-text);
    background: var(--pill-bg);
    white-space: nowrap;
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid transparent;
}

.category-item:hover {
    background: var(--pill-hover);
    color: var(--pill-text-hover);
}

.category-item.active {
    background: #1a56db;
    color: #fff;
}

.category-item i {
    font-size: 14px;
}

.category-item.more {
    background: transparent;
    border-color: var(--border-color);
}

.category-item.more:hover {
    background: #1a56db;
    color: #fff;
    border-color: #1a56db;
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px 0 30px;
    align-items: center;
    background: var(--bg-hero);
    transition: background 0.3s ease;
}

.hero-left {
    padding-right: 20px;
}

.hero-left .brand {
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -2px;
    color: var(--hero-heading);
}

.hero-left .brand .highlight {
    color: #1a56db;
}

.hero-left .brand .tagline {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-top: -2px;
}

.hero-left h1 {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.1;
    margin-top: 12px;
    color: var(--hero-heading);
}

.hero-left h1 .highlight {
    color: #f59e0b;
    background: none;
    -webkit-text-fill-color: #f59e0b;
}

.hero-left .description {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 520px;
    margin: 10px 0 18px;
    line-height: 1.8;
}

.hero-left .pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 16px 0 20px;
}

.pillar-item {
    text-align: center;
    padding: 12px 8px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.pillar-item:hover {
    border-color: #1a56db;
    transform: translateY(-2px);
}

.pillar-item .icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #dbeafe;
    color: #1a56db;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
    font-size: 18px;
}

.dark .pillar-item .icon {
    background: #1e3a5f;
    color: #60a5fa;
}

.pillar-item .label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    line-height: 1.2;
}

.hero-left .buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 12px 32px;
    background: var(--bg-dark);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
}

.btn-primary:hover {
    background: #1a56db;
    transform: translateY(-2px);
}

.btn-secondary {
    padding: 12px 32px;
    background: transparent;
    color: var(--text-secondary);
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
}

.btn-secondary:hover {
    border-color: #1a56db;
    color: #1a56db;
}

.hero-right {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.hero-thumb {
    position: relative;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #1e293b, #334155);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.hero-thumb:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 30px var(--shadow-hover);
}

.hero-thumb iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.hero-thumb .thumb-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    padding: 4px;
}

.hero-thumb .play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.3s;
}

.hero-thumb:hover .play-overlay {
    opacity: 1;
}

.hero-thumb .play-overlay i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
}

.hero-thumb .duration {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 9px;
    padding: 1px 6px;
    border-radius: 3px;
}

/* Responsive Hero */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero-left {
        padding-right: 0;
        text-align: center;
    }
    .hero-left .description {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-left .buttons {
        justify-content: center;
    }
    .hero-left .pillars {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 640px) {
    .hero-left h1 {
        font-size: 28px;
    }
    .hero-left .brand {
        font-size: 30px;
    }
    .hero-left .pillars {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-right {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
}

/* ================================================================
   TRUST BAR
   ================================================================ */
.trust-bar {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 20px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin: 10px 0 30px;
    border: 1px solid var(--border-color);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.trust-bar .stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-bar .stat {
    text-align: center;
}

.trust-bar .stat .number {
    font-size: 20px;
    font-weight: 800;
    color: var(--stat-number);
}

.trust-bar .stat .label {
    font-size: 13px;
    color: var(--stat-label);
}

.trust-bar .join-text {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-secondary);
}

.trust-bar .join-text .highlight {
    color: #1a56db;
}

@media (max-width: 768px) {
    .trust-bar {
        justify-content: center;
        text-align: center;
        padding: 16px 20px;
    }
    .trust-bar .stats {
        gap: 20px;
        justify-content: center;
    }
}

/* ================================================================
   POPULAR SECTION
   ================================================================ */
.section {
    padding: 30px 0 20px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-secondary);
}

.section-header h2 .highlight {
    color: #1a56db;
}

.section-header .view-all {
    font-size: 14px;
    color: #1a56db;
    font-weight: 500;
    cursor: pointer;
}

.section-header .view-all:hover {
    text-decoration: underline;
}

.popular-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.popular-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.popular-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.popular-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px var(--shadow-color);
}

.popular-card .thumb {
    position: relative;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #1e293b, #334155);
    overflow: hidden;
}

.popular-card .thumb iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.popular-card .thumb .placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 12px;
}

.popular-card .thumb .play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.3s;
}

.popular-card:hover .thumb .play-icon {
    opacity: 1;
}

.popular-card .thumb .play-icon i {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
}

.popular-card .thumb .duration {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
}

.popular-card .info {
    padding: 10px 14px;
}

.popular-card .info .title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ideas-side {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-color);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.ideas-side h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.ideas-side h3 .highlight {
    color: #1a56db;
}

.idea-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s;
    cursor: pointer;
    color: var(--text-secondary);
}

.idea-link:last-child {
    border-bottom: none;
}

.idea-link:hover {
    color: #1a56db;
    transform: translateX(4px);
}

.idea-link .idea-text {
    font-size: 14px;
    font-weight: 500;
}

.idea-link .arrow {
    color: var(--text-light);
    font-size: 14px;
}

.idea-link:hover .arrow {
    color: #1a56db;
}

@media (max-width: 992px) {
    .popular-grid {
        grid-template-columns: 1fr;
    }
    .popular-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .popular-cards {
        grid-template-columns: 1fr;
    }
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 4px;
    }
}

/* ================================================================
   CREATOR CTA BLOCK
   ================================================================ */
.creator-cta {
    background: var(--bg-dark);
    border-radius: 16px;
    padding: 32px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
    transition: background 0.3s ease;
}

.creator-cta .text h3 {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
}

.creator-cta .text h3 .highlight {
    color: #fcd34d;
}

.creator-cta .text p {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
}

.creator-cta .btn-upload {
    padding: 12px 32px;
    background: #fcd34d;
    color: #0a1628;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
}

.creator-cta .btn-upload:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(252, 211, 77, 0.3);
}

@media (max-width: 640px) {
    .creator-cta {
        padding: 24px;
        flex-direction: column;
        text-align: center;
    }
    .creator-cta .text h3 {
        font-size: 20px;
    }
}

/* ================================================================
   FOOTER BANNER
   ================================================================ */
.footer-banner {
    background: var(--bg-dark);
    border-radius: 16px;
    padding: 28px 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 10px 0 30px;
    transition: background 0.3s ease;
}

.footer-banner .item {
    text-align: center;
    color: #fff;
}

.footer-banner .item .icon {
    font-size: 24px;
    color: #fcd34d;
    margin-bottom: 4px;
}

.footer-banner .item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
}

.footer-banner .item p {
    font-size: 13px;
    color: var(--footer-text);
}

@media (max-width: 768px) {
    .footer-banner {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .footer-banner {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.footer a {
    color: #1a56db;
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate {
    animation: fadeUp 0.6s ease forwards;
}

.d1 { animation-delay: 0.05s; }
.d2 { animation-delay: 0.1s; }
.d3 { animation-delay: 0.15s; }
.d4 { animation-delay: 0.2s; }
.d5 { animation-delay: 0.25s; }
.d6 { animation-delay: 0.3s; }
.d7 { animation-delay: 0.35s; }
.d8 { animation-delay: 0.4s; }

/* ================================================================
   AUTH PAGES COMPLETE STYLES
   ================================================================ */

/* Auth Page Container */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

/* Background Decoration */
.auth-page::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 86, 219, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.auth-page::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(252, 211, 77, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.auth-container {
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 1;
}

/* Auth Card */
.auth-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 48px 40px 40px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px var(--shadow-color);
    transition: all 0.3s ease;
}

/* Logo */
.auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo a {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--text-secondary);
    text-decoration: none;
    display: inline-block;
}

.auth-logo .highlight {
    color: #1a56db;
}

.auth-logo .tagline {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 2px;
    margin-top: 2px;
}

/* Auth Header */
.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.auth-header .auth-subtitle {
    font-size: 15px;
    color: var(--text-muted);
}

/* Auth Alerts */
.auth-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    animation: slideDown 0.3s ease;
}

.auth-alert i {
    font-size: 18px;
    flex-shrink: 0;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Auth Form */
.auth-form {
    margin-top: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group i:first-child {
    position: absolute;
    left: 14px;
    color: var(--text-light);
    font-size: 16px;
    z-index: 1;
}

.input-group input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.input-group input:focus {
    outline: none;
    border-color: #1a56db;
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.input-group input::placeholder {
    color: var(--search-placeholder);
}

.input-group .toggle-password {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    padding: 4px;
    transition: color 0.3s;
    z-index: 1;
}

.input-group .toggle-password:hover {
    color: var(--text-secondary);
}

.form-hint {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--text-light);
}

/* Form Options (Remember me, Forgot password) */
.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0 24px;
}

/* Password Strength */
.password-strength {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
}

.password-strength .strength-bar {
    flex: 1;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
}

.password-strength .strength-bar .fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 0%;
}

.password-strength .strength-bar .fill.weak {
    background: #ef4444;
    width: 25%;
}

.password-strength .strength-bar .fill.medium {
    background: #f59e0b;
    width: 50%;
}

.password-strength .strength-bar .fill.strong {
    background: #22c55e;
    width: 75%;
}

.password-strength .strength-bar .fill.very-strong {
    background: #22c55e;
    width: 100%;
}

.password-strength .strength-text {
    font-size: 12px;
    font-weight: 500;
    min-width: 50px;
    color: var(--text-light);
}

.password-strength .strength-text.weak { color: #ef4444; }
.password-strength .strength-text.medium { color: #f59e0b; }
.password-strength .strength-text.strong { color: #22c55e; }
.password-strength .strength-text.very-strong { color: #22c55e; }

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    padding-left: 28px;
    line-height: 1.5;
}

.checkbox-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    left: 0;
    top: 2px;
    height: 20px;
    width: 20px;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 5px;
    transition: all 0.3s;
    flex-shrink: 0;
}

.checkbox-label:hover input ~ .checkmark {
    border-color: #1a56db;
}

.checkbox-label input:checked ~ .checkmark {
    background: #1a56db;
    border-color: #1a56db;
}

.checkmark:after {
    content: '';
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-label a {
    color: #1a56db;
    text-decoration: none;
    font-weight: 500;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Auth Buttons */
.btn-auth-primary {
    width: 100%;
    padding: 14px;
    background: var(--bg-dark);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    font-family: 'Inter', sans-serif;
}

.btn-auth-primary:hover {
    background: #1a56db;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 86, 219, 0.3);
}

.btn-auth-primary:active {
    transform: translateY(0);
}

.btn-auth-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 28px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: var(--border-color);
}

.auth-divider span {
    background: var(--bg-card);
    padding: 0 16px;
    font-size: 13px;
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

/* Social Login */
.social-login {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-primary);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
}

.btn-social:hover {
    border-color: #1a56db;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-color);
}

.btn-social i {
    font-size: 18px;
}

.btn-google i { color: #ea4335; }
.btn-facebook i { color: #1877f2; }
.btn-apple i { color: var(--text-secondary); }

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 8px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.auth-footer p {
    font-size: 15px;
    color: var(--text-muted);
}

.auth-footer a {
    color: #1a56db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.auth-footer a:hover {
    color: #0f3b8f;
    text-decoration: underline;
}

.auth-footer a i {
    margin-right: 6px;
}

/* Auth Trust Badges */
.auth-trust-badges {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.trust-item i {
    color: #22c55e;
    font-size: 16px;
}

/* Forgot Password link */
.forgot-link {
    font-size: 14px;
    color: #1a56db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.forgot-link:hover {
    color: #0f3b8f;
    text-decoration: underline;
}

/* Responsive Auth */
@media (max-width: 640px) {
    .auth-card {
        padding: 32px 24px 28px;
        border-radius: 16px;
    }
    
    .auth-header h2 {
        font-size: 24px;
    }
    
    .social-login {
        grid-template-columns: 1fr;
    }
    
    .auth-trust-badges {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .register-page .auth-card {
        padding: 28px 20px 24px;
    }
    
    .form-options {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}

/* ================================================================
   REGISTER PAGE SPECIFIC STYLES
   ================================================================ */
.register-page .auth-card {
    padding: 40px 40px 36px;
}

.terms-group {
    margin: 16px 0 20px;
}

/* ================================================================
   MISC UTILITY CLASSES
   ================================================================ */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.hidden {
    display: none !important;
}

.flex {
    display: flex;
}
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}
.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.flex-column {
    display: flex;
    flex-direction: column;
}
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }