/* MintShovels shared chrome (header+footer) — single source of truth.
   Mirrors index.html header/footer exactly. ALL pages link this file.
   DO NOT duplicate .nav*/.footer* CSS inline in any page. */

:root {
--bg-primary: #0a0e17;
            --bg-secondary: #111827;
            --bg-card: #1a1f2e;
            --bg-card-hover: #1f2638;
            --border: #2a3040;
            --border-light: #374151;
            --text-primary: #f1f5f9;
            --text-secondary: #94a3b8;
            --text-muted: #64748b;
            --accent: #3b82f6;
            --accent-light: #60a5fa;
            --accent-glow: rgba(59,130,246,0.3);
            --green: #22c55e;
            --green-bg: rgba(34,197,94,0.1);
            --yellow: #f59e0b;
            --yellow-bg: rgba(245,158,11,0.1);
            --red: #ef4444;
            --red-bg: rgba(239,68,68,0.1);
            --purple: #8b5cf6;
            --gradient-1: linear-gradient(135deg, #3b82f6, #8b5cf6);
            --gradient-2: linear-gradient(135deg, #06b6d4, #3b82f6);
            --radius: 12px;
            --radius-lg: 20px;
            --shadow: 0 4px 24px rgba(0,0,0,0.3);
            --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

.nav {
position: fixed;
            top: 0; left: 0; right: 0;
            z-index: 100;
            padding: 16px 24px;
            background: rgba(10,14,23,0.85);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: space-between;
}

.nav-logo {
display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 800;
            font-size: 20px;
            background: var(--gradient-1);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-decoration: none;
}

.nav-logo-icon {
font-size: 26px; display: inline-flex;
}

.logo-box {
display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 34px;
            height: 34px;
            border-radius: 9px;
            background: linear-gradient(135deg, #3b82f6, #8b5cf6);
            box-shadow: 0 2px 10px rgba(59,130,246,0.45);
            font-weight: 900;
            font-size: 22px;
            line-height: 1;
            margin-right: 2px;
}

.logo-box .logo-m {
background: linear-gradient(135deg, #22d3ee, #a855f7);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
}

.nav-links {
display: flex; gap: 30px; align-items: center;
}

.nav-link {
position: relative;
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 16px;
            font-weight: 700;
            letter-spacing: -0.01em;
            padding: 4px 0;
            transition: color .2s ease;
}

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

.nav-link::after {
content: '';
            position: absolute;
            left: 0; bottom: -2px;
            width: 100%; height: 2px;
            background: var(--accent-light);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform .25s ease;
            border-radius: 2px;
}

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

.nav-item {
position: relative;
}

.nav-item > .nav-link {
cursor: pointer;
}

.mega {
position: absolute;
            top: calc(100% + 14px);
            left: 0;
            min-width: 240px;
            max-width: 320px;
            background: rgba(17,24,39,0.97);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(42,48,64,0.6);
            border-radius: 10px;
            padding: 8px;
            display: flex;
            flex-direction: column;
            gap: 1px;
            box-shadow: 0 16px 40px rgba(0,0,0,0.5);
            opacity: 0;
            visibility: hidden;
            transform: translateY(6px);
            transition: opacity .18s ease, transform .18s ease, visibility .18s;
            z-index: 200;
}

.nav-item .mega {
left: auto; right: 0;
}

.nav-item:hover .mega,
        .nav-item.open .mega {
opacity: 1; visibility: visible; transform: translateY(0);
}

.mega::before {
content: '';
            position: absolute;
            top: -14px; left: 0; right: 0; height: 14px;
}

.mega-col-title {
font-size: 11px;
            font-weight: 700;
            letter-spacing: .08em;
            text-transform: uppercase;
            color: var(--text-muted);
            margin: 6px 10px 3px;
}

.mega-col-title:first-child {
margin-top: 2px;
}

.mega a {
display: block;
            padding: 9px 12px;
            border-radius: 8px;
            text-decoration: none;
            color: var(--text-secondary);
            font-size: 14px;
            font-weight: 500;
            white-space: nowrap;
            transition: background .15s ease, color .15s ease;
}

.mega a:hover {
background: rgba(59,130,246,0.14);
            color: var(--text-primary);
}

.footer {
position: relative;
            z-index: 1;
            border-top: 1px solid var(--border);
            background: var(--bg-secondary);
            padding: 56px 24px 32px;
            color: var(--text-muted);
            font-size: 13px;
}

.footer-inner {
max-width: 1120px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
            gap: 36px;
}

.footer-brand .f-logo {
display: flex; align-items: center; gap: 10px;
            font-weight: 800; font-size: 18px; margin-bottom: 12px;
            background: var(--gradient-1);
            -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.footer-brand p {
font-size: 13px; line-height: 1.6; max-width: 240px; color: var(--text-secondary);
}

.footer-col h4 {
font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--text-primary); margin: 0 0 14px;
}

.footer-col a {
display: block; color: var(--text-secondary); text-decoration: none; font-size: 13px; margin-bottom: 10px; transition: var(--transition);
}

.footer-col a:hover {
color: var(--accent-light);
}

.footer-col .morefrom-title {
margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border);
}

.footer-bottom {
max-width: 1120px;
            margin: 40px auto 0;
            padding-top: 22px;
            border-top: 1px solid var(--border);
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            justify-content: space-between;
            align-items: center;
            font-size: 13px;
            color: var(--text-secondary);
}

.footer-bottom a {
color: var(--text-secondary); text-decoration: none;
}

.footer-bottom a:hover {
color: var(--text-primary);
}

@media (max-width: 820px) {
.footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
            .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
.hero { padding: 120px 16px 48px; }
            .hero h1 { font-size: 30px; }
            .search-box { flex-direction: column; border-radius: var(--radius); }
            .search-btn { justify-content: center; border-radius: 0 0 var(--radius) var(--radius); }
            .score-card { flex-direction: column; text-align: center; padding: 28px 20px; }
            .score-details .summary-stats { justify-content: center; }
            .trust-bar { gap: 24px; }
            .category-tabs { gap: 6px; }
            .cat-tab { padding: 8px 14px; font-size: 12px; }
            .nav-burger { display:flex; flex-direction:column; justify-content:center; gap:5px; width:42px; height:42px; padding:0; margin-left:8px; background:rgba(59,130,246,.12); border:1px solid var(--border); border-radius:10px; cursor:pointer; }
            .nav-burger span { display:block; width:20px; height:2px; margin:0 auto; background:var(--text); border-radius:2px; transition:transform .25s ease, opacity .2s ease; }
            .nav-burger.active span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
            .nav-burger.active span:nth-child(2){ opacity:0; }
            .nav-burger.active span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
            .nav-links { display:none; position:absolute; top:calc(100% + 1px); left:0; right:0; flex-direction:column; align-items:stretch; gap:0; background:rgba(10,14,23,.98); backdrop-filter:blur(20px); border-bottom:1px solid var(--border); padding:10px 16px 18px; }
            .nav-links.open { display:flex; }
            .nav-item { position:relative; }
            .nav-item > .nav-link { font-size:16px; padding:14px 6px; border-bottom:1px solid rgba(42,48,64,.5); }
            .nav-item .mega { position:static; opacity:1; visibility:visible; transform:none; box-shadow:none; border:none; background:transparent; padding:0 0 8px 12px; display:none; }
            .nav-item.open .mega { display:flex; }
            .mega a { padding:11px 12px; font-size:15px; white-space:normal; }
            .mega-col-title { margin:10px 12px 4px; }
}
