/* Presentation and motion for the landing page; legal pages retain their layout. */
.home {
  --accent: #98edb3;
  --red: #ff665e;
  --green: #98edb3;
  --ice: #96dcff;
  --ease: cubic-bezier(.2,.75,.25,1);
  background: #101112;
}
.home::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 1040px; z-index: -1;
  background: radial-gradient(ellipse at 82% 24%, #651a2033, transparent 52%), radial-gradient(ellipse at 15% 65%, #17422b22, transparent 56%);
  pointer-events: none;
}
.home .header { position: relative; z-index: 5; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.motion-toggle { border: 1px solid #454b47; background: #1c211d; color: #ccd5cc; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: var(--radius); min-width: 44px; min-height: 44px; cursor: pointer; font-size: 11px; }
.motion-toggle:disabled { cursor: default; opacity: .65; }
.motion-symbol { font-size: 16px; line-height: 1; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 11px; margin: -8px 0 32px; color: #c0c9c1; }
.hero-tags>span { display: inline-flex; align-items: center; gap: 8px; }
.green-dot, .red-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; background: var(--green); }
.red-dot { background: var(--red); box-shadow: 0 0 16px #ff665e55; }
.home .hero h1 { letter-spacing: -4px; }
.home .hero h1 .soft { color: var(--red); text-shadow: 0 4px 40px #ff47351c; }
.home .intro { max-width: 448px; }
.home .store { background: linear-gradient(135deg,#282e28,#191c1a); border-color: #4a554a; }
.home .store:hover { background: #29372d; box-shadow: 0 8px 32px #76e69d14; }
.home .button { background: var(--red); color: #170e0e; box-shadow: inset 0 1px #ffffff55, 0 8px 24px #fc584b16; transition: transform .3s var(--ease), box-shadow .3s; }
.home .button:hover { transform: translateY(-3px); box-shadow: inset 0 1px #ffffff55, 0 12px 28px #fc584b33; }
.hero-art { perspective: 1000px; isolation: isolate; background: none; }
.world-glow { position: absolute; width: 88%; height: 80%; border-radius: 50%; background: radial-gradient(ellipse at 24% 32%,#a52c3138,transparent 58%),radial-gradient(ellipse at 70% 70%,#47854d33,transparent 64%); filter: blur(32px); pointer-events: none; }
.world-grid { position: absolute; width: 104%; height: 64%; bottom: -8px; background-image: linear-gradient(#8ba2931a 1px,transparent 1px),linear-gradient(90deg,#8ba2931a 1px,transparent 1px); background-size: 44px 44px; transform: rotateX(62deg) rotateZ(-24deg); mask-image: radial-gradient(ellipse,black 16%,transparent 70%); pointer-events: none; }
.home .hero-phone { width: 256px; transform: translateY(var(--scroll-lift,0px)) rotateX(var(--tilt-y,3deg)) rotateY(var(--tilt-x,-12deg)) rotateZ(8deg); transition: transform .65s var(--ease); filter: drop-shadow(-16px 24px 24px #0009) drop-shadow(8px 0 16px #f8664c12); }
.home .orbit-one { width: 500px; height: 500px; border-color: #f97a7144; transform: rotateX(55deg) rotateZ(-20deg); box-shadow: 0 0 48px #ca473d08; }
.home .orbit-two { width: 440px; height: 540px; border-color: #6eb08733; transform: rotateX(-16deg) rotateY(42deg) rotateZ(28deg); }
.map-markers { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.map-marker { position: absolute; padding: 8px; background: transparent; border: 0; color: #fff; cursor: pointer; pointer-events: auto; transform-style: preserve-3d; animation: marker-wander 9s ease-in-out infinite; }
.marker-one { top: 64px; left: 40px; --marker-color: var(--red); --wander-x: 16px; --wander-y: -24px; }
.marker-two { top: 208px; right: 0; --marker-color: var(--green); --wander-x: -16px; --wander-y: 20px; animation-delay: -3s; }
.marker-three { bottom: 80px; right: 48px; --marker-color: #e7d4a4; --wander-x: -24px; --wander-y: -16px; animation-delay: -6s; }
.marker-orb { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border: 2px solid var(--marker-color); border-radius: 50% 50% 50% 12px; transform: rotate(-45deg); background: radial-gradient(circle at 25% 20%,#535f52,#232622 64%); color: transparent; box-shadow: inset 0 2px 6px #fff2,0 8px 16px #0009,0 0 28px color-mix(in srgb,var(--marker-color) 24%,transparent); transition: scale .25s; }
.marker-orb::after { content: attr(data-initial); transform: rotate(45deg); color: var(--marker-color); font-size: 20px; font-weight: 650; }
.marker-orb::before { content: ""; position: absolute; inset: -8px; border: 1px solid var(--marker-color); border-radius: 50%; opacity: .3; animation: marker-ping 3s ease-out infinite; }
.marker-caption { display: flex; align-items: center; gap: 8px; padding: 4px 8px; margin-top: 12px; background: #17201be8; border: 1px solid #455044; border-radius: 8px; box-shadow: 0 4px 12px #0005; font-size: 11px; white-space: nowrap; }
.marker-caption b { color: var(--marker-color); font: 9px monospace; }
.map-marker:hover .marker-orb,.map-marker.selected .marker-orb { scale: 1.15; }
.map-marker:hover,.map-marker:focus-visible { animation-play-state: paused; }
.home .floating-label { bottom: 72px; left: -8px; background: linear-gradient(135deg,#2c352bdd,#19251eee); border-color: #71806a55; backdrop-filter: blur(12px); transform: translateZ(64px); }
.loot-float { position: absolute; top: 48px; right: 0; display: flex; align-items: center; gap: 8px; padding: 12px; z-index: 3; border: 1px solid #754840; border-radius: var(--radius); background: #2e211ee8; transform: rotate(6deg); animation: loot-hover 7s ease-in-out infinite; box-shadow: 0 16px 32px #0004; }
.loot-float span { font: 9px/1.7 monospace; color: #c9b2a9; }
.loot-float b { color: #ffd3ba; font-weight: 500; }
.home .coordinate { color: #a6a995; font-size: 9px; }
.home .coordinate-one { top: 16px; }
.home .image-note { right: 0; bottom: -8px; }
.home .chapter-strip>span:last-child { color: var(--red); }
.home .feature { transition: background .3s, padding .3s; }
.home .feature.active { padding-left: 16px; background: linear-gradient(90deg,#79e6990b,transparent); border-left: 2px solid var(--green); }
.home .showcase-art { background: radial-gradient(ellipse at 50% 24%,#405b3c66,transparent 65%),linear-gradient(135deg,#1e2a22,#151817); position: relative; overflow: hidden; }
.home .feature-phone { animation: phone-hover 8s ease-in-out infinite; }
.feature-phone.switching { animation: feature-in .65s var(--ease); }
.home .journey { position: relative; background: radial-gradient(ellipse at 14% 20%,#5d24212b,transparent 40%), radial-gradient(ellipse at 86% 54%,#254b3033,transparent 40%),#111513; }
.arena-heading { display: grid; grid-template-columns: 1.35fr 1fr; align-items: end; gap: 48px; margin-bottom: 48px; }
.arena-heading h2 { margin-bottom: 0; }
.arena-heading>p { color: #aebbb0; max-width: 352px; margin: 0 0 8px; }
.red-text { color: var(--red); }
.arena { --scene-color: #ff746a; position: relative; border: 1px solid #495448; border-radius: var(--radius); background: linear-gradient(135deg,#242925,#131714 60%,#242622); overflow: hidden; box-shadow: inset 0 1px #f4ffe514,0 24px 64px #0003; }
.arena[data-effect="ice"] { --scene-color: var(--ice); }
.arena[data-effect="potion"] { --scene-color: var(--green); }
.arena-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 32px 0; position: relative; z-index: 3; }
.scene-label { display: inline-flex; align-items: center; gap: 8px; font: 10px monospace; letter-spacing: 1.5px; color: #c5d1c5; }
.demo-label { font: 9px monospace; color: #91a08f; letter-spacing: 1px; }
.battle-stage { position: relative; height: 464px; perspective: 1000px; isolation: isolate; }
.arena-halo { position: absolute; width: 40%; height: 72%; top: 8%; border-radius: 50%; filter: blur(40px); opacity: .45; pointer-events: none; transition: background .8s; }
.halo-red { left: 4%; background: radial-gradient(ellipse,#a73b32,transparent 70%); }
.halo-green { right: 4%; background: radial-gradient(ellipse,#386b43,transparent 70%); }
.arena-floor { position: absolute; left: 8%; right: 8%; height: 400px; bottom: -96px; background-image: linear-gradient(#97b29d14 1px,transparent 1px),linear-gradient(90deg,#97b29d14 1px,transparent 1px); background-size: 36px 36px; transform: rotateX(68deg) rotateZ(-5deg); mask-image: radial-gradient(ellipse,black 15%,transparent 72%); }
.floor-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid #899b6d; box-shadow: 0 0 32px #7b9e4218,inset 0 0 32px #7b9e4218; }
.floor-ring.inner { inset: 48px; border: 1px dashed #a2976f; }
.fighter { --fighter-color: var(--red); position: absolute; width: 280px; top: 72px; z-index: 2; transform-style: preserve-3d; }
.fighter-left { left: 12%; }
.fighter-right { --fighter-color: var(--green); right: 12%; }
.fighter-info { display: flex; justify-content: center; align-items: center; gap: 12px; margin-bottom: 24px; position: relative; z-index: 2; }
.fighter-name { font: 10px monospace; letter-spacing: 1.5px; color: #dfdfd5; }
.level-badge { background: color-mix(in srgb,var(--fighter-color) 15%,#141716); color: var(--fighter-color); border: 1px solid color-mix(in srgb,var(--fighter-color) 45%,transparent); font: 10px monospace; padding: 4px 8px; border-radius: 4px; }
.arena[data-levels="default"] .fighter-right .level-badge,.arena[data-levels="swapped"] .fighter-left .level-badge { box-shadow: 0 0 16px color-mix(in srgb,var(--fighter-color) 24%,transparent),inset 0 1px #ffffff30; border-color: var(--fighter-color); }
.fighter-model { position: relative; width: 184px; height: 184px; margin: auto; animation: contender-float 5s ease-in-out infinite; transform-style: preserve-3d; }
.fighter-right .fighter-model { animation-delay: -2.5s; }
.character-orb { position: relative; width: 184px; height: 184px; display: grid; place-items: center; border-radius: 50%; border: 1px solid color-mix(in srgb,var(--fighter-color) 55%,#404840); background: radial-gradient(circle at 34% 24%,#7e938733,#0d1615 76%),linear-gradient(145deg,#4f6852,#101914); box-shadow: inset -12px -16px 24px #0008,inset 4px 4px 12px #ffffff18,0 0 48px color-mix(in srgb,var(--fighter-color) 9%,transparent); }
.character-orb::before { content: ""; position: absolute; inset: 8px; border: 1px solid #ffffff10; border-radius: 50%; }
.character-orb img { width: 148px; height: 148px; transform: translateZ(24px); filter: drop-shadow(0 12px 4px #0007); }
.weapon { position: absolute; width: 96px; height: 96px; z-index: 3; bottom: -8px; filter: drop-shadow(4px 12px 4px #0009); }
.sword { right: -40px; transform: rotate(-12deg); }
.shield { left: -40px; transform: rotate(12deg); }
.fighter-aura { position: absolute; inset: -16px; border-radius: 50%; border: 1px solid color-mix(in srgb,var(--fighter-color) 28%,transparent); transform: rotateX(30deg); pointer-events: none; }
.fighter-platform { position: relative; width: 248px; height: 72px; margin: -16px auto 0; border-radius: 50%; background: radial-gradient(ellipse,#8a9b5414,#1c251b 60%,#465142 65%,#0c120e 72%); box-shadow: 0 16px 0 -4px #0b100c,0 20px 16px -8px #000; border-top: 1px solid #728465; transform: rotateX(25deg); z-index: -1; }
.fighter-platform::after { content: ""; position: absolute; inset: 16px 24px; border-radius: 50%; border: 1px solid var(--fighter-color); box-shadow: 0 0 16px color-mix(in srgb,var(--fighter-color) 40%,transparent); }
.health { display: flex; align-items: center; gap: 8px; margin: 24px auto 0; max-width: 240px; font: 9px monospace; color: #9cac9e; }
.health-track { height: 4px; flex: 1; background: #070c09; border-radius: 4px; overflow: hidden; }
.health-track>span { display: block; height: 100%; width: var(--hp,80%); border-radius: inherit; background: var(--fighter-color); transition: width .8s var(--ease); }
#right-health { --hp: 100%; }
.arena-vs { position: absolute; top: 40%; left: 50%; transform: translate(-50%,-50%); text-align: center; z-index: 1; }
.arena-vs>span { font-size: 64px; font-weight: 650; font-style: italic; letter-spacing: -4px; color: #eff4e3; opacity: .8; text-shadow: 0 4px 0 #56634b,0 12px 24px #0007; }
.arena-vs>small { display: block; font: 8px monospace; letter-spacing: 1.5px; color: #90a08b; margin-top: 8px; }
.arena-console { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 32px; border-top: 1px solid #3e493c; background: #121a14b0; position: relative; z-index: 4; }
.effect-controls { display: flex; gap: 8px; flex-wrap: wrap; }
.effect-button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 12px 16px; background: #202a22; border: 1px solid #405042; color: #aebcaf; border-radius: 12px; font-size: 12px; cursor: pointer; transition: background .25s,border-color .25s,color .25s,transform .25s; }
.effect-button svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.effect-button[data-effect="fire"] svg { fill: currentColor; stroke-width: 0; }
.effect-button:hover { transform: translateY(-3px); color: #f0f5ec; }
.effect-button.selected { color: var(--scene-color); background: color-mix(in srgb,var(--scene-color) 10%,#182019); border-color: color-mix(in srgb,var(--scene-color) 50%,transparent); box-shadow: inset 0 1px #ffffff0d; }
.arena-actions { display: flex; align-items: center; gap: 16px; }
.swap-levels { display: flex; gap: 8px; align-items: center; border: 0; padding: 12px 0; min-height: 44px; background: none; color: #a6b7a4; cursor: pointer; font-size: 11px; white-space: nowrap; }
.swap-levels span { font-size: 20px; }
.swap-levels:hover { color: #fff; }
.play-scene { display: inline-flex; justify-content: space-between; gap: 24px; border: 0; padding: 16px 20px; min-height: 48px; border-radius: 12px; background: var(--red); color: #21130e; box-shadow: inset 0 1px #fff5,0 8px 24px #ff665e18; font-size: 12px; font-weight: 650; cursor: pointer; white-space: nowrap; transition: transform .25s,filter .25s; }
.play-scene:hover { transform: translateY(-3px); filter: brightness(1.12); }
.play-scene:disabled,.swap-levels:disabled { cursor: wait; opacity: .7; }
.arena-status { padding: 16px 32px; border-top: 1px solid #354131; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.arena-status p { margin: 0; color: #abbda5; font-size: 12px; }
.arena-status>span { font: 8px monospace; letter-spacing: 1px; white-space: nowrap; color: #82927d; }
.demo-disclaimer { max-width: 720px; text-align: center; margin: 20px auto 0; color: #82917e; font-size: 10px; line-height: 1.8; }
.app-proof { margin-top: 96px; }
.app-proof .game-art { perspective: 1000px; }
.app-proof .game-phone.back { animation: app-phone-back 9s ease-in-out infinite; }
.app-proof .game-phone.front { animation: app-phone-front 9s ease-in-out infinite; animation-delay: -4.5s; }
.home .game-tag { background: var(--red); color: #251914; }
.home .game-details span { color: var(--red); }
.home .download { position: relative; overflow: hidden; background: radial-gradient(ellipse at 85% 90%,#70352a33,transparent 60%),radial-gradient(ellipse at 10% 20%,#3c604244,transparent 65%),#181c19; border-color: #46533d; }
.home .download h2 .soft { color: var(--red); }
.reveal { opacity: 1; }
.motion-ready .reveal:not(.is-in-view) { opacity: 0; transform: translateY(32px); }
.motion-ready .reveal { transition: opacity .8s var(--ease),transform .8s var(--ease); }
.spell-layer { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.fire-emitter { position: absolute; left: 52%; top: 12%; width: 32%; height: 72%; opacity: 0; transition: opacity .5s; }
.fire-emitter>i { --n: 0; display: block; position: absolute; bottom: 12%; left: calc(var(--n)*5%); width: 20px; height: 36px; border-radius: 60% 10% 60% 40%; background: linear-gradient(0deg,#fff5a9,var(--red) 45%,#fd613100); box-shadow: 0 0 16px #ff5b2a33; animation: ember-rise calc(1.5s + var(--n)*.07s) ease-out infinite; animation-delay: calc(var(--n)*-.17s); transform: rotate(-16deg); }
.fire-emitter>i:nth-child(3n) { width: 8px; height: 12px; filter: blur(1px); }
.fire-emitter::before,.fire-emitter::after { content: ""; position: absolute; bottom: 8%; left: 20%; width: 64%; height: 56%; background: radial-gradient(ellipse at 40% 90%,#fff2a0aa,#fc754c88 30%,#d93b2833 65%,transparent 76%); border-radius: 65% 8% 55% 35%; transform-origin: 50% 100%; animation: flame-flicker 2s ease-in-out infinite alternate; filter: blur(2px); }
.fire-emitter::after { left: 40%; width: 40%; height: 48%; background: radial-gradient(ellipse at 50% 100%,#fff5c6cc,#ffbd6a77 40%,#fb6d2a22 68%,transparent 76%); animation-delay: -1s; }
.ice-crown { position: absolute; right: 16%; top: 16%; width: 24%; height: 56%; opacity: 0; transform: scale(.75); transition: opacity .5s,transform .8s var(--ease); }
.ice-crown>i { position: absolute; width: 56px; height: 176px; background: linear-gradient(105deg,#b3f5ffb0,#67baed33 45%,#dcffffcc 48%,#689ddc33 55%,#9ae6ff66); clip-path: polygon(50% 0,100% 28%,80% 100%,20% 100%,0 28%); bottom: -16px; left: 8%; transform: rotate(-24deg); filter: drop-shadow(0 0 12px #97dfff88); }
.ice-crown>i:nth-child(2) { left: 36%; height: 224px; transform: rotate(8deg); }
.ice-crown>i:nth-child(3) { left: 72%; height: 152px; transform: rotate(32deg); }
.ice-crown>i:nth-child(4) { left: -8%; height: 96px; transform: rotate(-48deg); }
.ice-crown>i:nth-child(5) { left: 56%; height: 120px; transform: rotate(36deg); }
.potion { position: absolute; width: 112px; height: 168px; left: calc(50% - 56px); top: 18%; transform: translateY(16px) scale(.7) rotate(-12deg); opacity: 0; transition: opacity .5s,transform .8s var(--ease); filter: drop-shadow(0 16px 16px #0008); }
.potion-cork { position: absolute; width: 40px; height: 20px; background: linear-gradient(90deg,#654e35,#bba071,#6f573e); border: 1px solid #cfb68a66; border-radius: 4px; top: 0; left: 36px; z-index: 3; }
.potion-neck { position: absolute; width: 40px; height: 48px; top: 16px; left: 36px; border: 2px solid #b0e8cd77; border-bottom: 0; background: linear-gradient(90deg,#d4ffe428,transparent 50%,#d4ffe438); z-index: 2; }
.potion-glass { position: absolute; inset: 44px 0 0; overflow: hidden; border: 2px solid #b0e8cd77; border-radius: 36% 36% 48% 48%; background: radial-gradient(ellipse at 24% 24%,#ffffff40,transparent 48%),linear-gradient(115deg,#9affa92b,transparent 40%,#9affa92b); box-shadow: inset -12px -8px 20px #001b1170,0 0 32px #98edb325; }
.potion-liquid { position: absolute; bottom: 0; height: 66%; left: -16px; right: -16px; background: linear-gradient(90deg,#0d8052,#9dfa9d 36%,#31b869 68%,#136f46); border-top: 2px solid #d5ffd4; border-radius: 32% 32% 0 0; animation: potion-slosh 3s ease-in-out infinite; box-shadow: inset -8px 0 16px #0c4b38; }
.potion-glass>i { position: absolute; bottom: 8px; left: 24px; width: 8px; height: 8px; border-radius: 50%; border: 1px solid #e0ffe8aa; animation: bubble-up 2.5s ease-in infinite; }
.potion-glass>i:nth-of-type(2) { left: 64px; animation-delay: -1s; width: 12px; height: 12px; }
.potion-glass>i:nth-of-type(3) { left: 44px; animation-delay: -1.8s; }
.potion-glass>span { position: absolute; inset: 44px 0 auto; text-align: center; font-size: 40px; line-height: 1; color: #f0ffdb; text-shadow: 0 2px #1b7a4477; }
.impact-ring { position: absolute; width: 120px; height: 120px; left: calc(50% - 60px); top: calc(45% - 60px); border: 2px solid var(--scene-color); border-radius: 50%; opacity: 0; }
.damage-number { position: absolute; right: 24%; top: 24%; font-size: 32px; font-weight: 650; color: var(--scene-color); opacity: 0; text-shadow: 0 4px 8px #0009; }
.scene-particles { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.scene-particles>i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #b4dba6; opacity: .35; left: calc(var(--n)*6%); top: calc(24% + var(--n)*3%); animation: ambient-drift 6s ease-in-out infinite; animation-delay: calc(var(--n)*-.5s); }
.arena[data-effect="fire"] .fire-emitter { opacity: .9; }
.arena[data-effect="fire"] .halo-green { background: radial-gradient(ellipse,#d96130,transparent 70%); }
.arena[data-effect="ice"] .ice-crown { opacity: .9; transform: scale(1); }
.arena[data-effect="ice"] .fighter-right .character-orb { box-shadow: inset 0 0 40px #79c9fa55,0 0 48px #9bdfff33; border-color: #acdfff; }
.arena[data-effect="ice"] .halo-green { background: radial-gradient(ellipse,#4c92ae,transparent 70%); }
.arena[data-effect="potion"] .potion { opacity: 1; transform: translateY(0) scale(1) rotate(-12deg); }
.arena.playing .impact-ring { animation: impact-burst 1.1s var(--ease) both; }
.arena.playing .damage-number { animation: damage-float 1.4s var(--ease) both; }
.arena.playing[data-effect="battle"] .fighter-left { animation: clash-left 1.3s var(--ease) both; }
.arena.playing[data-effect="battle"] .fighter-right { animation: clash-right 1.3s var(--ease) both; }
.arena.playing[data-effect="battle"] .sword { animation: sword-swing 1.3s var(--ease) both; }
.arena.playing[data-effect="potion"] .damage-number { right: auto; left: 24%; }
.arena[data-effect="potion"] .play-scene { background: var(--green); }
.arena[data-effect="ice"] .play-scene { background: var(--ice); }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; }
.motion-paused .hero-phone { transform: rotateY(-12deg) rotateZ(8deg); }
.motion-paused .reveal { opacity: 1 !important; transform: none !important; }
.motion-paused .battle-stage { --tilt-x: 0deg; --tilt-y: 0deg; }
.offscreen *, .offscreen *::before, .offscreen *::after { animation-play-state: paused !important; }
.fire-emitter>i,.fire-emitter::before,.fire-emitter::after { animation-play-state: paused; }
.arena[data-effect="fire"] .fire-emitter>i,.arena[data-effect="fire"] .fire-emitter::before,.arena[data-effect="fire"] .fire-emitter::after { animation-play-state: running; }
.battle-stage { transform: rotateY(var(--tilt-x,0deg)) rotateX(var(--tilt-y,0deg)); transition: transform .8s var(--ease); }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { transition-duration: 0s !important; }

@keyframes marker-wander { 0%,100% { transform: translate(0,0); } 50% { transform: translate(var(--wander-x),var(--wander-y)); } }
@keyframes marker-ping { 0% { scale: .9; opacity: .4; } 90%,100% { scale: 1.4; opacity: 0; } }
@keyframes loot-hover { 0%,100% { transform: translateY(0) rotate(6deg); } 50% { transform: translateY(-16px) rotate(2deg); } }
@keyframes phone-hover { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(1deg); } }
@keyframes feature-in { from { opacity: .3; transform: translateY(20px) rotateY(-16deg); } to { opacity: 1; transform: translateY(0) rotateY(0); } }
@keyframes contender-float { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(2deg); } }
@keyframes app-phone-back { 0%,100% { transform: translateY(0) rotate(-9deg) rotateY(6deg); } 50% { transform: translateY(-16px) rotate(-6deg) rotateY(-6deg); } }
@keyframes app-phone-front { 0%,100% { transform: translateY(0) rotate(9deg) rotateY(-6deg); } 50% { transform: translateY(-16px) rotate(6deg) rotateY(6deg); } }
@keyframes ember-rise { 0% { opacity: 0; transform: translateY(24px) rotate(-20deg) scale(.5); } 20% { opacity: .85; } 100% { opacity: 0; transform: translateY(-192px) rotate(24deg) scale(.1); } }
@keyframes potion-slosh { 0%,100% { transform: rotate(7deg); } 50% { transform: rotate(-7deg); } }
@keyframes bubble-up { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: .8; } 100% { opacity: 0; transform: translateY(-72px); } }
@keyframes impact-burst { 0%,25% { opacity: 0; scale: .3; } 35% { opacity: 1; scale: .8; } 100% { opacity: 0; scale: 3; } }
@keyframes damage-float { 0%,35% { opacity: 0; transform: translateY(16px) scale(.8); } 50% { opacity: 1; scale: 1.1; } 100% { opacity: 0; transform: translateY(-56px) scale(1); } }
@keyframes clash-left { 0%,100% { transform: translateX(0); } 28% { transform: translateX(40px) rotate(8deg); } 48% { transform: translateX(-8px) rotate(-4deg); } }
@keyframes clash-right { 0%,100% { transform: translateX(0); } 32% { transform: translateX(-32px) rotate(-6deg); } 48% { transform: translateX(12px) rotate(4deg); } }
@keyframes sword-swing { 0%,100% { transform: rotate(-12deg); } 28% { transform: rotate(40deg) translateX(20px); } 48% { transform: rotate(-28deg); } }
@keyframes ambient-drift { 0%,100% { opacity: .12; transform: translateY(8px); } 50% { opacity: .55; transform: translateY(-24px); } }
@keyframes flame-flicker { 0% { transform: rotate(-20deg) skew(-5deg) scaleY(.8); opacity: .65; } 50% { transform: rotate(-8deg) skew(8deg) scaleY(1); opacity: .9; } 100% { transform: rotate(-14deg) skew(-8deg) scaleY(1.12); opacity: .7; } }

@media(max-width:1100px) {
  .motion-label { display: none; }
  .home .hero-phone { width: 236px; }
  .marker-one { left: 8px; }
  .marker-two { right: -8px; }
  .loot-float { top: 16px; right: 0; }
  .arena-console { flex-wrap: wrap; justify-content: center; }
  .fighter { width: 240px; }
  .fighter-left { left: 8%; }
  .fighter-right { right: 8%; }
  .fighter-platform { width: 216px; }
  .hero-art .image-note { font-size: 8px; }
}
@media(max-width:760px) {
  .header-actions { gap: 8px; }
  .home .hero h1 { font-size: 64px; letter-spacing: -3px; }
  .home .hero-art { height: 624px; overflow: clip; }
  .home .hero-phone { width: 248px; }
  .home .image-note { bottom: 8px; right: 8px; }
  .home .floating-label { left: 8px; bottom: 64px; padding: 12px 16px; }
  .marker-one { top: 96px; left: 16px; }
  .marker-two { top: 248px; right: 0; }
  .marker-three { bottom: 40px; right: 16px; }
  .loot-float { top: 16px; right: 16px; padding: 8px; }
  .loot-float img { width: 40px; height: 40px; }
  .home .coordinate-one { top: 16px; }
  .home .coordinate-two { display: none; }
  .arena-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
  .arena-heading h2 { font-size: 40px; }
  .arena-heading>p { max-width: 100%; font-size: 15px; }
  .arena-topline { padding: 20px 16px 0; gap: 8px; }
  .scene-label { font-size: 9px; letter-spacing: 1px; }
  .demo-label { font-size: 7px; letter-spacing: 0; }
  .battle-stage { height: 368px; }
  .fighter { width: 144px; top: 72px; }
  .fighter-left { left: 2%; }
  .fighter-right { right: 2%; }
  .fighter-info { gap: 8px; flex-direction: column; margin-bottom: 16px; }
  .fighter-name { font-size: 8px; letter-spacing: 1px; }
  .level-badge { font-size: 9px; }
  .fighter-model,.character-orb { width: 108px; height: 108px; }
  .character-orb img { width: 88px; height: 88px; }
  .fighter-aura { inset: -8px; }
  .fighter-platform { width: 128px; height: 48px; margin-top: -8px; }
  .fighter-platform::after { inset: 12px 16px; }
  .weapon { width: 56px; height: 56px; }
  .sword { right: -12px; }
  .shield { left: -12px; }
  .health { margin: 20px auto 0; max-width: 128px; font-size: 7px; gap: 4px; }
  .arena-vs { top: 46%; }
  .arena-vs>span { font-size: 32px; letter-spacing: -2px; }
  .arena-vs>small { display: none; }
  .arena-console { padding: 16px; gap: 16px; }
  .effect-controls { width: 100%; display: grid; grid-template-columns: repeat(4,1fr); gap: 4px; }
  .effect-button { padding: 12px 4px; gap: 4px; font-size: 10px; justify-content: center; }
  .effect-button svg { width: 16px; height: 16px; }
  .arena-actions { width: 100%; justify-content: space-between; gap: 12px; }
  .arena-status { padding: 16px; }
  .arena-status>span { display: none; }
  .arena-status p { font-size: 10px; min-height: 32px; }
  .demo-disclaimer { margin-top: 16px; font-size: 9px; padding-inline: 8px; }
  .app-proof { margin-top: 64px; }
  .app-proof .game-art { height: 592px; }
  .ice-crown { top: 32%; right: 10%; width: 30%; height: 36%; }
  .ice-crown>i { width: 32px; height: 96px; }
  .ice-crown>i:nth-child(2) { height: 144px; }
  .ice-crown>i:nth-child(3) { height: 112px; }
  .ice-crown>i:nth-child(4) { height: 64px; }
  .ice-crown>i:nth-child(5) { height: 80px; }
  .fire-emitter { left: 56%; width: 36%; top: 32%; height: 48%; }
  .fire-emitter>i { width: 12px; height: 24px; }
  .potion { scale: .65; top: 12%; }
  .damage-number { right: 20%; top: 36%; font-size: 24px; }
}
@media(max-width:380px) {
  .home .hero h1 { font-size: 56px; }
  .header .brand { font-size: 22px; }
  .header .brand img { width: 28px; height: 28px; }
  .header .button.small { font-size: 11px; gap: 8px; padding: 12px; }
  .home .hero-phone { width: 220px; }
  .hero-tags { gap: 8px 16px; font-size: 10px; }
  .home .hero-art { height: 572px; }
  .marker-one { left: 0; top: 88px; }
  .marker-orb { width: 44px; height: 44px; }
  .marker-caption { font-size: 9px; }
  .marker-two { top: 256px; }
  .fighter { width: 124px; }
  .fighter-left { left: 0; }
  .fighter-right { right: 0; }
  .health { max-width: 112px; }
  .fighter-model,.character-orb { width: 96px; height: 96px; }
  .character-orb img { width: 80px; height: 80px; }
  .fighter-platform { width: 112px; }
  .arena-heading h2 { font-size: 36px; }
  .scene-label { font-size: 8px; }
  .demo-label { font-size: 6px; }
  .effect-button { gap: 4px; font-size: 9px; }
  .effect-button svg { width: 12px; height: 12px; }
  .play-scene { padding: 12px 16px; gap: 12px; }
  .app-proof .game-art { height: 536px; }
}
@media(prefers-reduced-motion:reduce) {
  .home *, .home *::before, .home *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .home .reveal { opacity: 1 !important; transform: none !important; }
}
