/* Dungeon Blitz Origin fan site. Colours follow the game's own windows: green stone frames, gold trim. */
@font-face { font-family: "GameUI"; src: url("assets/fonts/gameui.woff") format("woff"); font-display: swap; }
:root {
  --bg: #2d2c35;
  --bg-deep: #1f1e25;
  --panel: #24262c;
  --panel-line: #4d4f59;
  --gold: #f4c76c;
  --gold-deep: #c9a24a;
  --stone: #8fa287;
  --stone-deep: #5d6b55;
  --teal: #3f8f86;
  --teal-deep: #24564f;
  --text: #e8e6df;
  --muted: #b7b7c0;
  --green: #7cff5a;
  --red: #f0503c;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 "Nunito", system-ui, sans-serif;
}

img { max-width: 100%; display: block; }

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

h1, h2, h3, .brand { font-family: "Lilita One", "Nunito", sans-serif; font-weight: 400; letter-spacing: .3px; }

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.05; margin: 0 0 18px; }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.1; margin: 0 0 12px; }
h3 { font-size: 1.45rem; margin: 0 0 6px; color: var(--gold); }

.wrap { width: min(var(--max), 100% - 32px); margin: 0 auto; }

section { padding: 88px 0; }

.lead { color: var(--muted); max-width: 640px; font-size: 1.08rem; margin: 0 0 36px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(31, 30, 37, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #3a3943;
}
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-size: 1.3rem; white-space: nowrap; }
.brand img { width: 40px; }
.brand em { font-style: normal; color: var(--gold); }
.nav-links { display: flex; gap: 6px; margin-left: 12px; }
.nav-links a { color: var(--muted); text-decoration: none; padding: 6px 12px; border-radius: 8px; font-weight: 700; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--text); background: #34333d; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.online { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 700; white-space: nowrap; }
.online i { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 10px; border: 2px solid var(--gold);
  background: linear-gradient(#a9bb9f, #6f8268); color: #fff; text-shadow: 0 1px 0 #2b3328;
  font-weight: 800; text-decoration: none; white-space: nowrap;
  box-shadow: 0 3px 0 #3b4637;
}
.btn:hover { filter: brightness(1.06); }
.btn.ghost { background: var(--panel); color: var(--text); border-color: var(--panel-line); box-shadow: none; }
.btn.small { padding: 8px 16px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: 110px 0 120px;
  background: var(--bg-deep);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("assets/hero.jpg") center bottom/cover;
  opacity: .6;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg-deep) 18%, rgba(31, 30, 37, .55) 60%, rgba(31, 30, 37, .1)),
              linear-gradient(0deg, var(--bg) 0, transparent 30%);
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 32px; }
.hero p { color: var(--text); max-width: 520px; font-size: 1.15rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.fine { color: var(--muted); font-size: .85rem; max-width: 460px; }
.hero-art { justify-self: end; width: min(480px, 100%); filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .55)); }

/* ---------- quick facts ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: -48px; position: relative; z-index: 2; }
.fact { background: var(--panel); border: 1px solid #3a3943; border-radius: var(--radius); padding: 18px 20px; }
.fact b { display: block; font-family: "Lilita One", sans-serif; font-weight: 400; font-size: 1.9rem; color: var(--gold); line-height: 1.1; }
.fact span { color: var(--muted); font-size: .95rem; }

/* ---------- world ---------- */
.zones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.zone { background: var(--panel); border: 1px solid #3a3943; border-radius: var(--radius); overflow: hidden; }
.zone .pic { aspect-ratio: 16 / 8; background-size: cover; background-position: center; position: relative; }
.zone .pic span {
  position: absolute; left: 12px; top: 12px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: .9rem;
  background: rgba(31, 30, 37, .85); color: var(--gold); border: 2px solid var(--gold-deep);
}
.zone .body { padding: 16px 18px 18px; }
.zone p { margin: 0 0 10px; color: var(--muted); font-size: .97rem; }
.zone small { color: var(--gold-deep); font-weight: 700; }

/* ---------- classes ---------- */
.classes { display: grid; gap: 14px; }
.class { position: relative; display: grid; grid-template-columns: 170px 1fr auto; align-items: center; gap: 20px; margin-top: 34px; background: var(--panel); border: 1px solid #3a3943; border-radius: var(--radius); padding: 18px 22px; }
/* The class-select heroes, standing out of the card. */
.class .heroes { position: relative; height: 70px; }
.class .heroes img { position: absolute; bottom: -10px; height: 130px; width: auto; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .55)); }
.class .heroes img:first-child { left: -6px; z-index: 1; }
.class .heroes img:last-child { left: 62px; }
.class h3 { display: flex; align-items: center; gap: 8px; }
.class h3 .sig { width: 28px; height: 28px; }
.class p { margin: 0; color: var(--muted); }
.disciplines { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.disciplines a { display: inline-flex; align-items: center; gap: 6px; background: #34333d; border: 1px solid var(--panel-line); border-radius: 999px; padding: 4px 12px 4px 4px; font-weight: 700; font-size: .9rem; color: var(--text); text-decoration: none; }
.disciplines a:hover { border-color: var(--gold-deep); }
.disciplines img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 1px solid #6d6a5c; }

/* ---------- what's new ---------- */
.new { background: var(--bg-deep); }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 44px 0; border-top: 1px solid #34333d; }
.feature:first-of-type { border-top: 0; }
.feature.flip .art { order: 2; }
.feature .art { display: grid; place-items: center; min-height: 240px; border-radius: var(--radius); background: radial-gradient(circle at 50% 45%, #3b3a46, var(--panel) 70%); border: 1px solid #3a3943; overflow: hidden; }
.feature .art.photo { background-size: cover; background-position: center; }
.feature .art img.icon { width: 96px; image-rendering: auto; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .5)); }
.feature h3 { font-size: 2rem; color: var(--text); }
.feature p { color: var(--muted); }
.tag { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--bg-deep); background: var(--gold); border-radius: 6px; padding: 2px 8px; margin-bottom: 10px; }
.stats { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.stats li { display: flex; gap: 12px; align-items: baseline; border-bottom: 1px solid #34333d; padding: 6px 0; }
.stats b { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); min-width: 112px; font-size: 1.1rem; }
.stats b .ic { width: 26px; height: 26px; object-fit: contain; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .5)); }
.feature .boss-art { position: relative; min-height: 340px; padding: 0 6px 6px; align-content: end; background: none; border: 0; border-radius: 0; overflow: visible; }
.boss-art .dragon { position: absolute; inset: 0 0 22% 0; width: 100%; height: 78%; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .55)); animation: breathe 3.5s ease-in-out infinite; }
@keyframes breathe { 50% { transform: translateY(-4px) scale(1.012); } }
@media (prefers-reduced-motion: reduce) { .boss-art .dragon { animation: none; } }
.boss-art .boss-bar { position: relative; width: 100%; text-shadow: 0 1px 3px #000; }
.boss-bar { width: 80%; }
.boss-bar .name { display: flex; justify-content: space-between; font-weight: 800; color: var(--gold); margin-bottom: 6px; }
.boss-bar .bar { height: 16px; border-radius: 8px; background: #1a1b20; border: 2px solid #0e0f12; overflow: hidden; }
.boss-bar .bar i { display: block; height: 100%; width: 63%; background: linear-gradient(#f0503c, #a81e14); }
.small-list { columns: 2; gap: 32px; padding-left: 18px; color: var(--muted); }

/* ---------- quote ---------- */
.quote { text-align: center; padding: 72px 0; }
.quote blockquote { font-family: "Lilita One", sans-serif; font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin: 0 auto 12px; max-width: 760px; line-height: 1.25; }
.quote img { width: 160px; margin: 0 auto 16px; }
.quote cite { color: var(--muted); font-style: normal; }

/* ---------- community / play ---------- */
.community .wrap, .play-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.card { background: var(--panel); border: 1px solid #3a3943; border-radius: var(--radius); padding: 26px; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.steps li::before { content: counter(step); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--bg-deep); font-weight: 800; }

/* ---------- faq ---------- */
.faq details { background: var(--panel); border: 1px solid #3a3943; border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 800; }
.faq p { color: var(--muted); margin: 10px 0 0; }

footer { border-top: 1px solid #3a3943; padding: 28px 0 40px; color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }

/* ---------- phones ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero .wrap, .feature, .community .wrap, .play-grid { grid-template-columns: 1fr; }
  .feature.flip .art { order: 0; }
  .hero-art { justify-self: center; width: 260px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .zones { grid-template-columns: 1fr 1fr; }
  .class { grid-template-columns: 130px 1fr; }
  .class .heroes img { height: 104px; }
  .class .heroes img:last-child { left: 48px; }
  .disciplines { grid-column: 1 / -1; justify-content: flex-start; }
  .small-list { columns: 1; }
}
@media (max-width: 560px) {
  .zones, .facts { grid-template-columns: 1fr; }
  .online { display: none; }
  /* Phones: the name shrinks so the Play button never covers it. */
  .nav .brand { font-size: 1.05rem; gap: 6px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .nav .brand img { width: 30px; }
  .nav-right { gap: 8px; flex-shrink: 0; }
  .nav-right .btn.small { padding: 7px 12px; font-size: .85rem; }
  section { padding: 64px 0; }
}

/* ---------- database pages (gear, talents) ---------- */
.page-head { padding: 56px 0 24px; }
.page-head p { color: var(--muted); max-width: 640px; margin: 0; }
.controls { display: grid; gap: 12px; margin-bottom: 22px; }
.controls .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.seg { display: inline-flex; flex-wrap: wrap; background: var(--panel); border: 1px solid #3a3943; border-radius: 10px; padding: 3px; gap: 2px; }
.seg button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--muted); font: inherit; font-weight: 800; font-size: .92rem; padding: 6px 12px; border-radius: 8px; cursor: pointer; }
.seg button img { width: 22px; height: 22px; object-fit: contain; }
.seg button[aria-pressed="true"] { background: #3b3a46; color: var(--text); }
.seg button .n { color: var(--muted); font-weight: 700; font-size: .8rem; }
.search { flex: 1 1 220px; min-width: 0; background: var(--panel); border: 1px solid #3a3943; border-radius: 10px; padding: 9px 14px; color: var(--text); font: inherit; }
.count { color: var(--muted); font-size: .9rem; }

.db { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; padding-bottom: 80px; }
.db h2 { font-size: 1.5rem; margin: 18px 0 8px; }
.items { display: grid; gap: 6px; }
.item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; background: var(--panel); border: 1px solid #3a3943; border-radius: 10px; padding: 8px 12px; cursor: pointer; text-align: left; color: inherit; font: inherit; width: 100%; }
.item:hover, .item[aria-selected="true"] { border-color: var(--gold-deep); }
.item .ic { width: 56px; height: 48px; display: grid; place-items: center; }
.item .ic img { max-width: 56px; max-height: 48px; }
.item b { display: block; font-size: 1rem; }
.item small { color: var(--muted); }
.item .runes { display: flex; gap: 4px; }
.item .runes img { width: 22px; height: 22px; }
.r-M { color: #eee2bc; } .r-R { color: #3aa8ff; } .r-L { color: #f8dd45; }

.detail { position: sticky; top: 80px; background: linear-gradient(#2a2c33, #23252b); border: 2px solid #5d6b55; border-radius: var(--radius); padding: 18px; }
.detail .big { height: 150px; display: grid; place-items: center; background: radial-gradient(circle, #3b3a46, transparent 70%); border-radius: 10px; margin-bottom: 12px; }
.detail .big img { max-width: 92%; max-height: 140px; }
.detail h3 { font-size: 1.5rem; margin: 0; }
.detail .type { color: var(--muted); margin: 0 0 10px; }
.detail ul { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 8px; }
.detail li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; align-items: start; font-size: .93rem; }
.detail li img { width: 26px; height: 26px; }
.detail li span b { display: block; }
.detail .src { border-top: 1px solid #3a3943; padding-top: 10px; color: var(--muted); font-size: .92rem; }
.note { color: var(--muted); font-size: .85rem; }

/* talent window: the game's art, laid out at its SWF positions */
.tal-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 40px 0 18px; }
.tal-head { display: flex; align-items: center; gap: 12px; }
.tal-head img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; }
.tal-head h2 { font-size: 1.7rem; margin: 0; }
.tal-head small { color: var(--muted); }
.tal-head small b { color: var(--text); }
.tal-masters { display: flex; flex-wrap: wrap; gap: 14px; }
.thumbs { display: flex; align-items: center; gap: 4px; }
.thumbs .sig { width: 30px; height: 30px; object-fit: contain; margin-right: 4px; }
.thumbs button { width: 38px; height: 38px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: #1f1e25; cursor: pointer; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.6); }
.thumbs button[aria-pressed="true"] { border-color: var(--gold); }
.thumbs button[aria-pressed="true"] img, .thumbs button:hover img { filter: none; }
.tstone.shut img { filter: grayscale(.8) brightness(.55); }
.tstone.used img { visibility: hidden; }
.tal-foot { padding: 10px 0 80px; }
.tal-foot .step { margin-left: 8px; vertical-align: middle; }
.tal-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-top: 18px; }
.tal-info > div { background: var(--panel); border: 1px solid #3a3943; border-radius: var(--radius); padding: 18px; }
.stage-wrap { position: relative; overflow: hidden; }
.stage { position: absolute; left: 0; top: 0; width: 1155px; height: 670px; transform-origin: 0 0; font-family: "GameUI", "Nunito", sans-serif; }
.stage img { max-width: none; }
.stage .lay { position: absolute; pointer-events: none; }
/* The game draws its windows with a dark rim and a soft shadow. */
.stage .frame { filter: drop-shadow(0 0 1px rgba(0, 0, 0, .95)) drop-shadow(0 3px 6px rgba(0, 0, 0, .45)); }
.stage .rowlock { pointer-events: auto; }
.tstone { position: absolute; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.tstone img { width: 100%; height: 100%; display: block; }
.tstone.on { box-shadow: 0 0 0 3px var(--gold), 0 0 14px 4px rgba(244, 199, 108, .7); }
.tnode { position: absolute; padding: 0; border: 0; background: none; aspect-ratio: 1; }
.tnode > img:first-child { width: 100%; display: block; }
.tnode.sock { cursor: pointer; }
.tnode .ic, .tnode .pw { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; }
.tnode .ic { width: 52%; }
.tnode .pw { width: 40%; clip-path: circle(47%); background: #2b2f2c; filter: grayscale(.65) sepia(.35) brightness(.95); }
.tnode .mx { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-58%); text-align: center; color: #e9efe4; font-size: 17px; text-shadow: 0 1px 2px #000; pointer-events: none; }
.tnode .cnt { position: absolute; left: 0; right: 0; top: 46px; line-height: 13px; text-align: center; color: #fff; font-size: 10px; text-shadow: 0 0 3px #000, 0 0 3px #000; pointer-events: none; }
.tnode.focus { filter: drop-shadow(0 0 8px #fff); }
.unspent { position: absolute; width: 220px; text-align: center; color: #fff; font-size: 15px; line-height: 26px; background: rgba(38, 44, 40, .88); border: 1px solid #6d7a68; border-radius: 13px; }
.unspent b { color: var(--gold); }
.gbtn { position: absolute; font: 13px "GameUI", sans-serif; color: #fff; background: linear-gradient(#59605a, #2f3431); border: 2px solid #9aa492; border-radius: 6px; padding: 3px 14px; cursor: pointer; }
.row-btns { display: flex; gap: 8px; margin: 10px 0; }
.warn { color: #ffb4a8; font-size: .9rem; }
.masters { display: grid; gap: 8px; margin-bottom: 18px; }
.powers { display: grid; gap: 8px; margin-top: 12px; }
.power { display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: center; opacity: .45; }
.power.on { opacity: 1; }
.power img { width: 40px; height: 40px; }
.totals li { grid-template-columns: 1fr auto; }
.vals { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.vals span { background: #34333d; border-radius: 6px; padding: 1px 7px; font-size: .85rem; color: var(--muted); }
.vals span.cur { background: var(--gold); color: var(--bg-deep); font-weight: 800; }
.step { display: inline-flex; align-items: center; gap: 6px; background: var(--panel); border: 1px solid #3a3943; border-radius: 10px; padding: 3px; }
.step button { width: 32px; height: 32px; border: 0; border-radius: 8px; background: #3b3a46; color: var(--text); font-weight: 800; cursor: pointer; }
.step input { width: 48px; background: none; border: 0; color: var(--text); font: inherit; font-weight: 800; text-align: center; }

@media (max-width: 900px) {
  .db, .tal { grid-template-columns: 1fr; }
  .detail { position: static; }
  .item { grid-template-columns: 48px minmax(0, 1fr); }
  .item .runes, .item .stats-col { display: none; }
}

/* gear: the Armory's item panel (am_ItemDetail) at its SWF size, text where the game puts it */
.panel-wrap { height: calc(282px * .93); margin-bottom: 8px; }
.itempanel { position: relative; width: 326px; height: 282px; transform: scale(.93); transform-origin: 0 0; font: 13px/1.2 "GameUI", "Nunito", sans-serif; color: #fff; }
.itempanel .pbg { position: absolute; }
.itempanel .pf { position: absolute; white-space: nowrap; text-shadow: 0 1px 1px #000; }
.itempanel .name { font-size: 16px; max-width: 306px; overflow: hidden; text-overflow: ellipsis; }
.itempanel .magic { color: #3aa8ff; }
.itempanel .gtype { width: 91px; text-align: center; font-size: 12px; color: #d8dccf; }
.itempanel .rune { font-size: 11.5px; max-width: 280px; overflow: hidden; text-overflow: ellipsis; color: #ffe08a; }
.itempanel .pr { position: absolute; }
.itempanel .pbox { position: absolute; left: 14px; top: 40px; width: 88px; height: 126px; display: grid; place-items: center; }
.itempanel .pbox img { max-width: 100%; max-height: 100%; }

.grow { flex: 1; }
.lvl { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 700; }
.stats-col { display: grid; text-align: right; }
.stats-col small { color: #7cff5a; font-weight: 700; }
.char .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 12px; }
.field { display: grid; gap: 6px; }
.field > span:first-child, .lab { font-weight: 800; display: block; margin: 8px 0 6px; }
.field .step b { min-width: 34px; text-align: center; }
.stat-list li { display: flex; justify-content: space-between; border-bottom: 1px solid #34333d; padding: 6px 0; }
.stat-list em { color: #7cff5a; font-style: normal; font-size: .9em; }
.does { list-style: none; padding: 0; display: grid; gap: 8px; }
.does li { display: grid; grid-template-columns: 30px 1fr; gap: 8px; }
.does img { width: 30px; }
.exitx { position: absolute; width: 23px; height: 23px; display: grid; place-items: center; color: #f3e6c4; font-size: 17px; font-weight: 900; -webkit-text-stroke: 1.5px #3a3226; paint-order: stroke fill; pointer-events: none; }
.respecn { position: absolute; color: #fff; font: 14px "GameUI", sans-serif; text-shadow: 0 1px 2px #000; pointer-events: none; }

/* quests: a quest on the game's scroll, and Saber with his blue quest bubble */
.feature .quest-art { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 10px; padding: 22px 18px 0; min-height: 320px; background: linear-gradient(rgba(20, 18, 26, .25), rgba(20, 18, 26, .45)), url("assets/keep.jpg") 30% 60%/cover; }
.parch { align-self: center; font-family: "GameUI", "Nunito", sans-serif; }
.parch .scroll { position: relative; margin: 0 -6px -10px; z-index: 1; }
.parch .scroll img { width: 100%; }
.parch .scroll span { position: absolute; inset: 0; display: grid; place-items: center; color: #4a3218; font-size: 1.05rem; padding-bottom: 6%; }
.parch .sheet { background: linear-gradient(#f1e2bd, #e2cc98); border: 2px solid #b89a63; border-radius: 4px 4px 10px 10px; box-shadow: inset 0 0 18px rgba(120, 84, 30, .35), 0 6px 14px rgba(0, 0, 0, .4); color: #3d2a14; padding: 22px 16px 14px; display: grid; gap: 6px; }
.parch .sheet b { font-size: 1.05rem; }
.parch .sheet small { color: #6b5232; }
.qbar { position: relative; height: 16px; border-radius: 8px; background: #8a7350; border: 1px solid #5c4a2c; overflow: hidden; }
.qbar i { position: absolute; inset: 0 auto 0 0; width: 66%; background: linear-gradient(#7fd24c, #3f8f22); }
.qbar span { position: relative; display: block; text-align: center; font-size: .78rem; line-height: 14px; color: #fff; text-shadow: 0 1px 1px #000; }
.reward { display: flex; align-items: center; gap: 8px; border-top: 1px dashed #b89a63; padding-top: 8px; }
.reward img { width: 30px; }
.npc { position: relative; justify-self: center; }
.npc .saber { width: 150px; max-width: 100%; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .5)); }
/* The quest glyph in blue, the way the game now draws Saber's. */
.npc .bubble { position: absolute; left: 50%; top: -48px; width: 44px; transform: translateX(-50%); filter: hue-rotate(165deg) saturate(1.3) drop-shadow(0 3px 4px rgba(0, 0, 0, .5)); animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, -6px); } }
@media (prefers-reduced-motion: reduce) { .npc .bubble { animation: none; } }

/* pvp: two heroes in the game's gear, fighting in the Pit Lord's arena (LevelsSD a_Room_SDMission3_08) */
.feature .duel-art { position: relative; min-height: 320px; background: url("assets/arena.jpg") center 70%/cover; display: block; }
.duel-art .fighter { position: absolute; bottom: 9%; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .45)); }
.duel-art .paladin { left: 14%; height: 62%; animation: lunge 1.6s ease-in-out infinite; }
.duel-art .rogue { right: 16%; height: 50%; transform: scaleX(-1); animation: lunge-back 1.6s ease-in-out infinite; }
.duel-art .clash { position: absolute; left: 50%; bottom: 34%; width: 46px; height: 46px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, #fff 0 18%, rgba(255, 230, 140, .9) 30%, rgba(255, 170, 60, .4) 55%, transparent 70%); animation: clash 1.6s ease-in-out infinite; }
@keyframes lunge { 50% { transform: translateX(10px); } }
@keyframes lunge-back { 50% { transform: scaleX(-1) translateX(10px); } }
@keyframes clash { 0%, 40%, 100% { opacity: 0; transform: translateX(-50%) scale(.4); } 50% { opacity: 1; transform: translateX(-50%) scale(1.15); } 65% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .duel-art .paladin, .duel-art .rogue, .duel-art .clash { animation: none; } }
.class .heroes.pal img { height: 140px; }
.class .heroes.rog img { height: 92px; bottom: -6px; }
.class .heroes.rog img:first-child { left: -14px; }
.class .heroes.rog img:last-child { left: 44px; }

/* Falconer window, rebuilt from the game's own art (falcon/*.png, the a_DialogBox button) and its layout in Flags.as:
   1 u = one unit of the 1000-wide list, scaled into the board (1116 of the frame's 1258 px). */
.feature .falcon-art { background: radial-gradient(circle at 50% 45%, #2f3a2c, var(--panel) 72%); padding: 26px 14px; }
.falcon { position: relative; width: 100%; aspect-ratio: 1258 / 681; background: url("assets/falcon/falconer_body.png") center/100% 100% no-repeat; container-type: inline-size; font-family: "GameUI", "Nunito", sans-serif; filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .55)); --u: calc(106cqw / 1258); }
.falcon .ftitle { position: absolute; left: 0; right: 0; top: .9cqw; text-align: center; font-size: 3.2cqw; font-weight: 700; color: #f4c76c; text-shadow: 0 0 2px #2a1508, 0 0 4px #2a1508, 0 0 6px #2a1508; }
.falcon .fx { position: absolute; right: 2.6cqw; top: 1.4cqw; color: #f3e6c4; font-size: 2.4cqw; font-weight: 900; -webkit-text-stroke: .25cqw #3a3226; paint-order: stroke fill; }
.falcon .fboard { position: absolute; left: 5.56%; width: 88.7%; top: 11.75%; height: 78.1%; display: grid; align-content: center; justify-content: center; }
.falcon .fhead, .falcon ol { width: calc(1000 * var(--u)); }
.falcon .fhead { position: relative; height: calc(34 * var(--u)); font-size: calc(22 * var(--u)); font-weight: 700; }
.falcon .fhead span { position: absolute; left: calc(340 * var(--u)); }
.falcon .fhead .dr { left: calc(660 * var(--u)); color: #e0603c; }
.falcon .fhead .nm { color: #f1c35c; }
.falcon ol { list-style: none; margin: 0; padding: 0; }
.falcon li { position: relative; height: calc(48 * var(--u)); margin-bottom: calc(4 * var(--u)); border-style: solid; border-width: 0 calc(15.36 * var(--u)); border-image: url("assets/falcon/falconer_row.png") 0 96 fill / 0 calc(15.36 * var(--u)) stretch; animation: frow .5s ease-out backwards; }
.falcon li:nth-child(2) { animation-delay: .06s; } .falcon li:nth-child(3) { animation-delay: .12s; } .falcon li:nth-child(4) { animation-delay: .18s; } .falcon li:nth-child(5) { animation-delay: .24s; } .falcon li:nth-child(n+6) { animation-delay: .3s; }
@keyframes frow { from { opacity: 0; transform: translateY(calc(10 * var(--u))); } }
.falcon li.off { filter: brightness(.6); }
.falcon .zart { position: absolute; left: calc(-6.1 * var(--u)); right: calc(-6.1 * var(--u)); top: 12%; height: 76%; border-radius: calc(8 * var(--u)); background: center/cover; filter: brightness(.55); }
.falcon li.off .zart { filter: grayscale(1) brightness(.3); }
.falcon .zn { position: absolute; left: calc(-3.8 * var(--u)); top: calc(10 * var(--u)); font-size: calc(22 * var(--u)); font-weight: 700; color: #fff; white-space: nowrap; }
.falcon li.off .zn { color: #a0a0a8; }
.falcon .trip { position: absolute; top: calc(2 * var(--u)); height: calc(46 * var(--u)); left: calc(314.6 * var(--u)); width: calc(260 * var(--u)); display: flex; align-items: center; }
.falcon .trip.dr { left: calc(634.6 * var(--u)); width: calc(337.7 * var(--u)); }
.falcon .trip img { width: calc(34 * var(--u)); height: calc(34 * var(--u)); object-fit: contain; margin-right: calc(4 * var(--u)); }
.falcon .trip b { font-size: calc(20 * var(--u)); color: #f1c35c; }
.falcon .trip.dr b { color: #e0603c; }
.falcon .trip.off b { color: #8a8a92; }
.falcon .trip i { margin-left: auto; width: calc(177 * var(--u)); height: calc(47.5 * var(--u)); display: grid; place-items: center; background: url("assets/ui/button.svg") center/100% 100% no-repeat; font-style: normal; font-weight: 700; font-size: calc(21 * var(--u)); color: #fff; text-shadow: 0 1px 2px #000; }
.falcon .trip.off i { opacity: .55; }
.feature.wide-art { grid-template-columns: 1.45fr 1fr; }
.feature.flip.wide-art { grid-template-columns: 1fr 1.45fr; }

/* Maleen's mounts: real mounts composed from the game's rigs, as portrait cards in a fan. */
.feature .mount-art { background: none; border: 0; overflow: visible; min-height: 330px; }
.fan { position: relative; width: 100%; height: 300px; }
.mcard { position: absolute; left: calc(50% + var(--i) * 92px - 75px); top: calc(40px + var(--i) * var(--i) * 5px); width: 150px; height: 214px; margin: 0; border-radius: 18px; overflow: hidden; border: 3px solid #15141a; background: radial-gradient(circle at 60% 30%, var(--c1), var(--c2)); box-shadow: 0 14px 26px rgba(0, 0, 0, .5); transform: rotate(calc(var(--i) * 6deg)); animation: fanout .9s cubic-bezier(.2, .9, .3, 1.2) backwards; transition: transform .25s; }
.mcard:hover { transform: rotate(calc(var(--i) * 6deg)) translateY(-18px) scale(1.04); z-index: 9; }
.mcard img { position: absolute; max-width: none; height: var(--h, 230%); right: var(--x, -30%); top: var(--y, -12%); filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .45)); }
@keyframes fanout { from { transform: rotate(0deg) translateX(calc(var(--i) * -92px)); opacity: 0; } }
.mcard.m0 { --i: -2.5; --c1: #8fb6c9; --c2: #3c5a6b; }
.mcard.m1 { --i: -1.5; --c1: #b9e2ef; --c2: #4b7c8f; animation-delay: .05s; }
.mcard.m2 { --i: -.5; --c1: #e7c56a; --c2: #8a5a2a; animation-delay: .1s; }
.mcard.m3 { --i: .5; --c1: #c45a4a; --c2: #4a1c18; animation-delay: .15s; }
.mcard.m4 { --i: 1.5; --c1: #9a5bd0; --c2: #3a1f5a; animation-delay: .2s; }
.mcard.m5 { --i: 2.5; --c1: #7fb37a; --c2: #2c4a2a; animation-delay: .25s; }
.mcard.m0, .mcard.m1, .mcard.m2 { --h: 210%; --x: -4%; --y: -6%; }
.mcard.m3, .mcard.m4, .mcard.m5 { --h: 230%; --x: -6%; --y: -62%; }

/* Gem Garden: the store's own Gem Garden splash, four plots mining Dragon Ore, potions floating by. */
.feature .garden-art { background: none; border: 0; padding: 0; min-height: 0; overflow: visible; }
.cave { position: relative; width: 100%; aspect-ratio: 1050 / 560; border-radius: var(--radius); overflow: hidden; background: #1d6f86; box-shadow: 0 16px 30px rgba(0, 0, 0, .5); }
/* The splash PNG has a transparent margin: its picture is 1050x560 at (28, 62) of 1195x674. */
.cave::before { content: ""; position: absolute; left: -2.667%; top: -11.07%; width: 113.81%; height: 120.36%; background: url("assets/gem_garden.png") 0 0 / 100% 100% no-repeat; }
.cave::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 40%, rgba(120, 255, 255, .18), transparent 45%); animation: glow 4s ease-in-out infinite; pointer-events: none; }
@keyframes glow { 50% { opacity: .35; } }
.plots { position: absolute; left: 4%; right: 34%; bottom: 9%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 3%; }
.plot { position: relative; aspect-ratio: 1; }
.plot .ring { position: absolute; inset: 0; width: 100%; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .5)); }
.plot .gem { position: absolute; left: 20%; top: 16%; width: 60%; height: 60%; object-fit: contain; animation: grow 4s ease-in-out infinite; transform-origin: 50% 80%; }
.plot.p1 .gem { animation-delay: -1s; } .plot.p2 .gem { animation-delay: -2s; } .plot.p3 .gem { animation-delay: -3s; }
@keyframes grow { 0% { transform: scale(.35); opacity: .5; } 70% { transform: scale(1); opacity: 1; filter: drop-shadow(0 0 0 #6ff); } 80% { transform: scale(1.08); filter: drop-shadow(0 0 10px #8ff); } 100% { transform: scale(1); opacity: 1; } }
.plot .grow { position: absolute; left: 14%; right: 14%; bottom: -14%; height: 9%; border-radius: 99px; background: #14131a; border: 1px solid #000; overflow: hidden; }
.plot .grow i { display: block; height: 100%; width: 0; background: linear-gradient(#7ff7ff, #2a9fd0); animation: fill 4s linear infinite; }
.plot.p1 .grow i { animation-delay: -1s; } .plot.p2 .grow i { animation-delay: -2s; } .plot.p3 .grow i { animation-delay: -3s; }
@keyframes fill { 0% { width: 5%; } 75%, 100% { width: 100%; } }
.pots { position: absolute; right: 3%; top: 8%; bottom: 8%; width: 28%; }
.pot { position: absolute; width: 34%; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .55)); animation: bob 3.2s ease-in-out infinite; }
.pot.q0 { left: 4%; top: 4%; } .pot.q1 { left: 54%; top: 16%; animation-delay: -.6s; } .pot.q2 { left: 12%; top: 40%; animation-delay: -1.2s; } .pot.q3 { left: 60%; top: 52%; animation-delay: -1.8s; } .pot.q4 { left: 30%; top: 72%; animation-delay: -2.4s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-14%) rotate(6deg); } }
@media (prefers-reduced-motion: reduce) { .mcard, .plot .gem, .plot .grow i, .pot, .cave::after { animation: none; } }
@media (max-width: 760px) { .fan { transform: scale(.58); transform-origin: 50% 0; height: 190px; } .feature .mount-art { min-height: 200px; } .feature.wide-art, .feature.flip.wide-art { grid-template-columns: 1fr; } }
.plot .cost { position: absolute; left: 50%; top: -24%; transform: translateX(-50%); display: flex; align-items: center; gap: 3px; padding: 1px 8px; border-radius: 99px; background: rgba(15, 14, 20, .85); border: 1px solid #000; color: var(--gold); font: 800 clamp(.6rem, 1.4vw, .8rem) "Nunito", sans-serif; white-space: nowrap; }
.plot .cost img { width: 1.1em; height: 1.1em; }
.feature .garden-art { align-self: start; position: sticky; top: 90px; }
@media (max-width: 760px) { .feature .garden-art { position: static; } }

/* ==========================================================================
   Glass theme: frosted panels over a dark ambient background, gold as the one accent.
   The replicas of in-game windows (talent stage, Falconer, quest parchment) keep the game's own look.
   ========================================================================== */
:root {
  --bg: #121219;
  --bg-deep: #0d0d13;
  --glass: rgba(255, 255, 255, .055);
  --glass-hi: rgba(255, 255, 255, .09);
  --glass-line: rgba(255, 255, 255, .11);
  --glass-blur: blur(16px) saturate(140%);
  --muted: #a9a9b6;
}
body {
  background:
    radial-gradient(900px 600px at 12% -5%, rgba(244, 199, 108, .14), transparent 60%),
    radial-gradient(800px 700px at 95% 20%, rgba(63, 143, 134, .16), transparent 60%),
    radial-gradient(900px 700px at 40% 110%, rgba(120, 90, 200, .12), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
.new { background: transparent; }

.nav { background: rgba(14, 14, 20, .55); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border-bottom: 1px solid var(--glass-line); }
.nav-links a:hover, .nav-links a[aria-current] { background: var(--glass-hi); }

/* Every content panel becomes a frosted pane. */
.fact, .zone, .class, .card, .faq details, .tal-info > div, .item, .seg, .search, .step, .detail,
.feature .art:not(.boss-art):not(.mount-art):not(.garden-art):not(.quest-art):not(.duel-art) {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.feature .falcon-art { background: radial-gradient(circle at 50% 40%, rgba(244, 199, 108, .08), transparent 70%), var(--glass); }
.item:hover, .zone:hover, .class:hover { background: var(--glass-hi); }
.zone, .class, .item { transition: background .2s, transform .2s; }
.zone:hover { transform: translateY(-3px); }
.disciplines a, .vals span, .step button { background: rgba(255, 255, 255, .07); border-color: var(--glass-line); }
.seg button[aria-pressed="true"] { background: rgba(244, 199, 108, .16); color: var(--gold); }
.feature, .stats li, footer { border-color: var(--glass-line); }
.feature .quest-art, .feature .duel-art, .cave { border: 1px solid var(--glass-line); }

/* Buttons: liquid gold for the main action, clear glass for the rest. */
.btn {
  border: 1px solid rgba(255, 230, 170, .55);
  background: linear-gradient(180deg, rgba(255, 220, 140, .95), rgba(214, 160, 60, .95));
  color: #2a1d06; text-shadow: none;
  box-shadow: 0 8px 24px rgba(244, 199, 108, .25), inset 0 1px 0 rgba(255, 255, 255, .6);
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(244, 199, 108, .35), inset 0 1px 0 rgba(255, 255, 255, .6); filter: none; }
.btn.ghost { background: var(--glass); color: var(--text); border: 1px solid var(--glass-line); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.btn.ghost:hover { background: var(--glass-hi); }
.tag { background: rgba(244, 199, 108, .14); color: var(--gold); border: 1px solid rgba(244, 199, 108, .35); }
.steps li::before { background: rgba(244, 199, 108, .16); color: var(--gold); border: 1px solid rgba(244, 199, 108, .4); }
.zone .pic span { background: rgba(14, 14, 20, .55); backdrop-filter: blur(6px); border: 1px solid rgba(244, 199, 108, .6); }
.hero::after { background: linear-gradient(90deg, var(--bg) 15%, rgba(18, 18, 25, .55) 60%, rgba(18, 18, 25, .1)), linear-gradient(0deg, var(--bg) 0, transparent 35%); }
.btn.discord { background: linear-gradient(180deg, #7a86ff, #5865f2); color: #fff; border-color: rgba(200, 205, 255, .5); box-shadow: 0 8px 24px rgba(88, 101, 242, .35), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn.discord svg { width: 22px; height: 22px; fill: currentColor; }

/* ---------- Features page ---------- */
.f-hero { padding: 96px 0 40px; text-align: center; }
.f-hero .lead { margin: 0 auto 28px; }
.f-hero .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.f-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.f-grid .card h3 { color: var(--text); font-size: 1.25rem; }
.f-grid .card p { color: var(--muted); margin: 0; }
.f-grid .card .ico { width: 44px; height: 44px; object-fit: contain; margin-bottom: 10px; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .5)); }
.f-how { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.shipped { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.shipped li { display: flex; gap: 12px; align-items: center; }
.shipped li img { width: 34px; height: 34px; object-fit: contain; flex: none; }
.shipped li b { color: var(--text); }
.shipped li span { color: var(--muted); }
.discord-cta { position: relative; overflow: hidden; text-align: center; padding: 48px 26px; }
.discord-cta::before { content: ""; position: absolute; inset: -40% -10% auto; height: 120%; background: radial-gradient(closest-side, rgba(88, 101, 242, .35), transparent); pointer-events: none; }
.discord-cta > * { position: relative; }
.discord-cta .lead { margin: 0 auto 24px; }
.perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.perks li { padding: 6px 14px; border-radius: 999px; background: var(--glass-hi); border: 1px solid var(--glass-line); font-weight: 700; font-size: .92rem; }
@media (max-width: 900px) { .f-grid, .f-how { grid-template-columns: 1fr; } }

/* ==========================================================================
   Dragonfire theme: near-black ground, dragon red as the one accent, glossy iOS-style glass
   (strong blur, a light sheen on top, bright rim). Gold stays for prices and rewards.
   ========================================================================== */
:root {
  --bg: #0b0708;
  --bg-deep: #070405;
  --red: #ff3d3d;
  --red-deep: #b5121b;
  --glass: rgba(255, 255, 255, .045);
  --glass-hi: rgba(255, 255, 255, .08);
  --glass-line: rgba(255, 255, 255, .12);
  --glass-blur: blur(22px) saturate(160%);
  --sheen: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .02) 38%, transparent 60%);
  --muted: #b9a9ab;
  --text: #f6eeee;
}
body {
  background:
    radial-gradient(1000px 650px at 10% -10%, rgba(255, 61, 61, .20), transparent 60%),
    radial-gradient(900px 700px at 100% 20%, rgba(181, 18, 27, .22), transparent 60%),
    radial-gradient(900px 700px at 45% 115%, rgba(255, 90, 40, .10), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
h1, h2, .feature h3, .f-grid .card h3, .brand { font-family: "Lilita One", "Nunito", sans-serif; letter-spacing: .3px; }
h1 { background: linear-gradient(180deg, #ffffff 30%, #ffc2bd); -webkit-background-clip: text; background-clip: text; color: transparent; }
h3, .class h3 { color: #ff6b63; }
.brand em { color: var(--red); }
a { color: #ff6b63; }
.nav { background: rgba(11, 7, 8, .55); }
.nav-links a:hover, .nav-links a[aria-current] { color: #fff; background: rgba(255, 61, 61, .16); }

/* Glossy glass: sheen on top of every pane, brighter rim, deeper shadow. */
.fact, .zone, .class, .card, .faq details, .tal-info > div, .item, .seg, .search, .step, .detail,
.feature .art:not(.boss-art):not(.mount-art):not(.garden-art):not(.quest-art):not(.duel-art):not(.shots-art) {
  background-image: var(--sheen);
  background-color: var(--glass);
  border: 1px solid var(--glass-line);
  border-top-color: rgba(255, 255, 255, .22);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 -1px 0 rgba(0, 0, 0, .3);
  border-radius: 20px;
}
.item:hover, .zone:hover, .class:hover { background-color: var(--glass-hi); border-color: rgba(255, 61, 61, .35); }

/* Buttons: glossy red capsules. */
.btn {
  border-radius: 999px;
  border: 1px solid rgba(255, 170, 160, .55);
  background: linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 52%), linear-gradient(180deg, #ff5b52, #c3141d);
  color: #fff;
  text-shadow: 0 1px 1px rgba(80, 0, 0, .5);
  box-shadow: 0 10px 28px rgba(255, 45, 45, .35), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.btn:hover { box-shadow: 0 14px 34px rgba(255, 45, 45, .5), inset 0 1px 0 rgba(255, 255, 255, .55); }
.btn.ghost { border-radius: 999px; background: var(--sheen), rgba(255, 255, 255, .06); color: var(--text); border: 1px solid rgba(255, 255, 255, .18); text-shadow: none; }
.btn.discord { border-radius: 999px; }
.tag { background: rgba(255, 61, 61, .14); color: #ff8a83; border: 1px solid rgba(255, 61, 61, .45); border-radius: 999px; padding: 2px 10px; }
.steps li::before { background: rgba(255, 61, 61, .16); color: #ff8a83; border: 1px solid rgba(255, 61, 61, .5); }
.seg button[aria-pressed="true"] { background: rgba(255, 61, 61, .18); color: #fff; }
.disciplines a { border-radius: 999px; }
.zone .pic span { border-color: rgba(255, 61, 61, .75); color: #ff8a83; }
.fact b { color: #ff6b63; }
.zone small { color: #ff8a83; }
.stats b { color: #f4c76c; }
.online i { background: #46e06a; box-shadow: 0 0 8px #46e06a; }
.feature .falcon-art { background-image: radial-gradient(circle at 50% 40%, rgba(255, 61, 61, .10), transparent 70%); }
.perks li { border-radius: 999px; }

/* Quality of life: real in-game screenshots as cards fanned out like Maleen's mounts. */
.feature .shots-art { background: none; border: 0; overflow: visible; min-height: 360px; padding: 0; }
.shots { position: relative; width: 100%; height: 340px; }
.shot { position: absolute; margin: 0; left: calc(50% + var(--x) - var(--w) / 2); top: var(--y); width: var(--w); height: var(--h); border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .25); background: #120b0c; box-shadow: 0 16px 34px rgba(0, 0, 0, .55); transform: rotate(var(--r)); animation: shotin .8s cubic-bezier(.2, .9, .3, 1.15) backwards; transition: transform .25s, z-index 0s .25s; }
.shot:hover { transform: rotate(0deg) scale(1.12); z-index: 10; transition: transform .25s; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; image-rendering: auto; }
.shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 7px; font-size: .78rem; font-weight: 800; color: #fff; background: linear-gradient(transparent, rgba(5, 10, 20, .85)); text-shadow: 0 1px 2px #000; }
@keyframes shotin { from { opacity: 0; transform: rotate(0deg) translateY(30px) scale(.9); } }
.shot.s0 { --x: 0px; --y: 10px; --w: 380px; --h: 262px; --r: 0deg; z-index: 3; }
.shot.s1 { --x: -185px; --y: 40px; --w: 130px; --h: 190px; --r: -9deg; z-index: 4; animation-delay: .1s; }
.shot.s1 img { object-position: center 20%; }
.shot.s2 { --x: 115px; --y: 200px; --w: 250px; --h: 86px; --r: 5deg; z-index: 5; animation-delay: .2s; }
.shot.s3 { --x: -140px; --y: 250px; --w: 240px; --h: 54px; --r: -4deg; z-index: 5; animation-delay: .3s; }
.shot.s3 img, .shot.s2 img { object-fit: contain; background: #1c1214; }
.shot.s3 figcaption, .shot.s2 figcaption { padding-top: 4px; font-size: .68rem; }
.shot.s4 { --x: 170px; --y: 18px; --w: 200px; --h: 74px; --r: 7deg; z-index: 4; animation-delay: .4s; }
.shot.s4 img { object-fit: contain; background: #1c1214; }
.shot.s4 figcaption { padding-top: 4px; font-size: .68rem; }
@media (max-width: 760px) { .shots { transform: scale(.7); transform-origin: 50% 0; height: 250px; } .feature .shots-art { min-height: 260px; } }
@media (prefers-reduced-motion: reduce) { .shot { animation: none; } }

.feature .shots-art { background: none !important; border: 0 !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
html, body { overflow-x: clip; }
.shot.s4 img { height: calc(100% - 20px); }
.shot.s4 figcaption { background: #1c1214; padding: 3px 10px; }

/* Gem Garden and potions: the store's own windows as cards. */
.garden-shots .shots { height: 380px; }
.shot.g0 { --x: -70px; --y: 10px; --w: 380px; --h: 249px; --r: -5deg; z-index: 3; }
.shot.g1 { --x: 80px; --y: 120px; --w: 380px; --h: 249px; --r: 5deg; z-index: 4; animation-delay: .12s; }
.shot.g2 { --x: -150px; --y: 265px; --w: 230px; --h: 78px; --r: -6deg; z-index: 5; animation-delay: .24s; }
.shot.g3 { --x: 175px; --y: 12px; --w: 200px; --h: 92px; --r: 8deg; z-index: 2; animation-delay: .36s; }
.shot.g2 figcaption, .shot.g3 figcaption { padding-top: 6px; font-size: .7rem; }
@media (max-width: 760px) { .garden-shots .shots { height: 270px; } }

/* Legal page */
.legal { display: grid; gap: 18px; max-width: 820px; }
.legal .card { scroll-margin-top: 90px; }
.legal .card p { color: var(--muted); line-height: 1.6; margin: 0 0 10px; }
.legal .card p:last-child { margin-bottom: 0; }
.legal a, footer a { color: var(--red); }

/* Events & Treasures */
.events-art { position: relative; min-height: 380px; background: radial-gradient(60% 60% at 45% 50%, rgba(80, 255, 90, .18), transparent 70%) !important; border: 0 !important; box-shadow: none !important; backdrop-filter: none !important; }
.events-art .ev-knight { position: absolute; left: 4%; top: 2%; width: 74%; filter: drop-shadow(0 0 22px rgba(80, 255, 90, .45)); }
.events-art .ev-jack { position: absolute; right: 2%; bottom: -14%; width: 34%; animation: ev-float 3.2s ease-in-out infinite; filter: drop-shadow(0 0 16px rgba(255, 150, 30, .55)); }
@keyframes ev-float { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-14px) rotate(4deg); } }
.ev-new { margin-top: 18px; font-family: "Lilita One", sans-serif; font-size: 1.45rem; line-height: 1.25;
  background: linear-gradient(90deg, #ff3d3d, #ff9a1f, #ffe14d, #6dff5c, #ff3d3d); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: ev-shine 6s linear infinite; }
@keyframes ev-shine { to { background-position: 200% 0; } }
@media (prefers-reduced-motion: reduce) { .events-art .ev-jack, .ev-new { animation: none; } }
.feature .art.events-art { height: 420px; overflow: visible; }
.events-art .ev-knight { top: 0; width: auto; height: 100%; }
.events-art .ev-jack { bottom: 6%; }
.feature p.ev-new { color: transparent; -webkit-text-fill-color: transparent; }
.events-art .ev-jack { right: -8%; bottom: 2%; width: 38%; z-index: 2; }
.events-art .ev-gear { position: absolute; z-index: 3; margin: 0; width: 120px; padding: 10px 8px 8px; text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.03)); border: 1px solid var(--glass-line);
  border-radius: 16px; backdrop-filter: blur(10px); box-shadow: 0 10px 26px rgba(0,0,0,.45); transition: transform .25s; }
.events-art .ev-gear img { width: 78px; height: 78px; object-fit: contain; display: block; margin: 0 auto 4px; }
.events-art .ev-gear figcaption { font-size: .74rem; font-weight: 800; color: #ffd36b; line-height: 1.2; }
.events-art .ev-gear.g-a { left: -2%; top: 4%; transform: rotate(-7deg); }
.events-art .ev-gear.g-b { left: -2%; bottom: 0; transform: rotate(6deg); }
.events-art .ev-gear:hover { transform: rotate(0) scale(1.1); }
.events-art .ev-knight { left: 18%; }
.events-art .ev-gear.g-a, .events-art .ev-gear.g-b { left: 3%; }
.events-art .ev-jack { right: -14%; }
.rainbow { background: linear-gradient(90deg, #ff3d3d, #ff9a1f, #ffe14d, #6dff5c, #3dc8ff, #8a5cff, #ff4fd8, #ff3d3d); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: ev-shine 5s linear infinite; }
@media (prefers-reduced-motion: reduce) { .rainbow { animation: none; } }
.faq p a { color: var(--red); }
