/* ══════════════════════════════════════════════
   OUTSTRAP WEBSITE — styles.css
   Premium dark design with glass elements
══════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #08080e;
  --bg1:         #0e0e18;
  --bg2:         #13131f;
  --bg3:         #1a1a28;
  --bg4:         #202030;
  --border:      rgba(255,255,255,0.07);
  --border-h:    rgba(255,255,255,0.12);
  --accent:      #7c6fff;
  --accent2:     #a78bfa;
  --accent-dim:  rgba(124,111,255,0.15);
  --accent-glow: rgba(124,111,255,0.3);
  --blue:        #60a5fa;
  --green:       #4ade80;
  --orange:      #fb923c;
  --red:         #f87171;
  --text:        #ededf5;
  --text2:       #9898b8;
  --text3:       #55556a;
  --sidebar-w:   248px;
  --font:        'Inter', system-ui, sans-serif;
  --r:           10px;
  --r-sm:        6px;
  --r-lg:        16px;
  --r-xl:        20px;
  --shadow:      0 18px 60px rgba(0,0,0,0.45);
}

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── LAYOUT ── */
.layout { display: flex; height: 100vh; overflow: hidden; }

/* ══════════════════════════════════════════
   SIDEBAR
══════════════════════════════════════════ */
.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--bg1);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 18px 14px 16px;
  gap: 6px;
  position: relative;
  z-index: 10;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 6px 8px 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}

.logo-icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px; color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 20px var(--accent-glow);
}

.logo-icon-sm {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; color: #fff;
  flex-shrink: 0;
}

.brand-text { display: flex; flex-direction: column; gap: 1px; }
.brand-name { font-weight: 700; font-size: 15px; letter-spacing: -0.3px; }
.brand-sub  { font-size: 11px; color: var(--text3); }

/* Outstrap status */
.sidebar-status {
  display: flex; align-items: center; gap: 7px;
  padding: 7px 10px;
  border-radius: var(--r-sm);
  font-size: 12px; font-weight: 500;
  border: 1px solid var(--border);
  margin-bottom: 6px;
  transition: all 0.3s;
}
.sidebar-status.online  { background: rgba(74,222,128,0.08); border-color: rgba(74,222,128,0.2); color: var(--green); }
.sidebar-status.offline { background: rgba(255,255,255,0.03); color: var(--text3); }

.sidebar-nav { flex: 1; display: flex; flex-direction: column; gap: 2px; }

.nav-label {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.9px;
  color: var(--text3);
  padding: 6px 8px 8px;
}

.nav-item {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 10px;
  border-radius: var(--r-sm);
  color: var(--text2);
  text-decoration: none;
  font-weight: 500; font-size: 13.5px;
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
  user-select: none;
}
.nav-item:hover  { background: var(--bg3); color: var(--text); }
.nav-item.active { background: var(--accent-dim); color: var(--accent2); }
.nav-item.active .nav-icon { color: var(--accent); }
.nav-icon { width: 16px; height: 16px; flex-shrink: 0; }

.nav-badge {
  margin-left: auto;
  background: var(--accent);
  color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 1px 6px; border-radius: 100px;
}

/* Sidebar footer */
.sidebar-footer {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  display: flex; flex-direction: column; gap: 8px;
}

.user-panel {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  background: var(--bg3);
  border: 1px solid var(--border);
}

.user-avatar-wrap { position: relative; flex-shrink: 0; }

.user-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; color: #fff;
}

.online-dot {
  position: absolute; bottom: 0; right: 0;
  width: 9px; height: 9px;
  background: var(--green);
  border: 2px solid var(--bg3);
  border-radius: 50%;
}

.user-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.user-name { font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-sub  { font-size: 11px; color: var(--text3); }

.icon-btn {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none;
  border-radius: 6px; cursor: pointer;
  color: var(--text3);
  transition: all 0.15s; flex-shrink: 0;
}
.icon-btn:hover { background: var(--bg4); }
.icon-btn.danger-hover:hover { background: rgba(248,113,113,0.15); color: var(--red); }

/* ══════════════════════════════════════════
   CONTENT
══════════════════════════════════════════ */
.content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.content::-webkit-scrollbar { width: 5px; }
.content::-webkit-scrollbar-track { background: transparent; }
.content::-webkit-scrollbar-thumb { background: var(--bg4); border-radius: 3px; }

/* ── PAGES ── */
.page { padding: 52px 60px; max-width: 960px; animation: fadeUp 0.3s ease; }
.page.hidden  { display: none; }
.page.active  { display: block; }

.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 26px;
}

.muted { color: var(--text2); }

/* Sidebar section label spacing */
.sidebar-nav .nav-label { margin-top: 10px; }
.sidebar-nav .nav-label:first-child { margin-top: 0; }

/* Product switcher (Roblox / Minecraft / CS2) */
.product-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  margin-bottom: 18px;
}
.product-pill {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text2);
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 650;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
}
.product-pill:hover { background: rgba(255,255,255,0.04); color: var(--text); }
.product-pill:active { transform: scale(0.98); }
.product-pill.active {
  background: rgba(124,111,255,0.14);
  border-color: rgba(124,111,255,0.35);
  color: var(--accent2);
}

.product-panel { display: none; }
.product-panel.active { display: block; }

.locked-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 26px;
  text-align: center;
  box-shadow: 0 18px 60px rgba(0,0,0,0.35);
  position: relative;
  overflow: hidden;
}
.locked-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(800px 280px at 30% 0%, rgba(251,146,60,0.10), transparent 60%),
    radial-gradient(800px 280px at 70% 30%, rgba(124,111,255,0.10), transparent 60%);
  pointer-events: none;
}
.locked-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.92);
  position: relative;
  z-index: 1;
}
.locked-card h2 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.4px;
  position: relative;
  z-index: 1;
}
.locked-card p {
  margin-top: 8px;
  color: var(--text2);
  position: relative;
  z-index: 1;
}

.locked-pop { animation: lockedPop 0.45s ease; }
@keyframes lockedPop {
  0% { transform: translateY(8px) scale(0.98); opacity: 0.0; }
  55% { transform: translateY(0) scale(1.01); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════
   HOME — HERO
══════════════════════════════════════════ */
.bg-glow {
  position: fixed; top: -200px; left: 200px;
  width: 600px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(124,111,255,0.12) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}

.hero { position: relative; z-index: 1; padding-bottom: 64px; }

.hero-eyebrow { margin-bottom: 24px; }

.pill-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(124,111,255,0.1);
  border: 1px solid rgba(124,111,255,0.25);
  color: var(--accent2);
  font-size: 12px; font-weight: 600;
  padding: 5px 14px; border-radius: 100px;
  letter-spacing: 0.1px;
}

.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(74,222,128,0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0   rgba(74,222,128,0.6); }
  70%  { box-shadow: 0 0 0 7px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0   rgba(74,222,128,0); }
}

.hero-title {
  font-size: 56px; font-weight: 800;
  line-height: 1.07; letter-spacing: -2px;
  margin-bottom: 22px;
}

.hero-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 45%, var(--blue) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 17px; color: var(--text2);
  max-width: 520px; line-height: 1.75;
  margin-bottom: 36px; font-weight: 400;
}

.hero-cta { display: flex; gap: 12px; align-items: center; margin-bottom: 48px; flex-wrap: wrap; }

.hero-stats {
  display: inline-flex; align-items: center; gap: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 14px 24px;
}

.stat { display: flex; flex-direction: column; align-items: center; }
.stat-num { font-size: 20px; font-weight: 700; letter-spacing: -0.5px; }
.stat-lbl { font-size: 11px; color: var(--text3); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
.stat-divider { width: 1px; height: 32px; background: var(--border); }

/* ── FEATURES GRID ── */
.section-title {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--text3); margin-bottom: 20px;
}

.features-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  position: relative; z-index: 1;
}

.feature-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 26px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  border-color: var(--border-h);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

.feature-icon-wrap {
  width: 44px; height: 44px;
  background: rgba(124,111,255,0.12);
  border: 1px solid rgba(124,111,255,0.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-bottom: 16px;
}
.feature-icon-wrap.blue   { background: rgba(96,165,250,0.12); border-color: rgba(96,165,250,0.2); color: var(--blue); }
.feature-icon-wrap.green  { background: rgba(74,222,128,0.12); border-color: rgba(74,222,128,0.2); color: var(--green); }
.feature-icon-wrap.orange { background: rgba(251,146,60,0.12); border-color: rgba(251,146,60,0.2); color: var(--orange); }

.feature-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 7px; }
.feature-card p  { font-size: 13px; color: var(--text2); line-height: 1.65; }

/* ── STEPS ── */
.steps-list { display: flex; flex-direction: column; gap: 0; position: relative; z-index: 1; }
.steps-list::before {
  content: ''; position: absolute;
  left: 19px; top: 0; bottom: 0; width: 1px;
  background: var(--border);
}

.step {
  display: flex; gap: 20px;
  padding: 20px 24px 20px 0;
  position: relative;
}

.step-num {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  color: var(--accent);
  position: relative; z-index: 1;
}

.step-body h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; padding-top: 10px; }
.step-body p  { font-size: 13px; color: var(--text2); line-height: 1.6; }

/* ══════════════════════════════════════════
   DOWNLOAD / INFO / SOCIAL
══════════════════════════════════════════ */
.download-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 14px;
}

.download-card {
  background: rgba(255,255,255,0.03);
  border-radius: var(--r-xl);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(900px 300px at 20% 0%, rgba(124,111,255,0.18), transparent 55%),
    radial-gradient(700px 260px at 80% 40%, rgba(96,165,250,0.12), transparent 60%);
  pointer-events: none;
}

.download-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 650;
  color: var(--accent2);
  border: 1px solid rgba(124,111,255,0.25);
  background: rgba(124,111,255,0.08);
  padding: 6px 12px;
  border-radius: 100px;
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.download-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.8px;
  position: relative;
  z-index: 1;
}

.download-desc {
  margin-top: 10px;
  color: var(--text2);
  max-width: 520px;
  position: relative;
  z-index: 1;
}

.download-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.btn-outline.btn-xl {
  font-size: 15px;
  padding: 13px 26px;
  border-radius: var(--r);
}

.download-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
  position: relative;
  z-index: 1;
}

.meta-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 12px 14px;
}
.meta-k {
  display: block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: var(--text3);
}
.meta-v {
  display: block;
  margin-top: 4px;
  font-weight: 650;
  color: var(--text);
}

.download-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.info-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 22px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.info-card:hover {
  border-color: var(--border-h);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.info-card h3 {
  font-size: 15px;
  font-weight: 650;
  margin-bottom: 8px;
}

.nice-list {
  margin-top: 10px;
  padding-left: 16px;
  color: var(--text2);
}
.nice-list li { margin: 6px 0; }

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 18px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.social-card:hover {
  border-color: var(--border-h);
  transform: translateY(-2px);
  background: var(--bg3);
  box-shadow: 0 14px 46px rgba(0,0,0,0.35);
}

.social-card:hover .social-icon {
  box-shadow: 0 0 0 3px rgba(255,255,255,0.03), 0 12px 30px rgba(0,0,0,0.3);
  transform: translateY(-1px);
}
.social-icon { transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }

.social-card:hover .social-svg {
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.25));
}

.social-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.03);
  flex-shrink: 0;
}
.social-svg { width: 24px; height: 24px; display: block; }
.social-icon { color: rgba(255,255,255,0.92); }
.social-icon.youtube { background: rgba(248,113,113,0.12); border-color: rgba(248,113,113,0.25); }
.social-icon.tiktok  { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); }
.social-icon.discord { background: rgba(124,111,255,0.12); border-color: rgba(124,111,255,0.25); }

.social-body { flex: 1; min-width: 0; }
.social-title { font-weight: 750; letter-spacing: -0.2px; }
.social-sub {
  color: var(--text2);
  font-size: 12.5px;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.social-arrow { color: var(--text3); }

/* ══════════════════════════════════════════
   FORUM
══════════════════════════════════════════ */
.forum-header {
  display: flex; align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px; gap: 16px;
}

.page-title { font-size: 26px; font-weight: 700; letter-spacing: -0.5px; }
.page-sub   { font-size: 13px; color: var(--text2); margin-top: 3px; }

/* Category filter */
.category-filter {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 20px;
}

.cat-chip {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text2);
  font-family: var(--font); font-size: 12px; font-weight: 500;
  padding: 5px 14px; cursor: pointer;
  transition: all 0.15s;
}
.cat-chip:hover  { background: var(--bg3); border-color: var(--border-h); color: var(--text); }
.cat-chip.active { background: var(--accent-dim); border-color: rgba(124,111,255,0.35); color: var(--accent2); }

/* New post form */
.new-post-form {
  padding: 24px; border-radius: var(--r-xl);
  margin-bottom: 20px; animation: fadeUp 0.2s ease;
}
.new-post-form h3 { font-size: 16px; font-weight: 600; margin-bottom: 20px; }

/* Post card */
.post-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 20px 24px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
  animation: fadeUp 0.25s ease;
}
.post-card:hover {
  border-color: var(--border-h);
  background: var(--bg3);
  transform: translateY(-1px);
}

.post-top {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}

.post-cat {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.7px;
  padding: 3px 9px; border-radius: 100px;
  border: 1px solid;
}
.cat-General     { background: rgba(124,111,255,0.1); border-color: rgba(124,111,255,0.25); color: var(--accent2); }
.cat-Help        { background: rgba(96,165,250,0.1);  border-color: rgba(96,165,250,0.25);  color: var(--blue); }
.cat-Showcase    { background: rgba(74,222,128,0.1);  border-color: rgba(74,222,128,0.25);  color: var(--green); }
.cat-Bugs        { background: rgba(248,113,113,0.1); border-color: rgba(248,113,113,0.25); color: var(--red); }
.cat-Suggestions { background: rgba(251,146,60,0.1);  border-color: rgba(251,146,60,0.25);  color: var(--orange); }

.post-by { font-size: 12px; color: var(--text3); }
.post-by strong { color: var(--text2); font-weight: 600; }
.post-age { font-size: 12px; color: var(--text3); margin-left: auto; }

.post-title   { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.post-excerpt { font-size: 13px; color: var(--text2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.post-footer {
  display: flex; align-items: center; gap: 16px;
  margin-top: 14px; padding-top: 13px;
  border-top: 1px solid var(--border);
}

.post-stat {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--text3);
}

/* Thread */
.thread-topbar { margin-bottom: 24px; }

.back-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none;
  color: var(--text2); font-size: 13px; font-weight: 500;
  font-family: var(--font); cursor: pointer;
  padding: 7px 12px;
  border-radius: var(--r-sm);
  transition: all 0.15s;
}
.back-btn:hover { background: var(--bg3); color: var(--text); }

.thread-post {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 30px;
  margin-bottom: 28px;
}

.thread-title {
  font-size: 24px; font-weight: 700;
  letter-spacing: -0.5px; margin-bottom: 18px; line-height: 1.3;
}

.thread-body {
  font-size: 14px; color: var(--text2);
  line-height: 1.75; white-space: pre-wrap; word-break: break-word;
}

.replies-header {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--text3); margin-bottom: 14px;
}

.reply-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px 22px;
  margin-bottom: 10px;
  animation: fadeUp 0.2s ease;
}

.reply-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px;
}

.reply-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff; flex-shrink: 0;
}

.reply-author { font-size: 13px; font-weight: 600; }
.reply-age    { font-size: 11px; color: var(--text3); margin-left: auto; }
.reply-body   { font-size: 13px; color: var(--text2); line-height: 1.65; white-space: pre-wrap; word-break: break-word; }

.reply-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px;
  margin-top: 18px;
  animation: fadeUp 0.2s ease;
}

.reply-box-header {
  display: flex; align-items: center; gap: 9px;
  margin-bottom: 12px;
}

.mini-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff; flex-shrink: 0;
}

.reply-box-header span { font-size: 13px; font-weight: 600; color: var(--text2); }

.reply-actions {
  display: flex; justify-content: flex-end;
  margin-top: 12px;
}

.login-prompt {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  text-align: center;
  margin-top: 18px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.login-prompt svg { color: var(--text3); }
.login-prompt p   { font-size: 14px; color: var(--text2); }

/* Empty state */
.empty-state {
  text-align: center; padding: 60px 30px;
  color: var(--text3);
}
.empty-icon { font-size: 36px; margin-bottom: 10px; }
.empty-state p { font-size: 14px; }

/* ══════════════════════════════════════════
   GLASS CARD
══════════════════════════════════════════ */
.glass-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
}

/* ══════════════════════════════════════════
   FORMS
══════════════════════════════════════════ */
.form-group {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 14px;
}
.form-group label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.6px;
  color: var(--text3);
}

.form-row-2 {
  display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: start;
}
.form-row-2 .flex-2 { grid-column: 1; }

input, textarea, select {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  font-family: var(--font); font-size: 14px;
  padding: 10px 14px; outline: none; width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input::placeholder, textarea::placeholder { color: var(--text3); }
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124,111,255,0.18);
}

select {
  cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355556a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 16px;
}

textarea { resize: vertical; min-height: 80px; }

.form-actions {
  display: flex; gap: 10px; justify-content: flex-end; margin-top: 4px;
}

.form-error {
  background: rgba(248,113,113,0.08);
  border: 1px solid rgba(248,113,113,0.25);
  color: var(--red);
  border-radius: var(--r-sm); padding: 9px 13px;
  font-size: 13px; margin-bottom: 10px;
}

.form-hint {
  font-size: 11px; color: var(--text3);
  text-align: center; margin-top: 12px; line-height: 1.5;
}

.mt-4 { margin-top: 4px; }

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--accent); color: #fff;
  border: none; border-radius: var(--r-sm);
  font-family: var(--font); font-size: 13.5px; font-weight: 600;
  padding: 9px 18px; cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s, transform 0.1s;
  white-space: nowrap;
}
.btn-primary:hover  { background: #8d82ff; box-shadow: 0 0 20px rgba(124,111,255,0.35); }
.btn-primary:active { transform: scale(0.98); }

.btn-primary.btn-xl { font-size: 15px; padding: 13px 26px; border-radius: var(--r); }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  background: transparent; color: var(--text2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm); font-family: var(--font);
  font-size: 13.5px; font-weight: 500;
  padding: 9px 18px; cursor: pointer;
  transition: all 0.15s;
}
.btn-outline:hover { border-color: var(--border-h); color: var(--text); background: var(--bg3); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 7px;
  background: transparent; color: var(--text2);
  border: none; border-radius: var(--r-sm);
  font-family: var(--font); font-size: 13.5px; font-weight: 500;
  padding: 9px 18px; cursor: pointer;
  transition: all 0.15s;
}
.btn-ghost:hover  { background: var(--bg3); color: var(--text); }
.btn-ghost.btn-xl { font-size: 15px; padding: 13px 26px; border-radius: var(--r); }

.btn-spinner {
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.full-width { width: 100%; justify-content: center; }

/* ══════════════════════════════════════════
   MODAL / OVERLAY
══════════════════════════════════════════ */
.overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  z-index: 200;
}
.overlay.hidden { display: none; }

.modal {
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px 32px 32px;
  width: 100%; max-width: 420px;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px var(--border);
  animation: modalIn 0.22s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.94) translateY(-10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}

.modal-logo {
  display: flex; align-items: center; gap: 9px;
  font-size: 14px; font-weight: 600;
}

.modal-close {
  position: absolute; top: 18px; right: 18px;
  background: none; border: none;
  color: var(--text3); cursor: pointer;
  padding: 6px; border-radius: 6px;
  transition: all 0.15s;
}
.modal-close:hover { background: var(--bg3); color: var(--text); }

.modal-tabs {
  display: flex; gap: 3px;
  background: var(--bg3); border-radius: var(--r-sm);
  padding: 3px; margin-bottom: 22px;
}
.modal-tab {
  flex: 1; background: transparent; border: none;
  border-radius: 5px; color: var(--text2);
  font-family: var(--font); font-size: 13px; font-weight: 500;
  padding: 8px; cursor: pointer; transition: all 0.15s;
}
.modal-tab.active { background: var(--bg4); color: var(--text); font-weight: 600; }

/* Status badge inside modal */
.status-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 100px; border: 1px solid;
}
.status-badge.online  { background: rgba(74,222,128,0.08); border-color: rgba(74,222,128,0.25); color: var(--green); }
.status-badge.offline { background: rgba(255,255,255,0.04); border-color: var(--border); color: var(--text3); }

.status-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
}
.online .status-dot  { background: var(--green); }
.offline .status-dot { background: var(--text3); }
.status-label { font-size: 12px; }

/* ══════════════════════════════════════════
   TOAST NOTIFICATIONS
══════════════════════════════════════════ */
#toast-container {
  position: fixed; bottom: 24px; right: 24px;
  display: flex; flex-direction: column-reverse; gap: 8px;
  z-index: 9999; pointer-events: none;
}

.toast {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 12px 16px;
  font-size: 13px; font-weight: 500;
  color: var(--text);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  pointer-events: all;
  animation: toastIn 0.25s ease;
  min-width: 240px; max-width: 340px;
}

.toast.success { border-left: 3px solid var(--green); }
.toast.error   { border-left: 3px solid var(--red); }
.toast.info    { border-left: 3px solid var(--accent); }

.toast.fade-out { animation: toastOut 0.3s ease forwards; }

@keyframes toastIn  { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { from { opacity: 1; transform: translateX(0); }     to { opacity: 0; transform: translateX(20px); } }

/* ══════════════════════════════════════════
   UTILITIES
══════════════════════════════════════════ */
.hidden { display: none !important; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .sidebar { width: 64px; }
  .brand-text, .nav-item span, .nav-label,
  .sidebar-status .status-label,
  .user-info, .user-sub, .brand-sub { display: none; }
  .nav-item { justify-content: center; }
  .page { padding: 28px 20px; }
  .hero-title { font-size: 36px; }
  .features-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .sidebar-brand { justify-content: center; }
  .user-panel { justify-content: center; }
  .user-avatar-wrap { margin: 0 auto; }
  .download-grid { grid-template-columns: 1fr; }
  .download-meta { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: 1fr; }
  .product-switch { width: 100%; justify-content: space-between; }
  .product-pill { flex: 1; text-align: center; }
}
