:root {
    --eastern: #FF6B6B;
    --central: #4ECDC4;
    --mountain: #FFE66D;
    --pacific: #95E1D3;
    --alaska: #DDA0DD;
    --hawaii: #F38181;
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a25;
    --text-primary: #ffffff;
    --text-secondary: #8a8a9a;
    --accent-glow: rgba(78, 205, 196, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.65;
}

.bg-gradient {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(78, 205, 196, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(255, 107, 107, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 230, 109, 0.05) 0%, transparent 70%);
    pointer-events: none; z-index: 0;
}

.noise-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.03; pointer-events: none; z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.container {
    position: relative; z-index: 2;
    max-width: 1400px; margin: 0 auto; padding: 0 24px;
}

header.site-header {
    padding: 32px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--pacific), var(--eastern));
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 24px; animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(78, 205, 196, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 0 30px rgba(78, 205, 196, 0.5); }
}
.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem; font-weight: 600;
    background: linear-gradient(135deg, #fff, #aaa);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
nav.main-nav { display: flex; gap: 32px; }
nav.main-nav a {
    color: var(--text-secondary); text-decoration: none;
    font-size: 0.95rem; transition: all 0.3s ease; position: relative;
}
nav.main-nav a:hover { color: var(--text-primary); }
nav.main-nav a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--pacific), var(--eastern));
    transition: width 0.3s ease;
}
nav.main-nav a:hover::after { width: 100%; }

main.page {
    padding: 60px 0 40px;
}
.page-hero { text-align: center; margin-bottom: 48px; }
.page-hero .badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px;
    background: rgba(78, 205, 196, 0.1);
    border: 1px solid rgba(78, 205, 196, 0.2);
    border-radius: 100px;
    font-size: 0.85rem; color: var(--pacific);
    margin-bottom: 24px;
}
.page-hero .badge::before {
    content: ''; width: 8px; height: 8px;
    background: var(--pacific); border-radius: 50%;
}
.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700; line-height: 1.15;
    margin-bottom: 16px;
}
.page-hero h1 span {
    background: linear-gradient(135deg, var(--pacific), var(--central), var(--eastern));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.page-hero .lede {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto;
}
.last-reviewed {
    display: inline-block;
    margin-top: 18px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.prose {
    max-width: 820px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.02rem;
}
.prose h2 {
    font-family: 'Playfair Display', serif;
    color: var(--text-primary);
    font-size: 1.65rem;
    margin: 40px 0 14px;
    line-height: 1.25;
}
.prose h3 {
    font-family: 'Playfair Display', serif;
    color: var(--text-primary);
    font-size: 1.2rem;
    margin: 28px 0 10px;
}
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol {
    margin: 0 0 18px 22px;
}
.prose li { margin-bottom: 6px; }
.prose a {
    color: var(--pacific);
    text-decoration: none;
    border-bottom: 1px solid rgba(149, 225, 211, 0.3);
    transition: border-color 0.2s ease;
}
.prose a:hover { border-bottom-color: var(--pacific); }
.prose strong { color: var(--text-primary); }
.prose code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.92em;
    padding: 1px 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    color: var(--pacific);
}
.prose blockquote {
    margin: 18px 0;
    padding: 14px 20px;
    background: rgba(78, 205, 196, 0.06);
    border-left: 3px solid var(--pacific);
    border-radius: 8px;
    color: var(--text-secondary);
}

.callout {
    margin: 24px 0;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
}
.callout h3 {
    margin-top: 0;
    color: var(--text-primary);
    font-family: 'Playfair Display', serif;
}

.zone-table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0 24px;
    font-size: 0.95rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
}
.zone-table th, .zone-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.zone-table th {
    color: var(--text-primary);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.zone-table tr:last-child td { border-bottom: none; }
.zone-table code { white-space: nowrap; }

footer.site-footer {
    padding: 48px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    margin-top: 60px;
}
.footer-text { color: var(--text-secondary); font-size: 0.9rem; }
.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 18px;
}
.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}
.footer-links a:hover { color: var(--pacific); }

@media (max-width: 768px) {
    nav.main-nav { display: none; }
    .footer-links { gap: 14px 18px; }
}
