/* ═══════════════════════════════════════════════════════
   L8NE – Global Stylesheet
   Dark navy glassmorphism with flame-orange accent
   ═══════════════════════════════════════════════════════ */

:root {
  --bg-start:   #0f0c29;
  --bg-mid:     #1a1a3e;
  --bg-end:     #0d2137;
  --accent:     #ff6b35;
  --accent-2:   #e94560;
  --glass-bg:   rgba(255,255,255,0.07);
  --glass-bg2:  rgba(255,255,255,0.12);
  --glass-bdr:  rgba(255,255,255,0.12);
  --text:       #ffffff;
  --text-muted: rgba(255,255,255,0.6);
  --text-dim:   rgba(255,255,255,0.35);
  --success:    #4caf50;
  --danger:     #e94560;
  --warning:    #ff9800;
  --radius:     16px;
  --radius-sm:  10px;
  --shadow:     0 8px 32px rgba(0,0,0,0.35);
  --nav-h:      68px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(135deg, var(--bg-start) 0%, var(--bg-mid) 50%, var(--bg-end) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  color: var(--text);
  padding-top: var(--nav-h);
}

/* ── Typography ──────────────────────────────────────── */
h1 { font-size: clamp(26px, 4vw, 42px); font-weight: 800; line-height: 1.2; }
h2 { font-size: clamp(20px, 3vw, 30px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 700; }
p  { line-height: 1.65; color: var(--text-muted); }
a  { color: var(--accent); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .8; }

/* ── Layout ──────────────────────────────────────────── */
.l8ne-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}
.l8ne-container--narrow { max-width: 680px; }
.l8ne-container--wide   { max-width: 1440px; }

/* ── Glass Panels ────────────────────────────────────── */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-bdr);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.glass--bright { background: var(--glass-bg2); }
.glass--accent { border-color: rgba(255,107,53,0.4); }

/* ── Navigation ──────────────────────────────────────── */
.l8ne-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(10,8,30,0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-bdr);
  z-index: 1000;
}
.l8ne-nav--admin { background: rgba(20,0,10,0.9); }

.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
}

.nav-brand {
  font-size: 22px;
  font-weight: 800;
  color: var(--text) !important;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-brand span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex: 1;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: all .2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.nav-active {
  color: var(--text);
  background: rgba(255,255,255,0.1);
}
.nav-links a.nav-active { color: var(--accent); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: auto;
}

.lang-switch {
  display: flex;
  gap: 4px;
}
.lang-switch a {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
  padding: 3px 7px;
  border-radius: 6px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all .2s;
}
.lang-switch a.lang-active,
.lang-switch a:hover {
  color: var(--text);
  border-color: var(--glass-bdr);
  background: var(--glass-bg);
}

.nav-profile {
  position: relative;
  cursor: pointer;
}
.profile-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 50%;
  font-size: 15px;
  font-weight: 700;
  position: relative;
  user-select: none;
}
.admin-avatar { background: linear-gradient(135deg, #e94560, #764ba2); }
.verified-badge {
  position: absolute;
  bottom: -2px; right: -4px;
  background: #4caf50;
  color: white;
  font-size: 8px;
  width: 14px; height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  border: 1px solid var(--bg-start);
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: rgba(15,12,40,0.98);
  border: 1px solid var(--glass-bdr);
  border-radius: var(--radius-sm);
  min-width: 180px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  z-index: 999;
}
.nav-dropdown.show { display: block; }
.nav-dropdown a {
  display: block;
  padding: 12px 18px;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: background .15s;
}
.nav-dropdown a:hover { background: var(--glass-bg); color: var(--text); }

/* ── Notification Bell ─────────────────────────────────────────── */
.notif-wrap { position: relative; }
.notif-bell {
  background: none; border: none; cursor: pointer; padding: 4px 6px;
  font-size: 20px; color: var(--text); position: relative; line-height: 1;
}
.notif-badge {
  display: none; position: absolute; top: 1px; right: 1px;
  background: #ef4444; color: #fff; border-radius: 50%;
  font-size: 10px; font-weight: 700; min-width: 16px; height: 16px;
  line-height: 16px; text-align: center; padding: 0 3px;
}
.notif-badge.show { display: block; }
.notif-panel {
  display: none; position: absolute; top: calc(100% + 10px); right: 0;
  width: 320px; max-height: 400px; overflow-y: auto;
  background: rgba(15,12,40,0.98); border: 1px solid var(--glass-bdr);
  border-radius: var(--radius-sm); box-shadow: 0 12px 40px rgba(0,0,0,.5); z-index: 999;
}
.notif-panel.show { display: block; }
.notif-panel-hdr {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.07);
  font-size: 13px; font-weight: 600; color: var(--text);
}
.notif-panel-hdr button {
  background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 12px;
}
.notif-item {
  display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,.05); cursor: pointer;
  transition: background .15s;
}
.notif-item:hover { background: rgba(255,255,255,.04); }
.notif-item.unread { border-left: 3px solid var(--accent); }
.notif-item-body { flex: 1; min-width: 0; }
.notif-item-title { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.notif-item-msg { font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notif-item-time { font-size: 11px; color: var(--text-dim, #555); margin-top: 3px; }
.notif-empty { padding: 20px 16px; text-align: center; color: var(--text-muted); font-size: 13px; }

.nav-burger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
  margin-left: auto;
  padding: 4px 8px;
}
.btn-nav-back {
  font-size: 13px;
  color: var(--text-muted);
  border: 1px solid var(--glass-bdr);
  border-radius: 8px;
  padding: 6px 14px;
  text-decoration: none;
  transition: all .2s;
}
.btn-nav-back:hover { color: var(--text); background: var(--glass-bg); }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none !important; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 0 4px 20px rgba(255,107,53,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,107,53,0.45); }

.btn-secondary {
  background: var(--glass-bg2);
  color: var(--text);
  border: 1px solid var(--glass-bdr);
}
.btn-secondary:hover { background: rgba(255,255,255,0.18); transform: translateY(-1px); }

.btn-danger {
  background: rgba(233,69,96,0.85);
  color: white;
}
.btn-danger:hover { background: var(--accent-2); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--glass-bdr);
}
.btn-ghost:hover { color: var(--text); background: var(--glass-bg); }

.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 17px; }

/* ── Forms ───────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 8px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-dim); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,107,53,0.2);
}
.form-select option { background: #1a1a3e; color: var(--text); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-hint { font-size: 12px; color: var(--text-dim); margin-top: 5px; }
.form-error { color: var(--danger); font-size: 13px; margin-top: 5px; }

/* ── Cards / Stat Cards ──────────────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}
.stat-card {
  text-align: center;
  padding: 28px 20px;
  transition: transform .25s;
}
.stat-card:hover { transform: translateY(-4px); }
.stat-icon  { font-size: 40px; margin-bottom: 10px; }
.stat-value { font-size: 38px; font-weight: 800; margin-bottom: 4px; }
.stat-label { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }

/* ── Tables ──────────────────────────────────────────── */
.l8ne-table-wrap { overflow-x: auto; border-radius: var(--radius-sm); }
.l8ne-table {
  width: 100%;
  border-collapse: collapse;
}
.l8ne-table th {
  background: rgba(255,255,255,0.08);
  padding: 13px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-muted);
  white-space: nowrap;
  text-align: left;
}
.l8ne-table td {
  padding: 14px 16px;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  vertical-align: middle;
}
.l8ne-table tbody tr:last-child td { border-bottom: none; }
.l8ne-table tbody tr:hover { background: rgba(255,255,255,0.04); }
.l8ne-table .pr-value { color: var(--accent); font-weight: 700; font-size: 15px; }
.l8ne-table .sb-value { color: #7dd3fc; font-weight: 600; }

/* ── Badges ──────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.badge-athlete { background: rgba(255,107,53,0.2); color: var(--accent); }
.badge-fan     { background: rgba(125,211,252,0.15); color: #7dd3fc; }
.badge-verified { background: rgba(76,175,80,0.2); color: #4caf50; }
.badge-admin   { background: rgba(233,69,96,0.2); color: var(--accent-2); }

/* ── Notifications / Toasts ──────────────────────────── */
.l8ne-toast {
  position: fixed;
  top: calc(var(--nav-h) + 16px);
  right: 20px;
  background: var(--success);
  color: white;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.4);
  display: none;
  align-items: center;
  gap: 10px;
  z-index: 2000;
  animation: slideInRight .3s ease;
  max-width: 360px;
}
.l8ne-toast.show { display: flex; }
.l8ne-toast.error { background: var(--danger); }
.l8ne-toast.warning { background: var(--warning); color: #111; }
@keyframes slideInRight {
  from { transform: translateX(400px); opacity: 0; }
  to   { transform: translateX(0);     opacity: 1; }
}

/* ── Spinner / Loading ───────────────────────────────── */
.l8ne-spinner {
  display: inline-block;
  width: 40px; height: 40px;
  border: 4px solid rgba(255,255,255,0.15);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.l8ne-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 16px;
  color: var(--text-muted);
}

/* ── Empty States ────────────────────────────────────── */
.l8ne-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.l8ne-empty .empty-icon { font-size: 64px; margin-bottom: 16px; }
.l8ne-empty h3 { color: var(--text); margin-bottom: 8px; }

/* ── Section Header ──────────────────────────────────── */
.section-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.section-hd h2 { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.section-hd a  { font-size: 13px; color: var(--text-muted); }

/* ── Progress Bar ────────────────────────────────────── */
.progress-bar-wrap {
  background: rgba(255,255,255,0.1);
  border-radius: 99px;
  height: 8px;
  overflow: hidden;
  margin-top: 6px;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 99px;
  transition: width .5s ease;
}

/* ── Announcement Banner ─────────────────────────────── */
.l8ne-announcement {
  background: linear-gradient(90deg, rgba(255,107,53,0.15), rgba(233,69,96,0.15));
  border-bottom: 1px solid rgba(255,107,53,0.3);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  position: relative;
}
.l8ne-announcement .ann-close {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  flex-shrink: 0;
  line-height: 1;
}
.l8ne-announcement a { color: var(--accent); font-weight: 600; }

/* ── Public / Landing page ───────────────────────────── */
.hero {
  text-align: center;
  padding: 100px 20px 80px;
}
.hero h1 { margin-bottom: 20px; }
.hero .hero-sub { font-size: 20px; max-width: 600px; margin: 0 auto 40px; }
.hero .hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 60px 0;
}
.feature-card { padding: 32px 28px; }
.feature-icon { font-size: 40px; margin-bottom: 16px; }
.feature-card h3 { margin-bottom: 10px; color: var(--text); }

/* ── Auth pages ──────────────────────────────────────── */
.auth-wrap {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.auth-card {
  width: 100%;
  max-width: 480px;
  padding: 44px 40px;
}
.auth-logo {
  text-align: center;
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--accent);
}
.auth-logo span { color: var(--text); }
.auth-tagline {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 36px;
}
.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-muted);
}
.auth-footer a { color: var(--accent); font-weight: 600; }

/* Role toggle */
.role-toggle {
  display: flex;
  gap: 0;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 24px;
}
.role-toggle input { display: none; }
.role-toggle label {
  flex: 1;
  text-align: center;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .2s;
}
.role-toggle input:checked + label {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
}

/* ── Dashboard two-column ────────────────────────────── */
.dash-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}
.dash-grid-3 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}
.panel { padding: 28px; margin-bottom: 24px; }

/* ── Journal posts ───────────────────────────────────── */
.post-card {
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-bdr);
}
.post-author { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.post-avatar { width:36px; height:36px; background: linear-gradient(135deg,var(--accent),var(--accent-2)); border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:15px; flex-shrink:0; }
.post-meta   { font-size: 13px; color: var(--text-muted); }
.post-content{ font-size: 15px; line-height: 1.6; color: var(--text); margin-bottom: 14px; }
.post-actions{ display: flex; gap: 10px; align-items: center; }
.post-react-btn { background: var(--glass-bg); border: 1px solid var(--glass-bdr); border-radius: 20px; padding: 5px 12px; color: var(--text-muted); font-size: 13px; cursor: pointer; transition: all .2s; }
.post-react-btn:hover { background: var(--glass-bg2); color: var(--text); }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 900px) {
  .dash-grid-2,
  .dash-grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(10,8,30,0.98);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    border-bottom: 1px solid var(--glass-bdr);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; font-size: 15px; }
  .nav-burger  { display: block; }
  .lang-switch { display: none; }
  .l8ne-container { padding: 20px 14px 50px; }
  .auth-card { padding: 32px 22px; }
  .stat-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .stat-value { font-size: 28px; }
  .hero { padding: 60px 16px 50px; }
}

@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .btn-lg { padding: 14px 24px; font-size: 15px; }
}

/* ═══════════════════════════════════════════════════════
   L8NE Ads – Ad slot styles
   ═══════════════════════════════════════════════════════ */

/* ── Sidebar ad (athlete / fan / coach dashboards) ──── */
.ad-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  align-self: start;
}
.ad-card {
  padding: 18px;
  overflow: hidden;
  border-radius: var(--radius);
}
.ad-sponsored-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.ad-sponsored-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-dim);
  flex-shrink: 0;
}
.ad-image {
  width: 100%;
  max-height: 160px;
  border-radius: 8px;
  margin-bottom: 12px;
  object-fit: cover;
  display: block;
}
.ad-headline {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.35;
}
.ad-body {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}
.ad-cta {
  display: block;
  text-align: center;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  background: var(--glass-bg2);
  border: 1px solid var(--glass-bdr);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, transform .15s;
}
.ad-cta:hover {
  background: rgba(255,255,255,0.18);
  opacity: 1;
  transform: translateY(-1px);
}

/* ── Horizontal banner ad (admin dashboard) ─────────── */
.ad-banner-h {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  margin-bottom: 24px;
  border-radius: var(--radius);
  overflow: hidden;
}
.ad-banner-h .ad-sponsored-label {
  margin-bottom: 4px;
}
.ad-banner-h .ad-image-thumb {
  width: 80px;
  height: 60px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}
.ad-banner-h .ad-content {
  flex: 1;
  min-width: 0;
}
.ad-banner-h .ad-headline {
  font-size: 13px;
  margin-bottom: 3px;
}
.ad-banner-h .ad-body {
  font-size: 12px;
  margin-bottom: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ad-banner-h .ad-cta {
  padding: 8px 14px;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 12px;
}

/* ── Advertiser portal – package cards ──────────────── */
.pkg-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0;
}
.pkg-card {
  padding: 20px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid var(--glass-bdr);
  transition: border-color .2s, background .2s;
  text-align: center;
}
.pkg-card:hover,
.pkg-card.selected {
  border-color: var(--accent);
  background: rgba(255, 107, 53, 0.1);
}
.pkg-card .pkg-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.pkg-card .pkg-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.pkg-card .pkg-impr {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Step indicator ────────────────────────────────── */
.steps {
  display: flex;
  gap: 0;
  margin-bottom: 28px;
  counter-reset: step;
}
.step {
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  padding: 10px 4px;
  border-bottom: 2px solid var(--glass-bdr);
  transition: color .2s, border-color .2s;
}
.step.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.step.done {
  color: var(--success);
  border-bottom-color: var(--success);
}

/* ── Ad status badges ───────────────────────────────── */
.badge-draft         { background: rgba(255,255,255,.12); color: var(--text-muted); }
.badge-pending       { background: rgba(255, 152,  0,.2); color: var(--warning); }
.badge-active        { background: rgba( 76, 175, 80,.2); color: var(--success); }
.badge-rejected      { background: rgba(233, 69, 96,.2);  color: var(--danger); }
.badge-paused        { background: rgba(255,255,255,.08); color: var(--text-dim); }
.badge-completed     { background: rgba(255,255,255,.08); color: var(--text-dim); }

@media (max-width: 960px) {
  .ad-sidebar { position: static; }
  .pkg-cards  { grid-template-columns: 1fr; }
}
