@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --ink: #070516;
  --night: #0b0820;
  --paper: #f7f0ff;
  --muted: #bcb4d0;
  --violet: #a577ff;
  --pink: #f271c9;
  --cyan: #66e2e8;
  --gold: #ffc86a;
  --green: #78e08f;
  --line: rgba(255,255,255,.13);
  --display: "Cinzel", Georgia, serif;
  --body: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 80% 35%, rgba(102,226,232,.08), transparent 28rem),
    radial-gradient(circle at 10% 65%, rgba(165,119,255,.1), transparent 30rem),
    var(--ink);
  font-family: var(--body);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 999; left: 1rem; top: -4rem; background: white; color: #111; padding: .75rem 1rem; border-radius: .4rem; }
.skip-link:focus { top: 1rem; }

.cursor-glow { position: fixed; z-index: 20; pointer-events: none; width: 28rem; height: 28rem; margin: -14rem 0 0 -14rem; border-radius: 50%; background: radial-gradient(circle, rgba(126,88,255,.1), transparent 65%); opacity: 0; transition: opacity .3s; }

.site-header {
  position: fixed; z-index: 100; top: 0; left: 0; right: 0;
  height: 5.5rem; padding: 0 clamp(1.25rem, 5vw, 5rem);
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, height .3s;
}
.site-header.scrolled { height: 4.5rem; background: rgba(7,5,22,.82); border-color: var(--line); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: .72rem; font-family: var(--display); font-size: 1.15rem; font-weight: 800; letter-spacing: .18em; }
.brand-mark { position: relative; isolation: isolate; flex: 0 0 auto; width: 2.75rem; height: 2.75rem; }
.brand-crest { position: absolute; z-index: 1; isolation: isolate; left: 50%; top: 50%; display: grid; place-items: center; width: 2.35rem; height: 2.35rem; transform: translate(-50%, -50%); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); background: linear-gradient(145deg, #8cf4f1 0%, #b889ff 40%, #6944c6 76%, #55d8e2 100%); filter: drop-shadow(0 6px 9px rgba(0,0,0,.38)) drop-shadow(0 0 13px rgba(102,226,232,.3)); }
.brand-crest::before { content: ""; position: absolute; z-index: -1; inset: 3px; clip-path: inherit; background: radial-gradient(circle at 50% 36%, rgba(102,226,232,.14), transparent 42%), linear-gradient(160deg, #21154b 0%, #0b0820 68%, #05040f 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.13); }
.brand-crest::after { content: "D"; position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: .04rem; background: linear-gradient(120deg, #8cf4f1 24%, #62dce5 48%, #d2adff 74%); background-clip: text; -webkit-background-clip: text; color: transparent; font-family: Georgia, "Times New Roman", serif; font-size: 1.12rem; font-weight: 700; line-height: 1; filter: drop-shadow(0 0 7px rgba(102,226,232,.58)); transform: translateX(.08rem); }
.site-nav { display: flex; align-items: center; gap: 2.2rem; font-size: .82rem; font-weight: 600; }
.site-nav > a:not(.nav-cta) { color: #d4cee0; transition: color .2s; }
.site-nav > a:not(.nav-cta):hover { color: white; }
.nav-cta { padding: .72rem 1.05rem; border: 1px solid rgba(255,255,255,.28); border-radius: .35rem; background: rgba(255,255,255,.06); }
.nav-cta span { color: var(--cyan); margin-left: .25rem; }
.menu-toggle { display: none; background: none; border: 0; width: 2.7rem; height: 2.7rem; padding: .65rem; }
.menu-toggle > span:not(.sr-only) { display: block; height: 1px; margin: .35rem 0; background: white; transition: transform .2s, opacity .2s; }

.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 7rem clamp(1.25rem, 7vw, 7.5rem) 8rem; isolation: isolate; }
.hero-art { position: absolute; z-index: -4; inset: 0; background-image: url("assets/deathany-realm.png"); background-size: cover; background-position: center; transform: scale(1.02); animation: hero-breathe 16s ease-in-out infinite alternate; }
.hero-shade { position: absolute; z-index: -3; inset: 0; background: linear-gradient(90deg, rgba(5,4,17,.93) 0%, rgba(7,5,25,.73) 34%, rgba(8,5,24,.18) 68%, rgba(5,4,17,.4) 100%), linear-gradient(0deg, #070516 0%, transparent 23%, rgba(5,4,20,.18) 70%, rgba(4,3,14,.65) 100%); }
.hero-content { position: relative; z-index: 2; width: min(720px, 59vw); }
.eyebrow, .kicker { margin: 0 0 1.2rem; color: var(--cyan); font-size: .7rem; line-height: 1; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.live-dot { display: inline-block; width: .5rem; height: .5rem; margin-right: .6rem; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 5px rgba(242,113,201,.12), 0 0 17px var(--pink); animation: pulse 2s ease-out infinite; }
h1, h2, h3 { font-family: var(--display); }
h1 { margin: 0; font-size: clamp(3.4rem, 7vw, 7.4rem); line-height: .9; letter-spacing: -.045em; text-shadow: 0 4px 45px rgba(0,0,0,.55); }
h1 em { font-style: normal; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.78); text-shadow: 0 0 28px rgba(165,119,255,.28); }
.hero-copy { width: min(610px, 100%); margin: 1.8rem 0 0; color: #ded8e9; font-size: clamp(1rem, 1.3vw, 1.18rem); line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 1.8rem; margin-top: 2.2rem; }
.button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 3.5rem; padding: 0 1.35rem; border-radius: .35rem; font-weight: 700; font-size: .82rem; letter-spacing: .02em; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.button::before { content: ""; position: absolute; inset: 0; transform: translateX(-105%) skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent); transition: transform .55s; }
.button:hover::before { transform: translateX(105%) skewX(-20deg); }
.button:hover { transform: translateY(-3px); }
.button-primary { color: #100721; background: linear-gradient(135deg, #d399ff, #6fe5ea); box-shadow: 0 10px 40px rgba(128,99,255,.35); }
.button-gem { font-size: .6rem; }
.text-link { font-size: .83rem; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.34); padding: .5rem 0; }
.text-link span { color: var(--cyan); margin-left: .35rem; }
.currently-playing { position: absolute; z-index: 2; left: clamp(1.25rem, 7vw, 7.5rem); bottom: 2.4rem; display: flex; gap: 1.2rem; align-items: center; }
.tiny-label { color: #9e97ad; font-size: .63rem; text-transform: uppercase; letter-spacing: .15em; }
.game-ticker { display: flex; gap: .9rem; align-items: center; color: #d8d2e5; font-size: .69rem; font-weight: 600; }
.game-ticker i { color: var(--gold); font-size: .55rem; font-style: normal; }
.scroll-cue { position: absolute; z-index: 2; right: clamp(1.25rem, 5vw, 5rem); bottom: 2.25rem; width: 2rem; height: 3.2rem; border: 1px solid rgba(255,255,255,.38); border-radius: 2rem; }
.scroll-cue span { position: absolute; top: .7rem; left: 50%; width: 3px; height: 3px; border-radius: 50%; background: var(--cyan); animation: scroll 1.8s infinite; }

.section { position: relative; padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 7vw, 7.5rem); }
.section-heading { max-width: 45rem; margin-bottom: 3rem; }
.section-heading h2, .world-copy h2 { margin: 0; font-size: clamp(2.3rem, 4.6vw, 4.7rem); line-height: 1.04; letter-spacing: -.035em; }
.section-heading h2 span, .world-copy h2 span { color: var(--violet); }
.section-heading > p:last-child { color: var(--muted); line-height: 1.65; max-width: 34rem; }
.portals::before { content: ""; position: absolute; top: 5rem; right: 4vw; width: 14rem; height: 14rem; opacity: .15; background: repeating-radial-gradient(circle, transparent 0 15px, rgba(102,226,232,.5) 16px 17px, transparent 18px 27px); border-radius: 50%; mask-image: linear-gradient(black, transparent); }
.portal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.portal-card { --accent: var(--violet); position: relative; min-height: 19rem; padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025)); overflow: hidden; isolation: isolate; transition: transform .35s, border-color .35s, box-shadow .35s; }
.portal-card::before { content: ""; position: absolute; z-index: -1; inset: auto -30% -70% -30%; height: 100%; border-radius: 50%; background: var(--accent); opacity: .12; filter: blur(40px); transition: opacity .35s, transform .35s; }
.portal-card::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.08) 45%, transparent 65%); transform: translateX(-120%); transition: transform .65s; }
.portal-card:hover { transform: translateY(-8px); border-color: color-mix(in srgb, var(--accent) 65%, white); box-shadow: 0 18px 60px rgba(0,0,0,.3); }
.portal-card:hover::before { opacity: .22; transform: translateY(-12%); }
.portal-card:hover::after { transform: translateX(120%); }
.portal-card.twitch { --accent: #a970ff; }
.portal-card.youtube { --accent: #ff5c68; }
.portal-card.facebook { --accent: #5a9df7; }
.portal-icon { width: 3rem; height: 3rem; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent); background: color-mix(in srgb, var(--accent) 13%, transparent); border-radius: .55rem; }
.portal-icon svg { width: 1.5rem; fill: var(--accent); filter: drop-shadow(0 0 8px color-mix(in srgb, var(--accent) 60%, transparent)); }
.portal-meta { color: var(--accent); font-size: .62rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.portal-card h3 { margin: .45rem 0; font-size: 2.1rem; }
.portal-card p { margin: 0; color: var(--muted); font-size: .87rem; }
.card-arrow { position: absolute; top: 2rem; right: 2rem; font-size: 1.15rem; transition: transform .3s; }
.portal-card:hover .card-arrow { transform: translate(3px,-3px); color: var(--accent); }
.card-rune { position: absolute; right: 1rem; bottom: -2.5rem; z-index: -1; font-family: serif; font-size: 10rem; color: var(--accent); opacity: .04; transform: rotate(-12deg); }

.adventures { padding-top: 2rem; }
.world-card { position: relative; min-height: 33rem; padding: clamp(2.5rem, 6vw, 6rem); display: flex; align-items: center; border: 1px solid var(--line); background: radial-gradient(circle at 77% 50%, rgba(102,226,232,.13), transparent 25%), linear-gradient(120deg, #100a2a, #0a1028 70%, #081721); overflow: hidden; }
.world-card::after { content: ""; position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 55px 55px; mask-image: radial-gradient(circle at 75%, black, transparent 56%); }
.world-copy { position: relative; z-index: 3; width: 55%; }
.world-copy > p:not(.kicker) { color: var(--muted); line-height: 1.7; max-width: 36rem; }
.tags { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.tags span { padding: .55rem .8rem; border: 1px solid var(--line); border-radius: 2rem; color: #d8d2e5; font-size: .72rem; background: rgba(255,255,255,.03); }
.world-orb { position: absolute; z-index: 2; right: 7%; width: min(28vw, 24rem); aspect-ratio: 1; display: grid; place-items: center; pointer-events: none; }
.orb-core { width: 43%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 30%, white 0 2%, #80eff0 4%, #5134a7 34%, #120b2e 70%); box-shadow: 0 0 45px rgba(102,226,232,.48), inset -15px -15px 35px rgba(0,0,0,.55); animation: float 5s ease-in-out infinite; }
.orb-core > svg { width: 38%; fill: white; opacity: .9; filter: drop-shadow(0 0 12px var(--cyan)); }
.orb-ring { position: absolute; border: 1px solid rgba(131,229,236,.35); border-radius: 50%; }
.orb-ring::before, .orb-ring::after { content: ""; position: absolute; width: .55rem; height: .55rem; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.ring-one { inset: 10%; animation: rotate 13s linear infinite; }
.ring-one::before { top: 12%; left: 9%; }.ring-one::after { bottom: 8%; right: 13%; background: var(--pink); }
.ring-two { inset: 1%; border-style: dashed; animation: rotate 22s linear infinite reverse; }
.ring-two::before { top: 48%; left: -.25rem; }.ring-two::after { right: 10%; top: 12%; background: var(--gold); }
.satellite { position: absolute; font-style: normal; color: var(--cyan); text-shadow: 0 0 12px currentColor; }
.satellite.one { top: 8%; right: 16%; animation: float 3s ease-in-out infinite; }.satellite.two { bottom: 12%; left: 10%; color: var(--pink); animation: float 4s ease-in-out infinite reverse; }.satellite.three { top: 28%; left: 0; color: var(--gold); }
.button-discord { position: relative; z-index: 4; margin-top: 1.8rem; color: white; background: linear-gradient(135deg, #5865f2, #8d6bff); box-shadow: 0 10px 35px rgba(88,101,242,.28); touch-action: manipulation; }
.button-discord svg { width: 1.25rem; fill: currentColor; }

.party { padding-top: 2rem; }
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.partner-card { position: relative; min-height: 25rem; padding: clamp(1.7rem, 3vw, 2.7rem); display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr auto; column-gap: 1.5rem; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(165,119,255,.09), rgba(255,255,255,.025) 48%, rgba(102,226,232,.045)); overflow: hidden; isolation: isolate; }
.partner-card::before { content: ""; position: absolute; z-index: -1; inset: auto -20% -80% 15%; height: 100%; border-radius: 50%; background: var(--violet); opacity: .1; filter: blur(55px); transition: transform .4s, opacity .4s; }
.partner-card:hover::before { transform: translateY(-14%); opacity: .18; }
.partner-avatar { position: relative; width: 5rem; height: 5rem; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); background: radial-gradient(circle at 35% 25%, rgba(255,255,255,.3), rgba(165,119,255,.38) 35%, rgba(20,10,52,.92) 72%); transform: rotate(45deg); box-shadow: 0 0 25px rgba(165,119,255,.22); }
.partner-avatar span { font-family: var(--display); font-size: 2rem; font-weight: 800; transform: rotate(-45deg); }
.partner-avatar i { position: absolute; right: -.45rem; top: -.55rem; color: var(--gold); font-size: .75rem; font-style: normal; text-shadow: 0 0 10px currentColor; transform: rotate(-45deg); }
.buster-avatar { background: radial-gradient(circle at 35% 25%, rgba(255,255,255,.3), rgba(102,226,232,.38) 35%, rgba(7,38,49,.95) 72%); box-shadow: 0 0 25px rgba(102,226,232,.2); }
.partner-info { align-self: center; }
.partner-label { margin: 0 0 .3rem !important; color: var(--cyan) !important; font-size: .61rem !important; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.partner-info h3 { margin: 0; font-size: clamp(1.55rem, 2.7vw, 2.5rem); }
.partner-info > p:last-child { margin: .65rem 0 0; color: var(--muted); font-size: .87rem; line-height: 1.55; max-width: 24rem; }
.partner-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: flex-end; gap: .65rem; margin-top: 2.2rem; }
.partner-link { --partner-color: var(--paper); display: inline-flex; align-items: center; gap: .5rem; min-height: 2.8rem; padding: 0 .9rem; border: 1px solid color-mix(in srgb, var(--partner-color) 40%, transparent); border-radius: .35rem; background: color-mix(in srgb, var(--partner-color) 7%, transparent); color: #eee9f7; font-size: .72rem; font-weight: 700; transition: transform .25s, background .25s, border-color .25s; }
.partner-link:hover { transform: translateY(-3px); background: color-mix(in srgb, var(--partner-color) 16%, transparent); border-color: color-mix(in srgb, var(--partner-color) 70%, transparent); }
.partner-link svg { width: 1.05rem; fill: var(--partner-color); }
.partner-link > span { color: var(--partner-color); }
.youtube-link { --partner-color: #ff5c68; }.twitch-link { --partner-color: #a970ff; }.facebook-link { --partner-color: #5a9df7; }
.partner-rune { position: absolute; right: 1.2rem; bottom: -2.8rem; z-index: -1; color: var(--violet); font-family: serif; font-size: 11rem; opacity: .045; transform: rotate(-10deg); }

.motion-guild { padding-top: 2rem; }
.motion-card { position: relative; isolation: isolate; min-height: 34rem; padding: clamp(2.5rem, 6vw, 6rem); display: grid; grid-template-columns: minmax(8rem, .42fr) 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); border: 1px solid rgba(165,119,255,.34); background-image: linear-gradient(90deg, rgba(7,5,22,.98) 0%, rgba(11,8,32,.91) 48%, rgba(7,5,22,.36) 100%), url("assets/deathany-realm.png"); background-size: cover; background-position: center; overflow: hidden; box-shadow: 0 25px 80px rgba(0,0,0,.32); }
.motion-card::before { content: ""; position: absolute; z-index: -1; right: -9rem; top: -11rem; width: 30rem; height: 30rem; border: 1px solid rgba(102,226,232,.2); border-radius: 50%; box-shadow: 0 0 0 5rem rgba(165,119,255,.025), 0 0 0 10rem rgba(102,226,232,.018); }
.motion-emblem { position: relative; isolation: isolate; justify-self: center; width: clamp(8rem, 13vw, 11rem); height: clamp(9.2rem, 15vw, 12.6rem); clip-path: polygon(50% 0, 91% 14%, 86% 68%, 50% 100%, 14% 68%, 9% 14%); background: linear-gradient(145deg, #e1c4ff 0%, var(--violet) 42%, #4a2fa0 100%); display: grid; place-items: center; padding-bottom: 1rem; filter: drop-shadow(0 20px 22px rgba(0,0,0,.48)) drop-shadow(0 0 22px rgba(165,119,255,.36)); }
.motion-emblem::before { content: ""; position: absolute; z-index: -1; inset: .45rem; clip-path: inherit; background: radial-gradient(circle at 50% 32%, rgba(102,226,232,.12), transparent 30%), linear-gradient(160deg, #21154b, #0b0820 68%, #05040f); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.motion-emblem span { color: var(--cyan); font-family: var(--display); font-size: clamp(3.2rem, 6vw, 5.2rem); font-weight: 800; line-height: 1; text-shadow: 0 0 22px rgba(102,226,232,.72); }
.motion-copy { position: relative; z-index: 2; max-width: 44rem; }
.motion-copy h2 { margin: 0; font-size: clamp(2.8rem, 5.5vw, 5.8rem); line-height: .94; letter-spacing: -.045em; }
.motion-copy h2 span { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.8); text-shadow: 0 0 26px rgba(165,119,255,.3); }
.motion-copy > p:not(.kicker) { max-width: 40rem; color: #d2cbde; line-height: 1.7; }
.motion-tags { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0 1.8rem; }
.motion-tags span { padding: .55rem .8rem; border: 1px solid var(--line); border-radius: 2rem; color: #ddd7e8; font-size: .72rem; background: rgba(255,255,255,.04); }
.button-motion { color: #100721; background: linear-gradient(135deg, #d399ff, #6fe5ea); box-shadow: 0 10px 40px rgba(128,99,255,.35); }
.motion-rune { position: absolute; z-index: -1; right: 3%; bottom: -8rem; color: var(--cyan); font-family: serif; font-size: 27rem; opacity: .045; transform: rotate(-9deg); }

.guide { padding-top: 1rem; }
.guide-card { position: relative; padding: clamp(2rem, 4vw, 3.5rem); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; border: 1px solid rgba(255,200,106,.25); background: linear-gradient(100deg, rgba(255,200,106,.09), rgba(242,113,201,.07) 50%, rgba(102,226,232,.08)); }
.guide-emblem { width: 6rem; filter: drop-shadow(0 0 16px rgba(255,200,106,.3)); }
.guide-emblem svg { fill: none; stroke: var(--gold); stroke-width: 1.6; }
.guide-emblem svg circle, .guide-emblem svg path:last-child { fill: rgba(255,200,106,.2); }
.guide-copy h2 { margin: 0 0 .6rem; font-size: clamp(1.5rem, 3vw, 2.6rem); }
.guide-copy p:last-child { margin: 0; color: var(--muted); line-height: 1.6; max-width: 42rem; }
.button-guide { border: 1px solid rgba(255,200,106,.55); color: var(--gold); background: rgba(255,200,106,.06); white-space: nowrap; }

.site-footer { padding: 3rem clamp(1.25rem, 7vw, 7.5rem); display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 2rem; border-top: 1px solid var(--line); color: #938ca5; font-size: .73rem; }
.footer-brand { color: white; }
.site-footer > p { margin: 0; }
.footer-links { display: flex; gap: 1.4rem; }
.footer-links a:hover { color: white; }
.site-footer small { grid-column: 1 / -1; opacity: .55; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.portal-card:nth-child(2) { transition-delay: .1s; }.portal-card:nth-child(3) { transition-delay: .2s; }
.firefly { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 7px 2px var(--cyan); opacity: 0; animation: firefly var(--duration) ease-in-out var(--delay) infinite; }

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(242,113,201,.45), 0 0 17px var(--pink); } 70% { box-shadow: 0 0 0 8px rgba(242,113,201,0), 0 0 17px var(--pink); } }
@keyframes hero-breathe { to { transform: scale(1.055); } }
@keyframes scroll { 0% { transform: translate(-50%,0); opacity: 0; } 25% { opacity: 1; } 75% { opacity: 1; } 100% { transform: translate(-50%,1.3rem); opacity: 0; } }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes firefly { 0%,100% { opacity: 0; transform: translate(0,0); } 25% { opacity: .85; } 50% { opacity: .25; transform: translate(var(--travel-x), var(--travel-y)); } 75% { opacity: .9; } }

@media (max-width: 900px) {
  .menu-toggle { display: block; z-index: 2; }
  .site-nav { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 2rem; font-size: 1.15rem; background: rgba(7,5,22,.96); backdrop-filter: blur(20px); opacity: 0; visibility: hidden; transform: translateY(-1rem); transition: .25s; }
  .site-nav.open { opacity: 1; visibility: visible; transform: none; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }.menu-toggle.open span:nth-child(2) { opacity: 0; }.menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .hero-content { width: min(680px, 88vw); }
  .hero-shade { background: linear-gradient(90deg, rgba(5,4,17,.94), rgba(7,5,25,.65) 70%, rgba(5,4,17,.25)), linear-gradient(0deg,#070516,transparent 30%); }
  .portal-grid { grid-template-columns: 1fr; }
  .portal-card { min-height: 14rem; }
  .world-copy { width: 66%; }
  .world-orb { right: -4%; width: 37vw; opacity: .8; }
  .guide-card { grid-template-columns: auto 1fr; }.guide-card .button { grid-column: 1 / -1; justify-self: start; }
  .motion-card { grid-template-columns: minmax(7rem, .35fr) 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .site-header { height: 4.5rem; }
  .brand { font-size: .94rem; }
  .hero { min-height: 760px; align-items: flex-start; padding-top: 8.6rem; }
  .hero-art { background-position: 60% center; }
  .hero-shade { background: linear-gradient(180deg, rgba(5,4,17,.74), rgba(7,5,25,.72) 45%, #070516 100%); }
  h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .hero-copy { font-size: .97rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: .9rem; }
  .currently-playing { right: 1.25rem; bottom: 2.8rem; flex-direction: column; align-items: flex-start; gap: .6rem; }
  .game-ticker { flex-wrap: wrap; row-gap: .4rem; }
  .scroll-cue { display: none; }
  .section { padding-top: 5rem; padding-bottom: 5rem; }
  .world-card { min-height: 42rem; padding: 2rem; align-items: flex-start; }
  .world-copy { width: 100%; }
  .world-orb { width: 18rem; right: 50%; bottom: 1rem; transform: translateX(50%); opacity: .74; }
  .guide-card { grid-template-columns: 1fr; gap: 1.3rem; }.guide-emblem { width: 4.5rem; }
  .motion-card { min-height: 42rem; grid-template-columns: 1fr; align-content: center; padding: 2rem; background-image: linear-gradient(0deg, rgba(7,5,22,.98), rgba(11,8,32,.82) 60%, rgba(7,5,22,.34)), url("assets/deathany-realm.png"); background-position: 58% center; }.motion-emblem { justify-self: start; width: 6.6rem; height: 7.6rem; padding-bottom: .7rem; }.motion-copy h2 { font-size: 2.75rem; }
  .partner-card { min-height: 27rem; grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; row-gap: 1.4rem; }
  .partner-links { grid-column: 1; align-self: end; margin-top: .6rem; }
  .site-footer { grid-template-columns: 1fr; gap: 1.25rem; }.site-footer small { grid-column: auto; }
  .cursor-glow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
