@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:wght@300;400;500;600;700&family=Barlow+Condensed:wght@300;400;600;700;800;900&display=swap');

:root {
  --red: #7C3AED;
  --red-bright: #8B5CF6;
  --bg: #070707;
  --surface: #0e0e0e;
  --surface2: #141414;
  --surface3: #1c1c1c;
  --border: rgba(255,255,255,0.07);
  --border2: rgba(255,255,255,0.12);
  --text: #f0ede8;
  --text-dim: rgba(240,237,232,0.55);
  --muted: #5a5550;
  --green: #16a34a;
  --green-bright: #22c55e;
  --gold: #d4a017;
  --monk: #00ff96; --dk: #c41e3a; --pala: #f58cba;
  --druid: #ff7d0a; --priest: #dddddd; --shaman: #0070de;
  --hunter: #abd473; --mage: #3fc7eb; --warlock: #9482c9;
  --rogue: #fff569; --warrior: #c79c6e;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; zoom: 1.25; }
body { background: var(--bg); color: var(--text); font-family: 'Barlow', sans-serif; font-size: 15px; line-height: 1.6; overflow-x: hidden; }

/* ── SHARED NAV ── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; display: flex; align-items: center; justify-content: space-between; padding: 16px 48px; background: rgba(7,7,7,0.92); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-duck { font-size: 22px; }
.nav-name { font-family: 'Bebas Neue', sans-serif; font-size: 24px; letter-spacing: 3px; color: var(--text); }
.nav-name em { color: var(--accent-bright); font-style: normal; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-family: 'Barlow Condensed', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; padding: 13px 28px; border-radius: 5px; border: none; cursor: pointer; text-decoration: none; transition: all 0.2s; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 0 28px rgba(124,58,237,0.3); }
.btn-primary:hover { background: var(--accent-bright); transform: translateY(-1px); box-shadow: 0 6px 32px rgba(124,58,237,0.4); }
.btn-secondary { background: var(--surface2); color: var(--text-dim); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--border2); color: var(--text); }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--border); }
.btn-ghost:hover { color: var(--text); border-color: var(--border2); }
.btn-danger { background: rgba(124,58,237,0.1); color: var(--accent-bright); border: 1px solid rgba(124,58,237,0.3); }
.btn-danger:hover { background: var(--accent); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 11px; }
.btn-full { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ── FORMS ── */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.form-input { width: 100%; background: var(--surface2); border: 1px solid var(--border); border-radius: 5px; padding: 12px 14px; font-family: 'Barlow', sans-serif; font-size: 14px; color: var(--text); outline: none; transition: border-color 0.2s; }
.form-input:focus { border-color: var(--accent); }
.form-input::placeholder { color: var(--muted); }
.form-select { width: 100%; background: var(--surface2); border: 1px solid var(--border); border-radius: 5px; padding: 12px 14px; font-family: 'Barlow', sans-serif; font-size: 14px; color: var(--text); outline: none; cursor: pointer; }
.form-select option { background: var(--surface2); }
.form-textarea { width: 100%; background: var(--surface2); border: 1px solid var(--border); border-radius: 5px; padding: 12px 14px; font-family: 'Barlow', sans-serif; font-size: 14px; color: var(--text); outline: none; resize: vertical; min-height: 100px; transition: border-color 0.2s; }
.form-textarea:focus { border-color: var(--accent); }

/* ── ALERTS ── */
.alert { padding: 12px 16px; border-radius: 5px; font-size: 13px; margin-bottom: 16px; display: none; }
.alert-error { background: rgba(124,58,237,0.1); border: 1px solid rgba(124,58,237,0.3); color: #fca5a5; }
.alert-success { background: rgba(22,163,74,0.12); border: 1px solid rgba(22,163,74,0.3); color: #86efac; }
.alert-info { background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.2); color: #93c5fd; }

/* ── CARDS ── */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 24px; }
.card-title { font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 2px; color: var(--text); margin-bottom: 4px; }
.card-sub { font-size: 13px; color: var(--muted); margin-bottom: 20px; }

/* ── BADGES ── */
.badge { display: inline-flex; align-items: center; font-family: 'Barlow Condensed', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 3px 10px; border-radius: 3px; }
.badge-red { background: rgba(124,58,237,0.1); border: 1px solid rgba(124,58,237,0.3); color: var(--accent-bright); }
.badge-green { background: rgba(22,163,74,0.12); border: 1px solid rgba(22,163,74,0.25); color: var(--green-bright); }
.badge-gold { background: rgba(212,160,23,0.1); border: 1px solid rgba(212,160,23,0.25); color: var(--gold); }
.badge-gray { background: rgba(255,255,255,0.05); border: 1px solid var(--border); color: var(--muted); }

/* ── CLASS COLORS ── */
.c-monk{color:var(--monk)}.c-dk{color:var(--dk)}.c-pala{color:var(--pala)}.c-druid{color:var(--druid)}.c-priest{color:var(--priest)}.c-shaman{color:var(--shaman)}.c-hunter{color:var(--hunter)}.c-mage{color:var(--mage)}.c-warlock{color:var(--warlock)}.c-rogue{color:var(--rogue)}.c-warrior{color:var(--warrior)}

/* ── SECTION HEADER ── */
.section-kicker { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--accent-bright); display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.section-kicker::before { content: ''; width: 18px; height: 1px; background: var(--accent); }
.section-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(36px,5vw,64px); letter-spacing: 3px; color: var(--text); line-height: 1; margin-bottom: 16px; }
.section-lead { font-size: 16px; color: var(--text-dim); max-width: 520px; line-height: 1.8; margin-bottom: 52px; }

/* ── DIVIDER ── */
.divider { height: 1px; background: var(--border); margin: 0; }

/* ── TOAST ── */
.toast { position: fixed; bottom: 24px; right: 24px; z-index: 9999; background: var(--surface2); border: 1px solid var(--border2); border-radius: 8px; padding: 14px 20px; font-size: 13px; color: var(--text); display: flex; align-items: center; gap: 10px; box-shadow: 0 8px 32px rgba(0,0,0,0.4); transform: translateY(80px); opacity: 0; transition: all 0.3s; pointer-events: none; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast-success { border-color: rgba(22,163,74,0.4); }
.toast-error { border-color: rgba(124,58,237,0.4); }

/* ── LOADING SPINNER ── */
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.15); border-top-color: var(--accent-bright); border-radius: 50%; animation: spin 0.7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── MODAL ── */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.75); z-index: 500; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal-overlay.open { display: flex; }
.modal { background: var(--surface); border: 1px solid var(--border2); border-radius: 12px; padding: 32px; width: 100%; max-width: 520px; position: relative; }
.modal-title { font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: 2px; color: var(--text); margin-bottom: 6px; }
.modal-sub { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; color: var(--muted); cursor: pointer; font-size: 20px; line-height: 1; padding: 4px; transition: color 0.2s; }
.modal-close:hover { color: var(--text); }
