/* Draventa landing pages (/en/, 404): readable text pages around the game. Mobile first. */
:root { --gold: #f6cf5a; --gold-deep: #c88a1c; --brass: #c9a24a; --ink: #140d06; --panel: #1f150b; --panel-2: #2a1c0e; --cream: #f3e2b5; --parch: #d9c79a; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--cream); font: 400 17px/1.65 Georgia, "Times New Roman", serif; -webkit-font-smoothing: antialiased; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #ffe08a; }
img { max-width: 100%; height: auto; display: block; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: 8px; background: var(--gold); color: #2a1604; font: 700 15px Arial, sans-serif; }
.skip:focus { top: 8px; }

.bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px max(16px, env(safe-area-inset-right)) 8px max(16px, env(safe-area-inset-left));
       background: rgba(20, 13, 6, 0.92); border-bottom: 1px solid rgba(201, 162, 74, 0.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font: 800 20px "Fira Sans Condensed", Georgia, serif; letter-spacing: 0.06em; }
.brand img { width: 40px; height: 40px; border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 10px 12px; border-radius: 8px; color: var(--parch); font: 600 15px Arial, sans-serif; text-decoration: none; }
.nav a:hover { background: rgba(246, 207, 90, 0.12); color: var(--cream); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border: 2px solid #8a5a12; border-radius: 26px;
       background: linear-gradient(var(--gold), var(--gold-deep)); color: #2a1604 !important; font: 800 18px "Fira Sans Condensed", Arial, sans-serif; text-decoration: none; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45); }
.btn:hover { filter: brightness(1.07); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid rgba(246, 207, 90, 0.7); outline-offset: 3px; }
.btn.small { min-height: 40px; padding: 0 18px; font-size: 16px; }

.hero { position: relative; display: grid; place-items: center; min-height: min(78vh, 640px); padding: 56px 20px 64px; text-align: center; isolation: isolate;
        background: var(--ink) url("/TemplateData/keyart.jpg") center / cover no-repeat; background-image: image-set(url("/TemplateData/keyart-small.webp") type("image/webp"), url("/TemplateData/keyart.jpg") type("image/jpeg")); }
@media (min-width: 900px) { .hero { background-image: image-set(url("/TemplateData/keyart.webp") type("image/webp"), url("/TemplateData/keyart.jpg") type("image/jpeg")); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 10, 6, 0.25), rgba(14, 10, 6, 0.82)); }
.hero .logo { width: min(340px, 70vw); margin: 0 auto 8px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.6)); }
.hero h1 { margin: 6px 0 12px; color: var(--gold); font: 800 clamp(30px, 5.4vw, 52px)/1.1 "Fira Sans Condensed", Georgia, serif; text-shadow: 0 3px 12px #000; }
.hero p { max-width: 640px; margin: 0 auto 26px; color: #fff1c9; font-size: clamp(17px, 2.2vw, 21px); text-shadow: 0 2px 8px #000; }
.hero .meta { margin: 18px 0 0; color: var(--parch); font: 600 14px Arial, sans-serif; }

main { max-width: 1080px; margin: 0 auto; padding: 0 max(18px, env(safe-area-inset-right)) 40px max(18px, env(safe-area-inset-left)); }
section { padding: 52px 0 8px; }
h2 { margin: 0 0 8px; color: var(--gold); font: 800 clamp(26px, 4vw, 36px)/1.2 "Fira Sans Condensed", Georgia, serif; }
.lead { max-width: 720px; margin: 0 0 26px; color: var(--parch); }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); margin: 0; padding: 0; list-style: none; }
.card { padding: 20px 20px 18px; border: 1px solid rgba(201, 162, 74, 0.35); border-radius: 14px; background: linear-gradient(var(--panel-2), var(--panel)); }
.card h3 { margin: 0 0 6px; color: var(--cream); font: 800 20px "Fira Sans Condensed", Georgia, serif; }
.card p { margin: 0; color: var(--parch); font-size: 16px; line-height: 1.55; }
.shots { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); margin: 0; padding: 0; list-style: none; }
.shots figure { margin: 0; overflow: hidden; border: 1px solid rgba(201, 162, 74, 0.35); border-radius: 14px; background: var(--panel); }
.shots img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.shots figcaption { padding: 10px 14px 12px; color: var(--parch); font-size: 15px; }
.steps { counter-reset: step; display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.steps li { position: relative; padding: 16px 18px 16px 70px; border-radius: 14px; background: var(--panel); border: 1px solid rgba(201, 162, 74, 0.25); }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 16px; top: 14px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
                    background: linear-gradient(var(--gold), var(--gold-deep)); color: #2a1604; font: 800 20px "Fira Sans Condensed", Arial, sans-serif; }
.steps strong { color: var(--cream); }
details { margin: 0 0 10px; border: 1px solid rgba(201, 162, 74, 0.3); border-radius: 12px; background: var(--panel); }
summary { cursor: pointer; padding: 16px 18px; color: var(--cream); font: 700 18px "Fira Sans Condensed", Georgia, serif; list-style-position: inside; }
details[open] summary { color: var(--gold); }
details p { margin: 0; padding: 0 18px 16px; color: var(--parch); }
.cta { margin: 56px 0 0; padding: 40px 20px; border: 1px solid rgba(201, 162, 74, 0.4); border-radius: 18px; text-align: center;
       background: radial-gradient(ellipse at top, rgba(246, 207, 90, 0.14), transparent 60%), var(--panel); }
.cta h2 { margin-bottom: 10px; }
.cta p { margin: 0 auto 22px; max-width: 560px; color: var(--parch); }

footer { padding: 28px max(18px, env(safe-area-inset-right)) calc(28px + env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)); border-top: 1px solid rgba(201, 162, 74, 0.3); background: #0e0904; text-align: center; color: var(--parch); font: 400 15px/1.6 Arial, sans-serif; }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; margin-bottom: 10px; }
footer a { padding: 8px 10px; color: var(--cream); }
footer small { color: #a8966c; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav a:not(.btn) { display: none; }
  section { padding-top: 40px; }
  .hero { min-height: 70vh; padding: 40px 16px 48px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
