/* ROB RUN theme over the shared store layout in games/rust/rust.css, the way mw4.css themes Modern Warfare 4:
   the game's own loading-screen art as a living backdrop, desert amber with a police-blue accent */
:root {
  --p:       #F59E0B;
  --p2:      #FFB224;
  --p3:      rgba(255, 178, 36, 0.12);
  --pg:      linear-gradient(135deg, #F59E0B 0%, #FFCF5C 100%);
  --acc:     #FFB224;
  --borderp: rgba(255, 178, 36, 0.42);
  --frost:   rgba(255, 236, 214, 0.1);
  --green:   #FFB224;
  --line:    rgba(255, 236, 214, 0.08);
  --surf2:   rgba(22, 17, 12, 0.94);
  --rr-cop:  #3B82F6;
}
body { opacity: 1 !important; background: #0c0a08 !important; }

.rr-sky { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: #0c0a08; }
/* The art keeps its own 3060×1280 frame and covers the screen from it, so the glows below sit on the police car
   and the fire at every window size */
.rr-art {
  position: absolute; aspect-ratio: 3060 / 1280;
  width: max(100vw, 239.0625vh); height: max(100vh, 41.83vw);
  left: calc((100vw - max(100vw, 239.0625vh)) * 0.2); top: calc((100vh - max(100vh, 41.83vw)) * 0.2);
  transform-origin: 62% 46%;
  animation: rr-drift 38s ease-in-out infinite alternate;
}
.rr-move { position: absolute; inset: 0; }
.rr-art img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
@keyframes rr-drift { 0% { transform: scale(1.04) translate3d(0, 0, 0); } 100% { transform: scale(1.11) translate3d(-1.4%, -0.8%, 0); } }

.rr-glow { position: absolute; border-radius: 50%; mix-blend-mode: screen; transform: translate(-50%, -50%); }
.rr-siren-b { left: 72.6%; top: 70.6%; width: 7%; aspect-ratio: 1.8; background: radial-gradient(closest-side, rgba(80, 140, 255, 0.95), rgba(59, 130, 246, 0.35) 45%, transparent); animation: rr-siren 1.1s steps(1) infinite; }
.rr-siren-r { left: 76.6%; top: 70.8%; width: 7%; aspect-ratio: 1.8; background: radial-gradient(closest-side, rgba(255, 70, 70, 0.95), rgba(239, 68, 68, 0.35) 45%, transparent); animation: rr-siren 1.1s steps(1) infinite .55s; }
@keyframes rr-siren { 0%, 18% { opacity: 1; } 19%, 30% { opacity: .15; } 31%, 45% { opacity: .9; } 46%, 100% { opacity: 0; } }
.rr-fire { left: 66.4%; top: 69.5%; width: 9%; aspect-ratio: 1.3; background: radial-gradient(closest-side, rgba(255, 150, 60, 0.55), rgba(255, 110, 30, 0.18) 55%, transparent); animation: rr-fire 2.6s ease-in-out infinite; }
@keyframes rr-fire { 0%, 100% { opacity: .55; transform: translate(-50%, -50%) scale(1); } 35% { opacity: .9; transform: translate(-50%, -52%) scale(1.06); } 60% { opacity: .65; transform: translate(-50%, -49%) scale(.97); } }
.rr-sun { left: 27%; top: 26%; width: 40%; aspect-ratio: 1.4; background: radial-gradient(closest-side, rgba(255, 214, 140, 0.32), rgba(255, 190, 110, 0.1) 50%, transparent); animation: rr-sun 9s ease-in-out infinite; }
@keyframes rr-sun { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

.rr-dust { position: absolute; inset: -10%; opacity: .55; mix-blend-mode: screen;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(255, 228, 180, 0.9), transparent),
    radial-gradient(1px 1px at 34% 68%, rgba(255, 228, 180, 0.8), transparent),
    radial-gradient(2px 2px at 58% 41%, rgba(255, 228, 180, 0.7), transparent),
    radial-gradient(1px 1px at 76% 83%, rgba(255, 228, 180, 0.8), transparent),
    radial-gradient(1.5px 1.5px at 88% 12%, rgba(255, 228, 180, 0.7), transparent),
    radial-gradient(1px 1px at 22% 91%, rgba(255, 228, 180, 0.8), transparent),
    radial-gradient(2px 2px at 46% 8%, rgba(255, 228, 180, 0.6), transparent);
  background-size: 420px 420px;
  animation: rr-dust 26s linear infinite; }
.rr-dust.b { opacity: .35; background-size: 640px 640px; animation-duration: 41s; filter: blur(1px); }
@keyframes rr-dust { from { background-position: 0 0; } to { background-position: 420px -420px; } }
.rr-dust.b { animation-name: rr-dust-b; }
@keyframes rr-dust-b { from { background-position: 0 0; } to { background-position: 640px -640px; } }

.rr-sweep { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 38%, rgba(255, 230, 190, 0.07) 46%, rgba(255, 240, 210, 0.12) 50%, rgba(255, 230, 190, 0.07) 54%, transparent 62%); background-size: 250% 100%; animation: rr-sweep 11s ease-in-out infinite; }
@keyframes rr-sweep { 0%, 15% { background-position: 120% 0; } 70%, 100% { background-position: -40% 0; } }

.rr-sky::after { content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 46% 38% at 22% 50%, rgba(12, 10, 8, 0.55), transparent 72%),
    linear-gradient(90deg, rgba(12, 10, 8, 0.62) 0%, rgba(12, 10, 8, 0.3) 30%, rgba(12, 10, 8, 0) 50%, rgba(12, 10, 8, 0) 86%, rgba(12, 10, 8, 0.3) 100%),
    linear-gradient(180deg, rgba(12, 10, 8, 0.25) 0%, rgba(12, 10, 8, 0) 18%, rgba(12, 10, 8, 0) 62%, rgba(12, 10, 8, 0.7) 86%, #0c0a08 100%); }
.rust-topmask { background: linear-gradient(180deg, rgba(12, 10, 8, 0.8) 0%, rgba(12, 10, 8, 0.45) 60%, rgba(12, 10, 8, 0) 100%); }

.store-welcome .store-welcome-t, .store-title { text-shadow: 0 2px 30px rgba(0, 0, 0, 0.65); }
.store-sub { color: #E3D8C8; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.75); }
.store-eyebrow { color: var(--p2); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); }

.store-welcome { align-items: flex-end; }
.rr-lane { position: relative; flex: 1; min-width: 0; height: 56px; margin-bottom: 0; }
.store-welcome-t { position: relative; z-index: 2; }
.rr-track { position: absolute; top: -22px; bottom: -2px; left: 0; width: 100%; overflow: hidden; pointer-events: none; z-index: 1; }
.rr-car, .rr-cop, .rr-heli { position: absolute; left: 0; opacity: 0; will-change: transform, opacity; pointer-events: auto; cursor: pointer; }
.rr-car { bottom: 3px; z-index: 3; width: 90px; padding: 0; border: 0; background: none; cursor: pointer; }
.rr-car:focus-visible { outline: 2px solid var(--p2); outline-offset: 4px; border-radius: 6px; }
.rr-cop { bottom: 2px; z-index: 2; width: 95px; }
.rr-heli { bottom: 21px; z-index: 4; width: 112px; }
.rr-car > *, .rr-cop > *, .rr-heli > * { pointer-events: none; }
.rr-bob, .rr-hover { position: absolute; inset: 0; display: block; }
.rr-lane img { filter: none; max-width: none; user-select: none; }
.rr-lane .rr-body { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.rr-bob { animation: rr-bob .74s ease-in-out infinite; }
.rr-cop .rr-bob { animation-duration: .81s; animation-delay: -.3s; }
@keyframes rr-bob { 0%, 100% { transform: translateY(0) rotate(0deg); } 28% { transform: translateY(-2.2%) rotate(-.25deg); } 52% { transform: translateY(.9%) rotate(.1deg); } 76% { transform: translateY(-1.1%) rotate(-.12deg); } }
.rr-wh { position: absolute; background: center / contain no-repeat; animation: rr-wheel .26s linear infinite; }
@keyframes rr-wheel { to { transform: rotate(360deg); } }
.rr-lt { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.rr-head { background: radial-gradient(closest-side, rgba(255, 252, 240, 1), rgba(255, 238, 200, .55) 38%, rgba(255, 225, 170, 0)); transform: scale(1.6); }
.rr-tail { background: radial-gradient(closest-side, rgba(255, 70, 40, .95), rgba(255, 30, 10, .35) 45%, rgba(255, 20, 0, 0)); }
.rr-beam { position: absolute; mix-blend-mode: screen; filter: blur(1.5px); opacity: .55; clip-path: polygon(0 38%, 100% 0, 100% 100%, 0 56%); background: linear-gradient(90deg, rgba(255, 244, 214, .9), rgba(255, 236, 196, 0)); }
.rr-cop .rr-beam { opacity: .4; }
.rr-flash { position: absolute; border-radius: 50%; mix-blend-mode: screen; opacity: 0; }
.rr-flash.rr-b { background: radial-gradient(closest-side, #fff, rgba(80, 150, 255, .95) 22%, rgba(40, 110, 255, 0)); animation: rr-strobe .9s linear infinite; }
.rr-flash.rr-r { background: radial-gradient(closest-side, #fff, rgba(255, 70, 60, .95) 22%, rgba(255, 30, 20, 0)); animation: rr-strobe .9s linear infinite .45s; }
.rr-wash { position: absolute; border-radius: 50%; mix-blend-mode: screen; opacity: 0; filter: blur(4px); }
.rr-wash.rr-b { background: radial-gradient(closest-side, rgba(60, 120, 255, .38), rgba(60, 120, 255, 0)); animation: rr-strobe .9s linear infinite; }
.rr-wash.rr-r { background: radial-gradient(closest-side, rgba(255, 50, 40, .34), rgba(255, 50, 40, 0)); animation: rr-strobe .9s linear infinite .45s; }
@keyframes rr-strobe { 0%, 9% { opacity: 1; } 10%, 17% { opacity: .1; } 18%, 27% { opacity: 1; } 28%, 100% { opacity: 0; } }
.rr-spot { position: absolute; border-radius: 50%; mix-blend-mode: screen; background: radial-gradient(closest-side, rgba(255, 246, 220, .7), rgba(255, 228, 170, .25) 55%, rgba(255, 220, 160, 0)); animation: rr-spot 1.9s ease-in-out infinite; }
.rr-pool { position: absolute; border-radius: 50%; mix-blend-mode: screen; background: radial-gradient(closest-side, rgba(255, 226, 160, .4), rgba(255, 210, 140, 0)); animation: rr-spot 1.9s ease-in-out infinite; }
@keyframes rr-spot { 0%, 100% { transform: translateX(-6%); opacity: .85; } 50% { transform: translateX(7%); opacity: 1; } }
.rr-puff { position: absolute; border-radius: 50%; background: radial-gradient(closest-side, rgba(225, 200, 160, .55), rgba(225, 200, 160, 0)); animation: rr-puff .55s ease-out infinite; }
.rr-puff.rr-p2 { animation-delay: .27s; }
@keyframes rr-puff { from { transform: translate(0, 0) scale(.5); opacity: .9; } to { transform: translate(-70%, -30%) scale(2); opacity: 0; } }
.rr-hover { transform: rotate(2.5deg); animation: rr-hover 2.6s ease-in-out infinite; }
@keyframes rr-hover { 0%, 100% { transform: translateY(0) rotate(2.5deg); } 50% { transform: translateY(-5%) rotate(1.6deg); } }
.rr-rotor { position: absolute; display: block; animation: rr-rotor .09s steps(2) infinite; }
@keyframes rr-rotor { 0% { opacity: .95; transform: scaleX(1); } 100% { opacity: .7; transform: scaleX(.97); } }
.rr-trotor { position: absolute; display: block; opacity: .6; animation: rr-wheel .12s linear infinite; }
.rr-cone { position: absolute; filter: blur(1.2px); clip-path: polygon(0 45%, 0 55%, 100% 100%, 100% 0); background: linear-gradient(90deg, rgba(255, 248, 220, .95), rgba(255, 224, 150, .62) 55%, rgba(255, 206, 120, .3)); animation: rr-cone 1.9s ease-in-out infinite; transform-origin: 0 50%; }
@keyframes rr-cone { 0%, 100% { transform: rotate(14.5deg); } 50% { transform: rotate(18.5deg); } }
.rr-lamp { position: absolute; border-radius: 50%; mix-blend-mode: screen; background: radial-gradient(closest-side, #fff, rgba(255, 240, 200, .6) 35%, rgba(255, 230, 180, 0)); transform: scale(1.8); }
.rr-bill { position: absolute; z-index: 5; width: 24px; height: 14px; background: url("/games/rob-run/img/icons/cash.webp") center / contain no-repeat; pointer-events: none; }
@media (max-width: 640px) { .rr-lane { display: none; } }

.rr-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.rr-btn { display: inline-flex; align-items: center; gap: 9px; padding: 14px 24px; border-radius: 12px; font: 800 14px 'Plus Jakarta Sans', sans-serif; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .15s, filter .15s, background .15s; }
.rr-btn:hover { transform: translateY(-2px); }
.rr-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.rr-btn.main { background: var(--pg); color: #1f1300; box-shadow: 0 12px 30px rgba(245, 158, 11, 0.3); }
.rr-btn.main:hover { filter: brightness(1.06); }

.sb-label, .sb-group { color: #9C8F7E; }
.sb-link { position: relative; padding: 10px 12px; border-bottom: none; border-radius: 9px; font-size: 14px; color: #D4C8B6; cursor: pointer; }
.sb-link:hover { background: rgba(255, 255, 255, 0.03); }
.sb-link.active { color: #fff; background: linear-gradient(90deg, rgba(255, 178, 36, 0.16), rgba(255, 178, 36, 0.03)); }
.sb-link.active::before { content: ''; position: absolute; left: 0; top: 9px; bottom: 9px; width: 3px; border-radius: 3px; background: var(--p2); box-shadow: 0 0 10px rgba(255, 178, 36, 0.6); }
@media (max-width: 1024px) {
  .sb-link.active::before { left: 12px; right: 12px; top: auto; bottom: 3px; width: auto; height: 2px; }
}
.sec-hd::before { color: var(--p2); }
.sec-sub2 { color: var(--p2); font-weight: 600; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7); }
.sec { scroll-margin-top: 96px; }
.about-text p { color: #D3C8B8; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.85); }

.co-banner { border-color: var(--borderp); background: linear-gradient(120deg, rgba(26, 20, 13, 0.96), rgba(13, 10, 8, 0.96)); }
.co-cta { background: var(--pg); color: #1f1300; box-shadow: 0 10px 26px rgba(245, 158, 11, 0.28); }
.fq-item { background: rgba(20, 16, 12, 0.9); backdrop-filter: none !important; }
.svc { background: rgba(20, 16, 12, 0.95); border-color: rgba(255, 236, 214, 0.09); }
.svc .price-row:has(.new-p) { justify-content: space-between; gap: 12px; }
.svc .price-row .new-p { font: 800 19px 'Plus Jakarta Sans', sans-serif; color: #fff; letter-spacing: -0.3px; }
.svc .price-row .p-per { font-size: 12px; font-weight: 700; color: #A99F92; }
.svc .price-row .p-per + .new-p { margin-left: 5px; }
a.svc .btn-buy { display: inline-flex; align-items: center; flex-shrink: 0; }
.svc:hover { box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 24px rgba(255, 178, 36, 0.12); }
.i1, .i2, .i3, .i4, .i5 { background: radial-gradient(120% 90% at 50% 0%, rgba(255, 178, 36, 0.1), transparent 55%), linear-gradient(165deg, #1d1710 0%, #100d09 100%); }
.glow { background: radial-gradient(circle at 50% 58%, rgba(255, 190, 90, 0.18), transparent 62%); }
.svc-ico { filter: drop-shadow(0 0 18px rgba(255, 190, 90, 0.35)) drop-shadow(0 8px 14px rgba(0, 0, 0, 0.6)); }
.feats li { color: #C9BEAE; }
.svc .tag-sp { position: absolute; top: 12px; left: 12px; z-index: 3; background: var(--p2); color: #1f1300; border-radius: 6px; padding: 3px 8px; font-size: 10px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; }
.btn-buy { display: inline-flex; align-items: center; padding: 10px 22px; border: 0; border-radius: 10px; background: var(--pg); color: #1f1300; font: 800 13.5px 'Plus Jakarta Sans', sans-serif; cursor: pointer; transition: filter .15s, transform .15s; }
.btn-buy:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-buy:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }


@media (max-width: 768px) {
  .rr-art { left: calc((100vw - max(100vw, 239.0625vh)) * 0.62); }
  .rr-sky::after { background: linear-gradient(180deg, rgba(12, 10, 8, 0.55) 0%, rgba(12, 10, 8, 0.35) 30%, rgba(12, 10, 8, 0.75) 62%, #0c0a08 100%); }
  .rr-btn { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .rr-art, .rr-glow, .rr-dust, .rr-sweep { animation: none; }
  .rr-lane { display: none; }
  .rr-siren-r { opacity: 0; }
}
.rr-tier { position: absolute; top: 12px; left: 12px; z-index: 3; padding: 3px 9px; border-radius: 6px; font: 800 10px/1.4 'Plus Jakarta Sans', sans-serif; letter-spacing: .8px; text-transform: uppercase; color: #120d06; background: var(--t, var(--p2)); }
.rr-card-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.svc:hover .rr-card-art { transform: scale(1.05); }
#starter-bundles .svc-img, #runs .svc-img, #jail-time .svc-img, #player-kills .svc-img, #pro-by-the-hour .svc-img { overflow: hidden; }
.rr-tool { width: 54%; height: auto; object-fit: contain; }
.rr-veh { width: 62%; height: auto; object-fit: contain; }
.rr-gun { width: 78%; height: auto; object-fit: contain; }
.rr-mk { position: absolute; right: 12px; bottom: 10px; z-index: 3; display: flex; gap: 4px; }
.rr-mk b { padding: 2px 7px; border-radius: 5px; font: 800 10px/1.4 'Plus Jakarta Sans', sans-serif; letter-spacing: .5px; color: #f3e6d2; background: rgba(12, 10, 8, 0.72); border: 1px solid rgba(255, 190, 90, 0.35); }
.rr-rar { left: 10px; justify-content: flex-end; flex-wrap: wrap; }
.rr-rar b { color: var(--t); border-color: color-mix(in srgb, var(--t) 45%, transparent); font-size: 9px; padding: 2px 5px; }
.svc-img .rr-tool { max-height: 72%; }
.co-art::after { background: linear-gradient(90deg, #1a140d 0%, rgba(26, 20, 13, 0.55) 12%, rgba(26, 20, 13, 0) 30%); }
.co-art img { object-position: 22% 70%; }
.svc.soon { cursor: default; }
.svc.soon:hover { transform: none; box-shadow: none; }
.svc.soon .svc-ico { filter: saturate(0.85) brightness(0.8); }
.svc .soon-chip { position: absolute; right: 10px; top: 10px; z-index: 3; background: rgba(7, 11, 22, 0.82); border: 1px solid rgba(255, 236, 214, 0.14); color: #C9D0E2; border-radius: 6px; padding: 2px 7px; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; }
.svc.soon .btn-buy { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, 0.05); color: #A9B3CC; border: 1px solid rgba(255, 236, 214, 0.14); cursor: default; }
.svc .price-row .p-sub { font-size: 11.5px; font-weight: 700; color: #A99F92; margin-top: 2px; }
.svc .feats li.rr-incl { color: #F6C46A; }

.sec-title .rr-sec-a { color: inherit; text-decoration: none; }
.sec-title .rr-sec-a:hover { color: var(--p2); }
