/* ================================================================
   THEME SWITCHER
   ================================================================ */
.theme-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    gap: 4px;
    padding: 6px 8px;
    border-radius: 8px;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.theme-switcher button {
    padding: 8px 18px;
    border: 1.5px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.2s;
    color: rgba(255,255,255,0.5);
    background: transparent;
    font-family: -apple-system, sans-serif;
}
.theme-switcher button:hover {
    color: white;
}
.theme-switcher button.active {
    color: white;
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
}

/* ================================================================
   RESET
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
a { text-decoration: none; }

/* ================================================================
   SHARED STRUCTURE
   ================================================================ */
body {
    min-height: 100vh;
    transition: background-color 0.5s;
}
.page {
    max-width: 860px;
    margin: 0 auto;
    padding: 80px 32px 120px;
}

/* ================================================================
   NEWSLETTER FALLBACK BUTTON
   ================================================================ */
.newsletter-fallback-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-decoration: none;
    transition: all 0.15s;
    margin-top: 0.5em;
}
.theme-noir .newsletter-fallback-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.85em;
    color: #111;
    background: #c0392b;
    border: 1px solid #c0392b;
}
.theme-noir .newsletter-fallback-btn:hover {
    background: #e74c3c;
    border-color: #e74c3c;
}
.theme-broadsheet .newsletter-fallback-btn {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 0.9em;
    color: #f0ece4;
    background: #c0392b;
    border: 2px solid #c0392b;
    text-transform: uppercase;
}
.theme-broadsheet .newsletter-fallback-btn:hover {
    background: #a02a1e;
    border-color: #a02a1e;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 640px) {
    .theme-switcher {
        top: auto;
        bottom: 12px;
        right: 12px;
        left: 12px;
        justify-content: center;
    }
    .page { padding: 60px 20px 100px; }
}
