@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&display=swap');

/* ============================================
   INFRASTRUCTURE POWER - DEEP SAPPHIRE THEME[cite: 2]
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: #0c1a3d !important; 
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

header { 
    background-color: #0F52BA; 
    padding: 60px 20px 40px;
    text-align: center;
    width: 100%;
    border-bottom: 5px solid #fcd116; 
}

body.home-bg {
    background: linear-gradient(rgba(12, 26, 61, 0.9), rgba(12, 26, 61, 0.9)), 
                url('LM-logo.jpg') no-repeat center center fixed;
    background-size: cover;
}

.logo {
    font-size: 5.5rem;
    font-weight: 900;
    color: #FFFFFF !important;
    text-decoration: none;
    display: inline-block;
    letter-spacing: -4px;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

nav { display: flex; justify-content: center; }
.nav-links { display: flex; list-style: none; gap: 10px; }

.nav-links a {
    text-decoration: none;
    color: #FFFFFF !important;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 6px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.container { 
    max-width: 1200px; 
    margin: 30px auto; 
    padding: 25px; 
    background: linear-gradient(180deg, #0F52BA 0%, #0c1a3d 100%);
    border-top: 5px solid #fcd116;
    border-radius: 15px;
}

.data-block {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
}

/* ============================================
   ETIORICA TRACKER - AS PROVIDED[cite: 1]
   ============================================ */

.hero-tracker {
    padding: 1.5rem;
    background: #f0f2f5;
    width: 100%;
}

.tracker-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

th {
    background: #eee;
    color: #333;
    padding: 12px 10px;
    text-align: left;
}

td {
    padding: 10px;
    font-weight: 700;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.row-green { background-color: #009b3a; color: white; }
.row-yellow { background-color: #ffff00; color: #111; }
.row-red { background-color: #ff0000; color: white; }
.row-total { background: #111 !important; color: #ffff00 !important; border-top: 2px solid white; }

.view-cell {
    text-align: right;
    font-weight: 900;
    font-family: monospace;
    transition: all 0.05s linear;
}

.view-cell.scale-up {
    animation: cellPop 0.45s ease-out;
}

@keyframes cellPop {
    0% { transform: scale(1); }
    40% { transform: scale(1.2); background-color: rgba(255,255,255,0.5); border-radius: 8px; }
    100% { transform: scale(1); }
}

.live-status {
    text-align: center;
    color: #333;
    margin-top: 12px;
    font-weight: 900;
    font-size: 0.9rem;
    animation: pulse 2s infinite;
}

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* RESPONSIVE BREAKPOINTS[cite: 1, 2] */
@media (max-width: 768px) {
    .hero-image img { max-width: 95%; max-height: 300px; }
    .hero-content { padding: 1.5rem; }
    .hero-content h2 { font-size: 1.5rem; }
    table { font-size: 0.75rem; }
    .nav-menu { justify-content: center; margin-top: 0.5rem; }
    .logo { font-size: 3.5rem; }
}

@media (max-width: 480px) {
    .hero-image img { max-height: 220px; }
    .hero-content { padding: 1rem; }
}