/* Shared header + footer styles (used by index.html and investment-memorandum.html) */
.universes-page {
    background: #121212;
    min-height: 100vh;
    padding-top: 0px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow: visible;
}

.universes-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #000000;
    z-index: 1000;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.universes-nav-content {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0 clamp(16px, 2vw, 32px);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: var(--spacing-md);
}

.universes-nav-content .nav-right-group {
    justify-self: end;
}

.universes-nav-logo {
    height: 2.4rem;
    width: auto;
    max-width: min(220px, 42vw);
    object-fit: contain;
    display: block;
}

.nav-right-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.55rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    border: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: all var(--transition-fast);
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
}
.nav-download-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}
.nav-subscribe-btn {
    background: #ffffff;
    color: #0a0f1a;
}
.nav-subscribe-btn:hover {
    background: #e8e8e8;
    color: #0a0f1a;
}

/* Keep header layout identical to universes.html,
   but visually hide nav links/user icons on index.html. */

.footer-nav-title {
    margin-bottom: 0.25rem;
    color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.footer-nav-block a {
    color: rgba(255, 255, 255, 0.7);
}
.footer-nav-block a:hover {
    color: #ffffff;
}
.footer-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
}
.footer-newsletter-input {
    width: 100%;
    box-sizing: border-box;
    min-height: 44px;
    padding: 0.6rem 0.9rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.9rem;
}
.footer-newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}
.footer-newsletter-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
}
.footer-newsletter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    background: #ffffff;
    color: #0a0f1a;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background var(--transition-fast);
}
.footer-newsletter-btn:hover {
    background: #e8e8e8;
}
.footer-newsletter-arrow {
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}
.footer-newsletter-btn:hover .footer-newsletter-arrow {
    transform: translateX(4px);
}
.footer-newsletter-note {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.75rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.5);
}
.nav-subscribe-btn {
    gap: 0.4rem;
}
.nav-discord-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    filter: brightness(0);
}

@media (max-width: 1000px) {
    .universes-nav-content {
        display: flex;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
            .universes-page {
                padding-top: 0px;
            }

            .universes-nav-content {
                flex-wrap: nowrap;
            }

            .universes-nav-content {
                display: flex;
                flex-wrap: wrap;
                justify-content: space-between;
                align-items: center;
                padding: 0 var(--spacing-md);
                gap: var(--spacing-sm);
            }

            .universes-nav-content .universes-nav-logo {
                order: 1;
            }

            .universes-nav-content .nav-right-group {
                order: 2;
                justify-self: unset;
            }

            .universes-nav {
                padding: 0.75rem 0;
            }

            .universes-nav-logo {
                height: 1.5rem;
            }

}

/* Logo file is black on transparent; show it white on the dark header/footer */
.universes-nav-logo,
.footer-brand-logo {
    filter: brightness(0) invert(1);
}

/* Header has no centre menu any more: logo left, Discord button right */
.universes-nav-content {
    display: flex;
    justify-content: space-between;
}

/* ===== Shared Supporter Pack cards (index.html, more-rewards.html) ===== */
.support-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.25rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #ffffff;
}
.support-card-price {
    font-family: 'BebasNeue', sans-serif;
    font-size: 2.75rem;
    line-height: 1;
}
.support-card-name {
    margin-top: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.support-card-list {
    list-style: none;
    margin: 1rem 0 1.25rem;
    padding: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.75);
}
.support-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: auto;
    padding: 0.5rem 1rem;
    min-height: 40px;
    box-sizing: border-box;
    border-radius: 6px;
    background: #ffffff;
    color: #0a0f1a;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: background var(--transition-fast);
}
.support-card-btn:hover {
    background: #e8e8e8;
}
.support-card-total {
    margin: 0;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 3.8em;
    font-size: 0.8rem;
    line-height: 1.4;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
}
.support-card-limit {
    margin: 0 0 0.75rem;
    font-size: 0.8rem;
    line-height: 1.4;
    font-weight: 700;
    color: #ffffff;
}
.support-card-unlock {
    margin-bottom: 0.2rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
}
.support-cta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-top: var(--spacing-md);
}
.support-cta-btn {
    margin-top: 0;
    min-height: 48px;
    padding: 0.6rem 1.5rem;
    white-space: nowrap;
}
.support-cta-note {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.6);
}
.footer-newsletter-status {
    margin: 0.5rem 0 0;
    min-height: 1.2em;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.8rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.7);
}
.footer-newsletter-status.is-ok { color: #ffffff; }
.footer-newsletter-status.is-error { color: #ff8a8a; }
.footer-newsletter-btn:disabled { opacity: 0.6; cursor: default; }
.footer-newsletter-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}
.footer-newsletter-ts:empty { display: none; }
.footer-newsletter-ts { margin-top: 0.5rem; }
.support-help {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    margin-top: 1rem;
}
.support-help-text {
    flex: 1 1 28rem;
    margin: 0;
    max-width: 52rem;
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.6);
}
.support-help-text p { margin: 0 0 0.6rem; }
.support-help-text p:last-child { margin-bottom: 0; }

