/* Remote Rush! - the game's own site. Bright, chunky, toy-like: sky blue, sunny gold, racing orange. */
:root {
  --bg: #0a1a4f;
  --bg-deep: #061033;
  --panel: #12307f;
  --panel2: #1a44a8;
  --line: rgba(140, 200, 255, .28);
  --sky: #2fa8ff;
  --cyan: #46e0ff;
  --gold: #ffd23a;
  --orange: #ff7a1a;
  --pink: #ff4fa0;
  --green: #3ee07a;
  --text: #ffffff;
  --muted: #bcd3ff;
  --r: 26px;
  --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); background: var(--bg-deep);
  font: 17px/1.6 "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3 { font-family: "Lilita One", "Nunito", sans-serif; font-weight: 400; line-height: 1.08; margin: 0 0 .45em; letter-spacing: .5px; }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); text-shadow: 0 4px 0 rgba(0, 0, 0, .25); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* header */
.top { position: fixed; inset: 0 0 auto; z-index: 60; transition: background .25s, box-shadow .25s; }
.top.solid { background: rgba(6, 16, 51, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
.top .bar { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.top .logo img { height: 50px; width: auto; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5)); }
.top nav { display: flex; gap: 4px; }
.top nav a { color: #fff; font-weight: 900; padding: 9px 14px; border-radius: 999px; text-transform: uppercase; font-size: .9rem; letter-spacing: .5px; }
.top nav a:hover { background: rgba(255, 255, 255, .14); }
@media (max-width: 820px) { .top nav { display: none; } }

/* buttons + store badge */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: 18px; border: 0; cursor: pointer;
  font: 900 1.05rem/1 "Nunito", sans-serif; text-transform: uppercase; letter-spacing: .6px; color: #2a1400;
  background: linear-gradient(180deg, #ffe680, var(--gold) 40%, var(--orange)); box-shadow: 0 6px 0 #b54a00, 0 14px 26px rgba(0, 0, 0, .35);
  transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translateY(-2px); color: #2a1400; }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 #b54a00, 0 8px 16px rgba(0, 0, 0, .3); }
.btn.blue { color: #fff; background: linear-gradient(180deg, #7cc8ff, var(--sky) 45%, #1466e0); box-shadow: 0 6px 0 #0a3d99, 0 14px 26px rgba(0, 0, 0, .35); }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 11px 22px 11px 16px; border-radius: 16px; background: #000; color: #fff; border: 2px solid rgba(255, 255, 255, .25); }
.store svg { width: 32px; height: 32px; }
.store small { display: block; font-size: .72rem; color: #ccc; text-transform: uppercase; letter-spacing: .6px; line-height: 1.1; }
.store strong { display: block; font-size: 1.2rem; line-height: 1.1; }
.store.soon { cursor: default; }

/* hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; padding: 110px 0 80px; }
.hero::before { content: ""; position: absolute; inset: 0; background: url('../img/rr_hero.jpg') center/cover no-repeat; transform: scale(1.05); }
.hero::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(6, 16, 51, .15), rgba(6, 16, 51, .78) 70%), linear-gradient(0deg, var(--bg-deep) 0%, transparent 35%); }
.hero .in { position: relative; z-index: 1; }
.hero .game-logo { width: min(560px, 86vw); margin: 0 auto 10px; filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .6)); animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-1deg); } }
.hero .tag { font-family: "Lilita One", sans-serif; font-size: clamp(1.4rem, 3vw, 2.1rem); text-shadow: 0 3px 0 rgba(0, 0, 0, .35); margin-bottom: 26px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; }
.hero .by { margin-top: 26px; display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 800; font-size: .95rem; }
.hero .by img { height: 32px; width: auto; }
.scroll-hint { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 1; color: var(--muted); font-size: 1.6rem; animation: hint 1.6s infinite; }
@keyframes hint { 50% { transform: translate(-50%, 8px); } }
@media (prefers-reduced-motion: reduce) { .hero .game-logo, .scroll-hint { animation: none; } html { scroll-behavior: auto; } }

/* sections */
section { padding: 90px 0; position: relative; }
.head { text-align: center; max-width: 760px; margin: 0 auto 46px; }
.kick { display: inline-block; font-weight: 900; text-transform: uppercase; letter-spacing: 2px; font-size: .85rem; color: #2a1400; background: var(--gold);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.sky { background: linear-gradient(180deg, var(--bg-deep), var(--bg) 30%, var(--bg) 70%, var(--bg-deep)); }

/* feature tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.tile { background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 2px solid var(--line); border-radius: var(--r); padding: 26px;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .12), 0 16px 34px rgba(0, 0, 0, .35); transition: transform .2s; }
.tile:hover { transform: translateY(-4px); }
.tile .ico { font-size: 40px; line-height: 1; margin-bottom: 12px; }
.tile p { color: var(--muted); margin: 0; }

/* worlds */
.worlds { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.world { position: relative; border-radius: var(--r); overflow: hidden; border: 3px solid rgba(255, 255, 255, .15); box-shadow: 0 16px 34px rgba(0, 0, 0, .4); }
.world img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .4s; }
.world:hover img { transform: scale(1.06); }
.world .lbl { position: absolute; inset: auto 0 0; padding: 40px 18px 14px; background: linear-gradient(0deg, rgba(6, 16, 51, .95), transparent); }
.world .lbl h3 { margin: 0; font-size: 1.45rem; }
.world .lbl span { color: var(--gold); font-weight: 900; font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; }
.world.event { border-color: rgba(255, 79, 160, .6); }
.world.event .lbl span { color: var(--pink); }

/* cars */
.cars { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.car { background: radial-gradient(circle at 50% 40%, #1d4fc0, #0e2a75); border: 2px solid var(--line); border-radius: 20px; padding: 8px 8px 12px; text-align: center; transition: transform .2s; }
.car:hover { transform: translateY(-4px) scale(1.03); }
.car img { width: 100%; aspect-ratio: 4/3; object-fit: contain; }
.car b { display: block; font-family: "Lilita One", sans-serif; font-weight: 400; font-size: 1.05rem; letter-spacing: .4px; }

/* racers */
.racers { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.racers img { width: 84px; height: 84px; border-radius: 24px; border: 3px solid rgba(70, 224, 255, .4); box-shadow: 0 10px 24px rgba(0, 0, 0, .4); transition: transform .2s; }
.racers img:hover { transform: translateY(-8px) rotate(-4deg); }

/* modes */
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mode { border-radius: var(--r); overflow: hidden; background: var(--panel); border: 2px solid var(--line); box-shadow: 0 16px 34px rgba(0, 0, 0, .35); }
.mode img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.mode .txt { padding: 22px 24px; }
.mode .txt p { color: var(--muted); margin: 0; }
@media (max-width: 780px) { .modes { grid-template-columns: 1fr; } }

/* shots */
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; }
.shots a { border-radius: 18px; overflow: hidden; border: 2px solid var(--line); box-shadow: 0 12px 26px rgba(0, 0, 0, .35); }
.shots img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .35s; }
.shots a:hover img { transform: scale(1.05); }

/* faq */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: var(--panel); border: 2px solid var(--line); border-radius: 18px; padding: 18px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 900; font-size: 1.1rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--gold); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "-"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* final cta */
.final { text-align: center; }
.final .box { background: linear-gradient(135deg, #1b5be0, #0f2f8a 60%, #3a1a8a); border: 3px solid rgba(255, 255, 255, .18); border-radius: 34px; padding: 56px 24px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .45); }
.final img.lg { width: min(380px, 80%); margin: 0 auto 12px; }

/* footer */
footer { padding: 46px 0 34px; border-top: 2px solid var(--line); background: #040b26; }
footer .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
footer .studio { display: flex; align-items: center; gap: 14px; color: var(--muted); font-weight: 800; }
footer .studio img { height: 46px; width: auto; }
footer .links { display: flex; flex-wrap: wrap; gap: 18px; }
footer .links a { color: var(--muted); font-weight: 800; }
footer .links a:hover { color: #fff; }
footer .copy { margin-top: 24px; text-align: center; color: var(--muted); font-size: .88rem; }

/* legal page */
.page { padding: 130px 0 60px; }
.legal { max-width: 860px; }
.legal h2 { font-size: 1.6rem; margin-top: 1.6em; text-shadow: none; }
.legal li { margin-bottom: .4em; }

/* police pursuit event */
.police { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.police .pimg { position: relative; border-radius: var(--r); overflow: hidden; border: 3px solid rgba(255, 79, 160, .55); box-shadow: 0 20px 44px rgba(0, 0, 0, .45); }
.police .pimg img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.police .siren { position: absolute; inset: 0; pointer-events: none; animation: siren 1.2s steps(1) infinite; mix-blend-mode: screen; opacity: 0; }
#police[data-open] .siren { opacity: 1; }
@keyframes siren { 0% { background: radial-gradient(circle at 0 0, rgba(255, 40, 60, .55), transparent 60%); } 50% { background: radial-gradient(circle at 100% 0, rgba(40, 120, 255, .55), transparent 60%); } }
.kick.pink { background: var(--pink); color: #fff; }
.pfacts { list-style: none; padding: 0; margin: 0 0 22px; }
.pfacts li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.pstatus { display: inline-flex; align-items: center; gap: 16px; padding: 16px 26px; border-radius: 20px; background: #000a; border: 3px solid rgba(255, 255, 255, .2); }
.pstatus .dot { width: 18px; height: 18px; border-radius: 50%; background: #ff3b4e; box-shadow: 0 0 14px #ff3b4e; flex: none; }
.pstatus small { display: block; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; font-size: .8rem; color: var(--muted); }
.pstatus strong { display: block; font-family: "Lilita One", sans-serif; font-weight: 400; font-size: 2.2rem; line-height: 1.05; font-variant-numeric: tabular-nums; }
.pstatus[data-state="open"] { border-color: var(--green); animation: pulse 1.2s ease-in-out infinite; }
.pstatus[data-state="open"] .dot { background: var(--green); box-shadow: 0 0 14px var(--green); }
.pstatus[data-state="open"] small { color: var(--green); }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(62, 224, 122, .18); } }
@media (max-width: 860px) { .police { grid-template-columns: 1fr; gap: 26px; } }
@media (prefers-reduced-motion: reduce) { .police .siren, .pstatus { animation: none !important; } }
.pbadge { display: inline-flex; align-items: center; gap: 10px; margin: -8px 0 24px; padding: 8px 18px; border-radius: 999px; background: #000a; border: 2px solid rgba(255, 255, 255, .22);
  color: #fff; font-weight: 900; font-size: .95rem; font-variant-numeric: tabular-nums; }
.pbadge:hover { color: #fff; border-color: #fff; }
.pbadge .dot { width: 11px; height: 11px; border-radius: 50%; background: #ff3b4e; box-shadow: 0 0 10px #ff3b4e; }
.pbadge[data-state="open"] { border-color: var(--green); animation: pulse 1.2s ease-in-out infinite; }
.pbadge[data-state="open"] .dot { background: var(--green); box-shadow: 0 0 10px var(--green); }
