Game — AAA Cinematic Landing (Souls/God-of-War style)
A dark, premium AAA cinematic game landing in the Souls and God-of-War mold, built with pure HTML, CSS and vanilla JavaScript. A full-bleed moody hero renders a CSS-drawn brooding warrior against ember-lit ruins, layered over a parallax ember particle canvas, film grain and a heavy vignette. Below it sit a vertical chapter teaser timeline, a horizontal bosses showcase strip with animated threat bars, a three-tier editions band, and a heavy footer, plus a scripted reveal-trailer lightbox and hover ignite cards.
MCP
Code
:root {
--bg: #08070a;
--bg-2: #0d0b0e;
--panel: #14110f;
--panel-2: #1a1512;
--text: #efe7df;
--muted: #9b9088;
--line: rgba(239, 231, 223, 0.10);
--line-2: rgba(239, 231, 223, 0.18);
--accent: #ff6a1a;
--accent-2: #c0392b;
--steel: #5a6b78;
--steel-2: #2c3640;
--success: #36e27a;
--ember-glow: 0 0 22px rgba(255, 106, 26, 0.40);
--ember-glow-lg: 0 0 42px rgba(255, 106, 26, 0.30);
--r-sm: 6px;
--r-md: 10px;
--r-lg: 16px;
--font-display: "Cinzel", "Times New Roman", serif;
--font-body: "Inter", system-ui, sans-serif;
}
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
margin: 0;
background: var(--bg);
color: var(--text);
font-family: var(--font-body);
line-height: 1.5;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; font-weight: 700; letter-spacing: 0.04em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 3px;
border-radius: 2px;
}
/* ============ BUTTONS ============ */
.btn {
display: inline-flex;
align-items: center;
gap: 0.6rem;
font-family: var(--font-display);
font-weight: 700;
font-size: 0.95rem;
letter-spacing: 0.08em;
text-transform: uppercase;
padding: 0.95rem 1.8rem;
border-radius: 2px;
border: 1px solid transparent;
cursor: pointer;
transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-ember {
background: linear-gradient(160deg, #ff7c30, var(--accent) 45%, var(--accent-2));
color: #1a0c04;
box-shadow: var(--ember-glow);
}
.btn-ember:hover {
box-shadow: var(--ember-glow-lg), var(--ember-glow);
transform: translateY(-2px);
}
.btn-outline {
background: rgba(20, 17, 15, 0.55);
color: var(--text);
border-color: var(--line-2);
backdrop-filter: blur(4px);
}
.btn-outline:hover {
border-color: var(--accent);
color: #ffd9be;
box-shadow: var(--ember-glow);
}
.btn-outline[aria-pressed="true"] {
border-color: var(--accent);
color: var(--accent);
}
.btn-outline[aria-pressed="true"] .wish-icon { color: var(--accent); animation: heartPulse 1.6s ease infinite; }
@keyframes heartPulse {
0%, 100% { transform: scale(1); }
18% { transform: scale(1.35); }
36% { transform: scale(1); }
}
.btn-ghost {
background: transparent;
color: var(--muted);
border-color: var(--line);
}
.btn-ghost:hover { color: var(--text); border-color: var(--accent); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.75rem; }
.btn-play {
display: inline-grid;
place-items: center;
width: 1.5rem;
height: 1.5rem;
font-size: 0.6rem;
border-radius: 50%;
background: rgba(8, 7, 10, 0.35);
}
.wish-icon { font-size: 1rem; line-height: 1; transition: color 0.25s ease; }
/* ============ NAV ============ */
.site-nav {
position: fixed;
inset: 0 0 auto 0;
z-index: 50;
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 0.9rem clamp(1rem, 4vw, 3rem);
transition: background 0.35s ease, border-color 0.35s ease, padding 0.35s ease;
border-bottom: 1px solid transparent;
}
.site-nav.is-scrolled {
background: rgba(8, 7, 10, 0.88);
backdrop-filter: blur(10px);
border-bottom-color: var(--line);
padding-block: 0.6rem;
}
.nav-brand {
display: inline-flex;
align-items: center;
gap: 0.65rem;
font-family: var(--font-display);
font-weight: 900;
letter-spacing: 0.18em;
text-transform: uppercase;
font-size: 0.95rem;
}
.brand-sigil {
width: 22px;
height: 22px;
background: linear-gradient(155deg, var(--accent), var(--accent-2));
clip-path: polygon(50% 0, 100% 38%, 78% 100%, 22% 100%, 0 38%);
box-shadow: var(--ember-glow);
flex: none;
}
.brand-sigil--lg { width: 38px; height: 38px; margin-inline: auto; }
.nav-links { display: flex; gap: clamp(1rem, 3vw, 2.4rem); }
.nav-links a {
font-size: 0.8rem;
font-weight: 600;
letter-spacing: 0.16em;
text-transform: uppercase;
color: var(--muted);
padding: 0.35rem 0.1rem;
position: relative;
transition: color 0.25s ease;
}
.nav-links a::after {
content: "";
position: absolute;
left: 0; right: 100%;
bottom: 0;
height: 1px;
background: var(--accent);
box-shadow: var(--ember-glow);
transition: right 0.3s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { right: 0; }
/* ============ HERO ============ */
.hero {
position: relative;
min-height: 100svh;
display: flex;
align-items: flex-end;
justify-content: center;
overflow: hidden;
}
.hero-scene { position: absolute; inset: 0; }
.hero-scene > div { position: absolute; }
.sky {
inset: 0;
background:
radial-gradient(120% 80% at 50% 105%, rgba(255, 106, 26, 0.22), transparent 55%),
linear-gradient(180deg, #060508 0%, #0c0a10 35%, #19100c 78%, #241108 100%);
}
.ember-moon {
top: 14%;
left: 50%;
width: clamp(180px, 26vw, 340px);
aspect-ratio: 1;
transform: translateX(-50%);
border-radius: 50%;
background: radial-gradient(circle at 42% 38%, rgba(255, 168, 96, 0.55), rgba(192, 57, 43, 0.32) 48%, transparent 72%);
filter: blur(2px);
animation: moonBreath 9s ease-in-out infinite;
}
@keyframes moonBreath {
0%, 100% { opacity: 0.85; transform: translateX(-50%) scale(1); }
50% { opacity: 1; transform: translateX(-50%) scale(1.04); }
}
.mtn { left: -5%; right: -5%; bottom: 0; }
.mtn-far {
height: 52%;
background: linear-gradient(180deg, #181219, #0d0a0e);
clip-path: polygon(0 70%, 8% 52%, 17% 64%, 27% 38%, 36% 58%, 47% 30%, 58% 56%, 68% 36%, 78% 60%, 88% 44%, 100% 66%, 100% 100%, 0 100%);
opacity: 0.9;
}
.mtn-mid {
height: 40%;
background: linear-gradient(180deg, #21161269, #120d0c), linear-gradient(180deg, #1e1410, #0e0a09);
clip-path: polygon(0 86%, 6% 60%, 14% 76%, 24% 46%, 33% 70%, 45% 40%, 55% 68%, 66% 48%, 77% 72%, 87% 52%, 100% 78%, 100% 100%, 0 100%);
}
.ruin { bottom: 11%; width: clamp(60px, 9vw, 130px); height: clamp(180px, 32vh, 340px); background: linear-gradient(180deg, #171013, #0b0809); }
.ruin-l {
left: clamp(2%, 6vw, 10%);
clip-path: polygon(18% 0, 42% 6%, 38% 22%, 58% 20%, 55% 38%, 78% 36%, 74% 100%, 10% 100%, 16% 55%, 4% 56%, 10% 24%, 0 26%);
}
.ruin-r {
right: clamp(2%, 6vw, 10%);
transform: scaleX(-1);
clip-path: polygon(30% 0, 55% 4%, 50% 30%, 80% 28%, 76% 58%, 92% 56%, 86% 100%, 14% 100%, 20% 44%, 6% 46%, 14% 14%, 24% 16%);
}
.fog {
left: -10%; right: -10%;
height: 22%;
filter: blur(8px);
opacity: 0.5;
}
.fog-1 {
bottom: 8%;
background: linear-gradient(90deg, transparent, rgba(90, 107, 120, 0.16) 30%, rgba(90, 107, 120, 0.08) 60%, transparent);
animation: fogDrift 26s linear infinite alternate;
}
.fog-2 {
bottom: 16%;
background: linear-gradient(90deg, transparent, rgba(255, 106, 26, 0.07) 40%, rgba(90, 107, 120, 0.12) 70%, transparent);
animation: fogDrift 34s linear infinite alternate-reverse;
}
@keyframes fogDrift {
from { transform: translateX(-4%); }
to { transform: translateX(4%); }
}
/* — Warrior silhouette (CSS drawn) — */
.warrior {
bottom: 10.5%;
left: 50%;
width: clamp(120px, 16vw, 210px);
height: clamp(220px, 38vh, 400px);
transform: translateX(-50%);
filter: drop-shadow(0 0 26px rgba(0, 0, 0, 0.8));
}
.warrior > div { position: absolute; background: #0a0809; }
.w-cape {
inset: 26% 4% 0 8%;
background: linear-gradient(180deg, #0e0a0b, #060506);
clip-path: polygon(28% 0, 72% 0, 96% 32%, 100% 100%, 76% 88%, 60% 100%, 40% 96%, 22% 100%, 0 92%, 6% 30%);
animation: capeSway 7s ease-in-out infinite;
transform-origin: 50% 0;
}
@keyframes capeSway {
0%, 100% { transform: skewX(0deg); }
50% { transform: skewX(2.2deg); }
}
.w-body {
inset: 30% 30% 0 32%;
clip-path: polygon(22% 0, 78% 0, 92% 18%, 84% 100%, 16% 100%, 8% 18%);
}
.w-pauldron {
top: 27%; left: 22%; right: 22%; height: 11%;
background: linear-gradient(180deg, #16110f, #0a0809);
clip-path: polygon(0 62%, 14% 8%, 50% 0, 86% 8%, 100% 62%, 86% 100%, 14% 100%);
}
.w-helm {
top: 16.5%; left: 41%; width: 18%; height: 12%;
background: linear-gradient(180deg, #14100e, #090708);
clip-path: polygon(50% 0, 96% 26%, 88% 100%, 12% 100%, 4% 26%);
}
.w-helm::after {
content: "";
position: absolute;
left: 18%; right: 18%; top: 46%;
height: 12%;
background: var(--accent);
box-shadow: 0 0 10px rgba(255, 106, 26, 0.9);
animation: visorFlicker 5.5s ease-in-out infinite;
}
@keyframes visorFlicker {
0%, 92%, 100% { opacity: 0.95; }
94% { opacity: 0.35; }
96% { opacity: 0.9; }
98% { opacity: 0.5; }
}
.w-sword {
top: 4%; right: 12%;
width: 4.5%; height: 64%;
background: linear-gradient(180deg, #404c56, #1a2025 60%, #0c0e10);
clip-path: polygon(50% 0, 100% 4%, 100% 100%, 0 100%, 0 4%);
}
.w-sword::after {
content: "";
position: absolute;
top: 58%; left: -200%; right: -200%;
height: 5%;
background: #11151a;
clip-path: polygon(0 50%, 12% 0, 88% 0, 100% 50%, 88% 100%, 12% 100%);
}
.w-sword-glow {
top: 4%; right: 10%;
width: 9%; height: 60%;
background: linear-gradient(180deg, rgba(255, 124, 48, 0.5), rgba(255, 106, 26, 0.08));
filter: blur(7px);
animation: swordPulse 4s ease-in-out infinite;
}
@keyframes swordPulse {
0%, 100% { opacity: 0.5; }
50% { opacity: 1; }
}
.ground {
left: 0; right: 0; bottom: 0;
height: 11.5%;
background: linear-gradient(180deg, #120c09, #070506);
}
.ground::before {
content: "";
position: absolute;
inset: -6px 0 auto 0;
height: 12px;
background: linear-gradient(90deg, transparent, rgba(255, 106, 26, 0.28) 38%, rgba(255, 106, 26, 0.42) 50%, rgba(255, 106, 26, 0.28) 62%, transparent);
filter: blur(4px);
}
.ember-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-vignette {
inset: 0;
background: radial-gradient(120% 90% at 50% 42%, transparent 42%, rgba(4, 3, 5, 0.78) 100%);
pointer-events: none;
}
.grain {
inset: -50%;
width: 200%;
height: 200%;
pointer-events: none;
opacity: 0.4;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.14'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
animation: grainShift 0.9s steps(4) infinite;
}
@keyframes grainShift {
0% { transform: translate(0, 0); }
25% { transform: translate(-2%, 1.4%); }
50% { transform: translate(1.6%, -1.2%); }
75% { transform: translate(-1.2%, -2%); }
100% { transform: translate(0, 0); }
}
.hero-content {
position: relative;
z-index: 2;
text-align: center;
padding: 0 1.25rem clamp(7rem, 16vh, 10rem);
max-width: 880px;
}
.studio-line {
font-size: 0.78rem;
font-weight: 700;
letter-spacing: 0.55em;
text-transform: uppercase;
color: var(--steel);
text-indent: 0.55em;
}
.game-title {
margin-top: 1rem;
font-size: clamp(2.6rem, 9vw, 6.2rem);
font-weight: 900;
line-height: 1.02;
letter-spacing: 0.06em;
text-transform: uppercase;
background: linear-gradient(180deg, #fdf3e7 18%, #e8cdb0 48%, #b88a5f 78%, #7f5436);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
text-shadow: 0 14px 44px rgba(0, 0, 0, 0.65);
}
.title-amp {
display: inline-block;
margin: 0 0.18em;
font-size: 0.34em;
vertical-align: 0.42em;
background: linear-gradient(180deg, #ffb27a, var(--accent));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
filter: drop-shadow(0 0 10px rgba(255, 106, 26, 0.7));
}
.tagline {
margin: 1.4rem auto 0;
max-width: 34rem;
font-size: clamp(0.98rem, 2vw, 1.12rem);
color: var(--muted);
font-weight: 500;
}
.hero-ctas {
margin-top: 2.2rem;
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
}
.platform-line {
margin-top: 1.9rem;
font-size: 0.78rem;
font-weight: 600;
letter-spacing: 0.22em;
text-transform: uppercase;
color: var(--steel);
display: flex;
gap: 0.7rem;
justify-content: center;
flex-wrap: wrap;
align-items: baseline;
}
.platform-line i { font-style: normal; color: var(--accent); }
.platform-line em { font-style: normal; color: var(--accent); letter-spacing: 0.22em; }
.scroll-cue {
position: absolute;
bottom: 1.4rem;
left: 50%;
transform: translateX(-50%);
z-index: 3;
display: flex;
flex-direction: column;
align-items: center;
gap: 0.5rem;
color: var(--steel);
font-size: 0.66rem;
font-weight: 700;
letter-spacing: 0.4em;
text-transform: uppercase;
text-indent: 0.4em;
transition: color 0.3s ease;
}
.scroll-cue:hover { color: var(--accent); }
.cue-line {
width: 1px;
height: 38px;
background: linear-gradient(180deg, transparent, var(--accent));
animation: cueDrop 2.2s ease-in-out infinite;
}
@keyframes cueDrop {
0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
40% { transform: scaleY(1); opacity: 1; }
100% { transform: scaleY(1); transform-origin: top; opacity: 0.2; }
}
/* ============ SECTIONS ============ */
section { position: relative; }
.section-head {
text-align: center;
max-width: 620px;
margin: 0 auto;
padding: 0 1.25rem;
}
.kicker {
font-size: 0.72rem;
font-weight: 700;
letter-spacing: 0.5em;
text-transform: uppercase;
text-indent: 0.5em;
color: var(--accent);
}
.section-head h2 {
margin-top: 0.8rem;
font-size: clamp(1.7rem, 4.5vw, 2.7rem);
text-transform: uppercase;
letter-spacing: 0.08em;
}
.section-head h2::after {
content: "";
display: block;
width: 72px;
height: 2px;
margin: 1rem auto 0;
background: linear-gradient(90deg, transparent, var(--accent), transparent);
box-shadow: var(--ember-glow);
}
.section-sub { margin-top: 1rem; color: var(--muted); font-size: 0.98rem; }
/* ============ CHAPTERS ============ */
.chapters {
padding: clamp(5rem, 12vh, 9rem) 0 clamp(4rem, 9vh, 7rem);
background:
radial-gradient(60% 40% at 15% 20%, rgba(192, 57, 43, 0.06), transparent),
linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.chapter-list {
max-width: 760px;
margin: clamp(3rem, 7vh, 5rem) auto 0;
padding: 0 1.25rem;
position: relative;
}
.chapter-list::before {
content: "";
position: absolute;
left: calc(1.25rem + 2.05rem);
top: 0;
bottom: 0;
width: 1px;
background: linear-gradient(180deg, transparent, var(--line-2) 10%, var(--line-2) 90%, transparent);
}
.chapter {
position: relative;
display: flex;
gap: 1.6rem;
padding: 1.6rem 1.4rem 1.6rem 0;
margin-bottom: 0.4rem;
border-radius: var(--r-md);
transition: background 0.3s ease;
cursor: default;
}
.chapter:hover,
.chapter:focus-visible { background: rgba(255, 106, 26, 0.04); }
.ch-num {
flex: none;
width: 4.1rem;
font-family: var(--font-display);
font-weight: 900;
font-size: 1.9rem;
text-align: center;
color: var(--steel);
transition: color 0.3s ease, text-shadow 0.3s ease;
line-height: 1.2;
}
.chapter:hover .ch-num,
.chapter:focus-visible .ch-num {
color: var(--accent);
text-shadow: 0 0 18px rgba(255, 106, 26, 0.55);
}
.ch-body h3 { font-size: 1.18rem; letter-spacing: 0.05em; }
.ch-body p { margin-top: 0.45rem; color: var(--muted); font-size: 0.93rem; max-width: 46ch; }
.ch-meta {
display: inline-block;
margin-top: 0.7rem;
font-size: 0.7rem;
font-weight: 700;
letter-spacing: 0.18em;
text-transform: uppercase;
color: var(--steel);
}
.ch-flame {
position: absolute;
left: calc(2.05rem - 4px);
top: 2.25rem;
width: 9px;
height: 9px;
border-radius: 50%;
background: var(--steel-2);
transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.chapter:hover .ch-flame,
.chapter:focus-visible .ch-flame {
background: var(--accent);
box-shadow: 0 0 14px rgba(255, 106, 26, 0.9);
transform: scale(1.35);
}
/* ============ BOSSES ============ */
.bosses {
padding: clamp(5rem, 12vh, 9rem) 0;
background:
radial-gradient(50% 60% at 85% 10%, rgba(90, 107, 120, 0.07), transparent),
var(--bg-2);
border-block: 1px solid var(--line);
}
.boss-strip-wrap {
position: relative;
max-width: 1180px;
margin: clamp(3rem, 7vh, 4.5rem) auto 0;
padding: 0 clamp(1.25rem, 4vw, 3.5rem);
}
.boss-strip {
display: flex;
gap: 1.2rem;
overflow-x: auto;
scroll-snap-type: x mandatory;
padding: 0.5rem 0.25rem 1.2rem;
scrollbar-width: thin;
scrollbar-color: var(--steel-2) transparent;
}
.boss-card {
flex: 0 0 clamp(230px, 26vw, 270px);
scroll-snap-align: start;
background: linear-gradient(170deg, var(--panel-2), var(--panel) 60%);
border: 1px solid var(--line);
border-radius: var(--r-md);
overflow: hidden;
clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
cursor: pointer;
position: relative;
}
.boss-card:hover,
.boss-card:focus-visible {
transform: translateY(-6px);
border-color: rgba(255, 106, 26, 0.45);
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), var(--ember-glow);
}
/* hover ignite — radial ember follows pointer */
.ignite::after {
content: "";
position: absolute;
inset: 0;
pointer-events: none;
opacity: 0;
background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 106, 26, 0.16), transparent 65%);
transition: opacity 0.35s ease;
}
.ignite:hover::after,
.ignite:focus-visible::after { opacity: 1; }
.boss-art {
position: relative;
height: 200px;
background:
radial-gradient(85% 70% at 50% 100%, rgba(255, 106, 26, 0.14), transparent 65%),
linear-gradient(180deg, #100c10, #1c130d);
overflow: hidden;
border-bottom: 1px solid var(--line);
}
.boss-art i,
.boss-art b { position: absolute; }
/* knight — towering pauldrons */
.art-knight i {
left: 50%; bottom: 0;
width: 46%; height: 74%;
transform: translateX(-50%);
background: #0b090b;
clip-path: polygon(50% 0, 64% 8%, 96% 14%, 100% 36%, 84% 38%, 80% 100%, 20% 100%, 16% 38%, 0 36%, 4% 14%, 36% 8%);
}
.art-knight b {
left: 50%; bottom: 8%;
width: 5%; height: 86%;
transform: translateX(220%) rotate(7deg);
background: linear-gradient(180deg, #46545f, #141a1f);
clip-path: polygon(50% 0, 100% 5%, 100% 100%, 0 100%, 0 5%);
}
/* bell — robed figure under a bell arc */
.art-bell i {
left: 50%; bottom: 0;
width: 40%; height: 70%;
transform: translateX(-50%);
background: #0b090b;
clip-path: polygon(50% 0, 72% 12%, 84% 42%, 100% 100%, 0 100%, 16% 42%, 28% 12%);
}
.art-bell b {
left: 50%; top: 8%;
width: 64%; height: 48%;
transform: translateX(-50%);
border: 2px solid rgba(90, 107, 120, 0.5);
border-bottom: none;
border-radius: 50% 50% 0 0 / 90% 90% 0 0;
background: transparent;
}
/* forge — broad smith with hammer */
.art-forge i {
left: 50%; bottom: 0;
width: 56%; height: 64%;
transform: translateX(-50%);
background: #0c0a09;
clip-path: polygon(50% 0, 70% 6%, 92% 22%, 100% 58%, 88% 100%, 12% 100%, 0 58%, 8% 22%, 30% 6%);
}
.art-forge b {
right: 14%; bottom: 26%;
width: 26%; height: 9%;
background: linear-gradient(180deg, #3c4954, #181e23);
clip-path: polygon(0 30%, 70% 0, 100% 0, 100% 100%, 70% 100%, 0 70%);
transform: rotate(-24deg);
}
/* queen — slender crowned silhouette */
.art-queen i {
left: 50%; bottom: 0;
width: 30%; height: 78%;
transform: translateX(-50%);
background: #0b090b;
clip-path: polygon(30% 8%, 50% 0, 70% 8%, 62% 14%, 78% 20%, 70% 44%, 92% 100%, 8% 100%, 30% 44%, 22% 20%, 38% 14%);
}
.art-queen b {
left: 50%; top: 10%;
width: 24%; height: 10%;
transform: translateX(-50%);
background: linear-gradient(180deg, #ffb27a, var(--accent));
clip-path: polygon(0 100%, 10% 20%, 26% 70%, 42% 0, 58% 70%, 74% 10%, 90% 70%, 100% 100%);
filter: drop-shadow(0 0 8px rgba(255, 106, 26, 0.8));
}
/* unknown */
.art-unknown {
display: grid;
place-items: center;
}
.art-unknown i {
position: static;
font-style: normal;
font-family: var(--font-display);
font-weight: 900;
font-size: 4rem;
color: var(--steel-2);
text-shadow: 0 0 24px rgba(90, 107, 120, 0.4);
}
.boss-card--hidden { border-style: dashed; }
.boss-card--hidden .boss-info h3 { color: var(--steel); }
.boss-info { padding: 1.1rem 1.2rem 1.3rem; position: relative; }
.boss-info h3 { font-size: 1.05rem; }
.boss-title {
margin-top: 0.25rem;
font-size: 0.74rem;
font-weight: 600;
letter-spacing: 0.16em;
text-transform: uppercase;
color: var(--accent);
}
.threat {
margin-top: 0.95rem;
display: flex;
align-items: center;
gap: 0.7rem;
}
.threat-label {
font-size: 0.62rem;
font-weight: 700;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(--steel);
}
.threat-bar {
flex: 1;
height: 5px;
background: var(--steel-2);
border-radius: 99px;
overflow: hidden;
}
.threat-fill {
display: block;
height: 100%;
width: 0;
background: linear-gradient(90deg, var(--accent-2), var(--accent));
border-radius: 99px;
box-shadow: 0 0 10px rgba(255, 106, 26, 0.6);
transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.is-revealed .threat-fill { width: var(--lvl); }
.threat-unknown {
background: repeating-linear-gradient(90deg, var(--steel-2) 0 6px, transparent 6px 10px);
box-shadow: none;
}
.strip-arrow {
position: absolute;
top: 42%;
z-index: 2;
width: 42px;
height: 42px;
display: grid;
place-items: center;
font-size: 1.5rem;
line-height: 1;
color: var(--text);
background: rgba(20, 17, 15, 0.85);
border: 1px solid var(--line-2);
border-radius: 50%;
cursor: pointer;
transition: border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}
.strip-arrow:hover { border-color: var(--accent); color: var(--accent); box-shadow: var(--ember-glow); }
.strip-prev { left: 0.2rem; }
.strip-next { right: 0.2rem; }
/* ============ EDITIONS ============ */
.editions {
padding: clamp(5rem, 12vh, 9rem) 0;
background:
radial-gradient(70% 50% at 50% 110%, rgba(255, 106, 26, 0.08), transparent 70%),
var(--bg);
}
.edition-grid {
max-width: 1080px;
margin: clamp(3rem, 7vh, 4.5rem) auto 0;
padding: 0 1.25rem;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.4rem;
align-items: stretch;
}
.edition {
position: relative;
display: flex;
flex-direction: column;
padding: 2.2rem 1.8rem 2rem;
background: linear-gradient(175deg, var(--panel-2), var(--panel) 65%);
border: 1px solid var(--line);
border-radius: var(--r-md);
clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.edition:hover,
.edition:focus-visible {
transform: translateY(-6px);
border-color: rgba(255, 106, 26, 0.4);
box-shadow: 0 20px 44px rgba(0, 0, 0, 0.55);
}
.edition--featured {
border-color: rgba(255, 106, 26, 0.55);
box-shadow: var(--ember-glow-lg);
background: linear-gradient(175deg, #221710, var(--panel) 70%);
}
.ed-flag {
position: absolute;
top: 0.95rem;
right: 1.4rem;
font-size: 0.62rem;
font-weight: 800;
letter-spacing: 0.22em;
text-transform: uppercase;
color: var(--accent);
}
.ed-name { font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.1em; }
.ed-price {
margin-top: 1rem;
font-family: var(--font-display);
font-weight: 900;
font-size: 2.6rem;
line-height: 1;
color: var(--text);
}
.ed-price sup { font-size: 0.45em; vertical-align: 0.9em; color: var(--muted); }
.ed-price small { font-size: 0.42em; color: var(--muted); font-weight: 700; }
.ed-list { margin-top: 1.5rem; flex: 1; }
.ed-list li {
position: relative;
padding: 0.5rem 0 0.5rem 1.5rem;
font-size: 0.9rem;
color: var(--muted);
border-bottom: 1px solid var(--line);
}
.ed-list li:last-child { border-bottom: none; }
.ed-list li::before {
content: "";
position: absolute;
left: 0;
top: 0.95rem;
width: 8px;
height: 8px;
background: linear-gradient(150deg, var(--accent), var(--accent-2));
clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.ed-btn { margin-top: 1.7rem; justify-content: center; width: 100%; }
/* ============ FOOTER ============ */
.site-footer {
border-top: 1px solid var(--line);
background: linear-gradient(180deg, var(--bg-2), #050406 80%);
padding: clamp(3.5rem, 8vh, 5.5rem) clamp(1.25rem, 4vw, 3.5rem) 2rem;
}
.footer-top {
max-width: 1080px;
margin: 0 auto;
display: grid;
grid-template-columns: 1.2fr 2fr;
gap: 3rem;
}
.footer-brand { text-align: center; }
.footer-logo {
margin-top: 1rem;
font-family: var(--font-display);
font-weight: 900;
font-size: 1.5rem;
letter-spacing: 0.2em;
text-transform: uppercase;
}
.footer-studio { margin-top: 0.6rem; font-size: 0.8rem; color: var(--steel); }
.footer-cols {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.5rem;
}
.f-col h4 {
font-size: 0.78rem;
letter-spacing: 0.28em;
text-transform: uppercase;
color: var(--accent);
margin-bottom: 1rem;
}
.f-col a {
display: block;
padding: 0.32rem 0;
font-size: 0.88rem;
color: var(--muted);
transition: color 0.25s ease, padding-left 0.25s ease;
}
.f-col a:hover { color: var(--text); padding-left: 0.35rem; }
.footer-bottom {
max-width: 1080px;
margin: 3rem auto 0;
padding-top: 1.6rem;
border-top: 1px solid var(--line);
display: flex;
align-items: center;
gap: 1.1rem;
color: var(--steel);
font-size: 0.78rem;
}
.rating-badge {
flex: none;
width: 38px;
height: 46px;
display: grid;
place-items: center;
font-family: var(--font-display);
font-weight: 900;
font-size: 1.3rem;
color: var(--text);
border: 2px solid var(--steel);
border-radius: 3px;
}
/* ============ LIGHTBOX ============ */
.lightbox {
position: fixed;
inset: 0;
z-index: 100;
display: grid;
place-items: center;
padding: 1.25rem;
}
.lightbox[hidden] { display: none; }
.lightbox-backdrop {
position: absolute;
inset: 0;
background: rgba(4, 3, 5, 0.9);
backdrop-filter: blur(6px);
animation: fadeIn 0.3s ease;
}
.lightbox-frame {
position: relative;
width: min(880px, 100%);
animation: frameUp 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes fadeIn { from { opacity: 0; } }
@keyframes frameUp {
from { opacity: 0; transform: translateY(26px) scale(0.97); }
}
.lightbox-close {
position: absolute;
top: -2.8rem;
right: 0;
width: 38px;
height: 38px;
display: grid;
place-items: center;
font-size: 1rem;
color: var(--text);
background: rgba(20, 17, 15, 0.8);
border: 1px solid var(--line-2);
border-radius: 50%;
cursor: pointer;
transition: border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.lightbox-close:hover { border-color: var(--accent); color: var(--accent); box-shadow: var(--ember-glow); }
.trailer-screen {
position: relative;
aspect-ratio: 16 / 9;
background: #030204;
border: 1px solid var(--line-2);
border-radius: var(--r-sm);
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
}
.t-bar {
position: absolute;
left: 0; right: 0;
height: 9%;
background: #000;
z-index: 2;
}
.t-bar-top { top: 0; }
.t-bar-bot { bottom: 0; }
.t-scene { position: absolute; inset: 9% 0; }
.t-glow {
position: absolute;
inset: 0;
background: radial-gradient(70% 90% at 50% 100%, rgba(255, 106, 26, 0.28), transparent 65%);
animation: tGlow 6s ease-in-out infinite;
}
@keyframes tGlow {
0%, 100% { opacity: 0.6; }
50% { opacity: 1; }
}
.t-mtn {
position: absolute;
inset: auto -4% 0;
height: 55%;
background: linear-gradient(180deg, #15101a, #090709);
clip-path: polygon(0 70%, 12% 40%, 24% 62%, 38% 28%, 52% 58%, 66% 34%, 80% 60%, 92% 42%, 100% 64%, 100% 100%, 0 100%);
animation: tPan 14s linear infinite alternate;
}
@keyframes tPan {
from { transform: translateX(-1.5%) scale(1.04); }
to { transform: translateX(1.5%) scale(1.04); }
}
.t-sword {
position: absolute;
left: 50%;
bottom: 12%;
width: 3px;
height: 46%;
transform: translateX(-50%);
background: linear-gradient(180deg, #ffb27a, var(--accent) 40%, #3c2515);
box-shadow: 0 0 24px rgba(255, 106, 26, 0.8);
animation: swordPulse 3s ease-in-out infinite;
}
.t-sword::after {
content: "";
position: absolute;
top: 62%;
left: -11px;
right: -11px;
height: 4px;
background: #2a2024;
}
.t-caption {
position: relative;
z-index: 3;
font-family: var(--font-display);
font-size: clamp(0.95rem, 2.6vw, 1.5rem);
font-weight: 600;
letter-spacing: 0.12em;
text-align: center;
padding: 0 8%;
color: var(--text);
text-shadow: 0 4px 24px rgba(0, 0, 0, 0.9);
animation: capFade 4s ease infinite;
}
@keyframes capFade {
0% { opacity: 0; transform: translateY(8px); }
16%, 80% { opacity: 1; transform: translateY(0); }
100% { opacity: 0; transform: translateY(-6px); }
}
.t-progress {
position: absolute;
bottom: 9%;
left: 0; right: 0;
height: 3px;
background: rgba(239, 231, 223, 0.12);
z-index: 3;
}
.t-progress span {
display: block;
height: 100%;
width: 0;
background: var(--accent);
box-shadow: var(--ember-glow);
transition: width 0.25s linear;
}
.lightbox-note {
margin-top: 0.8rem;
text-align: center;
font-size: 0.74rem;
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--steel);
}
/* ============ TOAST ============ */
.toast {
position: fixed;
bottom: 1.4rem;
left: 50%;
transform: translate(-50%, 140%);
z-index: 120;
max-width: min(420px, calc(100vw - 2rem));
padding: 0.85rem 1.4rem;
background: var(--panel-2);
border: 1px solid rgba(255, 106, 26, 0.5);
border-radius: var(--r-sm);
box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), var(--ember-glow);
font-size: 0.88rem;
font-weight: 600;
text-align: center;
opacity: 0;
transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
pointer-events: none;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }
/* ============ REVEALS ============ */
.reveal {
opacity: 0;
transform: translateY(28px);
transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }
.reveal[data-delay="4"] { transition-delay: 0.48s; }
.reveal.is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
html { scroll-behavior: auto; }
.reveal { opacity: 1; transform: none; }
}
/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
.edition-grid { grid-template-columns: 1fr; max-width: 460px; }
.footer-top { grid-template-columns: 1fr; text-align: center; }
.footer-cols { justify-items: center; }
}
@media (max-width: 520px) {
.nav-links { display: none; }
.hero-ctas .btn { width: 100%; justify-content: center; }
.hero-content { padding-bottom: 6.5rem; }
.game-title { font-size: 2.5rem; }
.ruin-r { display: none; }
.chapter { gap: 1rem; padding-right: 0.6rem; }
.ch-num { width: 2.6rem; font-size: 1.4rem; }
.chapter-list::before { left: calc(1.25rem + 1.3rem); }
.ch-flame { left: calc(1.3rem - 4px); }
.boss-card { flex-basis: 78vw; }
.strip-arrow { display: none; }
.footer-cols { grid-template-columns: 1fr; gap: 2rem; }
.footer-bottom { flex-direction: column; text-align: center; }
.lightbox-close { top: auto; bottom: -3.4rem; right: 50%; transform: translateX(50%); }
}/* ============================================================
Hollow Reign — AAA cinematic landing
Vanilla JS: scroll-reveal, ember particle canvas (parallax),
trailer lightbox, hover "ignite", boss strip, wishlist, toasts.
============================================================ */
(function () {
"use strict";
var prefersReduced = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
var $ = function (sel, ctx) { return (ctx || document).querySelector(sel); };
var $$ = function (sel, ctx) { return Array.prototype.slice.call((ctx || document).querySelectorAll(sel)); };
/* ---------- Toast ---------- */
var toastEl = $("#toast");
var toastTimer;
function toast(msg) {
if (!toastEl) return;
toastEl.textContent = msg;
toastEl.classList.add("is-visible");
clearTimeout(toastTimer);
toastTimer = setTimeout(function () {
toastEl.classList.remove("is-visible");
}, 2600);
}
/* ---------- Sticky nav shadow ---------- */
var nav = $("#siteNav");
function onScrollNav() {
if (!nav) return;
nav.classList.toggle("is-scrolled", window.scrollY > 24);
}
window.addEventListener("scroll", onScrollNav, { passive: true });
onScrollNav();
/* ---------- Scroll reveal (IntersectionObserver) ---------- */
var revealEls = $$(".reveal");
if ("IntersectionObserver" in window && !prefersReduced) {
var io = new IntersectionObserver(function (entries, obs) {
entries.forEach(function (entry) {
if (entry.isIntersecting) {
entry.target.classList.add("is-revealed");
obs.unobserve(entry.target);
}
});
}, { threshold: 0.18, rootMargin: "0px 0px -8% 0px" });
revealEls.forEach(function (el) { io.observe(el); });
} else {
revealEls.forEach(function (el) { el.classList.add("is-revealed"); });
}
/* ---------- Threat bars fill when boss strip enters ---------- */
var bossWrap = $(".boss-strip-wrap");
if (bossWrap) {
if ("IntersectionObserver" in window) {
var bio = new IntersectionObserver(function (entries, obs) {
entries.forEach(function (entry) {
if (entry.isIntersecting) {
$$(".boss-card").forEach(function (c) { c.classList.add("is-revealed"); });
obs.disconnect();
}
});
}, { threshold: 0.25 });
bio.observe(bossWrap);
} else {
$$(".boss-card").forEach(function (c) { c.classList.add("is-revealed"); });
}
}
/* ---------- Hover "ignite" — radial ember follows pointer ---------- */
$$(".ignite").forEach(function (card) {
card.addEventListener("pointermove", function (e) {
var r = card.getBoundingClientRect();
card.style.setProperty("--mx", (e.clientX - r.left) + "px");
card.style.setProperty("--my", (e.clientY - r.top) + "px");
});
});
/* ---------- Boss strip arrows ---------- */
var strip = $("#bossStrip");
function scrollStrip(dir) {
if (!strip) return;
var card = strip.querySelector(".boss-card");
var step = card ? card.getBoundingClientRect().width + 20 : 280;
strip.scrollBy({ left: dir * step, behavior: prefersReduced ? "auto" : "smooth" });
}
var prevBtn = $("#bossPrev");
var nextBtn = $("#bossNext");
if (prevBtn) prevBtn.addEventListener("click", function () { scrollStrip(-1); });
if (nextBtn) nextBtn.addEventListener("click", function () { scrollStrip(1); });
/* ---------- Wishlist toggle (synced across both buttons) ---------- */
var wished = false;
var wishBtns = [$("#navWishlist"), $("#heroWishlist")].filter(Boolean);
function syncWishlist() {
wishBtns.forEach(function (b) {
b.setAttribute("aria-pressed", String(wished));
var label = b.querySelector(".wish-icon") ? b : b;
// update text node after the icon
var text = wished ? "Wishlisted" : (b.id === "navWishlist" ? "Wishlist" : "Wishlist Now");
var icon = b.querySelector(".wish-icon");
b.textContent = "";
if (icon) b.appendChild(icon);
b.appendChild(document.createTextNode(" " + text));
});
}
wishBtns.forEach(function (b) {
b.addEventListener("click", function () {
wished = !wished;
syncWishlist();
toast(wished ? "Added to your wishlist — you will be notified at launch." : "Removed from wishlist.");
});
});
/* ---------- Edition pre-order ---------- */
$$("[data-edition]").forEach(function (btn) {
btn.addEventListener("click", function () {
toast("Pre-order reserved: " + btn.getAttribute("data-edition") + " Edition (demo — no payment taken).");
});
});
/* ---------- Generic data-toast links ---------- */
$$("[data-toast]").forEach(function (el) {
el.addEventListener("click", function (e) {
e.preventDefault();
toast(el.getAttribute("data-toast"));
});
});
/* ---------- Trailer lightbox ---------- */
var lightbox = $("#trailerLightbox");
var openTrailerBtn = $("#trailerBtn");
var closeBtn = $("#lightboxClose");
var captionEl = $("#trailerCaption");
var progressEl = $("#trailerProgress");
var lastFocused = null;
var trailerTimer = null;
var captionIdx = 0;
var captions = [
"In the beginning, there was a crown…",
"It promised an end to dying.",
"The kingdom believed. The kingdom fell.",
"Now the throne sits hollow — and hungry.",
"Take up the ember. Take back the Reign.",
"HOLLOW REIGN — Winter 2027"
];
function openTrailer() {
if (!lightbox) return;
lastFocused = document.activeElement;
lightbox.hidden = false;
document.body.style.overflow = "hidden";
if (closeBtn) closeBtn.focus();
runTrailer();
document.addEventListener("keydown", onKeydown);
}
function closeTrailer() {
if (!lightbox) return;
lightbox.hidden = true;
document.body.style.overflow = "";
clearInterval(trailerTimer);
if (progressEl) progressEl.style.width = "0%";
document.removeEventListener("keydown", onKeydown);
if (lastFocused && lastFocused.focus) lastFocused.focus();
}
function runTrailer() {
captionIdx = 0;
var total = captions.length;
var perStep = prefersReduced ? 1200 : 2400;
function step() {
if (captionEl) {
captionEl.style.animation = "none";
// force reflow to restart caption fade animation
void captionEl.offsetWidth;
captionEl.style.animation = "";
captionEl.textContent = captions[captionIdx];
}
if (progressEl) {
progressEl.style.width = Math.round(((captionIdx + 1) / total) * 100) + "%";
}
captionIdx++;
if (captionIdx >= total) {
clearInterval(trailerTimer);
}
}
step();
clearInterval(trailerTimer);
trailerTimer = setInterval(step, perStep);
}
function onKeydown(e) {
if (e.key === "Escape") closeTrailer();
}
if (openTrailerBtn) openTrailerBtn.addEventListener("click", openTrailer);
if (closeBtn) closeBtn.addEventListener("click", closeTrailer);
$$("[data-close]", lightbox || document).forEach(function (el) {
el.addEventListener("click", closeTrailer);
});
/* ---------- Ember particle canvas (hero) ---------- */
var canvas = $("#emberCanvas");
if (canvas && !prefersReduced) {
var ctx = canvas.getContext("2d");
var hero = $(".hero");
var dpr = Math.min(window.devicePixelRatio || 1, 2);
var W = 0, H = 0;
var embers = [];
var pointerX = 0.5; // 0..1, for parallax
var rafId = null;
var visible = true;
function resize() {
if (!hero) return;
var rect = hero.getBoundingClientRect();
W = rect.width;
H = rect.height;
canvas.width = Math.floor(W * dpr);
canvas.height = Math.floor(H * dpr);
canvas.style.width = W + "px";
canvas.style.height = H + "px";
ctx.setTransform(dpr, 0, 0, dpr, 0, 0);
seed();
}
function makeEmber(initial) {
var depth = Math.random(); // 0 far .. 1 near
return {
x: Math.random() * W,
y: initial ? Math.random() * H : H + Math.random() * 40,
r: 0.6 + depth * 2.2,
vy: -(0.25 + depth * 0.9),
sway: 0.4 + Math.random() * 1.1,
phase: Math.random() * Math.PI * 2,
depth: depth,
life: 0,
maxLife: 240 + Math.random() * 260,
a: 0.25 + Math.random() * 0.6
};
}
function seed() {
var count = Math.max(28, Math.min(90, Math.round(W / 14)));
embers = [];
for (var i = 0; i < count; i++) embers.push(makeEmber(true));
}
function tick() {
if (!visible) { rafId = null; return; }
ctx.clearRect(0, 0, W, H);
var parallax = (pointerX - 0.5) * 30;
for (var i = 0; i < embers.length; i++) {
var e = embers[i];
e.life++;
e.phase += 0.02;
e.y += e.vy;
e.x += Math.sin(e.phase) * e.sway * 0.3;
var px = e.x + parallax * e.depth;
var fade = Math.min(1, e.life / 40) * Math.max(0, 1 - e.life / e.maxLife);
var alpha = e.a * fade;
var g = ctx.createRadialGradient(px, e.y, 0, px, e.y, e.r * 3.5);
g.addColorStop(0, "rgba(255,196,120," + alpha + ")");
g.addColorStop(0.4, "rgba(255,106,26," + (alpha * 0.8) + ")");
g.addColorStop(1, "rgba(192,57,43,0)");
ctx.fillStyle = g;
ctx.beginPath();
ctx.arc(px, e.y, e.r * 3.5, 0, Math.PI * 2);
ctx.fill();
if (e.y < -20 || e.life > e.maxLife) {
embers[i] = makeEmber(false);
}
}
rafId = requestAnimationFrame(tick);
}
window.addEventListener("mousemove", function (e) {
pointerX = e.clientX / window.innerWidth;
}, { passive: true });
// Pause when hero scrolled out of view
if ("IntersectionObserver" in window && hero) {
new IntersectionObserver(function (entries) {
visible = entries[0].isIntersecting;
if (visible && !rafId) tick();
}, { threshold: 0.02 }).observe(hero);
}
var resizeTimer;
window.addEventListener("resize", function () {
clearTimeout(resizeTimer);
resizeTimer = setTimeout(resize, 160);
});
resize();
tick();
}
/* ---------- Smooth anchor scrolling for in-page nav ---------- */
$$('a[href^="#"]').forEach(function (a) {
a.addEventListener("click", function (e) {
var id = a.getAttribute("href");
if (id.length < 2) return;
var target = document.querySelector(id);
if (target) {
e.preventDefault();
target.scrollIntoView({ behavior: prefersReduced ? "auto" : "smooth", block: "start" });
}
});
});
})();<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Hollow Reign — A Nullforge Epic</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;900&family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<!-- ============ NAV ============ -->
<header class="site-nav" id="siteNav">
<a class="nav-brand" href="#top" aria-label="Hollow Reign home">
<span class="brand-sigil" aria-hidden="true"></span>
<span class="brand-word">Hollow Reign</span>
</a>
<nav class="nav-links" aria-label="Primary">
<a href="#world">World</a>
<a href="#bosses">Bosses</a>
<a href="#editions">Editions</a>
</nav>
<button class="btn btn-ghost btn-sm" id="navWishlist" type="button">
<span class="wish-icon" aria-hidden="true">♥</span> Wishlist
</button>
</header>
<!-- ============ HERO ============ -->
<section class="hero" id="top" aria-label="Hollow Reign — reveal">
<div class="hero-scene" aria-hidden="true">
<div class="sky"></div>
<div class="ember-moon"></div>
<div class="mtn mtn-far"></div>
<div class="mtn mtn-mid"></div>
<div class="ruin ruin-l"></div>
<div class="ruin ruin-r"></div>
<div class="fog fog-1"></div>
<div class="fog fog-2"></div>
<div class="warrior">
<div class="w-cape"></div>
<div class="w-body"></div>
<div class="w-pauldron"></div>
<div class="w-helm"></div>
<div class="w-sword"></div>
<div class="w-sword-glow"></div>
</div>
<div class="ground"></div>
<canvas class="ember-canvas" id="emberCanvas"></canvas>
<div class="hero-vignette"></div>
<div class="grain"></div>
</div>
<div class="hero-content">
<p class="studio-line reveal">Nullforge presents</p>
<h1 class="game-title reveal" data-delay="1">Hollow<span class="title-amp" aria-hidden="true">✦</span>Reign</h1>
<p class="tagline reveal" data-delay="2">The throne remembers every soul it devoured. Now it remembers yours.</p>
<div class="hero-ctas reveal" data-delay="3">
<button class="btn btn-ember" id="trailerBtn" type="button">
<span class="btn-play" aria-hidden="true">▶</span> Watch Reveal Trailer
</button>
<button class="btn btn-outline" id="heroWishlist" type="button" aria-pressed="false">
<span class="wish-icon" aria-hidden="true">♥</span> Wishlist Now
</button>
</div>
<p class="platform-line reveal" data-delay="4">
<span>PS5</span><i aria-hidden="true">·</i><span>Xbox Series X|S</span><i aria-hidden="true">·</i><span>PC</span>
<em>— Winter 2027</em>
</p>
</div>
<a class="scroll-cue" href="#world" aria-label="Scroll to world section">
<span class="cue-line" aria-hidden="true"></span>
<span class="cue-text">Descend</span>
</a>
</section>
<!-- ============ WORLD / CHAPTERS ============ -->
<section class="chapters" id="world" aria-labelledby="worldHeading">
<header class="section-head reveal">
<p class="kicker">The world below</p>
<h2 id="worldHeading">Five Chapters of Ash</h2>
<p class="section-sub">A kingdom buried by its own crown. Each descent takes more than it gives back.</p>
</header>
<ol class="chapter-list">
<li class="chapter reveal" tabindex="0">
<span class="ch-num" aria-hidden="true">I</span>
<div class="ch-body">
<h3>The Ashen Approach</h3>
<p>Pilgrim roads choked with cinders. Learn the blade, the brace, and the cost of greed before the first gate.</p>
<span class="ch-meta">Region — Outer Marches · Est. 6 hrs</span>
</div>
<span class="ch-flame" aria-hidden="true"></span>
</li>
<li class="chapter reveal" tabindex="0">
<span class="ch-num" aria-hidden="true">II</span>
<div class="ch-body">
<h3>Cathedral of the Drowned Bell</h3>
<p>A sunken basilica where the choir never stopped. Verticality, ambush clergy, and the first true wall.</p>
<span class="ch-meta">Region — Vesper Deep · Est. 9 hrs</span>
</div>
<span class="ch-flame" aria-hidden="true"></span>
</li>
<li class="chapter reveal" tabindex="0">
<span class="ch-num" aria-hidden="true">III</span>
<div class="ch-body">
<h3>The Steelgrave Foundries</h3>
<p>Forges that armored a dead empire still burn. Molten hazards, soot-blind arenas, and weaponsmith allies.</p>
<span class="ch-meta">Region — Lower Reign · Est. 8 hrs</span>
</div>
<span class="ch-flame" aria-hidden="true"></span>
</li>
<li class="chapter reveal" tabindex="0">
<span class="ch-num" aria-hidden="true">IV</span>
<div class="ch-body">
<h3>Gardens of the Pale Queen</h3>
<p>Beauty kept alive by something that should not be. Poison blooms, mirrored duels, a choice you keep.</p>
<span class="ch-meta">Region — The Stillward · Est. 7 hrs</span>
</div>
<span class="ch-flame" aria-hidden="true"></span>
</li>
<li class="chapter reveal" tabindex="0">
<span class="ch-num" aria-hidden="true">V</span>
<div class="ch-body">
<h3>The Hollow Throne</h3>
<p>The seat of every ending. What sits there now wears a face you gave away in Chapter One.</p>
<span class="ch-meta">Region — The Crownpit · Est. ???</span>
</div>
<span class="ch-flame" aria-hidden="true"></span>
</li>
</ol>
</section>
<!-- ============ BOSSES ============ -->
<section class="bosses" id="bosses" aria-labelledby="bossesHeading">
<header class="section-head reveal">
<p class="kicker">They are waiting</p>
<h2 id="bossesHeading">Lords of the Reign</h2>
<p class="section-sub">Eleven sovereign threats. Four shown. The rest you will meet unannounced.</p>
</header>
<div class="boss-strip-wrap reveal">
<button class="strip-arrow strip-prev" id="bossPrev" type="button" aria-label="Scroll bosses left">‹</button>
<ul class="boss-strip" id="bossStrip" aria-label="Boss showcase">
<li class="boss-card ignite" tabindex="0">
<div class="boss-art art-knight" aria-hidden="true"><i></i><b></b></div>
<div class="boss-info">
<h3>Margrave Ottokar</h3>
<p class="boss-title">The Unburied Knight</p>
<div class="threat" role="img" aria-label="Threat level 3 of 5">
<span class="threat-label">Threat</span>
<span class="threat-bar"><span class="threat-fill" style="--lvl:60%"></span></span>
</div>
</div>
</li>
<li class="boss-card ignite" tabindex="0">
<div class="boss-art art-bell" aria-hidden="true"><i></i><b></b></div>
<div class="boss-info">
<h3>Mother Cantissa</h3>
<p class="boss-title">Voice of the Drowned Bell</p>
<div class="threat" role="img" aria-label="Threat level 4 of 5">
<span class="threat-label">Threat</span>
<span class="threat-bar"><span class="threat-fill" style="--lvl:80%"></span></span>
</div>
</div>
</li>
<li class="boss-card ignite" tabindex="0">
<div class="boss-art art-forge" aria-hidden="true"><i></i><b></b></div>
<div class="boss-info">
<h3>Brand-Tyrant Vael</h3>
<p class="boss-title">Last Master of Steelgrave</p>
<div class="threat" role="img" aria-label="Threat level 4 of 5">
<span class="threat-label">Threat</span>
<span class="threat-bar"><span class="threat-fill" style="--lvl:85%"></span></span>
</div>
</div>
</li>
<li class="boss-card ignite" tabindex="0">
<div class="boss-art art-queen" aria-hidden="true"><i></i><b></b></div>
<div class="boss-info">
<h3>The Pale Queen</h3>
<p class="boss-title">Keeper of the Stillward</p>
<div class="threat" role="img" aria-label="Threat level 5 of 5">
<span class="threat-label">Threat</span>
<span class="threat-bar"><span class="threat-fill" style="--lvl:100%"></span></span>
</div>
</div>
</li>
<li class="boss-card boss-card--hidden" tabindex="0" aria-label="Seven bosses remain unrevealed">
<div class="boss-art art-unknown" aria-hidden="true"><i>?</i></div>
<div class="boss-info">
<h3>Seven Remain</h3>
<p class="boss-title">Unrevealed</p>
<div class="threat" role="img" aria-label="Threat level unknown">
<span class="threat-label">Threat</span>
<span class="threat-bar"><span class="threat-fill threat-unknown" style="--lvl:100%"></span></span>
</div>
</div>
</li>
</ul>
<button class="strip-arrow strip-next" id="bossNext" type="button" aria-label="Scroll bosses right">›</button>
</div>
</section>
<!-- ============ EDITIONS ============ -->
<section class="editions" id="editions" aria-labelledby="editionsHeading">
<header class="section-head reveal">
<p class="kicker">Claim your seat</p>
<h2 id="editionsHeading">Editions</h2>
<p class="section-sub">Pre-orders open. All editions include the Day One “Cindermark” sigil set.</p>
</header>
<div class="edition-grid">
<article class="edition ignite reveal" tabindex="0">
<h3 class="ed-name">Standard</h3>
<p class="ed-price"><sup>$</sup>69<small>.99</small></p>
<ul class="ed-list">
<li>Full game — Hollow Reign</li>
<li>Cindermark sigil set</li>
<li>Digital field journal</li>
</ul>
<button class="btn btn-outline ed-btn" type="button" data-edition="Standard">Pre-order Standard</button>
</article>
<article class="edition edition--featured ignite reveal" data-delay="1" tabindex="0">
<span class="ed-flag">Most claimed</span>
<h3 class="ed-name">Ember</h3>
<p class="ed-price"><sup>$</sup>89<small>.99</small></p>
<ul class="ed-list">
<li>Everything in Standard</li>
<li>72-hour early descent</li>
<li>“Ashen Vanguard” armor relic</li>
<li>Original score — 41 tracks</li>
</ul>
<button class="btn btn-ember ed-btn" type="button" data-edition="Ember">Pre-order Ember</button>
</article>
<article class="edition ignite reveal" data-delay="2" tabindex="0">
<h3 class="ed-name">Collector’s</h3>
<p class="ed-price"><sup>$</sup>199<small>.99</small></p>
<ul class="ed-list">
<li>Everything in Ember</li>
<li>27 cm Hollow King statue</li>
<li>Steelbook + cloth world map</li>
<li>Expansion pass — Year One</li>
</ul>
<button class="btn btn-outline ed-btn" type="button" data-edition="Collector’s">Pre-order Collector’s</button>
</article>
</div>
</section>
<!-- ============ FOOTER ============ -->
<footer class="site-footer">
<div class="footer-top">
<div class="footer-brand">
<span class="brand-sigil brand-sigil--lg" aria-hidden="true"></span>
<p class="footer-logo">Hollow Reign</p>
<p class="footer-studio">A Nullforge Studios epic · Published by Vantablack Interactive</p>
</div>
<nav class="footer-cols" aria-label="Footer">
<div class="f-col">
<h4>Game</h4>
<a href="#world">World</a>
<a href="#bosses">Bosses</a>
<a href="#editions">Editions</a>
</div>
<div class="f-col">
<h4>Studio</h4>
<a href="#" data-toast="Nullforge careers page is fictional.">Careers</a>
<a href="#" data-toast="Press kit request noted (demo).">Press Kit</a>
<a href="#" data-toast="Support is fictional in this demo.">Support</a>
</div>
<div class="f-col">
<h4>Follow</h4>
<a href="#" data-toast="Opening fictional channel…">@hollowreign</a>
<a href="#" data-toast="Opening fictional channel…">Discord Keep</a>
<a href="#" data-toast="Opening fictional channel…">Newsletter</a>
</div>
</nav>
</div>
<div class="footer-bottom">
<span class="rating-badge" aria-label="Rated M for Mature">M</span>
<p>© 2027 Nullforge Studios. Hollow Reign is a fictional title created for this UI demo. All sigils reserved.</p>
</div>
</footer>
<!-- ============ TRAILER LIGHTBOX ============ -->
<div class="lightbox" id="trailerLightbox" role="dialog" aria-modal="true" aria-label="Reveal trailer" hidden>
<div class="lightbox-backdrop" data-close="true"></div>
<div class="lightbox-frame">
<button class="lightbox-close" id="lightboxClose" type="button" aria-label="Close trailer">✕</button>
<div class="trailer-screen" aria-hidden="true">
<div class="t-bar t-bar-top"></div>
<div class="t-scene">
<div class="t-glow"></div>
<div class="t-mtn"></div>
<div class="t-sword"></div>
</div>
<p class="t-caption" id="trailerCaption">In the beginning, there was a crown…</p>
<div class="t-progress"><span id="trailerProgress"></span></div>
<div class="t-bar t-bar-bot"></div>
</div>
<p class="lightbox-note">Reveal teaser — in-engine target footage (simulated for this demo)</p>
</div>
</div>
<div class="toast" id="toast" role="status" aria-live="polite"></div>
<script src="script.js"></script>
</body>
</html>AAA Cinematic Landing (Souls/God-of-War style)
A somber, premium marketing page for the fictional action-RPG Hollow Reign, from the fictional studio Nullforge. The full-bleed hero is composed entirely in CSS — a cloaked, helmeted warrior with a glowing blade stands among burnt ruins beneath an ember moon, while drifting fog, a film-grain overlay and a deep vignette sell the cinematic mood. A vanilla-JS particle canvas layers rising embers on top, with subtle pointer parallax so the fire-flecked air shifts as you move the cursor. An ornate Cinzel serif title and a single somber tagline anchor the composition, flanked by a Watch Reveal Trailer lightbox CTA and a Wishlist toggle.
Scrolling reveals the rest of the world: a vertical five-chapter teaser timeline (each chapter ignites its marker on hover), a horizontally scrollable bosses showcase strip with per-boss threat bars that fill once in view, and a three-tier editions band with a highlighted “most claimed” tier. Cards respond to the pointer with a radial “ignite” ember glow that tracks the cursor, sections fade and rise in via IntersectionObserver, and the trailer lightbox plays a scripted, captioned teaser with a progress bar — fully keyboard-accessible, Escape-to-close, and focus-restoring. A small toast() helper confirms wishlist, pre-order and footer actions, so there are no dead buttons.
The whole thing honours prefers-reduced-motion (particles and scripted motion stand down), keeps body text at AA contrast on the near-black ember palette, uses :focus-visible rings throughout, and collapses cleanly down to ~360px. No frameworks, no build step — just three files you can drop anywhere.
Illustrative UI only — fictional games, studios, characters, and data. Not engine integrations.