/* The gate pages: where Cloudflare sends a visitor the website is not open to
   (backend/scripts/cloudflare-sync.js, redirects). Everything they load lives in /gate/, the one
   path the redirects exempt, so the main stylesheet is out of reach: the palette and type below
   mirror assets/styles/style.css. */

:root {
    --void:   #06100F;
    --deep:   #0A1A1D;
    --ink:    #11292B;
    --steel:  #1B3C3D;
    --amber:  #F0A030;
    --gold:   #FFD24A;
    --bright: #FFF6E6;
    --muted:  #8CA3A2;
    --outline: #040A0A;
    --heading: 'Archivo', 'Arial Narrow', Impact, sans-serif;
    --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html, body { min-height: 100%; }

body {
    font-family: var(--body);
    color: var(--bright);
    background: var(--void);
    line-height: 1.6;
}

/* Artwork fills the screen; a gradient from the left keeps the copy readable over it. */
.gate {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 48px clamp(24px, 6vw, 96px);
    background-size: cover;
    background-position: center right;
    isolation: isolate;
}
.gate::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(6, 16, 15, 0.94) 0%, rgba(6, 16, 15, 0.82) 38%, rgba(6, 16, 15, 0.25) 75%, rgba(6, 16, 15, 0.1) 100%);
}

.gate-content { max-width: 560px; }

.gate-logo { height: 52px; width: auto; display: block; margin-bottom: 40px; }

.gate-kicker {
    font-family: var(--heading);
    font-variation-settings: 'wdth' 78, 'wght' 800;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 12px;
}

h1 {
    font-family: var(--heading);
    font-variation-settings: 'wdth' 78, 'wght' 900;
    font-weight: 900;
    font-size: clamp(2.4rem, 6vw, 4rem);
    line-height: 1.02;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
h1 em { font-style: normal; color: var(--amber); }

.gate-text { font-size: 1.1rem; color: var(--bright); opacity: 0.9; margin-bottom: 28px; }

.gate-lead {
    font-family: var(--heading);
    font-variation-settings: 'wdth' 78, 'wght' 800;
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
}

/* Restricted areas, grouped by country — HUD-style tags with the site's heavy keyline. */
.gate-areas { list-style: none; display: grid; gap: 14px; margin-bottom: 28px; }
.gate-area-country {
    font-weight: 700;
    color: var(--bright);
    margin-bottom: 6px;
}
.gate-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.gate-tag {
    display: inline-block;
    padding: 5px 12px;
    border: 2px solid var(--outline);
    border-radius: 6px;
    background: var(--ink);
    box-shadow: inset 0 0 0 1px var(--steel);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--bright);
}
.gate-tag.country { background: var(--steel); }

.gate-note {
    font-size: 0.95rem;
    color: var(--muted);
    border-left: 3px solid var(--amber);
    padding-left: 14px;
}

.gate-signoff {
    font-family: var(--heading);
    font-variation-settings: 'wdth' 78, 'wght' 900;
    font-size: 1.3rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold);
}

/* Phones: the artwork sits behind a stronger veil, copy takes the full width. */
@media (max-width: 760px) {
    .gate { align-items: flex-end; background-position: 70% center; }
    .gate::before { background: linear-gradient(0deg, rgba(6, 16, 15, 0.96) 0%, rgba(6, 16, 15, 0.86) 55%, rgba(6, 16, 15, 0.45) 100%); }
    .gate-logo { height: 40px; margin-bottom: 28px; }
}

/* The language picker (i18n.js) — the same as in assets/styles/style.css, which these pages do not load. */
.nav-lang { position: relative; flex-shrink: 0; }
.nav-lang-button {
    font: inherit;
    font-size: var(--font-size-xs, 0.75rem);
    font-weight: 700;
    letter-spacing: 0.10em;
    color: var(--muted, #8CA3A2);
    background: none;
    border: var(--keyline, 2px) solid var(--outline);
    border-radius: 6px;
    padding: 0.35rem 0.6rem;
    cursor: pointer;
}
.nav-lang-button:hover, .nav-lang-button[aria-expanded="true"] { color: var(--amber, #F0A030); }
.nav-lang-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    z-index: 1100;
    min-width: 11rem;
    margin: 0;
    padding: 0.3rem 0;
    list-style: none;
    background: var(--void);
    border: var(--keyline, 2px) solid var(--outline);
    border-radius: 6px;
    box-shadow: 4px 4px 0 var(--outline);
}
.nav-lang-menu li {
    padding: 0.45rem 0.9rem;
    font-size: var(--font-size-sm, 0.875rem);
    color: var(--bright, #FFF6E6);
    cursor: pointer;
}
.nav-lang-menu li:hover, .nav-lang-menu li:focus { background: var(--ink, #11292B); color: var(--amber, #F0A030); outline: none; }
.nav-lang-menu li[aria-selected="true"] { color: var(--amber, #F0A030); font-weight: 700; }
/* No header on the page: the corner, the list opening upwards. */
.nav-lang-corner { position: fixed; right: 12px; bottom: 12px; z-index: 1100; }
.nav-lang-corner .nav-lang-menu { top: auto; bottom: calc(100% + 6px); }
.nav-lang-corner .nav-lang-button { background: var(--void); }

