/* Tatva Vigyan - Official Design Tokens */
:root {
    /* Primary Branding */
    --forest-green: #0a2e2a;      /* Trust & Purity */
    --gold: #d4af37;              /* Premium Verified Badge */
    --obsidian: #05070a;          /* Main Background */
    --lab-grey: #e0e4e8;          /* Scientific Text Color */

    /* Traffic Light Hazard Levels */
    --safe-green: #2ecc71;        /* Natural/Vedic Safe */
    --amber-caution: #f39c12;     /* Moderate Risk */
    --toxic-red: #e74c3c;         /* High Hazard/Ban */

    /* Typography */
    --font-main: 'Montserrat', sans-serif;
}

body {
    background-color: var(--obsidian);
    color: var(--lab-grey);
    font-family: var(--font-main);
    margin: 0;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent; /* Mobile smoothness */
}
/* Quick Indicator Classes */
.status-safe { border-left: 5px solid var(--safe-green); }
.status-warn { border-left: 5px solid var(--amber-caution); }
.status-danger { border-left: 5px solid var(--toxic-red); }
/* Nav Items with Glowing Hover */
.nav-item {
    color: var(--lab-grey);
    font-size: 11px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1.5px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Cursor Hover Effect */
.nav-item:hover {
    color: var(--gold);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
    background: rgba(212, 175, 55, 0.05); /* Very subtle gold fill */
}

/* Tab Underline Pulse (For Active Tab) */
.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15%;
    width: 70%;
    height: 2px;
    background: var(--gold);
    box-shadow: 0 0 15px var(--gold), 0 0 5px white;
}
/* Action Card Interactive Glow */
.action-card {
    transition: all 0.5s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.action-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--gold);
    box-shadow: 0 15px 40px rgba(10, 46, 42, 0.8), 0 0 20px rgba(212, 175, 55, 0.2);
}

/* Glowing Border Animation on Card */
.action-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, transparent, transparent, var(--gold));
    animation: rotateGlow 4s linear infinite;
    opacity: 0;
    transition: opacity 0.5s;
    z-index: -1;
}

.action-card:hover::before {
    opacity: 0.3;
}

@keyframes rotateGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Button Fill Effect */
.pulse-btn:hover {
    background: #fff !important;
    color: #000 !important;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}
:root {
    --obsidian-dark: #0d1117;     /* Thoda light black (Soft Charcoal) */
    --card-bg: #161b22;           /* Cards ke liye alag black taaki wo dikhein */
    --forest-green: #0a2e2a; 
    --gold: #ffcc33;              /* Jyada bright Gold */
    --lab-white: #f0f6fc;         /* Pure white se behtar grey-white (Eye friendly) */
    --text-dim: #8b949e;          /* Secondary text ke liye */
}

body {
    background-color: var(--obsidian-dark);
    color: var(--lab-white);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
}

/* Isse text chamkega */
h1, h2, h3, h4 {
    color: var(--lab-white);
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.1); 
}
:root {
    --gold: #D4AF37;
    --emerald: #00e676;
    --obsidian: #010807;
    --glass: rgba(255,255,255,0.03);
}

/* Legendary Rank Animation */
.user-rank {
    font-size: clamp(24px, 8vw, 32px); /* Responsive size */
    font-weight: 900;
    margin: 15px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(to right, #fff 20%, var(--gold) 40%, #f3e5ab 60%, #fff 80%);
    background-size: 200% auto;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
    animation: shine 4s linear infinite;
    display: inline-block;
    width: 100%;
}

@keyframes shine {
    to { background-position: 200% center; }
}

/* Reset & Helper Classes */
body { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
.hidden { display: none !important; }