html {
    scroll-behavior: smooth;
}

.emag-dropcap::first-letter {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 800;
    font-size: 4.8rem;
    float: left;
    line-height: 0.8;
    margin-right: 0.6rem;
    margin-top: 0.4rem;
    color: #0288D1;
    text-shadow: 2px 2px 0px #E1F5FE;
}

.ambient-grid {
    background-image: radial-gradient(rgba(2, 136, 209, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
}

.progress-bar {
    height: 4px;
    background: linear-gradient(90deg, #B3E5FC, #0288D1, #00B0FF);
    width: 0%;
    position: fixed;
    top: 45px;
    left: 0;
    z-index: 99998;
    transition: width 0.1s ease-out;
}

body { margin-top: 45px; }
.sp-sticky-header {
    position: fixed !important; 
    top: 0 !important; 
    left: 0 !important; 
    width: 100%; 
    height: 45px !important;
    background-color: #000 !important; 
    display: flex !important; 
    align-items: center !important; 
    justify-content: space-between !important;
    z-index: 99999 !important; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.5) !important; 
}
.left-group, .right-group { display: flex; align-items: center; height: 100%; }
.sp-back-to-soha-new {
    display: flex; align-items: center; justify-content: center; 
    width: 45px; height: 45px;
    background-color: #007f74; color: white; font-size: 18px; cursor: pointer;
}
.sp-back-to-soha-new:hover { background-color: #00665d; }
.emg-icon-svg { fill: currentColor; width: 20px; height: 20px; }
.sp-mag-logo-new { margin-left: 15px; display: flex; align-items: center; }
.sp-mag-logo-new img { height: 24px; width: auto; display: block; }
.center-logo {
    position: absolute; left: 50%; transform: translateX(-50%); 
    pointer-events: none; user-select: none;
    display: flex; align-items: center; justify-content: center;
}
.center-logo img { height: 26px; width: auto; display: block; }
.mobile-emag-logo { display: none; height: 24px; width: auto; margin-right: 15px; }
.fb-custom-btn {
    display: flex; align-items: center; gap: 6px; color: white; 
    font-size: 13px; font-weight: bold; cursor: pointer; opacity: 0.9; margin-right: 15px;
}
.fb-custom-btn:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 768px) { 
    .center-logo, .fb-custom-btn { display: none !important; } 
    .mobile-emag-logo { display: block !important; }
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(179, 229, 252, 0.4);
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F8F9FA;
}
::-webkit-scrollbar-thumb {
    background: #B3E5FC;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #0288D1;
}

.font-mono-tech {
    font-family: 'JetBrains Mono', monospace;
}

.glass-panel {
    background: rgba(10, 15, 30, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glow-cyan { filter: drop-shadow(0 0 6px rgba(6, 182, 212, 0.8)); }
.glow-yellow { filter: drop-shadow(0 0 6px rgba(234, 179, 8, 0.8)); }
.glow-purple { filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.8)); }
.glow-red { filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.8)); }
.glow-pink { filter: drop-shadow(0 0 6px rgba(236, 72, 153, 0.8)); }

.leaflet-tooltip-custom {
    background: rgba(8, 12, 24, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #f8fafc !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 11px !important;
    padding: 6px 12px !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.7) !important;
    letter-spacing: 0.02em;
}
.leaflet-tooltip-custom::before {
    border-top-color: rgba(8, 12, 24, 0.95) !important;
}

.leaflet-tooltip-bridge {
    background: rgba(15, 23, 42, 0.95) !important;
    border: 1px solid #38bdf8 !important;
    color: #38bdf8 !important;
    font-weight: 800 !important;
    font-size: 11px !important;
    letter-spacing: 0.06em;
    border-radius: 6px !important;
    padding: 4px 8px !important;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.25) !important;
}

.status-dot-pulse {
    animation: status-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes status-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .4; transform: scale(1.15); }
}

.transition-premium { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.train-3d-shadow { filter: drop-shadow(0 4px 6px rgba(0,0,0,0.6)); }

.metro-scrollbar::-webkit-scrollbar { width: 5px; height: 5px; }
.metro-scrollbar::-webkit-scrollbar-track { background: #090d1a; }
.metro-scrollbar::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 99px; }
.metro-scrollbar::-webkit-scrollbar-thumb:hover { background: #334155; }