:root{--cg-gold:#ffe17c;--cg-neon:#39e6b3;--cg-deep:#143d40;--cg-art:url("/assets/hero-slot.webp");}
/* Added to the seven published projects. Site-specific colors and hero URL precede this file. */
.page-home .hero,.home-hero,body.site-online .hero,body.site-site .hero,body.site-space .hero{position:relative!important;isolation:isolate;overflow:hidden;min-height:660px;background:#080b20!important;color:#fff!important;border-bottom:5px solid var(--cg-gold)}
.page-home .hero::before,.home-hero::before,body.site-online .hero::before,body.site-site .hero::before,body.site-space .hero::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#060718ee 0%,#070b20ce 31%,#080b2366 63%,#090c2766 100%)}
.page-home .hero .hero-grid,.home-hero .hero-grid,body.site-online .hero-grid,body.site-site .hero-grid,body.site-space .hero-grid{position:relative;z-index:1;display:flex!important;align-items:center;min-height:660px;padding-block:70px 95px;gap:0}
.page-home .hero .hero-copy,.home-hero .hero-copy,.home-hero .hero-text,body.site-online .hero-copy,body.site-site .hero-copy,body.site-space .hero-copy{position:relative;z-index:3;max-width:700px;margin:0;transform:none!important;text-align:left}
.home-hero .hero-text{padding:65px max(32px,calc((100vw - 1320px)/2));padding-right:32px;min-height:660px;display:flex;flex-direction:column;justify-content:center}
.page-home .hero .hero-atlas-art,.page-home .hero .hero-art,.home-hero .hero-photo,body.site-online .hero-visual,body.site-site .hero-visual,body.site-space .hero-visual{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;min-height:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;transform:none!important;clip-path:none!important;z-index:-2!important;opacity:1!important;margin:0!important}
.page-home .hero .hero-atlas-art img,.page-home .hero .hero-art img,.home-hero .hero-photo img,body.site-online .hero-visual img,body.site-site .hero-visual img,body.site-space .hero-visual img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important;border:0!important;border-radius:0!important;filter:none!important}
.page-home .hero .hero-atlas-art figcaption,.page-home .hero .hero-art__caption,.home-hero .hero-photo figcaption,body.site-online .hero-visual-label,body.site-site .hero-visual-label,body.site-space .hero-visual-label{display:none!important}
.page-home .hero h1,.home-hero h1,body.site-online .hero h1,body.site-site .hero h1,body.site-space .hero h1{max-width:13ch!important;color:#fff0a7!important;font-family:Mont,Montserrat,Arial,sans-serif!important;font-size:clamp(55px,6.5vw,106px)!important;line-height:.99!important;letter-spacing:-.07em!important;font-weight:900!important;font-style:normal!important;text-shadow:0 4px 0 #754112,0 10px 17px #000,0 0 27px var(--cg-neon)!important}
.page-home .hero h1 em,.home-hero h1 em,body.site-online .hero h1 em,body.site-site .hero h1 em,body.site-space .hero h1 em{color:#fff!important;font-style:normal!important}
.home-hero .hero-text h1,.home-hero .hero-copy h1{max-width:17ch!important;font-size:clamp(52px,5.3vw,78px)!important}
.page-home .hero .eyebrow,.home-hero .eyebrow,body.site-online .hero .eyebrow,body.site-site .hero .eyebrow,body.site-space .hero .eyebrow{color:var(--cg-gold)!important;text-shadow:0 2px 6px #000;letter-spacing:.15em!important}
.page-home .hero p,.home-hero .hero-lede,.home-hero .hero-lead,body.site-online .hero-copy>p,body.site-site .hero-copy>p,body.site-space .hero-copy>p{color:#fff8ef!important;font-weight:700!important;text-shadow:0 2px 6px #000}
.page-home .hero .button,.page-home .hero .casino-cta,.home-hero .button,.home-hero .casino-cta-button,.home-hero .casino-animated-link,body.site-online .hero .button,body.site-site .hero .button,body.site-space .hero .button{min-height:54px!important;border-radius:12px!important;border:2px solid #fff0bd!important;box-shadow:0 5px 0 #885119,0 12px 24px #0009!important;background:linear-gradient(115deg,#fff2b2,var(--cg-gold),#e99839)!important;color:#231225!important;font-weight:900!important;text-decoration:none!important}
.page-home .hero .button:hover,.page-home .hero .casino-cta:hover,.home-hero .button:hover,.home-hero .casino-cta-button:hover,body.site-online .hero .button:hover,body.site-site .hero .button:hover,body.site-space .hero .button:hover{transform:translateY(-4px)!important;filter:brightness(1.08)!important}
.page-home .hero .text-link,.home-hero .text-link{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:12px 17px;border:2px solid #fff0bd!important;border-radius:12px;background:#091224e8;color:#fff!important;box-shadow:0 5px 0 #020915,0 12px 24px #0009;text-shadow:0 2px 4px #000;text-decoration:none!important}
.crypto-game-band,.crypto-game-ribbon{background:linear-gradient(120deg,#090d26,var(--cg-deep),#111334);color:#fff;border-top:2px solid var(--cg-gold);border-bottom:2px solid var(--cg-gold);box-shadow:inset 0 8px 30px #0007}
.crypto-game-band-inner,.crypto-game-ribbon-inner{width:min(1320px,calc(100% - 48px));margin:auto;display:flex;align-items:center;gap:22px;min-height:122px;padding:19px 0}
.crypto-game-medal{display:grid;place-items:center;flex:none;width:66px;height:66px;border:4px double #fff1b0;border-radius:50%;background:radial-gradient(circle at 30% 25%,#fff6c6,var(--cg-gold) 65%,#b66b1b);box-shadow:0 0 25px var(--cg-gold);color:#5a2b0b;font:900 35px Mont,Montserrat,Arial,sans-serif}
.crypto-game-band-text,.crypto-game-ribbon-text{flex:1;min-width:0}
.crypto-game-band small,.crypto-game-ribbon small{display:block;color:var(--cg-gold);font:900 11px Mont,Montserrat,Arial,sans-serif;letter-spacing:.17em;text-transform:uppercase}
.crypto-game-band strong,.crypto-game-ribbon strong{display:block;color:#fff;font:900 clamp(18px,2vw,26px)/1.25 Mont,Montserrat,Arial,sans-serif;margin:5px 0}
.crypto-game-band p,.crypto-game-ribbon p{margin:0;color:#e9e5f2;font-size:13px;line-height:1.5}
.crypto-game-band a,.crypto-game-ribbon a{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:46px;padding:10px 16px;border:2px solid #fff0bb;border-radius:10px;background:var(--cg-gold);color:#231225!important;font:900 12px Mont,Montserrat,Arial,sans-serif;text-decoration:none;white-space:nowrap;box-shadow:0 4px 0 #815020}
.crypto-game-band a:hover,.crypto-game-ribbon a:hover{transform:translateY(-3px)}
/* Existing articles retain their useful layouts; the surroundings read as a game portal. */
.article-hero{border-bottom:3px solid var(--cg-gold);background-image:linear-gradient(90deg,#080b20ec,#10132dc9),var(--cg-art)!important;background-size:cover!important;background-position:center!important;color:#fff!important}
.article-hero h1,.article-hero .article-lead{color:#fff!important;text-shadow:0 2px 8px #000}
.article-card,.library-card,.guide-card,.term-tile,.home-lab-card,.game-story,.table-questions-grid>a{border:2px solid var(--cg-gold)!important;border-radius:16px!important;box-shadow:0 9px 0 #0a0b1d,0 17px 30px #0005!important;overflow:hidden;transition:transform .2s,box-shadow .2s}
.article-card:hover,.library-card:hover,.guide-card:hover,.term-tile:hover,.home-lab-card:hover,.game-story:hover,.table-questions-grid>a:hover{transform:translateY(-6px)!important;box-shadow:0 14px 0 #0a0b1d,0 23px 34px #0008!important}
.article-image,.library-card-image,.home-lab-cover,.game-story{position:relative;overflow:hidden}
.article-image::after,.library-card-image::after,.home-lab-cover::after,.game-story::after{content:'₿';position:absolute;right:12px;top:12px;z-index:3;display:grid;place-items:center;width:38px;height:38px;border:2px solid #fff0bc;border-radius:50%;background:linear-gradient(130deg,#fff5bd,var(--cg-gold));color:#6d3912;font:900 23px Mont,Montserrat,Arial,sans-serif;box-shadow:0 0 16px #ffdf65;pointer-events:none}
.article-cover,.article-photo,.article-image img,.library-card-image img,.game-story img{border-color:var(--cg-gold)!important}
.ka-article-cover,.feature-hero__photo,.article-hero-photo,.article-image,.article-cover,.article-photo{position:relative;overflow:hidden;border:3px solid var(--cg-gold)!important;border-radius:16px!important;box-shadow:0 8px 0 #0a0b20,0 18px 34px #0006}
.ka-article-cover::before,.feature-hero__photo::before,.article-hero-photo::before,.article-image::before,.article-cover::before,.article-photo::before{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,transparent 15%,#0b0d2580 100%),var(--cg-art) center/cover;mix-blend-mode:screen;opacity:.25}
.ka-article-cover::after,.feature-hero__photo::after,.article-hero-photo::after,.article-image::after,.article-cover::after,.article-photo::after{content:'₿';position:absolute;right:16px;top:16px;z-index:3;display:grid;place-items:center;width:50px;height:50px;border:3px solid #fff4c8;border-radius:50%;background:linear-gradient(130deg,#fff5c5,var(--cg-gold));color:#643516;font:900 30px Mont,Montserrat,Arial,sans-serif;box-shadow:0 0 21px #ffdf65;pointer-events:none}
@media(max-width:800px){.page-home .hero,.home-hero,body.site-online .hero,body.site-site .hero,body.site-space .hero{min-height:680px}.page-home .hero .hero-grid,.home-hero .hero-grid,body.site-online .hero-grid,body.site-site .hero-grid,body.site-space .hero-grid{min-height:680px;align-items:end;padding-block:270px 50px}.home-hero .hero-text{min-height:680px;padding:270px 24px 46px;justify-content:end}.page-home .hero::before,.home-hero::before,body.site-online .hero::before,body.site-site .hero::before,body.site-space .hero::before{background:linear-gradient(0deg,#060719f8 0%,#070b20eb 40%,#080b234d 84%)}.page-home .hero h1,.home-hero h1,body.site-online .hero h1,body.site-site .hero h1,body.site-space .hero h1{font-size:clamp(43px,10vw,71px)!important}.crypto-game-band-inner,.crypto-game-ribbon-inner{gap:13px}.crypto-game-band a,.crypto-game-ribbon a{display:none}}
@media(max-width:540px){.page-home .hero,.home-hero,body.site-online .hero,body.site-site .hero,body.site-space .hero{min-height:650px}.page-home .hero .hero-grid,.home-hero .hero-grid,body.site-online .hero-grid,body.site-site .hero-grid,body.site-space .hero-grid{min-height:650px;padding:240px 18px 37px}.home-hero .hero-text{min-height:650px;padding:240px 18px 37px}.page-home .hero h1,.home-hero h1,body.site-online .hero h1,body.site-site .hero h1,body.site-space .hero h1{font-size:clamp(39px,10vw,55px)!important}.page-home .hero p,.home-hero .hero-lede,.home-hero .hero-lead,body.site-online .hero-copy>p,body.site-site .hero-copy>p,body.site-space .hero-copy>p{font-size:14px!important;line-height:1.5!important}.crypto-game-band-inner,.crypto-game-ribbon-inner{width:calc(100% - 28px);min-height:96px;padding:14px 0}.crypto-game-medal{width:44px;height:44px;font-size:24px}.crypto-game-band strong,.crypto-game-ribbon strong{font-size:16px}.crypto-game-band p,.crypto-game-ribbon p{font-size:11px}}
@media(max-width:540px){.home-hero .hero-text h1,.home-hero .hero-copy h1{font-size:clamp(38px,9.3vw,50px)!important}.page-home .hero h1{font-size:clamp(38px,9.4vw,52px)!important}}
/* Keep every foreground element inside the illustrated hero frame. */
@media(min-width:801px){
  .page-home .hero .hero-grid,.home-hero .hero-grid,body.site-online .hero-grid,body.site-site .hero-grid,body.site-space .hero-grid{padding-inline:clamp(32px,4vw,58px)}
}
@media(max-width:800px){
  .home-hero .hero-copy{padding-inline:18px}
}
@media(max-width:360px){
  .page-home .hero .hero-grid{padding-inline:18px;align-items:stretch!important}
  .page-home .hero .hero-copy{min-width:0;width:100%}
}
@media(prefers-reduced-motion:reduce){.article-card,.library-card,.guide-card,.term-tile,.home-lab-card,.game-story{transition:none!important}}
/* The new illustrated article covers already contain their own frame and coin. */
.article-image::before,.article-image::after,.library-card-image::after,.home-lab-cover::after,.game-story::after,.ka-article-cover::before,.ka-article-cover::after,.feature-hero__photo::before,.feature-hero__photo::after,.article-hero-photo::before,.article-hero-photo::after,.article-cover::before,.article-cover::after,.article-photo::before,.article-photo::after{content:none!important;background:none!important}
.ka-article-cover figcaption{display:none!important}
