/* Homepage spacing and hierarchy. Original Vexor artwork and interactions remain shared. */
:root{--page-width:1240px;--page-gutter:32px}
.site-header{height:112px;background:linear-gradient(180deg,#0b0911f2,#100d17e8);border-bottom:1px solid #ad8c584d;box-shadow:0 5px 24px #0005}
.nav-shell{max-width:var(--page-width);grid-template-columns:180px minmax(0,1fr) 180px;padding-inline:var(--page-gutter);gap:24px}
.brand-icon.brand-wordmark{width:154px;height:64px;justify-self:start}
.brand-wordmark img{object-fit:contain}
.nav-shell nav{width:100%;justify-content:center;gap:clamp(22px,2.5vw,36px)}
.nav-shell nav a,.nav-shell .nav-link{font-size:14px;letter-spacing:.65px;padding:16px 0}
.nav-shell nav>a+*:before{display:none}
.nav-play{min-width:176px;min-height:56px}

.living-hero{min-height:610px;padding:76px var(--page-gutter) 112px;justify-content:center;align-items:center;scroll-margin-top:112px}
.living-hero::after{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background:radial-gradient(ellipse at 50% 43%,#09061188 0%,#09061142 45%,transparent 78%),linear-gradient(180deg,#0b091130,transparent 35%,#0c09115c)}
.living-hero .hero-content{width:min(800px,100%);margin:0;position:relative;z-index:1}
.living-hero h1.hero-dragon-logo{width:min(390px,100%);margin:0 0 16px;line-height:0;filter:drop-shadow(0 4px 8px #0009)}
.hero-tagline{margin:0;font:normal 29px/1.35 var(--font);color:#f7efdf;text-shadow:0 2px 8px #000}
.button{white-space:nowrap}
.hero-kicker{font:normal 13px/1.4 var(--font);color:#dcc59e;letter-spacing:4px;text-transform:uppercase;margin:0 0 20px;text-shadow:0 2px 5px #000}
.living-hero h1{width:100%;margin:0;font:normal clamp(42px,5.1vw,68px)/1.13 var(--font);letter-spacing:.015em;padding:0;background:none;color:#f7efdf;filter:none;text-shadow:0 3px 15px #000c}
.hero-intro{max-width:560px;margin:22px 0 26px;font-size:17px;line-height:1.8;color:#e0d6df;text-shadow:0 2px 7px #000}
.living-hero .hero-actions{gap:16px;width:auto;max-width:100%;margin:0;justify-content:center}
.living-hero .hero-actions .button{width:232px;min-width:0;min-height:76px;font-size:18px;padding-inline:30px}
.living-hero .hero-actions .button-outline{min-width:0;font-size:16px}
.scenery-controls{right:max(var(--page-gutter),calc((100vw - var(--page-width))/2 + var(--page-gutter)));bottom:34px}

.world-section{max-width:var(--page-width);padding:38px var(--page-gutter) 54px}
.world-section .section-heading{margin-bottom:30px}
.world-section .section-heading h2{font-size:19px;letter-spacing:5px;gap:24px;white-space:normal}
.world-section .section-heading h2::before,.world-section .section-heading h2::after{width:100px;flex:0 1 100px}
.adventure-grid{width:100%;max-width:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:0}
.adventure-card{min-width:0;padding-bottom:8px}
.adventure-card .scene{aspect-ratio:442/225}
.adventure-card .scene svg{display:block}
.card-caption{margin-top:16px}
.card-caption h3{font-size:20px;line-height:1.5;letter-spacing:3px}
.card-ornament{margin-top:10px}
.card-ornament::before,.card-ornament::after{width:65px}

.community-section{max-width:var(--page-width);margin:0 auto;padding:0 var(--page-gutter) 36px}
.community-inner{max-width:none;padding:70px 38px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:30px;border-block:1px solid #9d7ca32e;background:radial-gradient(ellipse at center,#43205438,transparent 72%)}
.community-inner .section-heading{margin:0;flex:0 1 auto;text-align:center}
.community-inner .section-heading .eyebrow{font-size:11px;letter-spacing:2.5px;margin-bottom:14px;color:#d6bc98}
.community-inner .section-heading h2{display:block;font-size:38px;line-height:1.25;letter-spacing:.4px;text-transform:none;margin:0 0 16px}
.community-inner .section-heading h2::before,.community-inner .section-heading h2::after{display:none}
.community-inner .section-heading p{max-width:520px;line-height:1.7;font-size:15px;color:#beb0c5}
.community-inner .community-actions{flex:0 0 auto;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:16px;width:100%}
.community-inner .button{min-width:228px;min-height:70px;font-size:16px;margin:0}
footer{background:#09070ddd;border-top:1px solid #ad8c5826}
.footer-inner{max-width:var(--page-width);padding:36px var(--page-gutter) 26px;margin:auto;background:none;border:0;display:grid;grid-template-columns:1.5fr 1fr 1fr;align-items:start;gap:28px 72px}
.footer-identity{display:flex;align-items:center;gap:24px}
.footer-brand{width:120px;flex:0 0 120px}
.footer-inner p{max-width:150px;color:#96899f;line-height:1.7}
.footer-links{display:flex;flex-direction:column;align-items:flex-start;gap:9px;padding-top:14px}
.footer-links h2{font:normal 14px/1.5 var(--font);letter-spacing:1.6px;text-transform:uppercase;color:#d6bd98;margin:0 0 6px}
.footer-links a,.footer-links .text-button{font:normal 13px/1.6 var(--sans);color:#afa1b7;background:none;border:0;padding:2px 0;text-align:left}
.footer-links a:hover,.footer-links .text-button:hover{color:#f0dfc6;text-decoration:underline;text-underline-offset:4px}
.footer-bottom{grid-column:1/-1;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 20px;padding-top:18px;border-top:1px solid #ad8c5826}
.footer-bottom .copyright{font-size:12px;margin:0;white-space:normal}
.footer-bottom>a{font-size:12px;color:#afa1b7}
.footer-bottom>a:hover{color:#f0dfc6}

@media(min-width:1550px){.living-hero{min-height:660px;padding-top:88px;padding-bottom:130px}}
@media(max-width:1000px){
  :root{--page-gutter:24px}
  .nav-shell{grid-template-columns:136px minmax(0,1fr) 140px;gap:16px}
  .brand-icon.brand-wordmark{width:136px;height:60px}
  .nav-shell nav{gap:20px}
  .nav-shell nav a,.nav-shell .nav-link{font-size:13px}
  .nav-play{min-width:140px;min-height:50px;font-size:14px;padding-inline:20px}
  .adventure-grid{gap:20px}
  .card-caption h3{font-size:18px;letter-spacing:2px}
  .community-inner{padding:60px 28px;gap:26px}
  .footer-inner{grid-template-columns:1.3fr 1fr 1fr;column-gap:36px}
  .footer-identity{gap:16px}
  .footer-brand{width:100px;flex-basis:100px}
}
@media(max-width:760px){
  :root{--page-gutter:20px}
  .site-header{height:86px}
  .nav-shell{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:10px;padding-inline:16px}
  .brand-icon.brand-wordmark{grid-column:2;justify-self:center;width:106px;height:50px}
  .menu-toggle{grid-column:1;width:38px;height:38px}
  .nav-play{min-width:120px;min-height:46px;font-size:13px;padding-inline:17px}
  .nav-shell nav{top:86px;gap:0;padding:14px 20px;width:100%;background:#100c17fc}
  .nav-shell nav a,.nav-shell .nav-link{width:100%;font-size:15px;padding:14px 18px}
  .living-hero{min-height:560px;padding:62px var(--page-gutter) 106px;scroll-margin-top:86px}
  .living-hero .hero-content{width:min(590px,100%);margin:0}
  .hero-kicker{font-size:11px;letter-spacing:3px;margin-bottom:18px}
  .living-hero h1{width:100%;font-size:clamp(37px,6.7vw,49px);line-height:1.15;margin:0;letter-spacing:0}
  .living-hero h1.hero-dragon-logo{width:min(280px,100%);margin-bottom:16px}
  .hero-tagline{font-size:24px;max-width:330px}
  .hero-intro{max-width:440px;font-size:15px;line-height:1.7;margin:20px 0 25px}
  .living-hero .hero-actions{gap:8px;width:100%}
  .living-hero .hero-actions .button{width:min(210px,50%);min-width:0;min-height:64px;font-size:16px;padding-inline:20px}
  .living-hero .hero-actions .button-outline{font-size:14px;min-width:0}
  .scenery-controls{left:var(--page-gutter);right:var(--page-gutter);bottom:28px;justify-content:center}
  .world-section{padding-top:24px;padding-bottom:38px}
  .world-section .section-heading h2{font-size:16px;letter-spacing:3px;gap:14px}
  .world-section .section-heading h2::before,.world-section .section-heading h2::after{width:35px;flex-basis:35px}
  .adventure-grid{grid-template-columns:1fr;max-width:470px;margin:auto;gap:28px}
  .card-caption{margin-top:13px}
  .card-caption h3{font-size:22px;letter-spacing:3px}
  .community-section{padding-bottom:32px}
  .community-inner{padding:48px 16px;gap:24px}
  .community-inner .section-heading{text-align:center}
  .community-inner .section-heading h2{font-size:32px;letter-spacing:0}
  .community-inner .community-actions{flex:0 1 auto;gap:8px}
  .community-inner .button{min-width:0;width:min(210px,50%);flex-shrink:1;min-height:62px;font-size:14px;padding-inline:18px}
  .community-inner .button-outline{font-size:13px}
  .footer-inner{grid-template-columns:1fr 1fr;gap:26px 32px;justify-items:stretch;text-align:left}
  .footer-identity{grid-column:1/-1;justify-content:center;gap:20px}
  .footer-identity p{max-width:160px}
  .footer-brand{width:106px;flex-basis:106px}
  .footer-links{padding-top:0;align-items:center}
  .footer-links a,.footer-links .text-button{text-align:center}
  .footer-inner .text-button{justify-self:center}
}
@media(max-width:390px){
  :root{--page-gutter:16px}
  .nav-shell{padding-inline:12px;gap:8px}
  .brand-icon.brand-wordmark{width:98px;height:46px}
  .nav-play{min-width:112px;font-size:12px}
  .living-hero{min-height:550px;padding-top:50px}
  .living-hero h1{font-size:36px}
  .living-hero .hero-actions{gap:4px}
  .living-hero .hero-actions .button{min-height:59px;font-size:14px;padding-inline:17px}
  .living-hero .hero-actions .button-outline{font-size:12px}
  .world-section .section-heading h2{font-size:14px;letter-spacing:2px}
  .community-inner{padding:42px 8px}
  .community-inner .button{min-height:58px;font-size:13px;padding-inline:14px}
  .community-inner .button-outline{font-size:11px}
}
@media(max-width:350px){
  .brand-icon.brand-wordmark{width:86px}
  .nav-play{min-width:94px;font-size:11px;padding-inline:10px}
  .living-hero .hero-actions .button{font-size:13px;padding-inline:10px;letter-spacing:.7px}
  .living-hero .hero-actions .button-outline{font-size:11px}
}

/* V17: matching text highlights and a gradual glow in both directions. */
.nav-shell nav :is(a,.nav-link){background:none;box-shadow:none;text-shadow:0 2px 4px #000,0 0 9px #d7a5ff00}
.nav-shell nav :is(a,.nav-link):is(:hover,:focus-visible){background:none;box-shadow:none;color:#fff5ff;text-shadow:0 2px 4px #000,0 0 9px #d7a5ffb0}
.footer-links .text-button{background:none;box-shadow:none;text-shadow:0 0 8px #d7a5ff00}
.footer-links .text-button:is(:hover,:focus-visible){background:none;box-shadow:none;text-shadow:0 0 8px #d7a5ff80}
:is(.menu-toggle,.dialog-close,.text-button,.scenery-controls button,.nav-shell nav a,.nav-shell .nav-link,.footer-links a,.footer-bottom>a){transition:color .55s ease-in-out,text-shadow .55s ease-in-out,background-color .55s ease-in-out,border-color .55s ease-in-out,box-shadow .55s ease-in-out,filter .55s ease-in-out}
.adventure-card .scene{filter:brightness(1) saturate(1);transition:filter .55s ease-in-out}
.adventure-card:is(:hover,:focus-visible) .scene{filter:brightness(1.1) saturate(1.07)}
.adventure-card::after{transition:border-color .55s ease-in-out}
@media(prefers-reduced-motion:reduce){button,a,.adventure-card .scene,.scene::after,.adventure-card::after{transition:none!important}}

/* V20: four adventures with screenshot-based artwork and a genuine in-game HD scene. */
.adventure-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.adventure-card .scene{aspect-ratio:16/9;overflow:hidden;border:1px solid #94704f99;box-shadow:0 0 0 3px #18121c,0 0 0 4px #8d738130,inset 0 0 0 1px #ddc49733;background:#100d15}
.adventure-art{display:block;width:100%;height:100%;object-fit:cover}
.adventure-card .scene::before{content:'';position:absolute;inset:4px;z-index:1;border:1px solid #e6c99733;pointer-events:none}
.card-caption h3{font-size:17px;letter-spacing:1.7px;line-height:1.5}
.adventure-card .scene-hd .adventure-art{object-position:50% 56%}
.hd-lettering{position:absolute;inset:0;display:flex;align-items:center;padding:0 0 0 5%;background:linear-gradient(90deg,#0b09118c,transparent 54%);pointer-events:none}
.hd-lettering img{display:block;width:40%;height:auto;filter:drop-shadow(0 2px 3px #000b)}
@media(max-width:1100px){.adventure-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:900px;margin:auto;gap:30px 24px}.card-caption h3{font-size:20px;letter-spacing:2px}}
@media(max-width:600px){.adventure-grid{grid-template-columns:1fr;max-width:470px;gap:26px}.card-caption h3{font-size:21px;letter-spacing:2.5px}}

/* V21: community account access. */
.community-inner .section-heading{max-width:100%;min-width:0}
.community-inner .section-heading h2{max-width:720px;white-space:normal}
.community-inner .section-heading p{margin-inline:auto}
.community-account-register{font:normal 14px/1.5 var(--sans);color:#d6bc98;text-decoration:underline;text-underline-offset:4px;margin-top:-12px;transition:color .55s ease-in-out,text-shadow .55s ease-in-out}
.community-account-register:is(:hover,:focus-visible){color:#fff5ff;text-shadow:0 0 9px #d7a5ffb0}
.community-account-register[hidden]{display:none}
@media(prefers-reduced-motion:reduce){.community-account-register{transition:none}}
