/* public/css/style.css */
/* Visual identity intentionally matches the XMlauncher desktop app's own
   splash screen (dark near-black base, violet accent, condensed bold
   wordmark, single diagonal-cut geometric device) — the website should
   feel like the same product, not a separate brand. */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Expanded:wght@700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --accent: #7c4dff;
  --accent-light: #b39bff;
  --ink: #f0eef7;
  --ink-dim: #8a87a0;
  --bg-deep: #050409;
  --bg-base: #08070b;
  --bg-panel: #0f0d16;
  --border-soft: rgba(124, 77, 255, 0.18);
  --success: #4ade80;
  --danger: #ff6b6b;
}

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

html, body {
  background: var(--bg-base);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  min-height: 100vh;
}

body {
  background-image:
    radial-gradient(ellipse 70% 50% at 80% 0%, rgba(124,77,255,0.16), transparent 60%),
    radial-gradient(ellipse 60% 45% at 10% 100%, rgba(40,20,90,0.20), transparent 65%),
    radial-gradient(1.5px 1.5px at 15% 12%, rgba(255,255,255,0.35), transparent),
    radial-gradient(1.5px 1.5px at 78% 22%, rgba(255,255,255,0.28), transparent),
    radial-gradient(1px 1px at 45% 8%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1.5px 1.5px at 90% 65%, rgba(255,255,255,0.25), transparent),
    radial-gradient(1px 1px at 25% 78%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1.5px 1.5px at 60% 45%, rgba(255,255,255,0.2), transparent),
    radial-gradient(1px 1px at 8% 55%, rgba(255,255,255,0.28), transparent),
    radial-gradient(1.5px 1.5px at 95% 15%, rgba(255,255,255,0.22), transparent);
  background-attachment: fixed;
}

a { color: var(--accent-light); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Single structural diagonal cut, echoing the launcher splash screen's
   own device — used once, deliberately, not as repeated decoration. */
.hero-cut {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 58%, rgba(124,77,255,0.08) 59%, transparent 60%);
  pointer-events: none;
}

.wordmark {
  font-family: 'Archivo Expanded', sans-serif;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.wordmark span { color: var(--accent-light); }

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  position: relative;
  z-index: 2;
}
nav .wordmark { font-size: 20px; }
nav .nav-links { display: flex; gap: 28px; align-items: center; font-size: 14px; font-weight: 600; }
nav .nav-links a { color: var(--ink-dim); }
nav .nav-links a:hover { color: var(--ink); text-decoration: none; }

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.hero {
  position: relative;
  padding: 90px 0 70px;
  text-align: center;
  overflow: hidden;
}
.hero h1 {
  font-family: 'Archivo Expanded', sans-serif;
  font-weight: 800;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}
.hero h1 span { color: var(--accent-light); }
.hero p {
  color: var(--ink-dim);
  font-size: 18px;
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #5d35cc);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,77,255,0.35);
}
.btn-discord {
  background: #5865F2;
  color: #fff;
}
.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: var(--ink);
  border: 1px solid var(--border-soft);
}
.btn-danger-outline {
  background: transparent;
  color: var(--danger);
  border: 1px solid rgba(255,107,107,0.4);
}

.card {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
}
.card h2 { font-family: 'Archivo Expanded', sans-serif; font-size: 22px; margin-bottom: 14px; }
.card p { color: var(--ink-dim); line-height: 1.6; }

.skin-render {
  width: 80px; height: 80px;
  border-radius: 14px;
  border: 2px solid var(--border-soft);
  background: var(--bg-deep);
  image-rendering: pixelated;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.badge-vip { background: linear-gradient(135deg, #ffd166, #f4a300); color: #2b1d00; }
.badge-free { background: rgba(255,255,255,0.08); color: var(--ink-dim); }

.form-row { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.form-row input[type="text"] {
  flex: 1;
  min-width: 200px;
  background: var(--bg-deep);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ink);
  font-size: 14px;
}
.form-row input[type="text"]:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.alert {
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 20px;
}
.alert-error { background: rgba(255,107,107,0.12); border: 1px solid rgba(255,107,107,0.3); color: #ffb4b4; }
.alert-success { background: rgba(74,222,128,0.12); border: 1px solid rgba(74,222,128,0.3); color: #a3f0bc; }

.profile-header {
  display: flex;
  align-items: center;
  gap: 18px;
}
.profile-header img.avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 2px solid var(--border-soft);
}

footer {
  text-align: center;
  padding: 40px 24px;
  color: var(--ink-dim);
  font-size: 13px;
}

.price-tag {
  font-family: 'Archivo Expanded', sans-serif;
  font-size: 42px;
  font-weight: 800;
}
.price-tag span { font-size: 16px; color: var(--ink-dim); font-weight: 600; }

.feature-list { list-style: none; margin: 20px 0; }
.feature-list li { padding: 8px 0; color: var(--ink); display: flex; gap: 10px; align-items: baseline; }
.feature-list li::before { content: '✓'; color: var(--success); font-weight: 700; }

.hero-checklist { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.hero-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink);
}
.hero-checklist li::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-light);
  background: rgba(124,77,255,0.16);
  border: 1px solid var(--border-soft);
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}

@media (max-width: 640px) {
  nav { padding: 16px 20px; flex-direction: column; gap: 14px; }
  .hero { padding: 50px 0 40px; }
}
