:root {
  --bg: #0a0812;
  --bg-2: #120d1c;
  --panel: rgba(20, 14, 28, 0.72);
  --border: rgba(242, 196, 107, 0.16);
  --border-strong: rgba(242, 196, 107, 0.45);
  --text: #f3ece0;
  --muted: #a89cae;
  --red: #c41e3a;
  --red-2: #ff4d5e;
  --gold: #f2c46b;
  --gold-2: #ffe7a8;
  --gold-3: #b07a2a;
  --violet: #7b4dff;
  --green: #3ddc84;
  --display: "Cinzel Decorative", "Cinzel", Georgia, serif;
  --title: "Cinzel", Georgia, serif;
  --body: "EB Garamond", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font: 19px/1.6 var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); }
::selection { background: var(--red); color: #fff; }
code, kbd, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .78em; }
:not(pre) > code, kbd {
  background: rgba(242, 196, 107, .08); border: 1px solid var(--border); border-radius: 5px; padding: 1px 6px; color: var(--gold-2);
}
.muted { color: var(--muted); }

/* ---------- Ambient background ---------- */
#embers { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.sky {
  position: fixed; inset: 0; z-index: -3; overflow: hidden;
  background:
    radial-gradient(1200px 700px at 50% 115%, rgba(196, 30, 58, .32), transparent 60%),
    radial-gradient(800px 500px at 10% 0%, rgba(123, 77, 255, .18), transparent 60%),
    linear-gradient(180deg, #07060d 0%, #0e0a18 45%, #1a0d18 100%);
}
.aurora {
  position: absolute; width: 140vmax; height: 60vmax; left: -20vmax; border-radius: 50%;
  filter: blur(80px); opacity: .35; mix-blend-mode: screen;
}
.a1 { top: -30vmax; background: radial-gradient(closest-side, rgba(123, 77, 255, .7), transparent); animation: drift 26s ease-in-out infinite alternate; }
.a2 { top: -20vmax; background: radial-gradient(closest-side, rgba(242, 196, 107, .35), transparent); animation: drift 32s ease-in-out -10s infinite alternate-reverse; }
@keyframes drift {
  0% { transform: translate3d(-10vw, 0, 0) rotate(-6deg) scale(1); }
  100% { transform: translate3d(15vw, 6vh, 0) rotate(8deg) scale(1.15); }
}
.moon {
  position: absolute; top: 12vh; right: 12vw; width: 110px; height: 110px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff7e0, #f2d9a0 45%, #c79a52 100%);
  box-shadow: 0 0 60px 20px rgba(255, 220, 150, .25), 0 0 200px 60px rgba(255, 200, 120, .12);
  opacity: .85; animation: moonPulse 8s ease-in-out infinite;
}
@keyframes moonPulse { 50% { box-shadow: 0 0 80px 26px rgba(255, 220, 150, .32), 0 0 240px 80px rgba(255, 200, 120, .16); } }
.fog {
  position: fixed; inset: auto 0 0 0; height: 40vh; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60% 100% at 20% 100%, rgba(180, 160, 210, .08), transparent),
    radial-gradient(60% 100% at 80% 100%, rgba(180, 160, 210, .06), transparent);
  animation: fog 18s ease-in-out infinite alternate;
}
@keyframes fog { to { transform: translateX(-6vw); opacity: .6; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 18px max(16px, calc((100% - 1140px) / 2));
  transition: background .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 8, 18, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding-top: 12px; padding-bottom: 12px; border-color: var(--border);
}
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 18px var(--title); letter-spacing: .22em; color: var(--gold); text-decoration: none;
}
.nav nav { display: flex; gap: 28px; margin-left: auto; }
.nav nav a {
  position: relative; color: var(--muted); text-decoration: none;
  font: 500 14px var(--title); letter-spacing: .12em; text-transform: uppercase; transition: color .2s;
}
.nav nav a::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: -6px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); transition: left .3s, right .3s;
}
.nav nav a:hover { color: var(--gold-2); }
.nav nav a:hover::after { left: 0; right: 0; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 32px; border-radius: 4px; cursor: pointer;
  background: linear-gradient(180deg, #e33a4f, var(--red) 55%, #8c1229);
  border: 1px solid var(--gold);
  color: #fff8ec; font: 700 15px var(--title); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  box-shadow: 0 0 0 3px rgba(10, 8, 18, .9), 0 0 0 4px rgba(242, 196, 107, .5), 0 12px 40px rgba(196, 30, 58, .45);
  transition: transform .2s, box-shadow .3s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 240, 200, .55) 50%, transparent 70%);
  transform: translateX(-120%); animation: sheen 4s ease-in-out infinite;
}
@keyframes sheen { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 3px rgba(10, 8, 18, .9), 0 0 0 4px var(--gold), 0 18px 50px rgba(196, 30, 58, .6), 0 0 40px rgba(242, 196, 107, .25);
}
.btn-sm { padding: 9px 18px; font-size: 12px; box-shadow: 0 0 0 2px rgba(10, 8, 18, .9), 0 0 0 3px rgba(242, 196, 107, .4); }

main { max-width: 1140px; margin: 0 auto; padding: 0 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  padding: 120px 0 200px;
}
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; will-change: transform; }
.rune-circle {
  position: absolute; left: 50%; top: 46%; width: min(640px, 120vw); aspect-ratio: 1;
  transform: translate(-50%, -50%); z-index: -1; pointer-events: none; opacity: .55;
}
.rune-circle svg { width: 100%; height: 100%; animation: spin 90s linear infinite; }
.rc-line { fill: none; stroke: rgba(242, 196, 107, .28); stroke-width: 1; }
.rc-line.thin { stroke: rgba(242, 196, 107, .14); }
.rc-text { fill: rgba(242, 196, 107, .45); font-size: 15px; letter-spacing: 6px; }
@keyframes spin { to { transform: rotate(360deg); } }

.eyebrow, .kicker {
  color: var(--gold); text-transform: uppercase; letter-spacing: .32em; font: 500 13px var(--title);
}
.logo {
  position: relative;
  font: 900 clamp(58px, 13vw, 168px)/1 var(--display); letter-spacing: .04em; margin: 18px 0 10px;
  background: linear-gradient(100deg, var(--gold-3) 0%, var(--gold-2) 20%, #fff 30%, var(--gold) 42%, var(--gold-3) 60%, var(--gold-2) 80%, var(--gold-3) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 #4a2a0a) drop-shadow(0 10px 40px rgba(242, 160, 70, .35));
  animation: goldShimmer 7s linear infinite;
}
@keyframes goldShimmer { to { background-position: -250% 0; } }

.divider { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); margin: 6px auto 22px; width: min(360px, 80%); }
.divider span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.divider span:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.divider i { font-style: normal; font-size: 16px; text-shadow: 0 0 12px var(--gold); animation: twinkle 3s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .5; transform: scale(.8) rotate(45deg); } }

.tagline { font-size: clamp(19px, 2.4vw, 24px); font-style: italic; color: #e6dccb; max-width: 640px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: center; }

.ip {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 12px 11px 18px; border-radius: 4px; cursor: pointer;
  background: rgba(10, 8, 18, .6); border: 1px solid var(--border-strong); color: var(--text); font: inherit;
  backdrop-filter: blur(8px); transition: border-color .2s, box-shadow .3s;
}
.ip:hover { border-color: var(--gold); box-shadow: 0 0 30px rgba(242, 196, 107, .2); }
.ip-label { color: var(--gold); font: 700 12px var(--title); letter-spacing: .2em; }
.ip-value { font-family: ui-monospace, Menlo, monospace; font-weight: 600; font-size: 16px; }
.ip-copy { font: 500 12px var(--title); letter-spacing: .1em; padding: 5px 10px; border-radius: 3px; background: rgba(242, 196, 107, .12); color: var(--gold-2); }

.status { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; color: var(--muted); font-size: 16px; font-style: italic; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); }
.status.online .dot { background: var(--green); animation: beacon 2s ease-out infinite; }
.status.offline .dot { background: var(--red); }
@keyframes beacon { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); } 100% { box-shadow: 0 0 0 12px rgba(61, 220, 132, 0); } }

/* Landscape */
.landscape { position: absolute; left: 50%; bottom: 0; width: 100vw; transform: translateX(-50%); height: 340px; pointer-events: none; z-index: 1; }
.layer { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; will-change: transform; }
.l1 path { fill: #1d1430; opacity: .8; }
.l2 path { fill: #140e22; }
.l3 { height: 320px; }
.l3 > path, .castle { fill: #07050c; }
.windows { fill: #ffb347; filter: drop-shadow(0 0 6px #ff9a2a); animation: flicker 3.2s steps(1) infinite; }
.windows rect:nth-child(2) { animation: flicker 2.3s steps(1) infinite; }
@keyframes flicker { 0%, 100% { opacity: 1; } 42% { opacity: .7; } 44% { opacity: 1; } 71% { opacity: .82; } }
.flag { fill: var(--red); transform-origin: 721px 46px; animation: wave 1.6s ease-in-out infinite; }
@keyframes wave { 50% { transform: scaleX(.8) skewY(6deg); } }
.landscape::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 80px;
  background: linear-gradient(transparent, var(--bg));
}

.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 3;
  width: 26px; height: 42px; border: 1px solid var(--border-strong); border-radius: 14px;
}
.scroll-hint span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px;
  background: var(--gold); animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 110px 0 40px; }
.section-head { text-align: center; margin-bottom: 50px; }
.section h2 {
  font: 700 clamp(32px, 5vw, 52px)/1.15 var(--title); letter-spacing: .04em; margin: 10px 0 14px;
  background: linear-gradient(180deg, #fff6e2, var(--gold) 70%, var(--gold-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; padding: 30px 26px 26px;
  background:
    radial-gradient(400px circle at var(--mx) var(--my), rgba(242, 196, 107, .10), transparent 45%),
    linear-gradient(180deg, rgba(32, 22, 44, .78), rgba(16, 11, 24, .82));
  border: 1px solid var(--border);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: border-color .3s, box-shadow .4s, transform .25s ease-out;
  transform-style: preserve-3d;
}
.card::before, .card::after {
  content: ""; position: absolute; width: 18px; height: 18px; border: 1px solid var(--gold); opacity: .7; transition: all .35s;
}
.card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.card::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.card:hover { border-color: var(--border-strong); box-shadow: 0 20px 60px rgba(0, 0, 0, .5), 0 0 40px rgba(242, 196, 107, .08); }
.card:hover::before, .card:hover::after { width: 34px; height: 34px; opacity: 1; }
.card h3 { font: 700 20px var(--title); letter-spacing: .04em; color: var(--gold-2); margin-bottom: 10px; }
.card p { color: #d9cfc2; font-size: 18px; }

.sigil {
  position: relative; width: 52px; height: 52px; margin: 0 0 20px 4px; display: grid; place-items: center;
  transform: translateZ(30px);
}
.sigil::before {
  content: ""; position: absolute; inset: 6px; transform: rotate(45deg);
  border: 1px solid var(--gold); background: radial-gradient(circle, rgba(196, 30, 58, .45), rgba(10, 8, 18, .9));
  box-shadow: 0 0 20px rgba(196, 30, 58, .4), inset 0 0 12px rgba(242, 196, 107, .2);
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.card:hover .sigil::before { transform: rotate(225deg); }
.sigil span { position: relative; color: var(--gold-2); font-size: 20px; text-shadow: 0 0 10px var(--gold); }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; margin-bottom: 44px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps li > span {
  flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
  font: 700 16px var(--title); color: #1a0f04;
  background: radial-gradient(circle at 35% 30%, var(--gold-2), var(--gold) 50%, var(--gold-3));
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--gold-3), 0 0 24px rgba(242, 196, 107, .35);
}
.steps strong { font: 700 17px var(--title); letter-spacing: .03em; color: var(--text); }
.steps p { color: var(--muted); font-size: 17px; }

.downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.dl {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 2px; padding: 24px 24px 22px;
  background: linear-gradient(180deg, rgba(32, 22, 44, .8), rgba(16, 11, 24, .85));
  border: 1px solid var(--border); text-decoration: none; color: var(--text);
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.dl::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(242, 196, 107, .14) 50%, transparent 65%);
  transform: translateX(-100%); transition: transform .8s;
}
.dl:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0, 0, 0, .5), 0 0 30px rgba(242, 196, 107, .15); }
.dl:hover::after { transform: translateX(100%); }
.dl-ico { width: 28px; height: 28px; fill: var(--gold); margin-bottom: 12px; }
.dl.recommended { border-color: var(--red-2); box-shadow: 0 0 0 1px var(--red) inset, 0 0 40px rgba(196, 30, 58, .3); }
.dl.recommended::before {
  content: "Recommandé"; position: absolute; top: 14px; right: -34px; transform: rotate(35deg);
  padding: 3px 40px; background: var(--red); color: #fff; font: 700 10px var(--title); letter-spacing: .14em; text-transform: uppercase;
}
.dl-os { font: 700 18px var(--title); letter-spacing: .03em; }
.dl-meta { color: var(--muted); font-size: 16px; }

.alt { margin-top: 28px; color: #d9cfc2; border-top: 1px solid var(--border); padding-top: 20px; }
.alt summary { cursor: pointer; color: var(--gold-2); font: 500 16px var(--title); letter-spacing: .04em; }
.alt p { margin-top: 12px; font-size: 18px; }

/* Guide */
.guide { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
pre {
  background: rgba(0, 0, 0, .45); border: 1px solid var(--border); border-left: 2px solid var(--gold);
  padding: 12px 14px; overflow-x: auto; margin: 6px 0 12px; color: var(--gold-2);
  text-shadow: 0 0 8px rgba(242, 196, 107, .35);
}

/* Rules */
.edict {
  position: relative; text-align: center; padding: 26px 28px; margin: 0 auto 30px; max-width: 760px;
  background: linear-gradient(180deg, rgba(196, 30, 58, .16), rgba(196, 30, 58, .05));
  border: 1px solid rgba(255, 77, 94, .35); font-size: 20px;
}
.edict strong { color: var(--gold-2); font-family: var(--title); letter-spacing: .03em; }
.rule-list { list-style: none; max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.rule-list li { position: relative; padding: 12px 16px 12px 46px; border-bottom: 1px solid var(--border); color: #d9cfc2; }
.rule-list li::before {
  content: "✦"; position: absolute; left: 14px; top: 12px; color: var(--gold); text-shadow: 0 0 10px var(--gold);
}

.footer { text-align: center; padding: 80px 16px 50px; font-size: 16px; }
.foot-brand { font: 900 28px var(--display); letter-spacing: .12em; color: var(--gold); margin-bottom: 6px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(36px); filter: blur(6px); transition: opacity 1s cubic-bezier(.2, .7, .2, 1), transform 1s cubic-bezier(.2, .7, .2, 1), filter 1s; transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.card.reveal.in { transition: opacity 1s cubic-bezier(.2, .7, .2, 1), transform .25s ease-out, filter 1s, border-color .3s, box-shadow .4s; }
.no-js .reveal { opacity: 1; transform: none; filter: none; }

/* ---------- Mobile ---------- */
/* ---------- Carte du royaume (Dynmap) ---------- */
.lead { max-width: 620px; margin: 0 auto; color: var(--muted); font-style: italic; }
.atlas {
  position: relative; padding: 14px;
  background: linear-gradient(180deg, rgba(32, 22, 44, .82), rgba(14, 10, 22, .9));
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 0 6px rgba(10, 8, 18, .6), 0 0 0 7px var(--border);
}
.atlas-corner { position: absolute; width: 26px; height: 26px; border: 2px solid var(--gold); z-index: 2; pointer-events: none; }
.atlas-corner::after { content: ""; position: absolute; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.atlas-corner.tl { top: -5px; left: -5px; border-right: 0; border-bottom: 0; }
.atlas-corner.tr { top: -5px; right: -5px; border-left: 0; border-bottom: 0; }
.atlas-corner.bl { bottom: -5px; left: -5px; border-right: 0; border-top: 0; }
.atlas-corner.br { bottom: -5px; right: -5px; border-left: 0; border-top: 0; }
.atlas-corner.tl::after { top: -5px; left: -5px; } .atlas-corner.tr::after { top: -5px; right: -5px; }
.atlas-corner.bl::after { bottom: -5px; left: -5px; } .atlas-corner.br::after { bottom: -5px; right: -5px; }
.atlas-bar { display: flex; align-items: center; gap: 16px; padding: 2px 4px 12px; font: 600 14px/1 var(--title); letter-spacing: .08em; }
.atlas-live { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-2); text-transform: uppercase; }
.atlas-live .dot { background: var(--green); animation: beacon 2s ease-out infinite; }
.atlas-views { display: inline-flex; margin-left: auto; border: 1px solid var(--border-strong); }
.atlas-views button {
  font: inherit; letter-spacing: inherit; color: var(--muted); background: transparent; border: 0; padding: 8px 14px; cursor: pointer;
  transition: color .2s, background .2s;
}
.atlas-views button + button { border-left: 1px solid var(--border-strong); }
.atlas-views button:hover { color: var(--text); }
.atlas-views button.on { color: #1a0f08; background: linear-gradient(180deg, var(--gold-2), var(--gold)); }
.atlas-full { color: var(--gold); text-decoration: none; padding: 8px 4px; }
.atlas-full:hover { color: var(--gold-2); text-decoration: underline; }
.atlas-frame { position: relative; height: min(68vh, 640px); min-height: 360px; background: #05040a; border: 1px solid var(--border); overflow: hidden; }
.atlas-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.atlas-veil {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; color: var(--text); font-family: var(--title);
  background: radial-gradient(ellipse at center, rgba(10, 8, 18, .35), rgba(10, 8, 18, .78));
  backdrop-filter: blur(1.5px); -webkit-backdrop-filter: blur(1.5px);
  transition: opacity .45s, visibility .45s;
}
.atlas-veil strong { font-size: 24px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2); text-shadow: 0 2px 12px rgba(0, 0, 0, .8); }
.atlas-veil small { font: italic 16px var(--body); color: var(--muted); }
.atlas-seal {
  display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 6px; border-radius: 50%; font-size: 26px; color: #2a1206;
  background: radial-gradient(circle at 35% 30%, #ff7a7a, var(--red) 55%, #6d0d1d);
  box-shadow: 0 0 0 3px rgba(242, 196, 107, .5), 0 8px 30px rgba(196, 30, 58, .55);
  transition: transform .3s;
}
.atlas-veil:hover .atlas-seal { transform: scale(1.08) rotate(-8deg); }
.atlas.open .atlas-veil { opacity: 0; visibility: hidden; }
.atlas-legend { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding: 14px 4px 2px; color: var(--muted); font-size: 16px; }
.atlas-legend li { display: inline-flex; align-items: center; gap: 9px; }
.atlas-legend i { width: 14px; height: 14px; border: 2px solid; }
.lg-faction { border-color: #00ff00; background: rgba(0, 255, 0, .22); }
.lg-safe { border-color: #ff00ff; background: rgba(255, 0, 255, .22); }
.lg-hidden { border-color: var(--muted); border-style: dashed !important; border-radius: 50%; }

@media (max-width: 760px) {
  .atlas { padding: 8px; }
  .atlas-bar { flex-wrap: wrap; gap: 10px; }
  .atlas-frame { height: 62vh; min-height: 320px; }
  .atlas-full { margin-left: auto; }
  body { font-size: 18px; }
  .nav nav { display: none; }
  .nav .btn-sm { margin-left: auto; }
  .hero { padding: 110px 0 180px; }
  .moon { width: 70px; height: 70px; top: 10vh; right: 8vw; }
  .landscape { height: 220px; }
  .l3 { height: 220px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn, .ip { width: 100%; justify-content: space-between; }
  .hero-actions .btn { justify-content: center; }
  .section { padding-top: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}
