/* test comment */
:root {
  --bg: #05060b;
  --bg-alt: #070a12;
  --accent: #00f5a0;
  --accent-soft: rgba(0, 245, 160, 0.2);
  --accent2: #ff2fd4;
  --accent3: #ffd54a;
  --text-main: #f5f5f5;
  --text-muted: #a3b0c2;
  --danger: #ff4c4c;
  --border-pixel: #1d2535;
  --shadow-neon: 0 0 12px rgba(0, 245, 160, 0.75);
  --radius: 18px;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #101530 0, #020309 55%);
  color: var(--text-main);
  font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Layout shells */

.site {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.wrap {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: linear-gradient(to bottom, rgba(5, 6, 11, 0.9), rgba(5, 6, 11, 0.4));
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1.25rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: radial-gradient(circle at 30% 20%, #ffffff 0, #a3ff7f 14%, #00f5a0 35%, #00784d 100%);
  border-radius: 8px;
  box-shadow: 0 0 18px rgba(0, 245, 160, 0.75);
  position: relative;
  overflow: hidden;
}

/* Simple pixel invader placeholder in CSS in case image not added yet */
.logo-mark::before,
.logo-mark::after {
  content: "";
  position: absolute;
  background: #05060b;
}

.logo-mark::before {
  inset: 6px;
  border-radius: 5px;
}

.logo-mark::after {
  inset: 10px 12px;
  box-shadow:
    0 0 0 2px #39ff14,
    10px 0 0 2px #39ff14,
    -10px 0 0 2px #39ff14,
    0 10px 0 2px #39ff14,
    10px 10px 0 2px #39ff14,
    -10px 10px 0 2px #39ff14,
    0 -10px 0 2px #39ff14,
    10px -10px 0 2px #39ff14,
    -10px -10px 0 2px #39ff14;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.logo-title {
  font-family: "Press Start 2P", system-ui;
  font-size: 0.95rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-shadow:
    0 0 6px rgba(0, 245, 160, 0.8),
    0 0 12px rgba(0, 245, 160, 0.6);
}

.logo-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width 0.18s ease-out;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 18, 30, 0.85);
  color: var(--text-main);
  font-size: 0.78rem;
  padding: 0.55rem 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: background 0.15s ease-out, transform 0.08s ease-out, box-shadow 0.15s ease-out;
}

.btn-primary {
  border-color: transparent;
  background: radial-gradient(circle at top, #ffffff 0, #00f5a0 24%, #00b67f 60%, #00593a 100%);
  color: #020309;
  box-shadow: 0 0 18px rgba(0, 245, 160, 0.75);
}

.btn-outline {
  background: rgba(5, 6, 11, 0.85);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 10px rgba(0, 245, 160, 0.4);
}

.btn:active {
  transform: translateY(1px);
  box-shadow: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.4rem;
  cursor: pointer;
}

/* --- Streamlined header: desktop minimal, mobile full --- */
.nav-extra {
  display: none; /* hidden on desktop */
}

/* Make sure the single "Arcade" link sits nicely */
.nav-links .nav-main {
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
}

.nav-links .nav-main:hover {
  color: var(--text-main);
}

/* Hero */

.hero {
  padding: 3.5rem 0 3rem;
}

.hero.hero-arcade {
  padding-bottom: 1.2rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-kicker {
  font-family: "Press Start 2P", system-ui;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 0.9rem;
}

.hero-title {
  font-family: "Press Start 2P", system-ui;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 1rem;
  text-shadow:
    0 0 4px #ffffff,
    0 0 8px rgba(0, 245, 160, 0.75),
    0 0 16px rgba(255, 47, 212, 0.6);
}

.hero-tagline {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 32rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-meta-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(0, 245, 160, 0.85);
}

.hero-card {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: radial-gradient(circle at top, rgba(0, 245, 160, 0.08), rgba(4, 6, 14, 0.98));
  padding: 1.4rem 1.4rem 1rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.7);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    transparent 0,
    rgba(255, 255, 255, 0.06) 1px,
    transparent 2px
  );
  background-size: 100% 3px;
  opacity: 0.35;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-family: "Press Start 2P", system-ui;
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.hero-screen-badges {
  display: flex;
  gap: 0.35rem;
}

.screen-badge {
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 6, 11, 0.85);
}

.hero-screen {
  position: relative;
  border-radius: 12px;
  border: 2px solid #00f5a0;
  background: radial-gradient(circle at 50% 0, #19384f 0, #05060b 55%);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 0.85rem;
  box-shadow:
    0 0 8px rgba(0, 245, 160, 0.7),
    0 0 24px rgba(0, 245, 160, 0.4);
}

canvas#arcade-preview {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-card-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* Sections */

section {
  padding: 3rem 0;
}

section:nth-of-type(odd) {
  background: radial-gradient(circle at top, rgba(0, 245, 160, 0.04), rgba(2, 3, 8, 0.95));
}

.section-title {
  font-family: "Press Start 2P", system-ui;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
  text-align: center;
}

.section-title span {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  color: transparent;
}

.section-intro {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Mechanics */

.mechanics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(145deg, rgba(5, 6, 12, 0.95), rgba(15, 22, 38, 0.95));
  padding: 1.35rem 1.1rem 1.2rem;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(0, 245, 160, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.18s ease-out;
  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
}

.card-label {
  font-family: "Press Start 2P", system-ui;
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 0.6rem;
}

.card-title {
  font-size: 0.98rem;
  font-weight: 500;
  margin-bottom: 0.45rem;
}

.card-body {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Tokenomics */

.tokenomics-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: flex-start;
}

.tokenomics-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.88rem;
}

.tokenomics-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.tokenomics-list strong {
  font-weight: 500;
}

.tokenomics-tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.tokenomics-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.75rem;
  margin-top: 1.25rem;
}

.pill {
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 6, 11, 0.92);
  color: var(--text-muted);
}

.stat-card {
  text-align: center;
  padding: 1.1rem 1rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: radial-gradient(circle at top, rgba(255, 213, 74, 0.12), rgba(5, 6, 11, 0.96));
  box-shadow: 0 0 18px rgba(255, 213, 74, 0.4);
}

.stat-value {
  font-family: "Press Start 2P";
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.16em;
}

/* Roadmap */

.roadmap {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(160deg, rgba(8, 11, 24, 0.96), rgba(3, 7, 19, 0.96));
  padding: 1.75rem 1.4rem;
}

.roadmap-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 1px dashed rgba(255, 255, 255, 0.18);
}

.roadmap-item {
  padding-left: 1.4rem;
  padding-bottom: 1.3rem;
  position: relative;
}

.roadmap-item:last-child {
  padding-bottom: 0;
}

.roadmap-dot {
  position: absolute;
  left: -6px;
  top: 2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent3);
  box-shadow: 0 0 12px rgba(255, 213, 74, 0.9);
}

.roadmap-label {
  font-family: "Press Start 2P", system-ui;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent3);
  margin-bottom: 0.3rem;
}

.roadmap-title {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.roadmap-body {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.faq-item {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(155deg, rgba(5, 6, 14, 0.98), rgba(14, 18, 32, 0.98));
  padding: 1.1rem 1.1rem 1rem;
  font-size: 0.9rem;
}

.faq-q {
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.faq-a {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

/* Footer */

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #020308;
  padding: 1.4rem 0 1.8rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-socials a {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.footer-socials a:hover {
  color: var(--accent);
}

/* Footer social icons: pixel X for Twitter */
.footer-socials a::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 6px;
  background-size: cover;
  filter: drop-shadow(0 0 4px rgba(0, 245, 160, 0.7));
}

.footer-socials a[href*="x.com"]::before {
  background-image: url('data:image/svg+xml;utf8,<svg width="64" height="64" xmlns="http://www.w3.org/2000/svg"><path fill="%23A3FF7F" d="M50 8L34 28l20 28H42L30 38 18 56H6l20-28L6 8h12l12 16 12-16z"/></svg>');
}

/* Responsive */

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links.is-open {
    gap: 0.65rem;
  }

  /* Optional: hide the right-side CTA on small screens so the drawer is the action */
  .nav-cta {
    display: none;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    order: -1;
  }

  .mechanics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tokenomics-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

    /* Anchor the dropdown to the nav */
  .nav { position: relative; }

  /* Mobile drawer */
  .nav-links.is-open{
    display: flex;
    flex-direction: column;
    gap: 0.65rem;

    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;

    padding: 12px 14px;
    border-radius: 16px;

    background: rgba(5, 6, 11, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.10);

    z-index: 50;
  }

  /* Ensure the links in the drawer look like links */
  .nav-links.is-open a{
    color: var(--text-main);
    padding: 10px 8px;
    border-radius: 12px;
  }

  .nav-links.is-open a:hover{
    background: rgba(0,245,160,0.10);
    text-decoration: none;
  }
}

@media (max-width: 520px) {
  .nav {
    padding-inline: 0.25rem;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .hero-title {
    font-size: 1.35rem;
  }

  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .mechanics-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-title {
    font-size: 0.9rem;
  }
}

/* ----------------------------------------
   ARCADE LOBBY
-----------------------------------------*/

.hero-arcade {
  background: radial-gradient(circle at top, #101322 0, #05060b 50%, #020309 100%);
}

.hero-inner-arcade {
  justify-content: flex-start;
}

.arcade-section {
  padding: 1.6rem 0 3.5rem;
}

.arcade-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.6rem;
  margin-top: 0.8rem;
}

/* Cabinet cards */

.cabinet {
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border-pixel);
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.85);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cabinet-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.cabinet-link-disabled {
  cursor: default;
}

.cabinet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(90deg, #090c14, #111624);
}

.cabinet-title {
  font-family: "Press Start 2P", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.cabinet-status {
  font-size: 0.65rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.badge-live {
  background: rgba(0, 245, 160, 0.18);
  border-color: rgba(0, 245, 160, 0.7);
  color: #00f5a0;
}

.badge-soon {
  background: rgba(163, 176, 194, 0.1);
  border-color: rgba(163, 176, 194, 0.7);
  color: var(--text-muted);
}

.cabinet-screen {
  padding: 1rem;
  background: radial-gradient(circle at top, #1f2136 0, #090b14 60%, #04050a 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cabinet-screen-off {
  background: radial-gradient(circle at top, #0d0f16 0, #05060b 60%, #020309 100%);
}

.cabinet-pixels {
  position: relative;
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  aspect-ratio: 4 / 3;
  background: #05060b;
  border-radius: 10px;
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}

/* GIF screen for Space Invaders */
.cabinet-gif {
  display: block;
  width: 100%;
  max-width: 260px;       /* matches old .cabinet-pixels width */
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.9);
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  object-fit: cover;
}


/* Simple pixel-ish hints for Space Invaders */

.invader-row,
.invader-ship {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.invader-row {
  width: 70%;
  height: 6px;
  border-radius: 2px;
  background: repeating-linear-gradient(
    to right,
    #00f5a0,
    #00f5a0 6px,
    transparent 6px,
    transparent 10px
  );
}

.invader-row:nth-child(1) {
  top: 18%;
}

.invader-row:nth-child(2) {
  top: 30%;
}

.invader-ship {
  bottom: 14%;
  width: 14%;
  height: 10px;
  border-radius: 3px;
  background: #ffd54a;
  box-shadow: 0 0 12px rgba(255, 213, 74, 0.7);
}

.cabinet-placeholder {
  font-size: 0.75rem;
  text-align: center;
  padding: 1.8rem 0.5rem;
  color: var(--text-muted);
  font-style: italic;
}

.cabinet-body {
  padding: 1rem 1rem 0.6rem;
  font-size: 0.86rem;
  line-height: 1.5;
}

.cabinet-desc {
  margin-bottom: 0.6rem;
}

.cabinet-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cabinet-meta li + li {
  margin-top: 0.2rem;
}

.cabinet-footer {
  padding: 0.7rem 1rem 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.cabinet-live:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(0, 245, 160, 0.7);
  transition: transform 140ms ease-out, box-shadow 140ms ease-out;
}

.cabinet-soon {
  opacity: 0.7;
}

/* Arcade note under grid */

.arcade-note {
  margin-top: 2rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* Mobile tweaks */

@media (max-width: 720px) {
  .hero-inner-arcade {
    flex-direction: column;
  }

  .arcade-section {
    padding-top: 3rem;
  }
}

/* Header: keep desktop minimal */
.nav-extra { display: none; }

/* Mobile drawer shows full list */
@media (max-width: 860px) {
  .nav-extra { display: flex; flex-direction: column; gap: 0.65rem; }
}

.hero-link{
  font-family: "Press Start 2P", system-ui;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.2rem 0.1rem;
}

.hero-link:hover{
  color: var(--text-main);
  text-decoration: none;
}

.hero-cta-spacer {
  width: 2rem; /* desktop breathing room */
}

@media (max-width: 520px) {
  .hero-cta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .hero-cta-spacer {
    display: none;
  }
}

.hero-preview-gif {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
  display: block;
}

.hero-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    rgba(255,255,255,0.05) 1px,
    transparent 1px
  );
  background-size: 100% 3px;
  pointer-events: none;
  opacity: 0.35;
}

/* =====================================
   ARCADE SERVICE PANEL (EMAIL CONTACT)
   ===================================== */

.arcade-service-panel{
  margin: 28px auto 18px;
  max-width: 920px;        /* matches your content rhythm */
  padding: 12px 16px;

  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;

  background: linear-gradient(180deg,
    rgba(20,25,35,0.85),
    rgba(10,12,18,0.85)
  );

  box-shadow:
    0 0 0 1px rgba(0,0,0,0.5) inset,
    0 10px 30px rgba(0,0,0,0.45);

  text-align: center;
  font-family: 'Press Start 2P', monospace;
}

.arcade-service-panel .service-title{
  font-size: 10px;
  letter-spacing: 1px;
  opacity: 0.9;
  margin-bottom: 6px;
}

.arcade-service-panel .service-text{
  font-size: 8px;
  opacity: 0.65;
  margin-bottom: 8px;
}

.arcade-service-panel .service-email{
  display: inline-flex;
  align-items: center;
  gap: 8px;

  font-size: 10px;
  text-decoration: none;
  color: #7dd3fc;

  padding: 8px 12px;
  border-radius: 999px;

  border: 1px solid rgba(125,211,252,0.35);
  background: rgba(10,15,25,0.65);
}

.arcade-service-panel .service-email:hover{
  box-shadow: 0 0 16px rgba(125,211,252,0.25);
}

/* Make the whole panel behave like a button */
.arcade-service-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
  position: relative;
}

/* Subtle animated glow layer */
.arcade-service-link::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 16px;

  background:
    radial-gradient(
      120% 120% at 50% 0%,
      rgba(125,211,252,0.25),
      transparent 60%
    );

  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 0;
}

/* Lift + glow on hover */
.arcade-service-link:hover::before {
  opacity: 1;
}

.arcade-service-link:hover {
  box-shadow:
    0 0 0 1px rgba(125,211,252,0.4),
    0 0 32px rgba(125,211,252,0.25),
    0 12px 40px rgba(0,0,0,0.6);
}

/* Ensure text stays above glow */
.arcade-service-panel > * {
  position: relative;
  z-index: 1;
}

.arcade-service-link:hover .service-title {
  text-shadow: 0 0 8px rgba(255,204,102,0.6);
}

.arcade-service-link:hover .service-email {
  text-shadow: 0 0 10px rgba(125,211,252,0.6);
}

/* =====================================
   HERO: Chatroom preview tile
   ===================================== */

.hero-inner-arcade{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.chat-tile{
  display: block;
  text-decoration: none;
  border-radius: 18px;

  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(180deg, rgba(20,25,35,0.75), rgba(10,12,18,0.75));
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.55) inset,
    0 18px 50px rgba(0,0,0,0.55);

  padding: 14px;
  position: relative;
  overflow: hidden;
}

.chat-tile:hover{
  box-shadow:
    0 0 0 1px rgba(34,197,94,0.35),
    0 0 26px rgba(34,197,94,0.18),
    0 18px 60px rgba(0,0,0,0.6);
}

.chat-tile-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.chat-tile-title{
  font-family: 'Press Start 2P', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  opacity: 0.95;
}

.chat-tile-badge{
  font-family: 'Press Start 2P', monospace;
  font-size: 9px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(34,197,94,0.4);
  color: rgba(34,197,94,0.95);
  background: rgba(0,0,0,0.35);
}

.chat-tile-screen{
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.35);
}

.chat-tile-img{
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1.02);
  filter: contrast(1.05) saturate(1.05);
}

.chat-tile-overlay{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;

  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  letter-spacing: 1px;

  background: radial-gradient(60% 60% at 50% 50%, rgba(0,0,0,0.35), rgba(0,0,0,0.75));
  color: rgba(255,255,255,0.92);

  opacity: 0;
  transition: opacity 0.18s ease;
}

.chat-tile:hover .chat-tile-overlay{
  opacity: 1;
}

.chat-tile-footer{
  margin-top: 10px;
  opacity: 0.75;
}

.chat-tile-cta{
  font-family: 'Press Start 2P', monospace;
  font-size: 9px;
}

/* Mobile: stack */
@media (max-width: 900px){
  .hero-inner-arcade{
    grid-template-columns: 1fr;
  }
}

/* =====================================
   MINI TERMINAL CHAT TILE (Hero)
   ===================================== */

.hero-inner-arcade{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

/* clickable tile */
.chat-terminal{
  display: block;
  text-decoration: none;
  border-radius: 18px;
  padding: 14px;

  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(180deg, rgba(20,25,35,0.78), rgba(10,12,18,0.78));
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.55) inset,
    0 18px 50px rgba(0,0,0,0.55);
  overflow: hidden;
  position: relative;
}

.chat-terminal:hover{
  box-shadow:
    0 0 0 1px rgba(34,197,94,0.35),
    0 0 26px rgba(34,197,94,0.18),
    0 18px 60px rgba(0,0,0,0.6);
}

/* header */
.chat-terminal-head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.chat-terminal-title{
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  opacity: 0.95;
  color: rgba(255,255,255,0.92);
}

.chat-terminal-badges{
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-badge{
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
}

.chat-badge-live{
  border-color: rgba(34,197,94,0.40);
  color: rgba(34,197,94,0.95);
}

.chat-badge-pill{
  opacity: 0.9;
}

/* terminal screen */
.chat-terminal-screen{
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.35);
  padding: 12px 12px 10px;
  position: relative;
  overflow: hidden;
  min-height: 160px;
}

/* subtle scanlines */
.chat-terminal-screen::before{
  content:"";
  position:absolute;
  inset:0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.035),
    rgba(255,255,255,0.035) 1px,
    rgba(0,0,0,0) 3px,
    rgba(0,0,0,0) 6px
  );
  opacity: 0.35;
  pointer-events:none;
}

/* lines */
.chat-line{
  font-family: 'Press Start 2P', monospace;
  font-size: 9px;
  line-height: 1.35;
  margin-bottom: 6px;
  color: rgba(255,255,255,0.88);
  position: relative;
  z-index: 1;
}

.chat-ts{
  color: rgba(255,255,255,0.45);
  display: inline-block;
  width: 54px;
}

.chat-user{
  display:inline-block;
  width: 110px;
  letter-spacing: 0.5px;
}

.chat-msg{
  color: rgba(255,255,255,0.85);
}

/* username colours */
.chat-user.u1{ color: #fbbf24; } /* amber */
.chat-user.u2{ color: #a7f3d0; } /* mint */
.chat-user.u3{ color: #93c5fd; } /* blue */
.chat-user.u4{ color: #f472b6; } /* pink */
.chat-user.sys{ color: #c084fc; } /* purple */

/* prompt + cursor */
.chat-prompt{
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: 'Press Start 2P', monospace;
  font-size: 9px;
  color: rgba(34,197,94,0.95);
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.prompt-label{ opacity: 0.9; }
.prompt-text{ opacity: 0.9; }

.cursor{
  width: 10px;
  height: 14px;
  background: rgba(34,197,94,0.9);
  display: inline-block;
  border-radius: 2px;
  animation: blink 1s steps(2, jump-none) infinite;
  box-shadow: 0 0 10px rgba(34,197,94,0.35);
}

@keyframes blink{
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* footer */
.chat-terminal-foot{
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  opacity: 0.75;
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  color: rgba(255,255,255,0.75);
}

/* mobile stacking */
@media (max-width: 900px){
  .hero-inner-arcade{
    grid-template-columns: 1fr;
  }
}
