/* ═══════════════════════════════════════════════════════════════════════════════
   HEADER.CSS - Premium & Luxury Tasarım (#5)
   90 Dakika Analiz - 2026
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────────────
   SKIP LINK (Erişilebilirlik)
   ───────────────────────────────────────────────────────────────────────────── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary, #4ade80);
    color: #000;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 0 0 8px 8px;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   SITE HEADER - Ana Container
   ───────────────────────────────────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 85px;
    background: linear-gradient(180deg,
        rgba(15, 15, 15, 0.98) 0%,
        rgba(10, 10, 10, 0.95) 100%
    );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    background-clip: padding-box;
    transition: all 0.3s ease;
}

/* Premium gradient border */
.site-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(74, 222, 128, 0.3) 20%,
        rgba(74, 222, 128, 0.6) 50%,
        rgba(74, 222, 128, 0.3) 80%,
        transparent 100%
    );
}

/* Scrolled state */
.site-header.scrolled {
    height: 70px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* ─────────────────────────────────────────────────────────────────────────────
   LOGO - Gradient Border Emblem Style
   ───────────────────────────────────────────────────────────────────────────── */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-emblem {
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Gradient border effect */
.logo-emblem::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, #4ade80, #22c55e, #15803d);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.logo-emblem-inner {
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.9);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: #4ade80;
    letter-spacing: -1px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo-subtitle {
    font-size: 0.65rem;
    font-weight: 500;
    color: rgba(74, 222, 128, 0.8);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* ─────────────────────────────────────────────────────────────────────────────
   NAVIGATION - Premium Uppercase Style
   ───────────────────────────────────────────────────────────────────────────── */
.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    position: relative;
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Hover underline animation */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: #4ade80;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: #fff;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

/* Active state */
.nav-link.active {
    color: #4ade80;
}

.nav-link.active::after {
    transform: scaleX(1);
}

/* Focus state for accessibility */
.nav-link:focus-visible {
    outline: 2px solid #4ade80;
    outline-offset: 2px;
}

/* LIVE Badge */
.nav-live-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 4px;
    animation: livePulse 1.5s ease infinite;
}

@keyframes livePulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }
    50% {
        opacity: 0.9;
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
    }
}

/* VIP Badge - Orange glow */
.nav-vip-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 4px;
    position: relative;
}

.nav-vip-badge::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 6px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    opacity: 0;
    filter: blur(8px);
    animation: vipGlow 2s ease infinite;
    z-index: -1;
}

@keyframes vipGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   DROPDOWN MENU
   ───────────────────────────────────────────────────────────────────────────── */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: rgba(74, 222, 128, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dropdown-btn:hover {
    background: rgba(74, 222, 128, 0.15);
    border-color: rgba(74, 222, 128, 0.4);
    color: #4ade80;
}

.nav-dropdown-btn i {
    font-size: 0.65rem;
    transition: transform 0.3s ease;
}

.nav-dropdown.active .nav-dropdown-btn i {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: linear-gradient(145deg, #151515, #0f0f0f);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 12px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.nav-dropdown.active .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-dropdown-menu a:hover {
    background: rgba(74, 222, 128, 0.1);
    color: #4ade80;
}

.nav-dropdown-menu a i {
    width: 18px;
    color: #4ade80;
    text-align: center;
}

/* ─────────────────────────────────────────────────────────────────────────────
   HEADER ACTIONS
   ───────────────────────────────────────────────────────────────────────────── */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Notification Bell */
.notification-wrapper {
    position: relative;
}

.notification-btn {
    position: relative;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notification-btn:hover {
    background: rgba(74, 222, 128, 0.1);
    border-color: rgba(74, 222, 128, 0.3);
    color: #4ade80;
}

.notification-btn:hover i {
    animation: bellRing 0.5s ease;
}

@keyframes bellRing {
    0%, 100% { transform: rotate(0); }
    20% { transform: rotate(15deg); }
    40% { transform: rotate(-15deg); }
    60% { transform: rotate(10deg); }
    80% { transform: rotate(-10deg); }
}

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

/* VIP Button - Outline Premium Style */
.btn-vip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid rgba(245, 158, 11, 0.5);
    border-radius: 10px;
    color: #f59e0b;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.btn-vip:hover {
    border-color: #f59e0b;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.btn-vip:hover::before {
    left: 100%;
}

/* Auth Buttons */
.btn-login {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid rgba(74, 222, 128, 0.3);
    border-radius: 10px;
    color: #4ade80;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: rgba(74, 222, 128, 0.1);
    border-color: rgba(74, 222, 128, 0.5);
}

.btn-register {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #4ade80, #22c55e);
    border: none;
    border-radius: 10px;
    color: #0a0a0a;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Shine animation */
.btn-register::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: btnShine 2.5s ease-in-out infinite;
}

@keyframes btnShine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(74, 222, 128, 0.4);
}

/* ─────────────────────────────────────────────────────────────────────────────
   USER MENU
   ───────────────────────────────────────────────────────────────────────────── */
.user-menu {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 10px;
    color: #4ade80;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-btn:hover {
    background: rgba(74, 222, 128, 0.15);
    border-color: rgba(74, 222, 128, 0.4);
}

.user-btn.vip {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
    border-color: rgba(245, 158, 11, 0.3);
    color: #fbbf24;
}

.user-btn.vip:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.1));
    border-color: rgba(245, 158, 11, 0.5);
}

.user-name {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* User Dropdown */
.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 260px;
    background: linear-gradient(145deg, #151515, #0f0f0f);
    border: 1px solid rgba(74, 222, 128, 0.15);
    border-radius: 16px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.user-dropdown-header.vip {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.1));
    border-bottom-color: rgba(245, 158, 11, 0.2);
}

.user-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #4ade80, #22c55e);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: #0a0a0a;
    flex-shrink: 0;
}

.user-avatar.vip {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: 2px solid #fbbf24;
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-info-name {
    font-weight: 600;
    color: #fff;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-info-name.vip {
    color: #fbbf24;
}

.user-info-role {
    font-size: 0.75rem;
    color: #4ade80;
}

.user-info-role.vip {
    color: #f59e0b;
}

.user-dropdown-body {
    padding: 8px 0;
}

.user-dropdown-body a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.user-dropdown-body a:hover {
    background: rgba(74, 222, 128, 0.1);
    color: #fff;
}

.user-dropdown-body a i {
    width: 18px;
    color: #4ade80;
    text-align: center;
}

/* VIP Upsell Link */
.user-dropdown-body a.vip-upsell {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 8px;
    margin: 4px 10px;
    color: #fbbf24;
}

.user-dropdown-body a.vip-upsell:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(245, 158, 11, 0.1));
}

.user-dropdown-body a.vip-upsell i {
    color: #f59e0b;
}

.upsell-badge {
    margin-left: auto;
    padding: 2px 6px;
    background: #f59e0b;
    color: #000;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 4px;
}

.user-dropdown-footer {
    padding: 8px 18px 18px;
}

.btn-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    color: #ef4444;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    background: rgba(239, 68, 68, 0.2);
}

/* ─────────────────────────────────────────────────────────────────────────────
   MOBILE MENU BUTTON
   ───────────────────────────────────────────────────────────────────────────── */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Back Button */
.mobile-back-btn {
    display: none;
    width: 40px;
    height: 40px;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 10px;
    color: #4ade80;
    font-size: 1rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.mobile-back-btn:hover {
    background: rgba(74, 222, 128, 0.2);
    transform: scale(1.05);
}

/* ─────────────────────────────────────────────────────────────────────────────
   MOBILE MENU
   ───────────────────────────────────────────────────────────────────────────── */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background: linear-gradient(180deg, #151515 0%, #0f0f0f 100%);
    z-index: 2000;
    transition: left 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-nav {
    flex: 1;
    padding: 20px 0;
}

.mobile-menu-nav a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.2s ease;
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a.active {
    background: rgba(74, 222, 128, 0.1);
    color: #4ade80;
}

.mobile-menu-nav a i {
    width: 20px;
    color: #4ade80;
    text-align: center;
}

.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu-footer a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 10px;
}

.btn-mobile-login {
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.3);
    color: #4ade80;
}

.btn-mobile-register {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    color: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.btn-mobile-register::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: btnShine 2.5s ease-in-out infinite;
}

.btn-mobile-logout {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.btn-mobile-admin {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}

.btn-mobile-vip {
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.3);
    color: #60a5fa;
}

/* ─────────────────────────────────────────────────────────────────────────────
   NOTIFICATION DROPDOWN
   ───────────────────────────────────────────────────────────────────────────── */
.notification-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 360px;
    max-height: 450px;
    background: linear-gradient(145deg, #151515, #0f0f0f);
    border: 1px solid rgba(74, 222, 128, 0.15);
    border-radius: 16px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

.notification-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notif-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 18px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.notif-header h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notif-header h4 i {
    color: #4ade80;
}

.notif-clear-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.notif-clear-btn:hover {
    color: #ef4444;
}

.notif-list {
    max-height: 340px;
    overflow-y: auto;
}

.notif-list::-webkit-scrollbar {
    width: 4px;
}

.notif-list::-webkit-scrollbar-track {
    background: transparent;
}

.notif-list::-webkit-scrollbar-thumb {
    background: rgba(74, 222, 128, 0.3);
    border-radius: 2px;
}

.notif-item {
    display: flex;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: background 0.2s ease;
}

.notif-item:hover {
    background: rgba(74, 222, 128, 0.05);
}

.notif-item.unread {
    background: rgba(74, 222, 128, 0.08);
    border-left: 3px solid #4ade80;
}

.notif-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notif-icon.success { background: rgba(74, 222, 128, 0.15); color: #4ade80; }
.notif-icon.warning { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.notif-icon.info { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.notif-icon.error { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.notif-icon.vip { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }

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

.notif-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notif-message {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notif-time {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 5px;
}

.notif-empty {
    padding: 40px 20px;
    text-align: center;
}

.notif-empty i {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 10px;
}

.notif-empty p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* ─────────────────────────────────────────────────────────────────────────────
   MAIN CONTENT SPACING
   ───────────────────────────────────────────────────────────────────────────── */
.main-content {
    padding-top: 85px;
    min-height: calc(100vh - 85px);
}

/* ─────────────────────────────────────────────────────────────────────────────
   REDUCED MOTION
   ───────────────────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ─────────────────────────────────────────────────────────────────────────────
   RESPONSIVE - TABLET
   ───────────────────────────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
    .nav-link {
        padding: 8px 12px;
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

    .btn-login,
    .btn-register,
    .btn-vip {
        padding: 8px 14px;
        font-size: 0.75rem;
    }
}

@media (max-width: 992px) {
    .site-header {
        height: 70px;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .main-content {
        padding-top: 70px;
    }

    .btn-login,
    .btn-register {
        display: none;
    }
}

/* ─────────────────────────────────────────────────────────────────────────────
   RESPONSIVE - MOBILE
   ───────────────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .site-header {
        height: 60px;
    }

    .header-inner {
        padding: 0 16px;
    }

    .logo-text {
        display: none;
    }

    .logo-emblem {
        width: 42px;
        height: 42px;
    }

    .mobile-back-btn {
        display: flex;
    }

    .main-content {
        padding-top: 60px;
    }

    .notification-dropdown {
        width: 300px;
        right: -60px;
    }

    .btn-vip {
        padding: 8px 12px;
        font-size: 0.7rem;
    }

    .btn-vip span {
        display: none;
    }
}

@media (max-width: 480px) {
    .notification-dropdown {
        width: calc(100vw - 30px);
        right: -15px;
    }
}
