/* ============================================================
   Base Layout Styles
   CCE Platform - Main App Shell
   ============================================================ */

/* Import Apex Black font */
@font-face {
    font-family: 'Apex';
    src: url('/static/fonts/Apex-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Import URW Dock Condensed Light font - Primary */
@font-face {
    font-family: 'URW Dock';
    src: url('/static/fonts/Fontspring-DEMO-urwdockcond-light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Colors */
    --bg-app: #000000;
    --bg-surface: #484c4c;
    --bg-surface-hover: #5a5e5e;
    --bg-accent: #f4012b;
    --bg-accent-hover: #d60125;
    --bg-success: #2ecc71;
    --bg-success-hover: #27ae60;
    --border: #2a2a3a;
    --border-light: #3a3a4a;
    --text-primary: #ffffff;
    --text-secondary: #8e8ea0;
    --text-muted: #5a5a6a;
    --topbar-bg: #0d0d0d;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;

    /* Sizing */
    --sidebar-width: 180px;
    --sidebar-width-collapsed: 70px;
    --topbar-height: 83px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.4);
}

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

body {
    font-family: 'URW Dock', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-app);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* ============ App Shell ============ */
.app-shell {
    display: flex;
    min-height: 100vh;
}

/* ============ Sidebar ============ */
.sidebar {
    width: var(--sidebar-width-collapsed);
    background: linear-gradient(180deg, #f4012b 0%, #c00121 50%, #8a0118 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-lg) 0;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    z-index: 100;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar:hover,
.sidebar.pinned {
    width: var(--sidebar-width);
}

/* Subtle pattern overlay */
.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 40%);
    pointer-events: none;
}

/* Animated accent line */
.sidebar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(255,255,255,0.3) 20%,
        rgba(255,255,255,0.5) 50%,
        rgba(255,255,255,0.3) 80%,
        transparent 100%);
}

.sidebar-logo {
    width: 56px;
    height: 56px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.sidebar-logo:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.sidebar-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.sidebar-logo:hover .sidebar-logo-img {
    transform: rotate(360deg) scale(1.1);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    width: 100%;
    padding: 0 var(--space-sm);
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.sidebar-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-sm);
    color: var(--text-primary);
    text-decoration: none;
    font-family: 'Apex', sans-serif;
    font-size: 14px;
    transition: all 0.25s ease;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    width: 100%;
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.sidebar:hover .sidebar-item,
.sidebar.pinned .sidebar-item {
    justify-content: flex-start;
}

.sidebar-item span {
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    position: absolute;
    left: 44px;
}

.sidebar:hover .sidebar-item span,
.sidebar.pinned .sidebar-item span {
    opacity: 1;
    transform: translateX(0);
    position: relative;
    left: auto;
}

.sidebar:hover .sidebar-item:hover span,
.sidebar.pinned .sidebar-item:hover span {
    transform: translateX(3px);
}

/* Tooltip for collapsed sidebar */
.sidebar-item::after {
    content: attr(data-tooltip);
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%) scale(0.9);
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.sidebar:not(:hover):not(.pinned) .sidebar-item:hover::after {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

/* Hover glow effect */
.sidebar-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: #fff;
    border-radius: 0 2px 2px 0;
    transition: height 0.25s ease;
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.sidebar-item-icon {
    width: 24px;
    font-size: 18px;
    text-align: center;
    color: rgba(255,255,255,0.9);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.sidebar-item:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.sidebar-item:hover::before {
    height: 60%;
}

.sidebar-item:hover .sidebar-item-icon {
    color: #ffffff;
    transform: scale(1.15);
}

.sidebar-item.active {
    background: rgba(0, 0, 0, 0.25);
    color: #ffffff;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.2);
}

.sidebar-item.active::before {
    height: 70%;
    box-shadow: 0 0 15px rgba(255,255,255,0.7);
}

.sidebar-item.active .sidebar-item-icon {
    color: #ffffff;
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.5));
}

/* Admin item special styling */
.sidebar-item.sidebar-item-admin {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: var(--space-lg);
    border-radius: 0;
}

.sidebar-item.sidebar-item-admin .sidebar-item-icon {
    color: #fbbf24;
    filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.4));
}

.sidebar-item.sidebar-item-admin:hover .sidebar-item-icon {
    color: #fcd34d;
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.6));
    transform: scale(1.15) rotate(90deg);
}

.sidebar-item.sidebar-item-admin.active .sidebar-item-icon {
    color: #fbbf24;
}

/* Bottom branding */
.sidebar-footer {
    position: relative;
    z-index: 1;
    padding: var(--space-md);
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    width: 100%;
}

.sidebar-version {
    font-size: 10px;
    color: rgba(255,255,255,0.4);
    font-family: 'Apex', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.sidebar:hover .sidebar-version,
.sidebar.pinned .sidebar-version {
    opacity: 1;
}

/* Pin Button */
.sidebar-pin-btn {
    position: absolute;
    top: var(--space-md);
    right: var(--space-sm);
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    z-index: 10;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar:hover .sidebar-pin-btn,
.sidebar.pinned .sidebar-pin-btn {
    opacity: 1;
    transform: scale(1);
}

.sidebar-pin-btn:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(255,255,255,0.3);
    color: #fff;
}

.sidebar.pinned .sidebar-pin-btn {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}

.sidebar.pinned .sidebar-pin-btn i {
    transform: rotate(45deg);
}

.sidebar-pin-btn i {
    transition: transform 0.3s ease;
}

/* Close Button (mobile only - hidden on desktop) */
.sidebar-close-btn {
    display: none;
}

/* Sidebar Overlay (mobile only - hidden on desktop) */
.sidebar-overlay {
    display: none;
}

/* ============ Main Content Area ============ */
.main-wrapper {
    flex: 1;
    margin-left: var(--sidebar-width-collapsed);
    display: flex;
    flex-direction: column;
    transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.sidebar-pinned .main-wrapper {
    margin-left: var(--sidebar-width);
}

/* ============ Topbar ============ */
.topbar {
    height: var(--topbar-height);
    background: linear-gradient(90deg, #0a0a0a 0%, #0d0d0d 50%, #0a0a0a 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-xl);
    position: fixed;
    top: 0;
    left: var(--sidebar-width-collapsed);
    right: 0;
    z-index: 50;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    overflow: visible;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.sidebar-pinned .topbar {
    left: var(--sidebar-width);
}

/* Subtle corner accents */
.topbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(244, 1, 43, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 0%, rgba(244, 1, 43, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    position: relative;
    z-index: 1;
}

.hamburger {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.hamburger:hover {
    background: rgba(244, 1, 43, 0.2);
    border-color: rgba(244, 1, 43, 0.5);
}

.topbar-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    z-index: 1;
}

.topbar-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    position: relative;
}

.topbar-logo-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    background: radial-gradient(ellipse at center, rgba(244, 1, 43, 0) 0%, rgba(244, 1, 43, 0) 100%);
    transition: all 0.3s ease;
}

.topbar-logo-link:hover::before {
    background: radial-gradient(ellipse at center, rgba(244, 1, 43, 0.15) 0%, rgba(244, 1, 43, 0) 70%);
}

.topbar-logo-link:hover {
    transform: translateX(-50%) scale(1.02);
}

.topbar-center:hover .topbar-logo-link {
    transform: scale(1.02);
}

.topbar-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
    transition: all 0.3s ease;
}

.topbar-logo-link:hover .topbar-logo {
    filter: drop-shadow(0 4px 12px rgba(244, 1, 43, 0.3));
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 9999;
}

/* Desktop overrides - ensure mobile styles don't leak */
@media (min-width: 769px) {
    .topbar-right {
        gap: 30px;
    }

    .topbar-btn {
        width: auto;
        height: auto;
        padding: 8px 16px;
        border-radius: 8px;
    }

    .topbar-btn span {
        display: inline;
    }

    .admin-btn {
        width: auto;
        height: auto;
    }
}

/* ============ Topbar Buttons ============ */
.topbar-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

.topbar-btn i {
    font-size: 1rem;
}

.topbar-btn span {
    white-space: nowrap;
}

.profile-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.profile-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.admin-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.admin-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.signout-btn {
    background: rgba(244, 1, 43, 0.15);
    border: 1px solid rgba(244, 1, 43, 0.3);
    color: #f4012b;
}

.signout-btn:hover {
    background: rgba(244, 1, 43, 0.25);
    border-color: rgba(244, 1, 43, 0.5);
    color: #ff3355;
}

.signin-btn {
    background: linear-gradient(135deg, #f4012b 0%, #c00121 100%);
    border: 1px solid #f4012b;
    color: #ffffff;
}

.signin-btn:hover {
    background: linear-gradient(135deg, #ff2d4f 0%, #f4012b 100%);
    box-shadow: 0 0 15px rgba(244, 1, 43, 0.4);
    color: #ffffff;
}

/* ============ Banner ============ */
.banner {
    background: var(--bg-accent);
    color: var(--text-primary);
    padding: var(--space-sm) var(--space-xl);
    text-align: center;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}

/* ============ Main Content ============ */
.main-content {
    flex: 1;
    padding: var(--space-xl);
    padding-top: calc(var(--topbar-height) + var(--space-xl));
}

/* ============ Components ============ */
.card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
}

.card:hover {
    border-color: var(--border-light);
}

.btn {
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}

.btn-primary {
    background: var(--bg-accent);
    color: var(--text-primary);
}

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

.btn-success {
    background: var(--bg-success);
    color: var(--text-primary);
}

.btn-success:hover {
    background: var(--bg-success-hover);
}

.chip {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 600;
    background: rgba(255,255,255,0.1);
    color: var(--text-secondary);
}

.tabs {
    display: flex;
    gap: var(--space-sm);
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--space-xl);
}

.tab {
    padding: var(--space-md) var(--space-lg);
    color: var(--text-secondary);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.tab:hover {
    color: var(--text-primary);
}

.tab.active {
    color: var(--text-primary);
    border-bottom-color: var(--bg-accent);
}

/* ============ Grid Layouts ============ */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

/* ============ Notification Bell ============ */
.notification-bell {
    position: relative;
    z-index: 9999;
}

.bell-btn {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
}

.bell-btn:hover {
    background: rgba(244, 1, 43, 0.2);
    border-color: rgba(244, 1, 43, 0.5);
    transform: scale(1.05);
}

.bell-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #f4012b;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #0d0d0d;
}

.notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 12px;
    width: 360px;
    max-height: 480px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 99999;
    overflow: hidden;
}

.dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid #333;
    background: #0d0d0d;
}

.dropdown-header h3 {
    font-family: 'Apex', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    color: #fff;
}

.mark-all-btn {
    background: none;
    border: none;
    color: #888;
    font-size: 12px;
    cursor: pointer;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
}

.mark-all-btn:hover {
    color: #f4012b;
}

.dropdown-content {
    max-height: 340px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    text-decoration: none;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s;
}

.notification-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.notification-item.unread {
    background: rgba(244, 1, 43, 0.08);
    border-left: 3px solid #f4012b;
}

.notification-item.unread:hover {
    background: rgba(244, 1, 43, 0.12);
}

.notif-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}

.notif-icon.icon-prize { background: rgba(251, 191, 36, 0.2); color: #fbbf24; }
.notif-icon.icon-payout { background: rgba(46, 204, 113, 0.2); color: #2ecc71; }
.notif-icon.icon-warning { background: rgba(241, 196, 15, 0.2); color: #f1c40f; }
.notif-icon.icon-ban { background: rgba(244, 1, 43, 0.2); color: #f4012b; }
.notif-icon.icon-report { background: rgba(155, 89, 182, 0.2); color: #9b59b6; }
.notif-icon.icon-system { background: rgba(52, 152, 219, 0.2); color: #3498db; }
.notif-icon.icon-queue { background: rgba(230, 126, 34, 0.2); color: #e67e22; }
.notif-icon.icon-tournament { background: rgba(255, 215, 0, 0.2); color: #ffd700; }
.notif-icon.icon-team-invite { background: rgba(59, 130, 246, 0.2); color: #3b82f6; }
.notif-icon.icon-team { background: rgba(16, 185, 129, 0.2); color: #10b981; }

.notification-item.has-actions {
    flex-direction: column;
    align-items: flex-start;
}

.notification-item.has-actions .notif-icon {
    margin-bottom: 8px;
}

.notification-item.has-actions .notif-content {
    width: 100%;
}

.notif-body {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 2px;
    line-height: 1.4;
    white-space: normal;
}

.notif-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    width: 100%;
    position: relative;
    z-index: 10;
}

.notif-btn {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.2s;
    pointer-events: auto;
    position: relative;
}

.notif-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.notif-btn-accept {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
}

.notif-btn-accept:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.notif-btn-deny {
    background: rgba(244, 1, 43, 0.15);
    color: #f4012b;
    border: 1px solid rgba(244, 1, 43, 0.3);
}

.notif-btn-deny:hover:not(:disabled) {
    background: rgba(244, 1, 43, 0.25);
}

.notif-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    font-size: 11px;
    color: #3b82f6;
    text-decoration: none;
}

.notif-link:hover {
    color: #60a5fa;
    text-decoration: underline;
}

.notif-content {
    flex: 1;
    min-width: 0;
}

.notif-title {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notif-time {
    display: block;
    font-size: 11px;
    color: #888;
    margin-top: 2px;
}

.empty-state, .loading-state {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.empty-state i, .loading-state i {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
}

.empty-state p {
    margin: 0;
    font-size: 13px;
}

.dropdown-footer {
    padding: 12px 16px;
    border-top: 1px solid #333;
    background: #0d0d0d;
    text-align: center;
}

.view-all-link {
    color: #f4012b;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: color 0.2s;
}

.view-all-link:hover {
    color: #ff3355;
}

/* Scrollbar for dropdown */
.dropdown-content::-webkit-scrollbar {
    width: 6px;
}

.dropdown-content::-webkit-scrollbar-track {
    background: transparent;
}

.dropdown-content::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 3px;
}

.dropdown-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* ============ Site Footer ============ */
.site-footer {
    background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
    border-top: 1px solid #222;
    padding: 3rem 2rem 1.5rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

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

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    padding-right: 2rem;
    justify-content: center;
    align-items: center;
}

.footer-logo {
    height: auto;
    width: 160px;
    max-width: 160px;
    object-fit: contain;
    margin: 0;
    display: block;
}

.footer-tagline {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.footer-socials {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.footer-socials a {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 0.9rem;
    transition: all 0.2s;
    flex-shrink: 0;
}

.footer-socials a:hover {
    background: rgba(244, 1, 43, 0.15);
    border-color: #f4012b;
    color: #f4012b;
    transform: translateY(-2px);
}

.footer-title {
    font-family: 'Apex', 'Apex-Black', sans-serif;
    font-size: 0.85rem;
    color: #fff;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

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

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

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a i {
    font-size: 0.8rem;
    width: 16px;
    text-align: center;
}

.footer-links a:hover {
    color: #f4012b;
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-copyright {
    color: #555;
    font-size: 0.8rem;
    margin: 0 0 0.35rem 0;
}

.footer-disclaimer {
    color: #444;
    font-size: 0.7rem;
    margin: 0;
}

