/* UnLockDesire - Common styles
 * Shared by the whole site, including experiences.
 */

:root {
    --brand: #800000;
    --brand-dark: #5a0000;
    --accent: #ff4500;
    --accent-hover: #ff6a33;

    --text: #ffffff;
    --muted: #e6d5d5;

    --font-system:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Ubuntu,
        Cantarell,
        "Helvetica Neue",
        Arial,
        "Noto Sans",
        sans-serif;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-system);
}

a {
    color: var(--accent);
}

a:hover {
    color: var(--accent-hover);
}

/* Shared cookie consent banner */

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
    font-size: 0.9rem;
}

#cookie-banner p {
    margin: 0;
    text-align: center;
}

#cookie-banner .buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

#cookie-banner button {
    background-color: var(--accent);
    border: none;
    color: white;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.9rem;
}

#cookie-banner button:hover {
    background-color: var(--accent-hover);
}

/* 18+ access notice */
html.age-gate-active body > *:not(#age-gate) {
    visibility: hidden;
}

#age-gate {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(10, 0, 0, .96);
    color: #fff;
}

.age-gate-panel {
    width: min(560px, 100%);
    padding: 2rem;
    text-align: center;
    background: #2a0a0a;
    border: 1px solid rgba(255, 69, 0, .45);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .55);
}

.age-gate-badge {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #ff4500;
    border-radius: 50%;
    color: #ff4500;
    font-size: 1.25rem;
    font-weight: 800;
}

.age-gate-panel h1 {
    margin: 0 0 1rem;
    font-size: clamp(1.4rem, 4vw, 2rem);
}

.age-gate-panel p {
    color: #f0dddd;
    line-height: 1.6;
}

.age-gate-actions {
    display: flex;
    justify-content: center;
    gap: .75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.age-gate-actions button {
    min-height: 44px;
    padding: .7rem 1.1rem;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    background: #ff4500;
    color: #fff;
    font: inherit;
    font-weight: 700;
}

.age-gate-actions button.secondary {
    background: transparent;
    border: 1px solid #bdaaaa;
}

.age-gate-note {
    margin-bottom: 0;
    font-size: .85rem;
    opacity: .8;
}

@media (max-width: 600px) {
    .age-gate-panel {
        padding: 1.5rem 1.1rem;
    }
}

/* Shared site navigation */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 9000;
    width: 100%;
    background: rgba(90, 0, 0, .97);
    border-bottom: 1px solid rgba(255,255,255,.10);
    backdrop-filter: blur(8px);
}
.site-nav-inner {
    width: min(1100px, calc(100% - 2rem));
    min-height: 52px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.site-nav-brand {
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: .04em;
    white-space: nowrap;
}
.site-nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.site-nav-links a {
    display: block;
    padding: .45rem .7rem;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: .92rem;
}
.site-nav-links a:hover,
.site-nav-links a:focus-visible {
    background: rgba(255,255,255,.12);
    color: #fff;
}
@media (max-width: 620px) {
    .site-nav-inner {
        min-height: 48px;
        width: min(100% - 1rem, 1100px);
    }
    .site-nav-brand {
        font-size: .9rem;
    }
    .site-nav-links {
        gap: .05rem;
    }
    .site-nav-links a {
        padding: .4rem .45rem;
        font-size: .82rem;
    }
}
