*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #08101e;
  --surface:     rgba(255,255,255,.038);
  --surface-2:   rgba(255,255,255,.055);
  --border:      rgba(255,255,255,.075);
  --border-h:    rgba(255,255,255,.13);
  --green:       #22c55e;
  --green-h:     #28d968;
  --green-dim:   rgba(34,197,94,.11);
  --green-glow:  rgba(34,197,94,.22);
  --blue:        #60a5fa;
  --blue-dim:    rgba(96,165,250,.08);
  --blue-border: rgba(96,165,250,.18);
  --text:        #f1f5f9;
  --muted:       #64748b;
  --dim:         #94a3b8;
  --sans:        'Inter', system-ui, sans-serif;
  --mono:        'JetBrains Mono', monospace;
  --radius:      14px;
}

body {
  background: var(--bg);
  font-family: var(--sans);
  color: var(--text);
  min-height: 100vh;
  padding: 2.5rem 1.5rem 4rem;
  position: relative; overflow-x: hidden;
}

.bg-glow {
  position: fixed; top: -300px; left: 50%;
  transform: translateX(-50%);
  width: 1000px; height: 700px;
  background: radial-gradient(ellipse, rgba(34,197,94,.07) 0%, transparent 55%);
  pointer-events: none; z-index: 0;
}

/* ── Wrapper ── */
.wrapper {
  position: relative; z-index: 1;
  max-width: 1160px; width: 100%;
  margin: 0 auto;
  display: flex; flex-direction: column; gap: 2rem;
  animation: up .45s ease both;
}
@keyframes up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Header ── */
.site-header {
  display: flex; flex-direction: column; align-items: center;
  gap: .75rem; text-align: center;
  padding-bottom: .5rem;
}
.badge {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--green-dim);
  border: 1px solid rgba(34,197,94,.2);
  color: var(--green);
  padding: .28rem .85rem;
  border-radius: 99px;
  font-size: .72rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  animation: blink 2s ease infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.25} }
h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.1;
}
.sub { color: var(--dim); font-size: .95rem; }

/* ── Main grid ── */
.main-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 1.5rem;
  align-items: start;
}

/* ── Left column ── */
.col-left {
  display: flex; flex-direction: column; gap: 1rem;
  position: sticky; top: 2rem;
}

.action-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: .65rem;
}

.cta {
  display: flex; align-items: center; justify-content: center; gap: .55rem;
  width: 100%;
  background: var(--green); color: #071a0d;
  font-size: 1.05rem; font-weight: 800;
  padding: .95rem 1.5rem;
  border-radius: 10px; text-decoration: none;
  box-shadow: 0 0 22px var(--green-glow);
  transition: transform .15s, background .15s, box-shadow .15s;
}
.cta:hover {
  background: var(--green-h);
  box-shadow: 0 0 38px rgba(34,197,94,.35);
  transform: translateY(-1px);
}
.cta:active { transform: scale(.99); }

.cta-hint { font-size: .76rem; color: var(--muted); text-align: center; }

.divider { height: 1px; background: var(--border); margin: .2rem 0; }

.btn-bot {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  width: 100%;
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  color: var(--blue);
  font-size: .95rem; font-weight: 700;
  padding: .88rem 1.5rem;
  border-radius: 10px; text-decoration: none;
  transition: all .2s;
}
.btn-bot:hover {
  background: rgba(96,165,250,.14);
  border-color: rgba(96,165,250,.3);
  transform: translateY(-1px);
}

/* Meta row */
.meta-row {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex; flex-direction: column; gap: .7rem;
}
.meta-item {
  display: flex; justify-content: space-between; align-items: center;
  gap: .5rem;
}
.meta-label {
  font-size: .72rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}
.meta-val {
  font-size: .82rem; color: var(--dim);
  display: flex; align-items: center; gap: .4rem;
}
.s-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
}
.timer {
  font-family: var(--mono); font-size: .88rem;
  color: var(--dim); letter-spacing: .06em;
}

/* Tech card */
.tech-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.tech-head {
  padding: .7rem 1.1rem .4rem;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
}
.tech-row {
  display: flex; align-items: center;
  justify-content: space-between; gap: .75rem;
  padding: .5rem 1.1rem .65rem;
}
.t-key {
  font-size: .7rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap; flex-shrink: 0;
}
.t-right {
  display: flex; align-items: center; gap: .5rem; min-width: 0;
}
.t-val {
  font-family: var(--mono); font-size: .68rem; color: var(--green);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.t-div { height: 1px; background: var(--border); }
.copy-btn {
  display: flex; align-items: center; gap: .3rem;
  background: var(--green-dim); border: 1px solid rgba(34,197,94,.18);
  color: var(--green); padding: .26rem .56rem;
  border-radius: 6px; font-family: var(--sans);
  font-size: .7rem; font-weight: 600;
  cursor: pointer; white-space: nowrap; flex-shrink: 0;
  transition: background .2s;
}
.copy-btn:hover, .copy-btn.copied { background: rgba(34,197,94,.2); }

/* ── Right column ── */
.col-right {
  display: flex; flex-direction: column; gap: 1rem;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  display: flex; flex-direction: column; gap: .65rem;
  transition: border-color .2s;
}
.info-card:hover { border-color: var(--border-h); }

.info-title {
  font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
}
.info-text {
  font-size: .88rem; color: var(--dim); line-height: 1.65;
}
.info-note {
  font-size: .78rem; color: var(--muted);
}
.info-list {
  list-style: none;
  display: flex; flex-direction: column; gap: .4rem;
}
.info-list li {
  font-size: .87rem; color: var(--dim);
  padding-left: 1rem; position: relative; line-height: 1.5;
}
.info-list li::before {
  content: '–'; position: absolute; left: 0; color: var(--muted);
}
.check-list {
  list-style: none;
  display: flex; flex-direction: column; gap: .45rem;
}
.check-list li {
  display: flex; align-items: center; gap: .5rem;
  font-size: .87rem; color: var(--dim);
}
.check-list li svg { color: var(--green); flex-shrink: 0; }

/* ── Used page ── */
.used-wrapper {
  max-width: 520px;
  align-items: stretch;
}
.bg-glow-blue {
  background: radial-gradient(ellipse, rgba(96,165,250,.06) 0%, transparent 55%);
}
.badge-blue {
  background: var(--blue-dim);
  border-color: var(--blue-border);
  color: var(--blue);
}
.dot-blue { background: var(--blue); animation: none; }
.cta-blue {
  background: var(--blue); color: #04101f;
  box-shadow: 0 0 22px rgba(96,165,250,.2);
}
.cta-blue:hover {
  background: #93c5fd;
  box-shadow: 0 0 38px rgba(96,165,250,.3);
  transform: translateY(-1px);
}

/* ── Footer ── */
footer {
  font-size: .65rem; color: var(--muted); line-height: 1.7;
  border-top: 1px solid var(--border); padding-top: 1.25rem;
  text-align: center;
}

/* ── Mobile ── */
@media (max-width: 820px) {
  .main-grid {
    grid-template-columns: 1fr;
  }
  .col-left { position: static; }
}

@media (max-width: 480px) {
  body { padding: 1.5rem 1rem 3rem; }
  h1 { font-size: 2rem; }
  .t-val { max-width: 120px; }
  .meta-item { flex-direction: column; align-items: flex-start; gap: .2rem; }
}
