:root {
  --bg: #03030d;
  --ink: #ffffff;
  --muted: #c9c8ee;
  --cyan: #25e7ff;
  --pink: #ff43d1;
  --violet: #8f5bff;
  --gold: #ffe66d;
  --green: #65ffa8;
  --panel: rgba(9, 12, 34, .78);
  --line: rgba(126, 239, 255, .24);
  --shadow: 0 28px 90px rgba(0, 0, 0, .42);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
  box-shadow: 0 0 0 7px rgba(255, 230, 109, .18);
}
.traffic-wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.traffic-skip {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 80;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 8px;
  color: #06101f;
  background: var(--gold);
  font-weight: 1000;
}
.traffic-skip:focus { transform: translateY(0); }
.traffic-world {
  position: fixed;
  inset: 0;
  z-index: -10;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.028) 50%, rgba(0,0,0,.02) 50%) 0 0 / 100% 4px,
    linear-gradient(135deg, #03030d 0%, #170526 34%, #031b2b 69%, #07110e 100%);
}
.traffic-world::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    url("social/neon-arcade-games.jpg") center/cover no-repeat,
    radial-gradient(circle at 20% 25%, rgba(37,231,255,.32), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(255,67,209,.28), transparent 28%),
    radial-gradient(circle at 54% 88%, rgba(101,255,168,.18), transparent 38%);
  opacity: .28;
  filter: saturate(1.2) contrast(1.05);
}
.traffic-world::after {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -12%;
  height: 45%;
  transform: perspective(720px) rotateX(63deg);
  transform-origin: bottom;
  background:
    linear-gradient(rgba(37,231,255,.22) 2px, transparent 2px) 0 0/100% 46px,
    linear-gradient(90deg, rgba(255,67,209,.2) 2px, transparent 2px) 0 0/76px 100%;
  opacity: .62;
  animation: trafficGrid 7s linear infinite;
}
.traffic-lane {
  position: absolute;
  top: -20%;
  height: 140%;
  width: 2px;
  background: linear-gradient(transparent, rgba(37,231,255,.76), transparent);
  box-shadow: 0 0 38px rgba(37,231,255,.55);
  opacity: .28;
}
.traffic-lane.one { left: 18%; transform: rotate(58deg); }
.traffic-lane.two { right: 22%; transform: rotate(-54deg); background: linear-gradient(transparent, rgba(255,67,209,.76), transparent); }
.traffic-cabinet {
  position: absolute;
  bottom: 7%;
  width: 70px;
  height: 116px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.035));
  box-shadow: 0 0 32px rgba(37,231,255,.18), inset 0 0 26px rgba(255,255,255,.06);
  opacity: .48;
}
.traffic-cabinet::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 14px;
  height: 44px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
}
.traffic-cabinet.c1 { left: 8%; }
.traffic-cabinet.c2 { left: 50%; transform: translateX(-50%); bottom: 10%; }
.traffic-cabinet.c3 { right: 9%; }
@keyframes trafficGrid { to { background-position: 0 46px, 76px 0; } }
.traffic-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(4, 5, 18, .84);
  backdrop-filter: blur(18px);
}
.traffic-nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.traffic-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 1000;
}
.traffic-brand span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #06101f;
  background: linear-gradient(135deg, var(--cyan), #fff, var(--pink));
  box-shadow: 0 0 30px rgba(37,231,255,.34);
}
.traffic-nav nav,
.traffic-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  color: rgba(255,255,255,.84);
  font-weight: 900;
}
.traffic-nav nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.traffic-nav nav a:hover,
.traffic-nav nav a.is-active {
  color: var(--cyan);
  border-color: currentColor;
}
.traffic-hero {
  position: relative;
  min-height: min(760px, calc(100vh - 76px));
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.traffic-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3,3,13,.92) 0%, rgba(3,3,13,.75) 42%, rgba(3,3,13,.24) 100%),
    radial-gradient(circle at 72% 42%, rgba(37,231,255,.32), transparent 24%),
    radial-gradient(circle at 86% 26%, rgba(255,67,209,.24), transparent 26%);
}
.traffic-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 72px 0 86px;
}
.traffic-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.traffic-hero h1 {
  max-width: 920px;
  font-size: clamp(48px, 8vw, 94px);
  line-height: .92;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 0 34px rgba(37,231,255,.22);
}
.traffic-hero-copy > p:not(.traffic-kicker) {
  max-width: 720px;
  margin-top: 18px;
  color: rgba(255,255,255,.82);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 780;
}
.traffic-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.traffic-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: #06101f;
  background: linear-gradient(100deg, var(--cyan), #fff, var(--pink));
  box-shadow: 0 18px 42px rgba(37,231,255,.18);
  font-weight: 1000;
}
.traffic-button.secondary {
  color: #fff;
  background: rgba(255,255,255,.06);
}
.traffic-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.traffic-facts span {
  min-width: 116px;
  min-height: 64px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.065);
  color: var(--muted);
  font-weight: 880;
}
.traffic-facts b {
  display: block;
  color: var(--cyan);
  font-size: 24px;
  line-height: 1;
}
.traffic-hero-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.traffic-screen {
  position: absolute;
  right: min(8vw, 120px);
  top: 18%;
  width: min(440px, 38vw);
  aspect-ratio: 1.1;
  border: 2px solid rgba(37,231,255,.24);
  border-radius: 18px;
  background:
    linear-gradient(rgba(255,255,255,.07) 2px, transparent 2px) 0 0/100% 34px,
    linear-gradient(90deg, rgba(255,67,209,.12) 2px, transparent 2px) 0 0/48px 100%,
    rgba(5,8,24,.54);
  box-shadow: 0 0 90px rgba(37,231,255,.24), inset 0 0 56px rgba(255,255,255,.06);
  transform: perspective(900px) rotateY(-13deg) rotateX(4deg);
}
.traffic-player,
.traffic-target,
.traffic-scan {
  position: absolute;
  right: min(18vw, 280px);
  top: 42%;
  border-radius: 50%;
}
.traffic-player {
  width: 68px;
  height: 68px;
  background: radial-gradient(circle, #fff, var(--cyan) 42%, transparent 68%);
  box-shadow: 0 0 44px rgba(37,231,255,.72);
}
.traffic-target {
  right: min(10vw, 150px);
  top: 30%;
  width: 86px;
  height: 86px;
  border: 3px solid rgba(255,230,109,.78);
  box-shadow: 0 0 38px rgba(255,230,109,.32);
}
.traffic-scan {
  right: min(24vw, 350px);
  top: 57%;
  width: 170px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--pink), #fff, var(--cyan), transparent);
  box-shadow: 0 0 30px rgba(255,67,209,.36);
}
.traffic-category-strip,
.traffic-games-section,
.traffic-guide,
.traffic-related,
.traffic-faq,
.traffic-directory-tools {
  padding: 54px 0;
  content-visibility: auto;
  contain-intrinsic-size: 760px;
}
.traffic-category-strip h2,
.traffic-section-head h2,
.traffic-guide h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: .98;
  letter-spacing: 0;
}
.traffic-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 22px;
}
.traffic-section-head p,
.traffic-guide p {
  max-width: 660px;
  color: var(--muted);
  font-weight: 780;
}
.traffic-category-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}
.traffic-category-grid a,
.traffic-related-grid a,
.traffic-faq article,
.traffic-guide-list article,
.traffic-tool-grid,
.traffic-game-card {
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 8px;
  background:
    radial-gradient(circle at 16% 10%, rgba(37,231,255,.13), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(255,67,209,.11), transparent 30%),
    rgba(9, 12, 34, .72);
  box-shadow: var(--shadow);
}
.traffic-category-grid a {
  min-height: 96px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 14px;
}
.traffic-category-grid a:hover,
.traffic-category-grid a.is-active {
  border-color: rgba(255,230,109,.52);
  background: rgba(255,230,109,.08);
}
.traffic-category-grid span,
.traffic-related-grid span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.traffic-category-grid strong {
  font-size: 14px;
  line-height: 1.15;
}
.traffic-tool-grid {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) 1.4fr auto;
  gap: 14px;
  align-items: end;
  padding: 16px;
}
.traffic-tool-grid label span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}
.traffic-tool-grid input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(37,231,255,.22);
  border-radius: 8px;
  color: #fff;
  background: rgba(255,255,255,.06);
  padding: 0 14px;
}
.traffic-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.traffic-filter-buttons button {
  min-height: 42px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.06);
  padding: 0 13px;
  cursor: pointer;
  font-weight: 950;
}
.traffic-filter-buttons button.is-active {
  color: #06101f;
  background: linear-gradient(100deg, var(--cyan), #fff, var(--pink));
}
[data-traffic-count] {
  color: var(--muted);
  font-weight: 900;
}
.traffic-games-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.traffic-game-card {
  --game-a: var(--cyan);
  --game-b: var(--pink);
  overflow: hidden;
  animation: cardLift .55s ease both;
  animation-delay: var(--delay);
}
@keyframes cardLift {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.traffic-game-card.is-hidden {
  display: none;
}
.traffic-game-art {
  position: relative;
  min-height: 182px;
  display: block;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(3,3,13,.16), rgba(3,3,13,.76)),
    radial-gradient(circle at 32% 34%, var(--game-a), transparent 18%),
    radial-gradient(circle at 74% 32%, var(--game-b), transparent 24%),
    var(--game-image) center / cover no-repeat,
    linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.035));
}
.traffic-game-art::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  opacity: .55;
  background:
    linear-gradient(rgba(255,255,255,.11) 2px, transparent 2px) 0 0/100% 28px,
    linear-gradient(90deg, rgba(255,255,255,.08) 2px, transparent 2px) 0 0/36px 100%;
}
.traffic-game-art i,
.traffic-game-art b,
.traffic-game-art em {
  position: absolute;
  display: block;
}
.traffic-game-art i {
  left: 34px;
  bottom: 34px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff, var(--game-a) 44%, transparent 68%);
  box-shadow: 0 0 36px color-mix(in srgb, var(--game-a), transparent 35%);
}
.traffic-game-art b {
  right: 38px;
  top: 42px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  box-shadow: 0 0 28px rgba(255,230,109,.34);
}
.traffic-game-art em {
  left: 38%;
  top: 48%;
  width: 112px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--game-a), #fff, var(--game-b));
  box-shadow: 0 0 22px rgba(255,255,255,.24);
  transform: rotate(-16deg);
}
.traffic-game-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  padding: 6px 9px;
  border-radius: 999px;
  color: #06101f;
  background: linear-gradient(90deg, var(--gold), #fff);
  font-size: 11px;
  font-weight: 1000;
  text-transform: uppercase;
}
.traffic-game-copy {
  display: grid;
  gap: 10px;
  padding: 18px;
}
.traffic-game-meta,
.traffic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.traffic-game-meta span,
.traffic-tags span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.055);
  padding: 0 9px;
  font-size: 12px;
  font-weight: 900;
}
.traffic-game-copy h2 {
  font-size: clamp(22px, 2.5vw, 31px);
  line-height: 1;
}
.traffic-game-copy p {
  color: rgba(255,255,255,.78);
  font-weight: 760;
}
.traffic-game-copy small {
  color: var(--green);
  font-weight: 880;
}
.traffic-guide {
  background: rgba(255,255,255,.025);
  border-block: 1px solid rgba(255,255,255,.08);
}
.traffic-guide-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 22px;
  align-items: center;
}
.traffic-guide-list {
  display: grid;
  gap: 10px;
}
.traffic-guide-list article {
  min-height: 74px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
}
.traffic-guide-list span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--gold), var(--pink));
}
.traffic-related-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.traffic-related-grid a {
  min-height: 154px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px;
}
.traffic-related-grid small {
  color: var(--muted);
  font-weight: 760;
  line-height: 1.35;
}
.traffic-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.traffic-faq article {
  padding: 18px;
}
.traffic-faq h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.15;
}
.traffic-faq p {
  color: var(--muted);
  font-weight: 760;
}
.traffic-footer {
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.26);
  padding: 24px 0;
}
.traffic-footer .traffic-wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.traffic-footer p {
  color: var(--muted);
  font-weight: 780;
}
@media (max-width: 1060px) {
  .traffic-category-grid,
  .traffic-games-grid,
  .traffic-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .traffic-tool-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .traffic-wrap { width: min(100% - 28px, 1180px); }
  .traffic-nav {
    min-height: auto;
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
  }
  .traffic-nav nav {
    width: 100%;
    gap: 8px;
  }
  .traffic-nav nav a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 999px;
    padding: 0 10px;
  }
  .traffic-hero {
    min-height: 640px;
  }
  .traffic-hero-copy {
    padding: 56px 0 70px;
  }
  .traffic-hero h1 {
    font-size: clamp(42px, 15vw, 68px);
  }
  .traffic-screen {
    right: -44px;
    top: auto;
    bottom: 28px;
    width: 280px;
    opacity: .55;
  }
  .traffic-player,
  .traffic-target,
  .traffic-scan {
    display: none;
  }
  .traffic-category-grid,
  .traffic-games-grid,
  .traffic-related-grid,
  .traffic-faq-grid,
  .traffic-guide-grid {
    grid-template-columns: 1fr;
  }
  .traffic-section-head,
  .traffic-footer .traffic-wrap {
    display: block;
  }
  .traffic-footer nav {
    margin-top: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}
