:root {
  --bg-0: #000000;
  --bg-1: #07020c;
  --bg-2: #0d0413;
  --panel: rgba(255, 255, 255, 0.028);
  --panel-2: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 120, 230, 0.16);
  --border-2: rgba(255, 120, 230, 0.32);

  --text: #ffffff;
  --text-dim: #d8ccdf;
  --text-faint: #8d7f96;

  --pink: #ff4fd8;
  --pink-hot: #ff2ea6;
  --purple: #a855f7;
  --purple-deep: #7c3aed;
  --danger: #ff5c8a;
  --ok: #4fe3b0;

  --grad: linear-gradient(135deg, #ff2ea6 0%, #ff4fd8 45%, #a855f7 100%);
  --grad-soft: linear-gradient(135deg, rgba(255, 46, 166, 0.16), rgba(168, 85, 247, 0.16));

  --radius: 22px;
  --radius-sm: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg-0);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* ---------- Background layers ---------- */

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(760px 520px at 12% -6%, rgba(255, 46, 166, 0.20), transparent 62%),
    radial-gradient(700px 500px at 92% 6%, rgba(168, 85, 247, 0.20), transparent 60%),
    radial-gradient(900px 620px at 50% 108%, rgba(255, 79, 216, 0.14), transparent 65%);
}

.bg-stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  background-image:
    radial-gradient(1.4px 1.4px at 18% 22%, rgba(255, 190, 245, 0.9), transparent),
    radial-gradient(1.2px 1.2px at 72% 12%, rgba(220, 180, 255, 0.7), transparent),
    radial-gradient(1.6px 1.6px at 41% 63%, rgba(255, 160, 235, 0.65), transparent),
    radial-gradient(1.1px 1.1px at 88% 48%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1.3px 1.3px at 8% 74%, rgba(200, 160, 255, 0.6), transparent),
    radial-gradient(1.2px 1.2px at 60% 88%, rgba(255, 200, 250, 0.55), transparent),
    radial-gradient(1px 1px at 30% 40%, rgba(255, 255, 255, 0.45), transparent);
  animation: twinkle 6s ease-in-out infinite alternate;
}

@keyframes twinkle {
  from { opacity: 0.35; }
  to   { opacity: 0.7; }
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(6, 1, 10, 0.72);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  font-size: 16px;
  box-shadow: 0 0 20px rgba(255, 46, 166, 0.55);
}

.nav {
  display: flex;
  gap: 26px;
}

.nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nav a:hover {
  color: #fff;
  text-shadow: 0 0 14px rgba(255, 79, 216, 0.8);
}

/* ---------- Hero ---------- */

.hero {
  padding: 74px 0 56px;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-2);
  background: var(--grad-soft);
  color: #ffd9f6;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 26px;
  box-shadow: 0 0 26px rgba(255, 46, 166, 0.18) inset;
}

.hero h1 {
  font-size: 46px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  color: #fff;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(255, 46, 166, 0.35));
}

.hero-sub {
  max-width: 580px;
  margin: 0 auto;
  color: var(--text-dim);
  font-size: 16.5px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-banner {
  margin: 48px auto 0;
  max-width: 780px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-2);
  box-shadow: 0 26px 70px rgba(255, 46, 166, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  line-height: 0;
}

.hero-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px rgba(255, 46, 166, 0.35);
}

.btn-primary:hover { box-shadow: 0 12px 38px rgba(255, 46, 166, 0.55); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border: 1px solid var(--border-2);
}

.btn-ghost:hover {
  background: rgba(255, 79, 216, 0.10);
  box-shadow: 0 0 26px rgba(255, 79, 216, 0.2);
}

/* ---------- Section head ---------- */

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.section-num {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: #fff;
}

.section-head p {
  color: var(--text-dim);
  font-size: 15px;
  margin: 0;
}

/* ---------- Info / warnings ---------- */

.info { padding: 40px 0 30px; }

.info-head { margin-bottom: 40px; }

.info-head h2 {
  font-size: 42px;
  letter-spacing: -0.025em;
  margin: 0;
}

.info-list {
  display: grid;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.info-card {
  padding: 32px 36px;
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(255, 46, 166, 0.12), rgba(168, 85, 247, 0.07));
  border: 1px solid var(--border-2);
  box-shadow: 0 0 50px rgba(255, 46, 166, 0.10) inset;
  text-align: center;
}

.info-icon {
  flex-shrink: 0;
  font-size: 22px;
  line-height: 1.2;
  filter: drop-shadow(0 0 10px rgba(255, 79, 216, 0.6));
}

.info-card p {
  margin: 0;
  font-size: 19px;
  line-height: 1.6;
  color: #fff;
  font-weight: 700;
}

.info-card p span { color: #ffb0e8; }

/* ---------- Steps ---------- */

.steps { padding: 56px 0 90px; }

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}

.step {
  padding: 26px 28px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--panel), rgba(168, 85, 247, 0.045));
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.step::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -12%;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(255, 46, 166, 0.12), transparent 70%);
  pointer-events: none;
}

.step:hover {
  border-color: var(--border-2);
  box-shadow: 0 0 44px rgba(255, 46, 166, 0.12);
}

.step-head {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.step-num {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 6px 20px rgba(255, 46, 166, 0.4);
}

.step-body h3 {
  margin: 5px 0 8px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

.step-body p {
  margin: 0 0 8px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.65;
}

.step-body p:last-child { margin-bottom: 0; }

.step-body strong { color: #fff; }

.step-highlight {
  border-color: rgba(255, 46, 166, 0.45);
  background: linear-gradient(160deg, rgba(255, 46, 166, 0.14), rgba(168, 85, 247, 0.08));
  box-shadow: 0 0 50px rgba(255, 46, 166, 0.14);
}

.step-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 46, 166, 0.08);
  border: 1px solid rgba(255, 46, 166, 0.28);
  position: relative;
  z-index: 1;
}

.step-note p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: #ffdff5;
  font-weight: 600;
}

.step-shot {
  margin-top: 20px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-2);
  background: radial-gradient(120% 120% at 50% 0%, #14041c, #000);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.step-shot img {
  max-width: 100%;
  max-height: 520px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 120, 230, 0.14);
}

.shot-missing {
  min-height: 180px;
  color: var(--text-faint);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  line-height: 1.6;
}

code {
  background: rgba(255, 79, 216, 0.12);
  border: 1px solid rgba(255, 79, 216, 0.3);
  padding: 2px 9px;
  border-radius: 7px;
  font-size: 13.5px;
  color: #ffc6f0;
  font-family: 'SF Mono', Consolas, monospace;
}

/* ---------- Errors ---------- */

.errors { padding: 20px 0 100px; }

.errors-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.error-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 32px;
  align-items: center;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--panel), rgba(168, 85, 247, 0.05));
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.error-card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(255, 46, 166, 0.13), transparent 70%);
  pointer-events: none;
}

.error-card:hover {
  border-color: var(--border-2);
  box-shadow: 0 0 44px rgba(255, 46, 166, 0.12);
}

.error-card.reverse { grid-template-columns: 1fr 300px; }
.error-card.reverse .error-shot { order: 2; }
.error-card.reverse .error-info { order: 1; }

.error-shot {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-2);
  background: radial-gradient(120% 120% at 50% 0%, #14041c, #000);
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.error-shot img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 10px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55);
}

.addition-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 32px;
  align-items: center;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(168, 85, 247, 0.14), rgba(255, 46, 166, 0.06));
  border: 1px solid rgba(168, 85, 247, 0.4);
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
}

.addition-card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.20), transparent 70%);
  pointer-events: none;
}

.addition-tag,
.error-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.addition-tag {
  color: #e9c6ff;
  background: rgba(168, 85, 247, 0.18);
  border: 1px solid rgba(168, 85, 247, 0.45);
}

.error-tag {
  color: #ffc0da;
  background: rgba(255, 92, 138, 0.14);
  border: 1px solid rgba(255, 92, 138, 0.42);
}

.error-info {
  position: relative;
  z-index: 1;
}

.error-info h3 {
  margin: 0 0 12px;
  font-size: 19.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
}

.error-info p {
  margin: 0 0 10px;
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.65;
}

.error-info strong { color: #fff; }

.step-body a,
.error-info p a,
.error-list a {
  color: #ff8ee6;
  text-decoration: none;
  font-weight: 700;
}

.step-body a:hover,
.error-info p a:hover,
.error-list a:hover {
  text-decoration: underline;
  text-shadow: 0 0 14px rgba(255, 79, 216, 0.7);
}

.error-list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.9;
}

.error-list::marker { color: var(--pink); }

.code-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #08010d;
  border: 1px solid var(--border-2);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 12px 0;
  font-family: 'SF Mono', Consolas, monospace;
  font-size: 14px;
  color: #ffb0e8;
}

.code-block.single { color: #d4a8ff; }

/* ---------- Seller / Footer ---------- */

.seller {
  padding: 90px 0 70px;
  text-align: center;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(255, 46, 166, 0.08));
}

.seller-badge {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad);
  font-size: 28px;
  color: #fff;
  box-shadow: 0 0 40px rgba(255, 46, 166, 0.5);
}

.seller h2 {
  font-size: 27px;
  font-weight: 800;
  margin: 0 0 12px;
  color: #fff;
}

.seller-desc {
  color: var(--text-dim);
  font-size: 17px;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto;
}

.seller-desc strong { color: #ff8ee6; }

.seller-card {
  max-width: 660px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--panel-2), rgba(255, 46, 166, 0.07));
  border: 1px solid var(--border-2);
  text-align: left;
  flex-wrap: wrap;
}

.seller-card-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.seller-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ff8ee6;
  text-transform: uppercase;
}

.seller-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  max-width: 380px;
}

.copyright {
  margin-top: 42px;
  color: var(--text-faint);
  font-size: 13px;
}

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
  .hero { padding: 56px 0 44px; }
  .hero h1 { font-size: 32px; }
  .nav { gap: 16px; }
  .nav a { font-size: 13.5px; }
  .section-head h2 { font-size: 26px; }
  .info-head h2 { font-size: 32px; }
  .info-card { padding: 24px 20px; }
  .info-card p { font-size: 16.5px; }

  .step { padding: 22px 20px; }
  .step-shot { padding: 14px; }
  .step-shot img { max-height: 420px; }

  .error-card,
  .error-card.reverse,
  .addition-card {
    grid-template-columns: 1fr;
    padding: 22px 20px;
  }
  .error-shot {
    order: -1 !important;
    height: 260px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
  .error-info { order: 0 !important; }
  .seller-card { flex-direction: column; align-items: flex-start; }
}
