/* ARC Injector website styles */

@font-face { font-family: "Orbitron"; src: url("../fonts/orbitron-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Orbitron"; src: url("../fonts/orbitron-latin-900-normal.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Rajdhani"; src: url("../fonts/rajdhani-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Rajdhani"; src: url("../fonts/rajdhani-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Rajdhani"; src: url("../fonts/rajdhani-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #050508;
  --cyan: #00ffea;
  --purple: #9d00ff;
  --pink: #ff0080;
  --text: #e0e0f0;
  --muted: #9a9ac2;
  --glass: rgba(255, 255, 255, 0.04);
  --border: rgba(0, 255, 234, 0.18);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: "Rajdhani", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* faint scanlines over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 2px, rgba(0, 0, 0, 0.06) 2px 4px);
}

#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

a { color: var(--cyan); }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 10px 24px;
  background: rgba(5, 5, 8, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: "Orbitron", sans-serif;
  font-weight: 900;
  font-size: 19px;
  letter-spacing: 3px;
  color: var(--cyan);
  text-shadow: 0 0 12px var(--cyan);
}
.brand img { width: 30px; height: 30px; border-radius: 8px; }

.topbar nav { display: flex; gap: 4px; }
.topbar nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 6px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.topbar nav a:hover,
.topbar nav a[aria-current="page"] {
  color: var(--cyan);
  border-color: var(--border);
  background: var(--glass);
}

/* ---------- layout ---------- */
main, .site-footer { position: relative; z-index: 2; }

.wrap {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 36px 0; }

h1, h2, h3 { font-family: "Orbitron", sans-serif; color: #fff; line-height: 1.25; }
h2 { font-size: 22px; letter-spacing: 1px; margin-bottom: 14px; }
h3 { font-size: 15px; letter-spacing: 1px; margin-bottom: 8px; }

p { color: var(--muted); max-width: 66ch; }
p + p { margin-top: 12px; }

/* ---------- hero ---------- */
.hero { padding: 56px 0 24px; }

.hero-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 48px 28px 40px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  box-shadow: 0 0 60px rgba(0, 255, 234, 0.05), 0 24px 80px rgba(0, 0, 0, 0.6);
}

/* the moving line along the top edge */
.hero-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--purple), var(--cyan), transparent);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.hero-logo {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  box-shadow: 0 0 40px rgba(0, 255, 234, 0.25);
}

.hero h1 {
  font-size: clamp(28px, 7vw, 44px);
  font-weight: 900;
  letter-spacing: 2px;
  margin: 24px 0 12px;
  text-shadow: 0 0 18px rgba(0, 255, 234, 0.35);
}
.hero .tagline { margin: 0 auto 30px; font-size: 20px; }
.hero .small { margin: 18px auto 0; font-size: 15px; }

.btn {
  position: relative;
  overflow: hidden;
  display: inline-block;
  padding: 16px 40px;
  font-family: "Orbitron", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bg);
  background: var(--cyan);
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 255, 234, 0.35), 0 0 60px rgba(0, 255, 234, 0.1);
  transition: transform 0.2s, box-shadow 0.3s;
}
.btn:hover {
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(0, 255, 234, 0.6), 0 0 80px rgba(0, 255, 234, 0.2);
}

.btn-outline {
  color: var(--cyan);
  background: transparent;
  border: 1px solid var(--cyan);
  box-shadow: none;
}
.btn-outline:hover {
  color: var(--cyan);
  background: rgba(0, 255, 234, 0.08);
  box-shadow: 0 0 20px rgba(0, 255, 234, 0.25);
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ---------- cards + steps ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.card {
  padding: 22px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.card p { font-size: 17px; }

.steps { list-style: none; counter-reset: step; margin-top: 8px; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 4px 0 22px 58px;
  color: var(--muted);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Orbitron", sans-serif;
  font-weight: 900;
  font-size: 14px;
  color: var(--cyan);
  background: rgba(0, 255, 234, 0.08);
  border: 2px solid var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(0, 255, 234, 0.3);
}
/* thin line joining the circles */
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 19px; top: 44px; bottom: 4px;
  width: 2px;
  background: var(--border);
}
.steps strong { display: block; color: #fff; font-weight: 700; }

.plain { margin-left: 22px; color: var(--muted); }
.plain li { margin-bottom: 6px; padding-left: 4px; }

.notice {
  padding: 20px 22px;
  background: rgba(157, 0, 255, 0.07);
  border: 1px solid rgba(157, 0, 255, 0.28);
  border-radius: 12px;
}
.notice p { max-width: none; }

/* ---------- disclaimer / privacy pages ---------- */
.doc { padding: 48px 0 24px; }
.doc h1 { font-size: clamp(26px, 6vw, 36px); font-weight: 900; letter-spacing: 1px; margin-bottom: 8px; }
.doc .updated { font-size: 15px; margin-bottom: 8px; }
.doc section { padding: 18px 0; border-top: 1px solid var(--border); margin-top: 18px; }
.doc ul { margin: 10px 0 0 22px; color: var(--muted); }
.doc li { margin-bottom: 6px; padding-left: 4px; }

/* ---------- footer ---------- */
.site-footer {
  margin-top: 40px;
  padding: 28px 20px 36px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.site-footer nav { display: flex; justify-content: center; gap: 20px; margin-bottom: 12px; }
.site-footer p { margin: 0 auto; font-size: 14px; }

/* ---------- 404 ---------- */
.lost { text-align: center; padding: 120px 0; }
.lost h1 { font-size: 64px; font-weight: 900; color: var(--cyan); text-shadow: 0 0 24px var(--cyan); }
.lost p { margin: 12px auto 28px; }

@media (max-width: 480px) {
  .topbar { padding: 8px 12px; }
  .brand span { display: none; }
  .topbar nav a { font-size: 13px; padding: 6px 8px; }
  .hero-card { padding: 40px 20px 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-card::before, .btn-outline {
  color: var(--cyan);
  background: transparent;
  border: 1px solid var(--cyan);
  box-shadow: none;
}
.btn-outline:hover {
  color: var(--cyan);
  background: rgba(0, 255, 234, 0.08);
  box-shadow: 0 0 20px rgba(0, 255, 234, 0.25);
}

.ripple { animation: none; }
  .btn { transition: none; }
}
