/* Approved General's Pact identity; core gameplay logic untouched. */
:root{--brand-gold:#e1b96d;--brand-ember:#d89148}
.brand-logo{flex-shrink:0}
.brand-logo img{display:block;width:clamp(190px,19vw,265px);height:auto;max-height:66px;object-fit:contain;filter:drop-shadow(0 2px 7px #0009)}
.brand-logo:hover img{filter:drop-shadow(0 0 10px #d7a94b70)}
.hero{background:radial-gradient(circle at 30% 37%,#30415c40 0%,transparent 42%),radial-gradient(circle at 79% 42%,#814d2440 0%,transparent 51%),#0a0e13}
.hero-inner{grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr)}
.hero-content{position:relative}
.hero-content::before{content:"";position:absolute;z-index:-1;top:-2%;left:-16%;width:95%;height:60%;background:radial-gradient(ellipse at center,#1862a32c 0%,#11395515 39%,transparent 75%);pointer-events:none}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.hero-ornament{margin:20px 0 2px}
.hero-identity{display:block;max-width:660px;margin:2px 0 0}
.hero-identity img{width:100%;height:auto;display:block;filter:drop-shadow(0 14px 25px #000e) drop-shadow(0 0 24px #cc914322)}
.hero-identity .hero-title-fallback{display:none}
.hero-identity img[hidden]+.hero-title-fallback{display:block}
.hero-identity .hero-title-fallback{font:700 clamp(55px,7vw,96px)/1.2 serif;color:#f6dfae;text-shadow:0 5px 30px #000}
.hero .motto{margin-top:4px;font-size:clamp(18px,2vw,23px);letter-spacing:.16em;color:#f1ce8b}
.hero .hero-text{margin-top:12px}
.hero .hero-stats{margin-top:42px}
.hero-buttons .btn-gold{background:linear-gradient(120deg,#ae763c 0%,#e9bb76 52%,#f5d697 100%)}
.feature-block{border-color:#a48a594d}
.feature-symbol{background:linear-gradient(155deg,#fbe3a9,#9e6938);background-clip:text;-webkit-background-clip:text;color:transparent}
.news-row.brand-news{display:grid;grid-template-columns:minmax(180px,27%) minmax(0,1fr) auto;gap:25px;align-items:center;background:linear-gradient(115deg,#15212a,#11161c 72%);border:1px solid #b8955771;padding:18px 27px 18px 18px}
.news-poster{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;object-position:center;border:1px solid #bc945866;border-radius:2px}
.news-copy{min-width:0}
.news-meta{display:flex;align-items:center;gap:12px;margin-bottom:11px;flex-wrap:wrap}
.news-copy h3{font:600 clamp(20px,2.2vw,26px)/1.4 serif;color:#f3d79f;margin:0}
.news-copy p{font-size:13px;line-height:1.9;max-width:620px;margin:6px 0 0}
.news-row.brand-news .news-arrow{align-self:center;font-size:23px}
footer .footer-brand{display:inline-flex;align-items:center;flex-shrink:0}
footer .footer-brand img{display:block;width:clamp(190px,21vw,285px);height:auto;max-height:78px;object-fit:contain;filter:drop-shadow(0 3px 12px #0009)}
footer{gap:20px;padding-top:32px;padding-bottom:35px}
.catalog-heading{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(90deg,#0d121a 0%,#2e241d 50%,#0d121a 100%)}
.catalog-heading::before{content:"";position:absolute;z-index:0;right:3%;top:50%;transform:translateY(-50%);width:min(300px,31vw);aspect-ratio:1;background:url('/assets/brand/dragon-emblem.webp?v=20261022-artfix-v2') center/contain no-repeat;opacity:.22;pointer-events:none}
.catalog-heading>*{position:relative;z-index:1}
.catalog-heading .kicker{color:#d8b676}
.catalog-heading h1{text-shadow:0 2px 20px #0008}
.brand-logo:focus-visible,.footer-brand:focus-visible{outline:2px solid #f0ce88;outline-offset:5px}
@media(max-width:1060px){.brand-logo img{width:clamp(178px,28vw,240px)}.topbar{gap:14px}}
@media(max-width:760px){.hero{padding-top:38px}.hero-inner{grid-template-columns:1fr}.hero-content{text-align:center}.hero-identity{max-width:610px;margin:10px auto 0}.hero-content::before{left:0}.hero .hero-stats{margin-top:28px}.brand-logo img{width:clamp(150px,32vw,207px)}.news-row.brand-news{grid-template-columns:160px 1fr;gap:18px;padding:14px}.news-row.brand-news .news-arrow{display:none}footer{flex-direction:column;justify-content:center;text-align:center;gap:12px}footer .footer-brand img{width:240px}.catalog-heading::before{width:200px;opacity:.13}}
@media(max-width:520px){.hero-identity{width:100%}.hero .motto{font-size:17px}.brand-logo img{width:154px}.topbar{padding-left:12px;padding-right:12px;gap:8px}.news-row.brand-news{display:block}.news-poster{aspect-ratio:16/8;margin-bottom:15px}.news-copy h3{font-size:22px}.news-copy p{font-size:13px}.hero .hero-text{font-size:14px;line-height:2}}
@media(prefers-reduced-motion:reduce){.brand-logo img,.hero-identity img{transition:none}}

/* Fix card-news aspect ratio and avoid accidental poster-height stretching. */
.news-row.brand-news{align-items:center;min-height:0}
.news-row.brand-news .news-poster{display:block;width:100%;height:clamp(130px,12vw,192px);min-height:0;aspect-ratio:16/9;object-fit:cover;object-position:center 45%;align-self:center}
.catalog-heading::before{background-color:transparent;background-blend-mode:normal;opacity:.25}
@media(max-width:760px){.news-row.brand-news .news-poster{height:150px}}
@media(max-width:520px){.news-row.brand-news .news-poster{height:auto;aspect-ratio:16/9}}

/* Immersive scroll affordance: aligned with the page, not stuck to the left gutter. */
.hero{padding-bottom:100px}
.scroll-cue{
  position:absolute;left:50%;right:auto;bottom:24px;transform:translateX(-50%);
  z-index:5;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;
  gap:5px;min-width:145px;min-height:60px;padding:6px 16px 2px;
  border-radius:10px;color:#f0d19a;text-align:center;
  font:600 11px/1.45 "Noto Sans SC",system-ui,sans-serif;letter-spacing:.2em;
  background:linear-gradient(180deg,#0a111720,transparent);
  text-shadow:0 2px 9px #070b0f;
  transition:color .2s ease,background-color .2s ease;
}
.scroll-cue:hover,.scroll-cue:focus-visible{color:#ffdfaa;background:#1c24309c}
.scroll-cue:focus-visible{outline:2px solid #edc57c;outline-offset:3px}
.scroll-cue .scroll-cue-label{display:block;margin:0;white-space:nowrap}
.scroll-cue .scroll-cue-en{display:block;margin:0;color:#c4a46c;font:10px/1.4 Georgia,serif;letter-spacing:.19em}
.scroll-cue .scroll-cue-arrow{
  display:block;margin:1px 0 0;color:#e8bd74;font:22px/1 Georgia,serif;
  animation:gp-scroll-nudge 2.5s ease-in-out infinite;
}
@keyframes gp-scroll-nudge{0%,100%{transform:translateY(0);opacity:.72}50%{transform:translateY(6px);opacity:1}}
#features{scroll-margin-top:18px}
@media(max-width:760px){
  .hero{padding-bottom:102px}
  .scroll-cue{display:inline-flex;bottom:13px;min-width:135px;min-height:62px}
  .scroll-cue .scroll-cue-label{font-size:12px}
}
@media(prefers-reduced-motion:reduce){
  .scroll-cue .scroll-cue-arrow{animation:none}
  .scroll-cue{transition:none}
}

/* Shared brand mark hover: the footer responds exactly like the top navigation.
   No image assets or links are changed. */
/* Keep header branding fixed in its flex slot while only its image animates. */
.topbar > .brand-logo{flex-shrink:0;min-width:0;position:relative;}
.topbar > .brand-logo img{transform-origin:left center;will-change:transform;backface-visibility:hidden;}

.brand-logo img,footer .footer-brand img{
  transition:filter .42s ease,transform .42s cubic-bezier(.22,1,.36,1);
  transform:translateY(0) scale(1);
}
.brand-logo:hover img,.brand-logo:focus-visible img,
footer .footer-brand:hover img,footer .footer-brand:focus-visible img{
  filter:drop-shadow(0 0 10px #d7a94b70) drop-shadow(0 4px 13px #0007);
  transform:translateY(-2px) scale(1.025);
}
@media (prefers-reduced-motion:reduce){
  .brand-logo img,footer .footer-brand img{transition:none;transform:none}
  .brand-logo:hover img,.brand-logo:focus-visible img,
  footer .footer-brand:hover img,footer .footer-brand:focus-visible img{transform:none}
}

/* Six authentic battlefields: responsive scene selection */
.scene-switch{display:flex;flex-wrap:wrap;align-items:center;gap:10px;max-width:850px}
.scene-switch button{min-width:86px;white-space:nowrap;flex:0 0 auto}
.scene-switch button.scene-unavailable:not(.active){border-color:#ad785a;color:#d8b79a}
@media(max-width:760px){
  .scene-switch{gap:8px;margin-top:24px;max-width:410px}
  .scene-switch button{min-width:0;padding:10px 15px;font-size:13px}
  .battle-section{min-height:550px}
}
@media(max-width:420px){
  .scene-switch button{padding:10px 12px;font-size:12px}
}
