/* shared.css — Used by ALL pages */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    min-height: 100vh;
    padding: 0;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 20px 60px;
}

/* Navigation */
nav {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #1a1a1a;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.2s ease;
    letter-spacing: -0.02em;
    font-family: 'Space Grotesk', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-dots {
    display: flex;
    gap: 4px;
    font-size: 0.8rem;
    color: #666;
    transition: color 0.6s ease;
}

.logo-suffix {
    color: #666;
    font-weight: 500;
}

.logo:hover {
    opacity: 0.9;
}

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

.nav-links a {
    color: #999;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ffffff;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: #ffffff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 99;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Footer */
footer {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid #1a1a1a;
}

.disclaimer {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
}

.credits {
    font-size: 0.75rem;
    color: #555;
    text-align: center;
}

.credits a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.credits a:hover {
    color: #999;
}

/* Alert Signup Button (in nav) */
.alert-btn {
    background: none;
    border: 1px solid #333;
    color: #999;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.alert-btn:hover {
    border-color: #555;
    color: #fff;
}

/* Alert Popup Overlay */
.alert-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    z-index: 200;
    justify-content: center;
    align-items: center;
}

.alert-overlay.active {
    display: flex;
}

.alert-popup {
    background: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 32px;
    max-width: 420px;
    width: 90%;
    position: relative;
}

.alert-popup h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
    color: #fff;
}

.alert-popup .subtitle {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 20px;
}

.alert-popup .close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: #666;
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
}

.alert-popup .close-btn:hover {
    color: #fff;
}

.alert-popup input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    background: #0a0a0a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 16px;
    outline: none;
    transition: border-color 0.2s;
}

.alert-popup input[type="email"]:focus {
    border-color: #444;
}

.alert-checkboxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 20px;
}

.alert-checkboxes label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #ccc;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #1a1a1a;
    transition: all 0.2s;
}

.alert-checkboxes label:hover {
    border-color: #333;
}

.alert-checkboxes input[type="checkbox"] {
    accent-color: #FFD700;
    width: 16px;
    height: 16px;
}

.alert-submit {
    width: 100%;
    padding: 12px;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.alert-submit:hover {
    opacity: 0.9;
}

.alert-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.alert-message {
    text-align: center;
    font-size: 0.85rem;
    margin-top: 12px;
    min-height: 20px;
}

.alert-message.success {
    color: #10b981;
}

.alert-message.error {
    color: #ef4444;
}

.alert-unsubscribe {
    text-align: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #1a1a1a;
}

.alert-unsubscribe a {
    color: #555;
    font-size: 0.8rem;
    text-decoration: none;
    cursor: pointer;
}

.alert-unsubscribe a:hover {
    color: #999;
}

/* Mobile */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #0a0a0a;
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 16px;
        transition: right 0.3s ease;
        z-index: 100;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
        border-left: 1px solid #1a1a1a;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 16px 0;
        border-bottom: 1px solid #1a1a1a;
        width: 100%;
    }

    .mobile-menu-overlay {
        display: block;
    }

    .container {
        padding: 100px 20px 60px;
    }

    .alert-btn {
        width: 100%;
        padding: 12px 0;
        margin-top: 8px;
        font-size: 1rem;
    }

    .alert-popup {
        width: 95%;
        padding: 24px;
    }

    .alert-checkboxes {
        grid-template-columns: 1fr;
    }
}
