:root {
  --bg: #05070d;
  --bg-2: #0b1020;
  --panel: rgba(10, 17, 34, 0.7);
  --panel-strong: rgba(7, 12, 24, 0.92);
  --line: rgba(87, 199, 255, 0.25);
  --text: #ecf5ff;
  --muted: #9eb0c9;
  --cyan: #3df2ff;
  --blue: #5b8cff;
  --violet: #b658ff;
  --glow: 0 0 20px rgba(61, 242, 255, 0.2), 0 0 45px rgba(91, 140, 255, 0.18);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 20%, rgba(91, 140, 255, 0.12), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(182, 88, 255, 0.12), transparent 25%),
    linear-gradient(180deg, #03050a 0%, #060b14 50%, #04070e 100%);
  min-height: 100vh;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }

#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.65;
}

.page-shell {
  position: relative;
  z-index: 1;
}

.site-header {
  width: min(calc(100% - 32px), var(--max));
  margin: 18px auto 0;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: sticky;
  top: 14px;
  z-index: 50;
  background: rgba(8, 11, 20, 0.68);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(115, 210, 255, 0.15);
  border-radius: 22px;
  box-shadow: var(--glow);
}

.brand {
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(61, 242, 255, 0.18), rgba(182, 88, 255, 0.22));
  border: 1px solid rgba(61, 242, 255, 0.35);
  box-shadow: 0 0 25px rgba(61, 242, 255, 0.18);
}

.brand-name { font-weight: 700; letter-spacing: 0.02em; }
.brand-sub { color: var(--muted); font-size: 0.86rem; }

.site-nav { display: flex; gap: 18px; }
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}
.site-nav a:hover { color: var(--text); text-shadow: 0 0 14px rgba(61, 242, 255, 0.45); }

.nav-toggle { display: none; background: transparent; border: 0; padding: 0; }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
}

main {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.section { padding: 92px 0 0; }
.hero {
  min-height: calc(100vh - 110px);
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  gap: 34px;
  align-items: center;
  padding-top: 68px;
}

.eyebrow,
.section-kicker,
.work-tag,
.badge-kicker {
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  font-size: 0.78rem;
}

.hero h1,
.section-head h2,
.contact-card h2,
.modal-panel h3 {
  font-family: 'Orbitron', sans-serif;
  line-height: 1.03;
  margin: 14px 0 18px;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  max-width: 11ch;
}

.neon-text {
  color: var(--text);
  text-shadow: 0 0 15px rgba(61, 242, 255, 0.65), 0 0 28px rgba(91, 140, 255, 0.5);
}

.hero-text,
.glass-card p,
.feature-card p,
.timeline-card p,
.stats-card p,
.contact-card p,
.gallery-copy p,
.modal-panel p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.hero-tags,
.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0;
}

.hero-tags span,
.chip-cloud span,
.mini-project-strip a {
  border: 1px solid rgba(124, 219, 255, 0.18);
  background: rgba(10, 16, 32, 0.72);
  padding: 10px 14px;
  border-radius: 999px;
  color: #d9e8ff;
  box-shadow: inset 0 0 12px rgba(61, 242, 255, 0.05);
  text-decoration: none;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 10px 0 24px;
}

.hero-badge {
  text-decoration: none;
  color: var(--text);
  background: rgba(7, 13, 25, 0.78);
  border: 1px solid rgba(61, 242, 255, 0.18);
  border-radius: 20px;
  padding: 14px 16px;
  display: grid;
  gap: 4px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  box-shadow: inset 0 0 14px rgba(61, 242, 255, 0.05);
}
.hero-badge:hover {
  transform: translateY(-4px);
  box-shadow: var(--glow);
  border-color: rgba(61, 242, 255, 0.32);
}
.hero-badge strong { font-family: 'Orbitron', sans-serif; font-size: 1rem; }
.hero-badge span:last-child { color: var(--muted); font-size: 0.92rem; }

.hero-actions,
.contact-actions,
.card-actions,
.modal-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border: 0;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #041018;
  background: linear-gradient(90deg, var(--cyan), #7ce8ff);
  box-shadow: 0 0 22px rgba(61, 242, 255, 0.3);
}
.btn-secondary {
  color: var(--text);
  border: 1px solid rgba(61, 242, 255, 0.35);
  background: rgba(9, 15, 28, 0.72);
  box-shadow: inset 0 0 14px rgba(61, 242, 255, 0.04);
}
.inline-link,
.ghost-link {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 600;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.ghost-link { color: #b8cdff; }

.floating-panel,
.glass-card,
.feature-card,
.contact-card,
.gallery-card,
.modal-panel {
  position: relative;
  background: var(--panel);
  border: 1px solid rgba(120, 219, 255, 0.16);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
  box-shadow: var(--glow);
}

.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  will-change: transform;
}

.hero-panel {
  padding: 24px;
  min-height: 460px;
  overflow: hidden;
  animation: floatY 5.5s ease-in-out infinite;
}

.panel-glow {
  position: absolute;
  inset: auto -30% -30% auto;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 242, 255, 0.2), transparent 65%);
  filter: blur(14px);
}

.status-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 22px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(61, 242, 255, 0.9);
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  position: relative;
  z-index: 1;
}
.metric-card {
  background: rgba(5, 10, 21, 0.72);
  border: 1px solid rgba(120, 219, 255, 0.14);
  border-radius: 20px;
  padding: 18px;
}
.metric-value {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: var(--text);
}
.metric-label { color: var(--muted); line-height: 1.45; }
.mini-project-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  position: relative;
  z-index: 1;
}
.scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.02),
    rgba(255,255,255,0.02) 1px,
    transparent 1px,
    transparent 4px
  );
  pointer-events: none;
  opacity: 0.18;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 12ch;
}
.grid-two {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
}
.glass-card,
.contact-card,
.modal-panel { padding: 26px; }
.list-card ul {
  padding-left: 20px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.9;
}
.card-grid,
.stats-grid,
.gallery-grid {
  display: grid;
  gap: 18px;
}
.card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-card,
.gallery-card { padding: 24px; }
.feature-card h3,
.gallery-copy h3 {
  font-family: 'Orbitron', sans-serif;
  margin-top: 0;
  margin-bottom: 12px;
}

.timeline {
  display: grid;
  gap: 20px;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(61, 242, 255, 0.5), rgba(61, 242, 255, 0));
}
.timeline-item {
  position: relative;
  padding-left: 38px;
}
.timeline-dot {
  position: absolute;
  left: 4px;
  top: 24px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--cyan) 0%, rgba(61, 242, 255, 0.12) 75%);
  box-shadow: 0 0 22px rgba(61, 242, 255, 0.35);
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.gallery-card { overflow: hidden; }
.gallery-visual {
  height: 220px;
  border-radius: 18px;
  border: 1px solid rgba(120, 219, 255, 0.18);
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
}
.visual-label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--text);
}
.visual-apple {
  background:
    radial-gradient(circle at 35% 35%, rgba(61, 242, 255, 0.28), transparent 30%),
    linear-gradient(135deg, rgba(12, 20, 42, 1), rgba(8, 12, 23, 1));
}
.visual-screen {
  width: 68%;
  height: 72%;
  position: absolute;
  top: 14%;
  left: 16%;
  border-radius: 24px;
  border: 1px solid rgba(124, 219, 255, 0.24);
  box-shadow: inset 0 0 30px rgba(61, 242, 255, 0.12), 0 0 30px rgba(61, 242, 255, 0.12);
  transform: rotate(-8deg);
}
.visual-meta {
  background:
    radial-gradient(circle at 50% 50%, rgba(91, 140, 255, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(8, 12, 24, 1), rgba(11, 20, 44, 1));
}
.visual-ring {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 2px solid rgba(124, 219, 255, 0.5);
  position: absolute;
  top: calc(50% - 65px);
  left: calc(50% - 65px);
  box-shadow: 0 0 40px rgba(61, 242, 255, 0.15), inset 0 0 26px rgba(61, 242, 255, 0.12);
}
.visual-bbc {
  background:
    radial-gradient(circle at 50% 50%, rgba(182, 88, 255, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(10, 11, 19, 1), rgba(24, 11, 30, 1));
}
.play-core {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  position: absolute;
  top: calc(50% - 44px);
  left: calc(50% - 44px);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 0 32px rgba(182, 88, 255, 0.18);
}
.play-core::before {
  content: '';
  position: absolute;
  left: 36px;
  top: 27px;
  border-left: 22px solid rgba(255,255,255,0.82);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
}

.highlight-wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 22px;
  align-items: start;
}
.stats-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.stats-card { padding: 22px; }
.big-stat {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.contact-card { padding-bottom: 34px; }
.contact-form {
  margin-top: 26px;
  display: grid;
  gap: 14px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(4, 8, 18, 0.9);
  color: var(--text);
  border: 1px solid rgba(120, 219, 255, 0.18);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(61, 242, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(61, 242, 255, 0.08);
}
.hidden-field { display: none; }

.site-footer {
  width: min(calc(100% - 32px), var(--max));
  margin: 80px auto 36px;
  color: var(--muted);
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.open { display: flex; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 16, 0.72);
  backdrop-filter: blur(12px);
}
.modal-panel {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  background: var(--panel-strong);
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(120, 219, 255, 0.2);
  background: rgba(10, 16, 28, 0.86);
  color: var(--text);
  cursor: pointer;
  font-size: 1.4rem;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@media (max-width: 1080px) {
  .hero,
  .grid-two,
  .highlight-wrap,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .hero-panel { min-height: auto; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-badges { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-header {
    padding: 12px 14px;
  }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    margin: 0 auto;
    width: 100%;
    display: none;
    flex-direction: column;
    background: rgba(8, 11, 20, 0.96);
    border: 1px solid rgba(115, 210, 255, 0.12);
    border-radius: 20px;
    padding: 14px;
  }
  .site-nav.open { display: flex; }
  .hero { min-height: auto; padding-top: 40px; }
  .section { padding-top: 72px; }
  .card-grid,
  .stats-grid,
  .form-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .gallery-visual { height: 180px; }
}


/* Retro arcade additions */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(255,255,255,0.02) 0px,
      rgba(255,255,255,0.02) 1px,
      transparent 2px,
      transparent 4px
    );
  mix-blend-mode: soft-light;
  opacity: 0.28;
  z-index: 2;
}

.arcade-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 22px;
  align-items: stretch;
}
.arcade-copy { padding: 24px; }
.arcade-kicker,
.arcade-marquee span,
.arcade-overlay-kicker,
.hud-label {
  font-family: 'Press Start 2P', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.arcade-copy h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  margin: 14px 0;
}
.arcade-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}
.arcade-info-card {
  background: rgba(4, 8, 18, 0.8);
  border: 1px solid rgba(61, 242, 255, 0.14);
  border-radius: 18px;
  padding: 16px;
  display: grid;
  gap: 8px;
}
.arcade-info-card strong { color: var(--cyan); font-family: 'Orbitron', sans-serif; }
.arcade-info-card span { color: var(--muted); }
.arcade-shell { padding: 18px; overflow: hidden; position: relative; }
.arcade-shell::before {
  content: "";
  position: absolute;
  inset: -20% auto auto -20%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(182, 88, 255, 0.22), transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}
.arcade-topbar { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 14px; }
.arcade-marquee { display: grid; gap: 8px; }
.arcade-marquee strong {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  color: #fff0b8;
  text-shadow: 0 0 8px rgba(255, 233, 124, 0.4), 0 0 20px rgba(255, 165, 0, 0.2);
}
.arcade-start-btn { white-space: nowrap; }
.arcade-hud { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.hud-block {
  background: rgba(2, 6, 14, 0.9);
  border: 1px solid rgba(61, 242, 255, 0.16);
  border-radius: 14px;
  padding: 12px 14px;
  display: grid;
  gap: 6px;
}
.hud-block strong {
  font-family: 'Press Start 2P', monospace;
  color: #9dff84;
  font-size: 1rem;
  text-shadow: 0 0 10px rgba(157, 255, 132, 0.35);
}
.hud-label { color: var(--muted); font-size: 0.62rem; }
.arcade-panel-wrap {
  position: relative;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(124, 219, 255, 0.2);
  background:
    radial-gradient(circle at 50% 0%, rgba(91, 140, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #020611 0%, #061327 55%, #020611 100%);
  box-shadow:
    inset 0 0 30px rgba(61, 242, 255, 0.08),
    0 0 30px rgba(91, 140, 255, 0.12);
}
#arcadeGame {
  display: block;
  width: 100%;
  height: clamp(340px, 58vw, 820px);
  max-height: 74vh;
  min-height: 320px;
  background: transparent;
}
.arcade-panel-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(to bottom, rgba(255,255,255,0.035) 0 1px, transparent 1px 4px),
    radial-gradient(circle at center, transparent 52%, rgba(0,0,0,0.22) 100%);
  pointer-events: none;
  mix-blend-mode: screen;
}
.arcade-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2, 6, 14, 0.22);
  transition: opacity 0.25s ease;
}
.arcade-overlay.hidden { opacity: 0; pointer-events: none; }
.arcade-overlay-card {
  max-width: 430px;
  text-align: center;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(255, 233, 124, 0.28);
  background: rgba(10, 10, 18, 0.75);
  box-shadow: 0 0 24px rgba(255, 233, 124, 0.12);
}
.arcade-overlay-card h3 {
  font-family: 'Orbitron', sans-serif;
  margin: 12px 0 14px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #fff0b8;
}
.arcade-controls { display: none; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.arcade-control {
  border: 1px solid rgba(61, 242, 255, 0.3);
  border-radius: 16px;
  min-height: 52px;
  background: rgba(8, 13, 25, 0.85);
  color: var(--text);
  font-family: 'Press Start 2P', monospace;
  font-size: 0.82rem;
  box-shadow: inset 0 0 12px rgba(61, 242, 255, 0.08);
}
.arcade-control:active { transform: translateY(1px) scale(0.99); }
@media (max-width: 980px) { .arcade-layout { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .arcade-topbar, .arcade-hud, .arcade-info-grid { grid-template-columns: 1fr; display: grid; }
  .arcade-topbar { align-items: stretch; }
  .arcade-controls { display: grid; }
  .arcade-start-btn { width: 100%; }
  .hud-block strong { font-size: 0.86rem; }
  #arcadeGame { height: clamp(300px, 70vw, 520px); max-height: none; }
}


.arcade-layout--single {
  grid-template-columns: 1fr;
}
.arcade-shell--xl {
  width: min(100%, 1400px);
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(14px, 2vw, 20px);
  border-radius: 34px;
  border: 1px solid rgba(121, 226, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(5, 10, 24, 0.96), rgba(2, 7, 18, 0.92)),
    radial-gradient(circle at top center, rgba(255, 96, 208, 0.09), transparent 34%),
    radial-gradient(circle at bottom center, rgba(61, 242, 255, 0.09), transparent 40%);
  box-shadow:
    0 0 0 2px rgba(61, 242, 255, 0.04) inset,
    0 0 32px rgba(61, 242, 255, 0.12),
    0 0 58px rgba(126, 77, 255, 0.12),
    inset 0 0 45px rgba(61, 242, 255, 0.05);
}
.arcade-shell--xl::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 26px;
  border: 1px solid rgba(255, 233, 124, 0.12);
  pointer-events: none;
}
.arcade-shell--xl .arcade-topbar {
  margin-bottom: 18px;
}
.arcade-shell--xl .arcade-marquee strong {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}
.arcade-shell--xl .arcade-panel-wrap {
  border-radius: 30px;
  border: 2px solid rgba(123, 217, 255, 0.26);
  box-shadow:
    inset 0 0 32px rgba(61, 242, 255, 0.10),
    inset 0 0 110px rgba(255, 91, 214, 0.05),
    0 0 24px rgba(61, 242, 255, 0.14),
    0 0 60px rgba(126, 77, 255, 0.12);
}
.arcade-shell--xl .arcade-panel-wrap::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
  z-index: 1;
}
.arcade-shell--xl #arcadeGame {
  aspect-ratio: 16 / 8.7;
  min-height: 620px;
}
@media (max-width: 980px) {
  .arcade-shell--xl #arcadeGame { min-height: auto; aspect-ratio: 16 / 10; }
}
@media (max-width: 720px) {
  .arcade-shell--xl { padding: 16px; border-radius: 24px; }
  .arcade-shell--xl::after { inset: 8px; border-radius: 18px; }
  .arcade-shell--xl .arcade-panel-wrap { border-radius: 22px; }
}
