:root {
  --bg: #0b1020;
  --bg2: #121933;
  --card: rgba(18, 25, 51, 0.82);
  --stroke: rgba(255, 255, 255, 0.10);
  --text: #f3f7ff;
  --muted: #b7c2dd;
  --accent: #7c5cff;
  --accent2: #00d4ff;
  --success: #7dff9b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(124, 92, 255, 0.22), transparent 32%),
    radial-gradient(circle at bottom right, rgba(0, 212, 255, 0.16), transparent 28%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  overflow-x: hidden;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 72px;
  position: relative;
  z-index: 2;
}

.hero-card, .panel, .proxy-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-card { padding: 32px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  color: #dfe7ff;
  background: rgba(255,255,255,0.04);
  font-weight: 700;
}

h1 {
  margin: 18px 0 14px;
  font-size: clamp(38px, 8vw, 74px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

h1 span { color: #b7c8ff; }
.subtitle {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 16px;
  padding: 16px 22px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, opacity .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: white; background: linear-gradient(135deg, var(--accent), var(--accent2)); }
.btn-secondary {
  color: white;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}
.btn-ghost {
  color: #ffe8ef;
  background: linear-gradient(135deg, rgba(224, 72, 104, 0.88), rgba(188, 47, 79, 0.84));
  border: 1px solid rgba(255, 150, 170, 0.26);
  box-shadow: 0 10px 26px rgba(188, 47, 79, 0.18);
}

.status { margin-top: 18px; color: var(--success); font-size: 14px; }

.btn.is-copied {
  color: #dfffe8;
  background: linear-gradient(135deg, rgba(46, 160, 67, 0.95), rgba(34, 126, 52, 0.92));
  border: 1px solid rgba(125, 255, 155, 0.22);
}
.section-head { margin: 28px 0 16px; }
.section-head h2 { margin: 0 0 8px; font-size: 30px; }
.section-head p { margin: 0; color: var(--muted); }

.proxy-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.proxy-card { padding: 24px; }
.proxy-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.proxy-name {
  margin: 0;
  font-size: 24px;
}
.proxy-sub {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.proxy-badge {
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.14);
  border: 1px solid rgba(124, 92, 255, 0.28);
  color: #d9ceff;
  font-size: 13px;
  font-weight: 700;
}
.proxy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 8px;
}
.kv-list {
  margin-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.kv {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.kv:last-child { border-bottom: 0; }
.kv span { color: var(--muted); }
.kv strong { text-align: right; word-break: break-all; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.panel { padding: 24px; }
.full-width { grid-column: 1 / -1; }

h2 { margin: 0 0 18px; font-size: 22px; }
ol, ul { margin: 0; padding-left: 20px; }
li { margin: 10px 0; color: #edf2ff; }
.hint { color: var(--muted); margin-top: 12px; }
.checks a { color: #a9eaff; }
pre {
  margin: 0;
  padding: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: auto;
}

.bg-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
  pointer-events: none;
}
.glow-1 { top: -120px; left: -120px; background: #7c5cff; }
.glow-2 { bottom: -120px; right: -120px; background: #00d4ff; }

code {
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 2px 7px;
}

@media (max-width: 980px) {
  .proxy-list, .info-grid { grid-template-columns: 1fr; }
  .full-width { grid-column: auto; }
}

@media (max-width: 820px) {
  .container { width: min(100% - 20px, 1120px); padding-top: 20px; }
  .hero-card, .panel, .proxy-card { border-radius: 20px; }
  .hero-card, .panel, .proxy-card { padding: 20px; }
  .proxy-top, .kv { flex-direction: column; align-items: flex-start; }
  .kv strong { text-align: left; }
}
