/* Dota RU reference: serif display/navigation, sans body/secondary labels.
   Reaver/Radiance restrict reuse to Fan Art; this service uses OFL Noto fonts. */
:root{
 --home-wordmark:'Cinzel',Georgia,serif;
 --hero-wordmark-size:clamp(42px,4.7vw,72px);
 --hero-wordmark-tracking:.025em;
 --hero-mobile-width:620px;
 --hero-brand-edge:clamp(48px,5.5vw,104px);
 --hero-emblem-top:calc((var(--home-header-height) - 52px) / 2);
}
.home-cinematic{--home-display:'Noto Serif',Georgia,serif;--home-copy:'Noto Sans',Arial,sans-serif}
.home-cinematic .header{background:none;pointer-events:none}
.home-cinematic .header :is(nav,.menu-toggle,.header-actions a){pointer-events:auto}
.home-cinematic .hero-shade::before{
 content:'';
 position:absolute;
 inset:0 0 auto;
 height:var(--home-header-height);
 background:linear-gradient(var(--home-header-shade,#0c0c0ccf),#0c0c0c00);
}
@media(max-width:760px){
 .home-cinematic{--home-header-shade:#0c0c0cf2}
}
.header-brand-axis{
 position:absolute;
 inset-block-start:var(--hero-emblem-top);
 inset-inline-start:var(--hero-brand-edge);
 inline-size:max-content;
 pointer-events:none;
}
/* Centre the shared header emblem on the hero wordmark axis. */
.header-brand-axis::before{
 content:'WOT SUPPORT';
 display:block;
 visibility:hidden;
 font:800 var(--hero-wordmark-size)/1 var(--home-wordmark);
 letter-spacing:var(--hero-wordmark-tracking);
 white-space:nowrap;
}
.header .header-brand-axis .brand{
 position:absolute;
 inset-block-start:0;
 inset-inline-start:50%;
 transform:translateX(-50%);
 pointer-events:auto;
}
body.home-cinematic #home-view,body.home-cinematic #home-view *{font-family:var(--home-copy)!important;font-weight:400!important;letter-spacing:normal!important}
.home-cinematic .hero-branding{
 --hero-emblem-size:max(48px,calc(1.42 * var(--hero-wordmark-size)));
 --hero-emblem-room:calc(100svh - 370px - 3 * var(--hero-wordmark-size));
 --hero-emblem-reserve:calc(.714 * min(calc(3 * var(--hero-emblem-size)),max(50px,calc(var(--hero-emblem-room) * 49 / 55))));
 --hero-emblem-gap:clamp(6px,1.35svh,16px);
 --hero-inset:max(20px,calc((100vw - var(--hero-mobile-width))/2));
 display:grid;
 position:relative;
 grid-template-columns:minmax(0,max-content);
 justify-items:center;
 width:max-content;
 max-width:100%;
 margin-inline-start:max(0px,calc((100% - var(--hero-mobile-width))/2));
 /* Keep the wordmark and its copy at their original height. */
 padding-block-start:calc(var(--hero-emblem-reserve) * 55 / 49 + var(--hero-emblem-gap));
}
.home-cinematic .hero #hero-title,.home-cinematic .hero #hero-title span{font-family:var(--home-wordmark)!important;font-weight:800!important;letter-spacing:var(--hero-wordmark-tracking)!important}
.home-cinematic .hero #hero-title{
 max-width:none;
 font-size:var(--hero-wordmark-size);
 line-height:1;
 white-space:nowrap;
 text-wrap:nowrap;
 text-align:left;
 color:#f6f4ee;
 text-shadow:0 2px 24px #0008;
}
.home-cinematic .hero #hero-title span{color:var(--amber)}
/* Let the wordmark set the axis while the copy can extend evenly to either side. */
.home-cinematic .hero-support{
 contain:inline-size;
 width:min(650px,calc(100% + 2 * (var(--hero-inset) - 12px)));
 text-align:center;
}
@media(min-width:761px){
 .header-brand-axis{inset-inline-start:calc(var(--hero-brand-edge) - (100vw - 100%)/2)}
 .home-cinematic .hero-branding{
  --hero-inset:var(--hero-brand-edge);
  left:calc(var(--hero-inset) - (100vw - 100%)/2);
  margin-inline-start:0;
 }
}
body.home-cinematic #home-view .hero .hero-slogan{
 margin:0;
 font-size:clamp(21px,2.1vw,28px);
 font-weight:700!important;
 line-height:1.35;
 text-transform:uppercase;
 color:#f0eee5;
 text-shadow:0 2px 15px #000;
}
.home-cinematic .hero-slogan::after{
 content:'';
 display:block;
 inline-size:clamp(48px,5.25vw,76px);
 block-size:4px;
 margin:clamp(7px,1.25svh,11px) auto 0;
 background:var(--amber);
}
body.home-cinematic #home-view .hero .hero-description{
 margin:12px auto 0;
 max-width:100%;
 font-size:clamp(17px,1.55vw,22px);
 line-height:1.4;
 text-wrap:balance;
 color:#ecebe5;
 text-shadow:0 2px 12px #000;
}
body.home-cinematic #home-view .hero .hero-description br{display:revert}
.home-cinematic .hero .hero-buttons{
 display:flex;
 justify-content:center;
 margin:26px auto 0;
 width:100%;
 max-width:none;
}
body.home-cinematic #home-view .hero .hero-buttons .button{
 --steady-surface:#101110a8;
 width:300px;
 min-width:0;
 max-width:100%;
 min-height:74px;
 border:2px solid #f6f4ee;
 background:var(--steady-surface);
 color:#f6f4ee;
 font-family:var(--home-display)!important;
 font-weight:600!important;
 font-size:22px;
 line-height:1.3;
 letter-spacing:2px!important;
 text-transform:uppercase;
}
body.home-cinematic #home-view #home-popular-title{font-family:var(--home-copy)!important;font-weight:700!important;font-size:18px;line-height:1.4;letter-spacing:2px!important;text-transform:uppercase}
body.home-cinematic #home-view .home-service-block h3{font-family:var(--home-display)!important;font-weight:600!important;font-size:18px;line-height:1.3;letter-spacing:1px!important;text-transform:uppercase}
body.home-cinematic #home-view #tank-choice-title,body.home-cinematic #home-view #tank-choice-title>span{font-family:var(--home-display)!important;font-weight:700!important;letter-spacing:2px!important}
body.home-cinematic #home-view #tank-choice-title{font-size:clamp(60px,7.8125vw,100px);line-height:1.05}
body.home-cinematic #home-view #tank-choice-title>.tank-title-lead{font-size:.5em;line-height:1.05;color:#a5a8a8}
body.home-cinematic #home-view #tank-choice-title>.tank-title-main{font-size:1em;line-height:1.05}
body.home-cinematic #home-view .tank-choice-description{max-width:1000px;font-family:var(--home-copy)!important;font-size:26px;line-height:1.15;color:#e2dace;letter-spacing:0!important}
body.home-cinematic #home-view .tank-card-tier,body.home-cinematic #home-view .tank-card-tier i,body.home-cinematic #home-view .tank-card-name{font-family:var(--home-copy)!important;font-weight:600!important;letter-spacing:0!important}
body.home-cinematic #home-view .tank-card-name{font-family:var(--home-display)!important;letter-spacing:1px!important}
.tank-choice .tank-card-tier,.tank-choice .tank-card-name{background:none;backdrop-filter:none;box-shadow:none;text-shadow:0 1px 3px #000,0 2px 8px #000c}
body.home-cinematic .footer,body.home-cinematic .footer *{font-family:var(--home-copy)!important;letter-spacing:0!important}
body.home-cinematic .footer h3{font-weight:700!important;letter-spacing:2px!important}
@media(max-width:760px){
 :root{--hero-wordmark-size:clamp(24px,6.3vw,46px);--hero-wordmark-tracking:1px;--hero-brand-edge:max(20px,calc((100% - var(--hero-mobile-width))/2))}
 .home-cinematic .hero-branding{--hero-emblem-room:calc(100svh - 428px)}
 body.home-cinematic #home-view .hero .hero-slogan{font-size:20px;line-height:1.3}
 body.home-cinematic #home-view .hero .hero-description{margin-top:10px;font-size:16px}
 .home-cinematic .hero .hero-buttons{margin-top:22px}
 body.home-cinematic #home-view .hero .hero-buttons .button{min-height:64px;padding-inline:10px;font-size:18px;letter-spacing:1.5px!important}
 body.home-cinematic #home-view #home-popular-title{font-size:15px;letter-spacing:1.5px!important}
 body.home-cinematic #home-view .home-service-block h3{font-size:14px;letter-spacing:.5px!important}
 body.home-cinematic #home-view #tank-choice-title{font-size:clamp(36px,8.7vw,66px);letter-spacing:1px!important}
 body.home-cinematic #home-view #tank-choice-title>span{letter-spacing:1px!important}
 body.home-cinematic #home-view .tank-choice-description{font-size:18px;line-height:1.4}
}
@media(max-width:760px) and (max-height:650px){
 body.home-cinematic #home-view .hero .hero-slogan{font-size:17px}
 body.home-cinematic #home-view .hero .hero-description{margin-top:8px;font-size:13px;line-height:1.35}
 .home-cinematic .hero .hero-buttons{margin-top:16px}
 body.home-cinematic #home-view .hero .hero-buttons .button{min-height:50px;font-size:16px}
 body.home-cinematic #home-view #home-popular-title{font-size:13px;letter-spacing:1px!important}
 body.home-cinematic #home-view .home-service-block h3{font-size:12px;letter-spacing:0!important}
}
@media(max-width:760px) and (max-height:500px){
 :root{--hero-mobile-width:700px}
}
@media(max-height:500px){
 :root{--hero-wordmark-size:28px}
 .home-cinematic .hero-branding{--hero-emblem-room:calc(100svh - 330px)}
 body.home-cinematic #home-view .hero .hero-slogan{font-size:16px;line-height:1.2}
 body.home-cinematic #home-view .hero .hero-description{margin-top:5px;font-size:12px;line-height:1.25}
 .home-cinematic .hero .hero-buttons{margin-top:8px}
 body.home-cinematic #home-view .hero .hero-buttons .button{min-height:44px;font-size:15px}
 body.home-cinematic #home-view #home-popular-title{font-size:12px;letter-spacing:1px!important}
 body.home-cinematic #home-view .home-service-block h3{font-size:12px;letter-spacing:0!important}
}
@media(min-width:601px) and (max-width:960px) and (max-height:400px){
 .home-cinematic .hero-slogan::after{margin-top:2px}
 body.home-cinematic #home-view .hero .hero-description{margin-top:2px}
 body.home-cinematic #home-view .hero .hero-description br{display:none}
 .home-cinematic .hero .hero-buttons{margin-top:4px}
}
@media(max-height:420px){
 .home-cinematic .hero{padding-bottom:max(12px,env(safe-area-inset-bottom))}
 .home-cinematic .hero-branding{--hero-emblem-gap:4px}
}
@media(max-width:960px) and (orientation:landscape) and (max-height:420px){
 .home-cinematic .hero-branding{--hero-emblem-room:calc(100svh - 298px);--hero-emblem-gap:2px}
 .home-cinematic .hero .hero-buttons{margin-top:2px}
 .home-cinematic .hero .hero-buttons .button{padding-block:7px}
 .home-cinematic .hero .home-popular-heading{margin-bottom:4px}
}
@media(max-width:600px) and (max-height:340px){
 .home-cinematic .hero-content{grid-template-rows:auto minmax(0,1fr) auto}
 .home-cinematic .hero .home-popular-heading{display:flex;justify-content:center;margin-bottom:0}
 body.home-cinematic #home-view #home-popular-title{line-height:1;padding-block:0}
}
/* Reveal the restored typography once loaded, with no intermediate fallback. */
body.home-cinematic[data-home-fonts="loading"] :is(.hero-content,.tank-choice-intro,.site-footer){visibility:hidden}
body[data-home-fonts="loading"] .header-brand-axis{visibility:hidden}
body[data-home-fonts="fallback"]{--home-wordmark:Georgia,serif}
body.home-cinematic[data-home-fonts="fallback"]{--home-display:Georgia,serif;--home-copy:Arial,sans-serif}
body:not(.home-cinematic) #home-view{display:none}

@media(max-width:760px),(max-width:960px) and (orientation:landscape) and (max-height:500px){
 .header-brand-axis{
  inset-block-start:50%;
  inset-inline-start:max(var(--header-inset),env(safe-area-inset-left));
  transform:translateY(-50%);
 }
 .header-brand-axis::before{display:none}
 .header .header-brand-axis .brand{position:static;transform:none}
 .home-cinematic .hero-branding{
  left:auto;
  width:min(100%,650px);
  margin-inline:auto;
  grid-template-columns:minmax(0,1fr);
 }
 .home-cinematic .hero #hero-title{text-align:center}
 .home-cinematic .hero-support{width:100%}
}

@media(max-width:760px){
 .home-cinematic .hero{padding-bottom:max(18px,env(safe-area-inset-bottom))}
 .home-cinematic .hero-content{width:calc(100% - 28px);grid-template-rows:auto minmax(12px,1fr) auto}
 .home-cinematic .hero .home-popular-heading{margin-bottom:10px}
 .home-cinematic .hero .home-popular-grid{position:static;transform:none;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;gap:8px;overflow:visible}
 .home-cinematic .hero .home-service-block{height:auto;min-height:48px;padding:7px 6px}
 body.home-cinematic #home-view .home-service-block h3{white-space:normal;font-size:clamp(12px,3.5vw,15px);letter-spacing:.1px!important}
}
@media(max-width:760px) and (orientation:landscape) and (max-height:420px){
 .home-cinematic .hero .home-popular-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 .home-cinematic .hero .home-service-block{min-height:44px}
}
