/* EMBRIS supplied branding and approximately 15% smaller desktop layout. */
:root { --container: 1260px; --radius: 14px; }
.site-header { height: 88px; background: #05080d; }
body { padding-top: 88px; }
html { scroll-padding-top: 104px; }
.brand { gap: 8px; flex-shrink: 0; }
.brand-flame { width: 60px; height: 60px; object-fit: contain; }

.primary-nav { gap: clamp(20px, 2.2vw, 36px); }
.hero { min-height: 430px; padding-top: 18px; }
.hero h1 { font-size: clamp(2.9rem, 4vw, 4.38rem); margin-bottom: 17px; }
.hero-lead { font-size: clamp(1rem, 1.28vw, 1.15rem); margin-bottom: 22px; }
.hero-actions { gap: 26px; flex-wrap: wrap; }
.button { min-height: 50px; padding-inline: 28px; }
.button--small { min-height: 40px; padding-inline: 22px; }
.hero-visual { padding-left: 30px; padding-bottom: 64px; }
.shell-preview { min-height: 310px; }
.shell-topbar { height: 56px; }
.game-row { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.game-card { height: 204px; }
.game-art { height: 126px; }
.device-chip { width: 145px; height: 68px; }
.controller { transform: scale(.85) rotate(4deg); transform-origin: bottom right; }
.process-strip { min-height: 104px; padding: 19px 30px; gap: 16px; }
.process-strip article { grid-template-columns: 48px 38px 1fr; gap: 12px; }
.step-number { width: 48px; height: 48px; }
.section-block { padding-block: 53px 82px; }
.section-heading h2 { font-size: clamp(1.7rem, 2.55vw, 2.55rem); margin-bottom: 26px; }
.feature-card { min-height: 151px; padding: 26px 24px 22px 88px; }
.feature-icon { left: 26px; top: 32px; width: 40px; height: 40px; }
.page-hero { max-width: 850px; padding-top: 85px; padding-bottom: 60px; }
.page-hero h1 { font-size: clamp(2.55rem, 5.1vw, 5.1rem); }
.site-footer { margin-top: 76px; padding-top: 51px; }
@media (max-width: 1120px) {
 .hero-visual { padding-left: 0; margin-top: 48px; }
 .process-strip { gap: 19px; }
}
@media (max-width: 900px) and (min-width: 821px) {
 
 .brand-flame { width: 48px; height: 48px; }
 .primary-nav { gap: 16px; }
}
@media (max-width: 820px) {
 .site-header { height: 70px; }
 body { padding-top: 70px; }
 html { scroll-padding-top: 86px; }
 .primary-nav { top: 66px; }
 .brand-flame { width: 50px; height: 50px; }
 
 .hero h1 { font-size: clamp(2.6rem, 10.8vw, 3.74rem); }
 .hero { padding-top: 36px; }
 .game-row { grid-template-columns: repeat(5, 110px); }
 .controller { transform: scale(.68) rotate(4deg); }
 .page-hero { padding-top: 60px; padding-bottom: 40px; }
}
@media (max-width: 560px) {
 .hero-visual { padding-bottom: 38px; }
 .shell-preview { min-height: 245px; }
 .game-row { grid-template-columns: repeat(5, 95px); }
 .game-card { height: 170px; }
 .game-art { height: 95px; }
 .process-strip { padding: 24px 20px; }
 .process-strip article { grid-template-columns: 48px 1fr; }
 .feature-card { padding: 80px 24px 24px; }
 .feature-icon { top: 24px; left: 24px; }
 .hero-actions { gap: 18px; }
}

.brand-name { font-family: Roboto, sans-serif; font-size: 2rem; font-weight: 900; letter-spacing: .035em; line-height: 1; }
@media (max-width: 820px) { .brand-name { font-size: 1.7rem; } }

/* Supplied flame on homepage, small home link on every page. */
.brand-flame { object-fit: contain; }
.hero--brand { grid-template-columns: 1.05fr 1fr; gap: 24px; padding-block: 40px 48px; min-height: 430px; }
.hero--brand .hero-copy { min-width: 0; }
.hero--brand .hero-lead { max-width: 540px; margin-bottom: 12px; }
.platform-note { font-size: .9rem; color: var(--muted); margin-bottom: 26px; }
.hero--brand .hero-flame { display: flex; align-items: center; justify-content: center; min-width: 0; padding: 0; margin: 0; }
.hero-flame img { display: block; width: 100%; height: auto; max-height: 340px; object-fit: contain; }
@media (max-width: 820px) {
 .hero--brand { grid-template-columns: 1fr; gap: 24px; padding-block: 32px 36px; }
 .hero--brand .hero-flame { max-width: 460px; width: 100%; justify-self: center; }
 .hero-flame img { max-height: 245px; }
}
@media (max-width: 560px) {
 .hero--brand { gap: 16px; }
 .hero-flame img { max-height: 195px; }
}

/* Original supplied PNG headline, shown at native size or smaller. */
.page-home { background: #0b0b0b; }
.page-home .site-glow { display: none; }
.page-home .hero--brand { padding-block: 28px 48px; gap: 36px; }
.hero--brand .hero-title-image {
 width: 100%;
 max-width: 400px;
 margin: 0 0 18px;
 line-height: 0;
}
.hero-title-image img {
 display: block;
 width: 100%;
 height: auto;
 /* Blend the PNG's near-black background into the page without altering the file. */
 mix-blend-mode: lighten;
}
.page-home .hero-lead { max-width: 500px; }
@media (max-width: 820px) {
 .page-home .hero--brand { padding-block: 24px 36px; gap: 24px; }
 .page-home .hero-copy { width: 100%; max-width: 540px; justify-self: center; }
 .page-home .hero-flame { max-width: 400px; }
}
@media (max-width: 560px) {
 .page-home .hero--brand { padding-top: 16px; gap: 16px; }
 .hero--brand .hero-title-image { margin-bottom: 16px; }
}

/* Compact footer and original EMBRIS wordmark. */
.site-footer { margin-top: 40px; padding: 28px 0 16px; }
.footer-grid { gap: 28px; }
.brand--footer { margin-bottom: 8px; }
.footer-wordmark { display: block; width: 140px; max-width: 100%; height: auto; }
.footer-grid > div:first-child p { margin: 0; font-size: .9rem; }
.footer-links { gap: 5px; font-size: .9rem; }
.footer-bottom { margin-top: 22px; padding-top: 14px; gap: 12px; flex-wrap: wrap; }
@media (max-width: 820px) {
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .footer-links a { padding-block: 3px; }
}
@media (max-width: 560px) {
    .site-footer { margin-top: 30px; padding-top: 24px; }
    .footer-bottom { gap: 6px; }
}

/* Manual opening uses EmailOctopus's native click trigger. */
.newsletter-trigger { appearance: none; display: inline-block; width: fit-content; padding: 0; border: 0; background: transparent; color: #b78aff; font: inherit; font-weight: 600; text-align: left; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.newsletter-trigger:hover { color: #d6baff; }
.newsletter-trigger:focus-visible { outline: 2px solid #b78aff; outline-offset: 5px; border-radius: 2px; }

/* Scoped to this popup; !important keeps the theme when its async CSS arrives. */
body { --newsletter-bg: var(--bg); }
body.page-home { --newsletter-bg: #0b0b0b; }
body [data-form="23190d28-ac35-11f1-a9ef-79ea108a1291"].modal-container {
    --text-colour: #f7f8fa !important;
    --font-family: Roboto, sans-serif !important;
    background: rgba(0, 0, 0, .76) !important;
    color: #f7f8fa;
}
body [data-form="23190d28-ac35-11f1-a9ef-79ea108a1291"].modal-container .modal-container-inner {
    background: var(--newsletter-bg, #05080d) !important;
    color: #f7f8fa !important;
    border: 1px solid #303744;
    border-radius: 14px !important;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .65);
    width: min(440px, calc(100vw - 48px)) !important;
    padding: 28px !important;
    color-scheme: dark;
}
body [data-form="23190d28-ac35-11f1-a9ef-79ea108a1291"] .emailoctopus-form {
    --field-colour: #111722 !important;
    --label-colour: #f7f8fa !important;
    --label-size: 14px !important;
    --button-colour: #7941c9 !important;
    --button-text-colour: #ffffff !important;
    --field-border-colour: #515a69 !important;
    --eo-form-font-color: #f7f8fa !important;
    --eo-form-placeholder: #a8afbb !important;
    --base-font-size: 16px !important;
}
body [data-form="23190d28-ac35-11f1-a9ef-79ea108a1291"] input[type="email"] {
    color: #f7f8fa !important;
    background: #111722 !important;
    border: 1px solid #515a69 !important;
    border-radius: 8px !important;
    min-height: 48px;
}
body [data-form="23190d28-ac35-11f1-a9ef-79ea108a1291"] input[type="email"]::placeholder { color: #a8afbb !important; opacity: 1; }
body [data-form="23190d28-ac35-11f1-a9ef-79ea108a1291"] input[type="submit"] {
    background: #7941c9 !important;
    color: #fff !important;
    border-radius: 8px !important;
    min-height: 48px;
    font-weight: 700 !important;
    cursor: pointer;
}
body [data-form="23190d28-ac35-11f1-a9ef-79ea108a1291"] input[type="submit"]:hover { background: #6635ae !important; }
body [data-form="23190d28-ac35-11f1-a9ef-79ea108a1291"] input:focus-visible { outline: 2px solid #b78aff !important; outline-offset: 3px; }
body [data-form="23190d28-ac35-11f1-a9ef-79ea108a1291"].modal-container .modal-container-inner button.close { background: #202733 !important; color: #fff !important; }
body [data-form="23190d28-ac35-11f1-a9ef-79ea108a1291"] .mastfoot p { color: #a8afbb !important; }
body [data-form="23190d28-ac35-11f1-a9ef-79ea108a1291"] .mastfoot a { color: #b78aff !important; }
body [data-form="23190d28-ac35-11f1-a9ef-79ea108a1291"] .emailoctopus-error-message { color: #ffabab !important; }
body [data-form="23190d28-ac35-11f1-a9ef-79ea108a1291"] .emailoctopus-success-message { color: #90e2c8 !important; }

/* Homepage trailer: local artwork until the visitor chooses to load YouTube. */
.hero-trailer { width: 100%; min-width: 0; align-self: center; }
.trailer-player { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid #65428c; border-radius: 14px; background: #0b0b0b; box-shadow: 0 18px 48px rgba(111, 53, 170, .15); }
.trailer-cover { position: absolute; inset: 0; display: block; color: #fff; }
.trailer-cover img { width: 100%; height: 100%; object-fit: contain; }
.trailer-caption { position: absolute; inset: auto 0 0; display: flex; align-items: center; justify-content: flex-start; gap: 10px; padding: 32px 20px 18px; background: linear-gradient(transparent, rgba(0,0,0,.9)); font-weight: 700; }
.trailer-play-icon { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background: #9857ff; color: #fff; font-size: 15px; padding-left: 2px; }
.trailer-cover:hover .trailer-play-icon { background: #b78aff; color: #0b0b0b; }
.trailer-cover:focus-visible { outline: 3px solid #7fffe0; outline-offset: -5px; border-radius: 14px; }
.trailer-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.trailer-note { margin: 12px 0 0; font-size: .78rem; line-height: 1.7; }
.trailer-note a { text-decoration: underline; text-underline-offset: 3px; }
.trailer-note a:focus-visible { outline: 2px solid #7fffe0; outline-offset: 3px; }
@media (max-width: 820px) { .hero-trailer { max-width: 540px; justify-self: center; } }

/* Public preview phase. */
.release-note { max-width: 520px; margin: 0 0 24px; font-size: .88rem; }
.release-note strong { color: #d6baff; }
.newsletter-status { position: fixed; bottom: 20px; left: 24px; right: 24px; z-index: 100; width: fit-content; max-width: calc(100% - 48px); padding: 14px 20px; border: 1px solid #9857ff; border-radius: 10px; background: #101018; color: #f7f8fa; }
.newsletter-status[hidden] { display: none; }
a:focus-visible, button:focus-visible { outline: 2px solid #7fffe0; outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
