/* Motion and game artwork, layered over the existing RF Ultron interface. */
.brand { flex-shrink: 0; }
.brand img { width: 166px; }
@media (min-width: 761px) and (max-width: 1280px) {
  header.top { gap: 1.2rem; }
  header.top > .top-actions { display: none; }
  nav.menu { gap: 1rem; }
}
.world-hero { --world-accent: #f6b545; min-height: min(920px, 95svh); padding-top: 7rem; gap: 0; }
.world-hero[data-faction="1"] { --world-accent: #ff6453; }
.world-hero[data-faction="2"] { --world-accent: #56d5ff; }
.world-hero[data-faction="3"] { --world-accent: #c39aff; }
.world-hero[data-faction="4"] { --world-accent: #68dbb3; }
.world-scenes { position: absolute; inset: 0; z-index: -3; overflow: hidden; background: #17140f; }
.world-scene { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; object-position: 70% 32%; opacity: 0; transform: scale(1.025); transition: opacity 1.25s ease, transform 8s linear; }
.world-scene.is-current { opacity: 1; transform: scale(1.085); }
.world-hero::before { background: linear-gradient(90deg, #100f10ed, #100f10a1 40%, #100f1010 78%), linear-gradient(0deg, #16120e 0%, #16120e00 65%); }
.world-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1; background: radial-gradient(ellipse at 80% 80%, #ed931514, transparent 60%); box-shadow: inset 0 -1px #f6b54540; }
.world-coordinate { position: absolute; top: 2rem; left: var(--edge); right: var(--edge); display: flex; justify-content: space-between; color: #ddcfb5a8; font: 500 .76rem var(--text); letter-spacing: .22em; }
.world-coordinate span { color: var(--world-accent); }
.world-kicker { display: flex; align-items: center; gap: .8rem; color: var(--world-accent); font: 600 .85rem var(--text); letter-spacing: .18em; margin-bottom: 1.5rem; }
.world-kicker > span { width: 28px; height: 2px; background: currentColor; box-shadow: 0 0 14px currentColor; }
.world-hero .hero-body { max-width: 43rem; padding-block: 2.5rem; }
.world-hero h1 { font-size: clamp(3.5rem, 7.6vw, 7.5rem); text-wrap: balance; text-shadow: 0 3px 35px #0008; }
.world-hero .hero-body p { max-width: 31rem; min-height: 5.4rem; color: #e2ded5; }
.world-hero .hero-actions .btn { background: var(--world-accent); box-shadow: 0 0 25px #f6b54522; }
.world-controls { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; width: 100%; margin-top: 1rem; border-top: 1px solid #ffffff25; padding-top: 1rem; }
.world-tabs { display: flex; gap: clamp(.75rem, 2vw, 2rem); }
.world-controls button { cursor: pointer; color: #b4afa7; font: 600 1.05rem var(--cond); border: 0; background: transparent; min-height: 44px; transition: color .2s, background .2s; }
.world-tabs button { position: relative; padding: .55rem 0; text-transform: uppercase; letter-spacing: .1em; }
.world-tabs button span { display: inline-block; font: 400 .7rem var(--text); margin-right: .5rem; opacity: .6; }
.world-tabs button::before { content: ""; position: absolute; height: 2px; top: calc(-1rem - 2px); left: 0; width: 0; background: var(--world-accent); transition: width .5s; box-shadow: 0 0 12px var(--world-accent); }
.world-tabs button[aria-current="true"] { color: #fff; }
.world-tabs button[aria-current="true"]::before { width: 100%; }
.world-controls button:hover { color: var(--world-accent); }
.world-arrows { display: flex; align-items: center; gap: .4rem; }
.world-arrows button { border: 1px solid #ffffff30; padding: .5rem .85rem; }
.world-arrows button:hover { background: #ffffff0d; }
.world-hero .server { margin-top: 1.5rem; max-width: none; background: #171512a8; }
.world-atmosphere { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.world-atmosphere i { position: absolute; bottom: -20px; left: 60%; width: 3px; height: 3px; border-radius: 50%; background: var(--world-accent); box-shadow: 0 0 12px 3px var(--world-accent); animation: world-sparks 11s linear infinite; opacity: 0; }
.world-atmosphere i:nth-child(2) { left: 20%; animation-delay: -3s; animation-duration: 16s; }
.world-atmosphere i:nth-child(3) { left: 45%; animation-delay: -7s; }
.world-atmosphere i:nth-child(4) { left: 78%; animation-delay: -2s; animation-duration: 14s; }
.world-atmosphere i:nth-child(5) { left: 90%; animation-delay: -8s; }
.world-atmosphere i:nth-child(6) { left: 33%; animation-delay: -12s; animation-duration: 18s; }
.world-atmosphere i:nth-child(7) { left: 68%; animation-delay: -6s; animation-duration: 15s; }
.world-atmosphere i:nth-child(8) { left: 8%; animation-delay: -5s; animation-duration: 13s; }
@keyframes world-sparks { 0% { opacity: 0; transform: translate(0, 0); } 15%, 65% { opacity: .65; } 100% { opacity: 0; transform: translate(65px, -650px); } }
.world-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.race { transition: transform .4s, box-shadow .4s; }
.race img, .map-row img { transition: transform .65s ease, filter .65s; }
.race, .map-row figure { overflow: hidden; }
.race:hover { transform: translateY(-6px); box-shadow: 0 16px 45px #0006; }
.race:hover img, .map-row figure:hover img { transform: scale(1.045); filter: saturate(1.12); }
.race.bellato:hover { box-shadow: 0 16px 45px #35c6f422; }
.race.cora:hover { box-shadow: 0 16px 45px #a66bf222; }
.race.accretia:hover { box-shadow: 0 16px 45px #f0443c22; }
.btn { transition: background .2s, filter .2s, transform .2s; }
.btn:hover { filter: brightness(1.12); transform: translateY(-2px); }
.world-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.world-reveal.is-visible { opacity: 1; transform: none; }
.world-copy-in { animation: world-copy .65s both; }
@keyframes world-copy { from { opacity: .35; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .brand img { width: 145px; }
  .world-hero { min-height: 820px; padding-top: 5rem; }
  .world-hero .hero-body { padding-block: 2rem; }
  .world-hero::before { background: linear-gradient(90deg, #100f10d9, #100f1060), linear-gradient(0deg, #16120e, #16120e30 85%); }
  .world-scene { object-position: 65% center; }
  .world-controls { flex-wrap: wrap; gap: .7rem; }
  .world-tabs { justify-content: space-between; width: 100%; gap: .6rem; overflow-x: auto; }
  .world-tabs button { font-size: .9rem; flex-shrink: 0; }
  .world-tabs button span { margin-right: .2rem; }
  .world-arrows { margin-left: auto; }
  .world-hero .hero-body p { min-height: 7rem; }
  .world-hero .hero-actions { gap: 1rem; }
}
@media (max-width: 480px) {
  header.top { flex-wrap: wrap; gap: .6rem; padding-inline: 16px; }
  .net { font-size: .8rem; padding: .3rem .4rem; }
  .net span { max-width: 95px; white-space: normal; line-height: 1.1; }
  .burger { font-size: .9rem; padding-inline: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .world-atmosphere { display: none; }
  .world-scene, .world-scene.is-current { transform: none; }
  .world-hero *, .race, .map-row img, .btn, .world-reveal { animation: none !important; transition: none !important; }
  .world-reveal { opacity: 1; transform: none; }
  .race:hover, .race:hover img, .map-row figure:hover img, .btn:hover { transform: none; }
}
