/* Lightweight base shell for anonymous public-portfolio routes. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #7c4dff;
    --primary-dk: #5c2ddf;
    --primary-lt: #f0eaff;
    --amber: #b090e8;
    --bg: #0d0d1a;
    --bg-card: #1a1a2e;
    --bg-card2: #16163a;
    --border: #3a2a6e;
    --text: #f0e8ff;
    --muted: #b090e8;
    --radius: 10px;
}

html { scroll-behavior: smooth; }

body {
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 19px;
    line-height: 1.75;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    background: rgba(13, 13, 26, 0.97);
    backdrop-filter: blur(8px);
}

.nav-inner {
    max-width: 1400px;
    min-height: 56px;
    height: auto;
    margin: 0 auto;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: nowrap;
}

.nav-logo {
    min-width: 126px;
    flex-shrink: 0;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0;
    text-decoration: none;
}
.nav-logo span { color: var(--primary); }

.nav-links {
    min-width: 0;
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    overflow: visible;
}
.nav-links a {
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}
.nav-links a:hover { color: var(--primary); }

.nav-hamburger {
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    display: none;
    flex-shrink: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 0;
    background: none;
    cursor: pointer;
}
.nav-hamburger span {
    width: 24px;
    height: 2px;
    display: block;
    border-radius: 2px;
    background: #fff;
}

.main-content { min-height: calc(100vh - 64px - 120px); }
.no-results { grid-column: 1 / -1; padding: 60px 0; color: var(--muted); text-align: center; }

.site-footer {
    margin-top: auto;
    padding: 56px 20px 32px;
    border-top: 1px solid var(--border);
    background: #1a0a10;
    text-align: center;
}

.age-gate-overlay {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}
.age-gate-box { box-sizing: border-box; }

@media (max-width: 768px) {
    body { font-size: 17px; }
    .navbar { position: relative; }
}

@media (max-width: 640px) {
    .age-gate-overlay {
        align-items: center !important;
        padding: 16px !important;
        overflow-y: auto;
    }
    .age-gate-box {
        min-height: 0 !important;
        max-height: calc(100vh - 32px);
        width: min(100%, 360px) !important;
        padding: 28px 24px !important;
        overflow-y: auto;
    }
    .age-gate-box > div:first-child {
        margin-bottom: 10px !important;
        font-size: 2.35rem !important;
    }
    .age-gate-title {
        margin-bottom: 10px !important;
        font-size: 1.55rem !important;
    }
    .age-gate-box p {
        margin-bottom: 22px !important;
        font-size: 0.88rem !important;
        line-height: 1.48 !important;
    }
    .age-gate-box button {
        min-height: 44px;
        padding: 12px !important;
    }
    .age-gate-box p:last-child {
        margin-top: 16px !important;
        margin-bottom: 0 !important;
        font-size: 0.7rem !important;
    }
}
