:root {
  --bg: #07090D;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --surface-solid: #10161D;
  --surface-card: #0c1117;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #F1F4F8;
  --muted: #8B96A5;
  --signal: #3EFFA3;
  --signal2: #22C9E8;
  --signal-soft: rgba(62, 255, 163, 0.12);
  --warn: #FFB020;
  --danger: #FF4D4D;
  --mono: 'JetBrains Mono', monospace;
  --display: 'Space Grotesk', -apple-system, sans-serif;
  --body: 'Inter', -apple-system, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media(max-width: 480px) {
  .wrap {
    padding: 0 16px;
  }
}

.glass {
  background: var(--surface);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line);
}

/* Ambient Background Mesh */
.mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 700px 450px at 15% -5%, rgba(62, 255, 163, 0.13), transparent 60%),
    radial-gradient(ellipse 650px 400px at 100% 15%, rgba(34, 201, 232, 0.10), transparent 60%),
    radial-gradient(ellipse 550px 350px at 50% 100%, rgba(62, 255, 163, 0.05), transparent 60%);
}

main {
  position: relative;
  z-index: 1;
}

/* NAV */
nav {
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: sticky;
  top: 10px;
  z-index: 40;
}

@media(max-width: 768px) {
  nav {
    padding: 8px 12px;
    top: 6px;
  }
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 10px 16px;
  border-radius: 14px;
}

@media(max-width: 768px) {
  .nav-bar {
    padding: 8px 12px;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.logo:hover {
  opacity: 0.9;
}

.logo-icon {
  width: 30px;
  height: 30px;
  display: block;
  flex-shrink: 0;
  border-radius: 8px;
}

.logo-accent {
  background: linear-gradient(135deg, #00F2FE 0%, #00F5A0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media(max-width: 480px) {
  .logo {
    font-size: 15px;
    gap: 8px;
  }
  .logo-icon {
    width: 26px;
    height: 26px;
  }
}

.nav-search {
  flex: 1;
  max-width: 380px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 9px;
  padding: 8px 12px;
  margin: 0 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.nav-search input {
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 13px;
  font-family: var(--body);
  width: 100%;
}

.nav-search input::placeholder {
  color: var(--muted);
}

.nav-search kbd {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 5px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}

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

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

@media(max-width: 640px) {
  .nav-search { display: none; }
  .nav-right a:not(.nav-cta) { display: none; }
}

.nav-cta {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
  color: #04140C !important;
  background: var(--signal);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

/* MOBILE SEARCH BAR (Visible below nav on small devices) */
.mobile-search-bar {
  display: none;
  padding: 0 20px 10px;
}

@media(max-width: 640px) {
  .mobile-search-bar {
    display: block;
  }
}

.mobile-search-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.mobile-search-inner input {
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 14px;
  width: 100%;
  font-family: var(--body);
}

/* HERO */
.hero {
  padding: 40px 20px 0;
  text-align: center;
}

@media(max-width: 640px) {
  .hero {
    padding: 24px 16px 0;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--signal);
  margin-bottom: 20px;
  padding: 7px 14px;
  border-radius: 100px;
  max-width: 100%;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.85); }
}

.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 6.2vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 860px;
  margin: 0 auto 16px;
}

.hero h1 b {
  font-weight: 700;
  background: linear-gradient(90deg, var(--signal), var(--signal2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  color: var(--muted);
  font-size: clamp(14px, 2.5vw, 16px);
  max-width: 540px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

@media(max-width: 540px) {
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    margin-bottom: 30px;
  }
}

.btn-primary {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13.5px;
  padding: 13px 24px;
  border-radius: 9px;
  background: linear-gradient(90deg, var(--signal), var(--signal2));
  color: #04140C;
  box-shadow: 0 8px 25px -6px rgba(62, 255, 163, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  min-height: 46px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13.5px;
  padding: 13px 24px;
  border-radius: 9px;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  border: 1px solid var(--line);
  min-height: 46px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.btn-secondary:active {
  transform: scale(0.98);
}

/* HERO SHOWCASE (Mobile Optimized) */
.showcase {
  max-width: 920px;
  margin: 0 auto;
  border-radius: 18px;
  padding: 4px;
  position: relative;
}

.showcase-inner {
  border-radius: 15px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

@media(max-width: 480px) {
  .showcase-inner {
    padding: 14px;
  }
}

.sc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

.sc-game {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.sc-tile {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  overflow: hidden;
}

.sc-tile svg,
.sc-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sc-game-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
}

.sc-game-sub {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

.sc-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--signal);
}

.sc-live .d {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  animation: pulse 1.4s ease-in-out infinite;
}

.region-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.region-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 80px 75px;
  align-items: center;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  transition: all 0.2s ease;
  text-align: left;
}

.region-row.best {
  border-color: var(--signal);
  background: var(--signal-soft);
}

.region-name {
  font-size: 13.5px;
  font-weight: 600;
}

.region-loc {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

.region-bar-track {
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.region-bar {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--signal), var(--signal2));
  transition: width 0.4s ease;
}

.region-jitter {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-align: right;
}

.region-ms {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 14px;
  text-align: right;
}

.region-ms.good { color: var(--signal); }
.region-ms.ok { color: var(--warn); }
.region-ms.bad { color: var(--danger); }

@media(max-width: 640px) {
  .region-row {
    grid-template-columns: 1.4fr 70px 65px;
    padding: 10px 12px;
  }
  .region-bar-track { display: none; }
}

@media(max-width: 400px) {
  .region-row {
    grid-template-columns: 1fr 65px;
    padding: 10px 12px;
  }
  .region-jitter { display: none; }
}

/* FEATURES */
.features {
  padding: 50px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1200px;
  margin: 0 auto;
}

@media(max-width: 860px) {
  .features { grid-template-columns: 1fr; padding: 30px 16px; }
}

.feature-card {
  border-radius: 14px;
  padding: 24px;
}

.feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--signal-soft);
  color: var(--signal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* GAMES DIRECTORY */
.games-section {
  padding: 10px 20px 80px;
}

@media(max-width: 480px) {
  .games-section { padding: 10px 16px 60px; }
}

.games-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.games-head h2 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
}

.games-count {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.filter-row {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.filter-chip {
  font-family: var(--mono);
  font-size: 12px;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--line);
  color: var(--muted);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 38px;
}

.filter-chip.active {
  border-color: var(--signal);
  color: var(--signal);
  background: var(--signal-soft);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media(max-width: 1024px) { .game-grid { grid-template-columns: repeat(3, 1fr); } }
@media(max-width: 720px) { .game-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width: 460px) { .game-grid { grid-template-columns: 1fr; } }

.game-card {
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.game-card:active {
  transform: scale(0.98);
}

@media(hover: hover) {
  .game-card:hover {
    border-color: var(--signal);
    transform: translateY(-3px);
  }
}

.g-top {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 12px;
}

.game-tile {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  border: 1px solid var(--line);
  flex-shrink: 0;
  overflow: hidden;
}

.game-tile svg,
.game-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.g-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
}

.g-genre {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 2px;
}

.g-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}

.g-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.g-target {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

.g-target b {
  color: var(--text);
}

.g-test-btn {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  color: #04140C;
  background: var(--signal);
  padding: 6px 12px;
  border-radius: 6px;
}

/* =======================================================
   DEDICATED GAME TEST PAGE (100% MOBILE RESPONSIVE ENGINE)
   ======================================================= */
.breadcrumbs {
  padding: 12px 0;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  white-space: nowrap;
}

.breadcrumbs a:hover {
  color: var(--signal);
}

.game-hero {
  padding: 10px 0 40px;
}

.game-hero-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.game-hero-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.game-hero-tile {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 19px;
  color: var(--signal);
  flex-shrink: 0;
  overflow: hidden;
}

.game-hero-tile svg,
.game-hero-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.game-banner-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  max-height: 220px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
}

.game-banner-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  filter: brightness(0.9);
}

.game-banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 18px;
  background: linear-gradient(0deg, rgba(7, 9, 13, 0.95) 0%, rgba(7, 9, 13, 0) 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.game-banner-badge {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--signal);
  letter-spacing: 0.05em;
  background: rgba(62, 255, 163, 0.1);
  border: 1px solid rgba(62, 255, 163, 0.25);
  padding: 4px 10px;
  border-radius: 6px;
}

.game-banner-servers {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

.game-hero-info h1 {
  font-family: var(--display);
  font-size: clamp(22px, 5vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.game-hero-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  font-size: 10.5px;
}

.badge-signal {
  background: var(--signal-soft);
  color: var(--signal);
  border-color: rgba(62, 255, 163, 0.3);
}

.test-controls-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

@media(max-width: 640px) {
  .test-controls-right {
    width: 100%;
  }
  .test-controls-right button {
    flex: 1;
    min-width: 140px;
  }
}

.test-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

/* =====================================================
   MOBILE ADAPTIVE SERVER PING TABLE -> CARD SYSTEM
   ===================================================== */
.ping-table-wrapper {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 30px;
}

.ping-table {
  width: 100%;
  border-collapse: collapse;
}

.ping-table th {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  text-align: left;
}

.ping-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}

.ping-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.ping-table tr.best-row td {
  background: var(--signal-soft);
  border-color: rgba(62, 255, 163, 0.3);
}

.verdict-pill {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.verdict-good { background: rgba(62, 255, 163, 0.15); color: var(--signal); }
.verdict-ok { background: rgba(255, 176, 32, 0.15); color: var(--warn); }
.verdict-bad { background: rgba(255, 77, 77, 0.15); color: var(--danger); }

/* MOBILE RESPONSIVE TRANSFORMATION FOR SMALL SCREENS */
@media(max-width: 768px) {
  .ping-table thead {
    display: none; /* Hide header on mobile */
  }

  .ping-table, .ping-table tbody, .ping-table tr, .ping-table td {
    display: block;
    width: 100%;
  }

  .ping-table tr.server-card-row {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-bottom: 10px;
    padding: 14px;
    box-sizing: border-box;
  }

  .ping-table tr.server-card-row.best-row {
    border-color: var(--signal);
    background: var(--signal-soft);
  }

  .ping-table td {
    border-bottom: none;
    padding: 0;
  }

  .ping-table td.cell-region {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
  }

  .ping-table td.cell-stats-mobile {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    background: rgba(0, 0, 0, 0.25);
    padding: 10px 12px;
    border-radius: 8px;
    margin-top: 8px;
    text-align: center;
  }

  .stat-block {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .stat-label {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--muted);
    text-transform: uppercase;
  }

  .stat-val {
    font-family: var(--mono);
    font-weight: 700;
    font-size: 14px;
    margin-top: 2px;
  }

  .game-banner-wrap {
    max-height: 140px;
    margin-bottom: 16px;
  }
  .game-banner-img {
    height: 140px;
  }
  .game-banner-overlay {
    padding: 8px 12px;
  }
  .game-banner-servers {
    display: none;
  }

  .hide-desktop { display: block !important; }
  .hide-mobile { display: none !important; }
}

@media(min-width: 769px) {
  .hide-desktop { display: none !important; }
}

/* AFFILIATE BOX */
.affiliate-box {
  border-radius: 14px;
  padding: 22px;
  margin: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(34, 201, 232, 0.08), rgba(62, 255, 163, 0.08));
  border: 1px solid rgba(62, 255, 163, 0.25);
}

@media(max-width: 640px) {
  .affiliate-box a {
    width: 100%;
    text-align: center;
  }
}

.affiliate-info h4 {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.affiliate-info p {
  font-size: 13px;
  color: var(--muted);
  max-width: 600px;
}

/* SEO CONTENT & FAQS */
.seo-content {
  padding: 20px 0;
}

.seo-content h2 {
  font-family: var(--display);
  font-size: clamp(20px, 4vw, 24px);
  font-weight: 700;
  margin: 28px 0 12px;
}

.seo-content p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 14px;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.faq-card {
  border-radius: 12px;
  padding: 16px 18px;
}

.faq-card h3 {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.faq-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* AD CONTAINER */
.ad-slot {
  margin: 24px auto;
  text-align: center;
  max-width: 970px;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.015);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
  padding: 10px;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--line);
  padding: 35px 20px 30px;
  margin-top: 50px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--signal);
}

.footer-copy {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  width: 100%;
}

/* FLOATING MINI HUD MONITOR */
.floating-hud {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 320px;
  max-width: calc(100vw - 32px);
  background: rgba(11, 15, 23, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 245, 160, 0.35);
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 245, 160, 0.2);
  z-index: 99999;
  overflow: hidden;
  animation: hudSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes hudSlideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hud-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.3);
}

.hud-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  color: #FFFFFF;
}

.hud-actions {
  display: flex;
  gap: 6px;
}

.hud-actions button {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: var(--muted);
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.2s ease;
}

.hud-actions button:hover {
  background: rgba(0, 245, 160, 0.2);
  color: #00F5A0;
  border-color: #00F5A0;
}

.hud-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 260px;
  overflow-y: auto;
}

.hud-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--mono);
  font-size: 12px;
}

.hud-row.best {
  border: 1px solid rgba(0, 245, 160, 0.3);
  background: rgba(0, 245, 160, 0.06);
}

.hud-footer {
  display: flex;
  justify-content: space-between;
  padding: 8px 14px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
}
