
    :root {
      --bg-1: #081120;
      --bg-2: #0e1b31;
      --card: rgba(255,255,255,0.08);
      --card-border: rgba(255,255,255,0.14);
      --text: #eef4ff;
      --muted: #aab8d2;
      --accent: #66b3ff;
      --accent-2: #8ef2ff;
      --success: #67f89b;
      --shadow: 0 20px 60px rgba(0,0,0,0.35);
      --radius: 24px;
    }

    * { box-sizing: border-box; }

    html { scroll-behavior: smooth; }

    body {
      margin: 0;
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
      color: var(--text);
      background:
        radial-gradient(circle at top left, rgba(102,179,255,0.18), transparent 28%),
        radial-gradient(circle at top right, rgba(142,242,255,0.12), transparent 24%),
        linear-gradient(160deg, var(--bg-1), var(--bg-2));
      min-height: 100vh;
      overflow-x: hidden;
      transition: background 0.3s ease, color 0.3s ease;
    }

    .glow {
      position: fixed;
      inset: auto;
      width: 380px;
      height: 380px;
      border-radius: 50%;
      filter: blur(90px);
      opacity: 0.18;
      pointer-events: none;
      z-index: 0;
    }

    .glow.one { top: -100px; left: -80px; background: #3ea0ff; }
    .glow.two { bottom: -120px; right: -60px; background: #6ef1ff; }

    .page {
      position: relative;
      z-index: 1;
      width: min(1180px, calc(100% - 32px));
      margin: 0 auto;
      padding: 22px 0 50px;
    }

    .topbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 14px 16px;
      margin-bottom: 22px;
      border-radius: 18px;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.12);
      box-shadow: var(--shadow);
      backdrop-filter: blur(16px);
      position: sticky;
      top: 14px;
      z-index: 1000;
      transition: padding 0.25s ease, border-radius 0.25s ease, background 0.25s ease;
    }

    .topbar-title {
      font-size: 16px;
      font-weight: 800;
      letter-spacing: -0.03em;
      line-height: 1.3;
      transition: font-size 0.25s ease, opacity 0.25s ease, line-height 0.25s ease;
    }

    .topbar-actions {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      justify-content: flex-end;
    }

    .hero {
      text-align: center;
      padding: 20px 12px 24px;
    }

    .badge {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      padding: 10px 16px;
      border-radius: 999px;
      background: rgba(255,255,255,0.07);
      border: 1px solid rgba(255,255,255,0.12);
      color: var(--accent-2);
      font-size: 14px;
      font-weight: 600;
      letter-spacing: 0.02em;
      backdrop-filter: blur(10px);
    }

    .gps-indicator {
      position: relative;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: var(--success);
      box-shadow: 0 0 0 0 rgba(103,248,155,0.55);
      flex: 0 0 auto;
      animation: gpsPulse 1.8s infinite;
    }

    .gps-indicator::before,
    .gps-indicator::after {
      content: "";
      position: absolute;
      inset: -6px;
      border-radius: 50%;
      border: 1px solid rgba(103,248,155,0.4);
      animation: gpsRing 1.8s infinite;
    }

    .gps-indicator::after {
      animation-delay: 0.6s;
    }

    @keyframes gpsPulse {
      0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(103,248,155,0.45); }
      70% { transform: scale(1.08); box-shadow: 0 0 0 10px rgba(103,248,155,0); }
      100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(103,248,155,0); }
    }

    @keyframes gpsRing {
      0% { transform: scale(0.6); opacity: 0.8; }
      100% { transform: scale(1.7); opacity: 0; }
    }

    h1 {
      margin: 18px auto 12px;
      font-size: clamp(34px, 6vw, 62px);
      line-height: 1.02;
      letter-spacing: -0.04em;
      max-width: 900px;
    }

    .hero p {
      margin: 0 auto;
      max-width: 760px;
      color: var(--muted);
      font-size: clamp(16px, 2vw, 19px);
      line-height: 1.7;
    }

    .layout {
      display: grid;
      grid-template-columns: 1.05fr 1.25fr;
      gap: 24px;
      margin-top: 26px;
      align-items: stretch;
    }

    .card {
      background: var(--card);
      border: 1px solid var(--card-border);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      backdrop-filter: blur(18px);
    }

    .panel {
      padding: 26px;
    }

    .section-title {
      margin: 0 0 18px;
      font-size: 19px;
      font-weight: 700;
      letter-spacing: -0.02em;
    }

    .status {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 14px 16px;
      border-radius: 16px;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.08);
      color: var(--muted);
      font-size: 14px;
      margin-bottom: 18px;
    }

    .dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: var(--accent-2);
      box-shadow: 0 0 16px rgba(142,242,255,0.75);
      flex: 0 0 auto;
    }

    .grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
    }

    .info-box {
      padding: 16px;
      border-radius: 18px;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.08);
      min-height: 100px;
    }

    .label {
      color: var(--muted);
      font-size: 13px;
      margin-bottom: 8px;
    }

    .value {
      font-size: 18px;
      line-height: 1.4;
      font-weight: 700;
      word-break: break-word;
    }

    .value.small {
      font-size: 15px;
      font-weight: 600;
      color: inherit;
      opacity: 0.95;
    }

    .footnote {
      margin-top: 18px;
      padding: 16px;
      border-radius: 18px;
      background: rgba(102,179,255,0.08);
      border: 1px solid rgba(102,179,255,0.16);
      color: inherit;
      line-height: 1.65;
      font-size: 14px;
    }

    .map-wrap {
      overflow: hidden;
      position: relative;
      min-height: 620px;
    }

    #map {
      width: 100%;
      height: 100%;
      min-height: 620px;
      border-radius: var(--radius);
      display: grid;
      place-items: center;
      color: var(--muted);
      font-weight: 700;
      background: linear-gradient(135deg, rgba(102,179,255,0.10), rgba(142,242,255,0.06));
    }

    .map-overlay {
      position: absolute;
      left: 18px;
      right: 18px;
      bottom: 18px;
      display: flex;
      justify-content: space-between;
      gap: 12px;
      padding: 14px 16px;
      border-radius: 18px;
      background: rgba(7, 15, 28, 0.75);
      border: 1px solid rgba(255,255,255,0.1);
      backdrop-filter: blur(12px);
      z-index: 500;
      flex-wrap: wrap;
    }

    .overlay-item {
      min-width: 140px;
      flex: 1 1 140px;
    }

    .overlay-label {
      color: #a7b9d8;
      font-size: 12px;
      margin-bottom: 4px;
    }

    .overlay-value {
      font-weight: 700;
      font-size: 15px;
      word-break: break-word;
    }

    .cta-row {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      margin-top: 20px;
    }

    .btn {
      appearance: none;
      border: 0;
      cursor: pointer;
      padding: 13px 18px;
      border-radius: 14px;
      font-weight: 700;
      font-size: 14px;
      transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
      white-space: nowrap;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .btn:hover { transform: translateY(-1px); }
    .btn:active { transform: translateY(0); }
    .btn:disabled { opacity: 0.6; cursor: default; transform: none; }

    .btn-primary {
      background: linear-gradient(135deg, var(--accent), var(--accent-2));
      color: #04111f;
    }

    .btn-secondary {
      background: rgba(255,255,255,0.07);
      border: 1px solid rgba(255,255,255,0.12);
      color: var(--text);
    }

    .error {
      margin-top: 14px;
      color: #ffc7c7;
      font-size: 14px;
      line-height: 1.6;
      display: none;
    }

    @media (max-width: 980px) {
      .layout {
        grid-template-columns: 1fr;
      }

      .map-wrap,
      #map {
        min-height: 480px;
      }
    }

    @media (max-width: 768px) {
      .page {
        width: min(100% - 20px, 1180px);
        padding-top: 12px;
      }

      .topbar {
        flex-direction: column;
        align-items: stretch;
        top: 8px;
        gap: 10px;
        padding: 12px;
      }

      .topbar-title {
        text-align: center;
        font-size: 15px;
      }

      .topbar-actions {
        justify-content: center;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
      }

      .topbar.is-compact {
        padding: 8px;
        gap: 6px;
        border-radius: 14px;
        background: rgba(8,17,32,0.88);
      }

      .topbar.is-compact .topbar-title {
        font-size: 12px;
        line-height: 1.2;
        opacity: 0.9;
      }

      .topbar.is-compact .topbar-actions .btn {
        padding: 8px 7px;
        min-height: 34px;
        font-size: 12px;
        border-radius: 11px;
      }

      .panel {
        padding: 20px;
      }

      .hero {
        padding-top: 10px;
      }

      .grid {
        grid-template-columns: 1fr;
      }

      .cta-row {
        flex-direction: column;
      }

      .cta-row .btn,
      .topbar-actions .btn {
        width: 100%;
      }

      .topbar-actions .btn {
        padding: 10px 8px;
        font-size: 12px;
        min-height: 40px;
      }

      .topbar-actions .btn {
        padding: 10px 8px;
        font-size: 12px;
        min-height: 40px;
      }

      .map-overlay {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 12px;
      }
    }

    @media (max-width: 640px) {
      h1 {
        font-size: 34px;
      }

      .hero p {
        font-size: 15px;
      }

      .badge {
        max-width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        text-align: center;
      }

      .map-wrap,
      #map {
        min-height: 360px;
      }

      .overlay-item {
        min-width: 100%;
      }
    }
  

    .privacy-section {
      margin-top: 24px;
    }

    .privacy-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
      margin-top: 14px;
    }

    .privacy-card {
      padding: 18px;
      border-radius: 18px;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.08);
      min-height: 172px;
    }

    .privacy-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 12px;
    }

    .privacy-title {
      font-size: 15px;
      font-weight: 800;
      letter-spacing: -0.02em;
    }

    .status-pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 6px 10px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 800;
      line-height: 1;
      background: rgba(142,242,255,0.12);
      color: var(--accent-2);
      border: 1px solid rgba(142,242,255,0.16);
      white-space: nowrap;
    }

    .status-pill.safe { background: rgba(103,248,155,0.12); color: var(--success); border-color: rgba(103,248,155,0.22); }
    .status-pill.warning { background: rgba(255,190,92,0.14); color: #ffd18a; border-color: rgba(255,190,92,0.25); }
    .status-pill.danger { background: rgba(255,111,111,0.14); color: #ffb2b2; border-color: rgba(255,111,111,0.25); }

    .privacy-text { color: var(--muted); font-size: 13px; line-height: 1.65; margin: 0; }
    .privacy-list { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
    .privacy-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(255,255,255,0.08); font-size: 13px; color: var(--muted); }
    .privacy-list strong { color: var(--text); text-align: right; word-break: break-word; }
    .privacy-note { margin-top: 14px; color: var(--muted); font-size: 12px; line-height: 1.6; }
    @media (max-width: 980px) { .privacy-grid { grid-template-columns: 1fr; } }

/* CTA highlights */
.btn.copy-ip-cta,
#copyBtn.copy-ip-cta,
#copyBtnTop.copy-ip-cta {
  background: linear-gradient(135deg, #00e0a4, #00c6ff);
  color: #04111f;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(0, 198, 255, 0.22);
}

.btn.copy-ip-cta:hover,
#copyBtn.copy-ip-cta:hover,
#copyBtnTop.copy-ip-cta:hover {
  box-shadow: 0 10px 28px rgba(0, 224, 164, 0.28);
}

.btn.home-active,
.nav .btn.home-active {
  background: linear-gradient(135deg, #00d4ff, #5b8cff);
  color: #04111f;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.24);
}

/* Four-link navigation refinement */
@media (min-width: 769px) {
  .topbar-actions { align-items: center; }
  .topbar-actions .btn { white-space: nowrap; }
}
@media (max-width: 380px) {
  .topbar-actions { grid-template-columns: 1fr; }
}
