* {
  box-sizing: border-box;
}

.splinternet-nav { position: fixed; top: 16px; left: 18px; right: 18px; z-index: 100; display: flex; justify-content: space-between; pointer-events: none; }
.splinternet-nav a { pointer-events: auto; display: inline-block; padding: 9px 14px; border: 1px solid #a78547; border-radius: 0; background: rgba(8, 8, 8, .92); color: #c2a060; font-family: Georgia, "Times New Roman", serif; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-decoration: none; box-shadow: 0 8px 20px rgba(167, 133, 71, .18); transition: background .18s ease, color .18s ease, border-color .18s ease; }
.splinternet-nav a:hover { background: #a78547; border-color: #c2a060; color: #080808; }

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background:
    radial-gradient(circle at top left, rgba(111, 143, 255, 0.22), transparent 30%),
    linear-gradient(135deg, #f7f3ea, #e9eef8);
  color: #182033;
}

button,
input {
  font: inherit;
}

.splinternet-interactive {
  width: min(1180px, 92vw);
  margin: 0 auto;
  padding: 56px 0;
}

.intro {
  max-width: 820px;
  margin-bottom: 28px;
}

.eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: #a78547;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(2.3rem, 6vw, 4.8rem);
  line-height: 0.95;
}

.intro p:last-child {
  font-size: 1.08rem;
  line-height: 1.6;
  color: #4a5368;
}

.interactive-shell {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.globe-card,
.browser-card {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(167, 133, 71, 0.34);
  border-radius: 0;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.globe-card {
  padding: 24px;
}

.globe-header h2 {
  margin: 0 0 6px;
}

.globe-header p {
  margin: 0 0 16px;
  color: #59637a;
}

.globe-container {
  width: 100%;
  height: 430px;
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(94, 178, 255, 0.18), transparent 28%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08), transparent 42%),
    linear-gradient(180deg, #070b18, #121a33 55%, #1d2a4a);
  cursor: grab;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 0 60px rgba(0, 0, 0, 0.35),
    0 20px 50px rgba(20, 34, 70, 0.22);
}

.globe-container:active {
  cursor: grabbing;
}

.region-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.region-choice {
  border: 1px solid rgba(36, 48, 74, 0.14);
  border-radius: 999px;
  padding: 8px 11px;
  background: white;
  color: #354057;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.region-choice:hover {
  background: #eef3ff;
  transform: translateY(-1px);
}

.region-choice.active {
  background: #0d0d0d;
  color: #c2a060;
  border-color: #a78547;
}

.map-caption {
  margin: 16px 0 0;
  color: #59637a;
  line-height: 1.5;
  font-size: 0.95rem;
}

.browser-card {
  overflow: hidden;
}

.browser-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: #17233b;
  color: white;
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
}

#regionLabel {
  margin: 0;
  font-weight: 700;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 22px;
  border-bottom: 1px solid rgba(36, 48, 74, 0.1);
}

.autocomplete-wrap {
  position: relative;
  min-width: 0;
}

.search-row input {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(36, 48, 74, 0.18);
  border-radius: 999px;
  padding: 13px 16px;
  background: #f8fafc;
  color: #182033;
}

.search-row input:focus {
  outline: 3px solid rgba(86, 132, 230, 0.22);
  border-color: #5d7fc8;
}

.go-button {
  border: none;
  border-radius: 999px;
  padding: 13px 20px;
  background: #17233b;
  color: white;
  cursor: pointer;
  font-weight: 800;
}

.autocomplete-list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 50;

  display: none;
  max-height: 260px;
  overflow-y: auto;

  background: white;
  border: 1px solid rgba(36, 48, 74, 0.16);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(40, 56, 92, 0.18);
}

.autocomplete-list.show {
  display: block;
}

.autocomplete-item {
  display: block;
  width: 100%;

  border: none;
  border-bottom: 1px solid rgba(36, 48, 74, 0.08);
  border-radius: 0;
  background: white;

  padding: 13px 16px;
  text-align: left;
  cursor: pointer;
  color: #182033;
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover {
  background: #eef3ff;
}

.autocomplete-title {
  display: block;
  font-weight: 800;
  font-size: 1rem;
  color: #182033;
}

.autocomplete-url {
  display: block;
  margin-top: 3px;
  font-size: 0.86rem;
  color: #6b7280;
}

.autocomplete-list::-webkit-scrollbar {
  width: 8px;
}

.autocomplete-list::-webkit-scrollbar-track {
  background: transparent;
}

.autocomplete-list::-webkit-scrollbar-thumb {
  background: rgba(36, 48, 74, 0.24);
  border-radius: 999px;
}

.preset-sites {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 16px 22px 22px;
}

.preset-sites button {
  border: 1px solid rgba(36, 48, 74, 0.14);
  border-radius: 999px;
  padding: 8px 11px;
  background: white;
  color: #354057;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.preset-sites button:hover {
  background: #eef3ff;
  transform: translateY(-1px);
}

.result-card {
  margin: 0 22px 22px;
  padding: 24px;
  border-radius: 24px;
  background: #f8fafc;
  border: 1px solid rgba(36, 48, 74, 0.1);
  min-height: 250px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
}

.available {
  background: #e7f7ee;
  color: #17613a;
}

.blocked {
  background: #fde8e8;
  color: #8a1f1f;
}

.restricted {
  background: #fff1d7;
  color: #7b4b00;
}

.different {
  background: #e8edff;
  color: #253e90;
}

.unknown {
  background: #eeeeee;
  color: #4d5565;
}

.result-card h2 {
  margin: 0 0 10px;
  font-size: 1.7rem;
}

.result-card p {
  color: #4a5368;
  line-height: 1.55;
}

.loaded-url {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92rem;
  color: #354057;
}

.alternatives {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 4px solid #17233b;
  background: white;
  border-radius: 14px;
}

.bottom-line {
  margin: 0;
  padding: 18px 22px 24px;
  font-weight: 800;
  color: #a78547;
  text-align: center;
}

@media (max-width: 900px) {
  .interactive-shell {
    grid-template-columns: 1fr;
  }

  .globe-container {
    height: 350px;
  }

  .browser-topbar {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .search-row {
    grid-template-columns: 1fr;
  }

  .search-row button {
    width: 100%;
  }
}