
/* ===== RESET & VARIABLES ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0e0a1a;
  --bg2: #160f28;
  --bg3: #1e1535;
  --card: #1a1030;
  --card2: #221540;
  --accent: #b5ff2e;
  --accent2: #ff6b1a;
  --accent3: #c84bff;
  --text: #f0eaff;
  --muted: #8b7aaa;
  --border: rgba(181,255,46,0.18);
  --border2: rgba(200,75,255,0.18);
  --glow: 0 0 20px rgba(181,255,46,0.15);
  --glow2: 0 0 20px rgba(200,75,255,0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --font-display: 'Nunito', sans-serif;
  --font-ui: 'Nunito', sans-serif;
  --font-body: 'Nunito', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== ANIMATED BACKGROUND ===== */
.bg-particles {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.particle {
  position: absolute; border-radius: 50%; opacity: 0.12;
  animation: float-up linear infinite;
}
@keyframes float-up {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.15; }
  90% { opacity: 0.1; }
  100% { transform: translateY(-20px) scale(1); opacity: 0; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent3); border-radius: 3px; }

/* ===== NAVIGATION ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(14,10,26,0.92); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  transition: all 0.3s;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 1px;
  text-shadow: 0 0 20px rgba(181,255,46,0.4);
  cursor: pointer;
}
.nav-logo span { color: var(--accent2); }
.nav-links { display: flex; gap: 0.25rem; align-items: center; }
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-family: var(--font-ui); font-size: 1.05rem;
  padding: 0.4rem 0.9rem; border-radius: 8px;
  transition: all 0.2s; cursor: pointer;
  border: 1px solid transparent;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--accent); background: rgba(181,255,46,0.08);
  border-color: var(--border);
}
.lang-toggle {
  display: flex; align-items: center; gap: 4px;
  background: var(--card2); border: 1px solid var(--border);
  border-radius: 8px; padding: 4px; cursor: pointer;
}
.lang-btn {
  padding: 4px 10px; border-radius: 6px; font-size: 0.92rem;
  font-family: var(--font-ui); cursor: pointer; transition: all 0.2s;
  background: transparent; border: none; color: var(--muted);
}
.lang-btn.active {
  background: var(--accent); color: #0e0a1a; font-weight: 700;
}
.nav-right { display: flex; gap: 1rem; align-items: center; }
.btn-login {
  font-family: var(--font-ui); font-size: 1.1rem;
  background: var(--card2); border: 1px solid var(--border);
  color: var(--text); padding: 0.35rem 1rem; border-radius: 8px;
  cursor: pointer; transition: all 0.2s;
}
.btn-login:hover { border-color: var(--accent3); color: var(--accent3); }
.btn-register {
  font-family: var(--font-ui); font-size: 1.1rem;
  background: var(--accent); border: 1px solid var(--accent);
  color: #0e0a1a; padding: 0.35rem 1.2rem; border-radius: 8px;
  cursor: pointer; transition: all 0.2s; font-weight: 700;
}
.btn-register:hover { background: #d4ff60; box-shadow: 0 0 20px rgba(181,255,46,0.4); }
#user-nav { display: flex; gap: 0.75rem; align-items: center; }
.avatar-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent3), var(--accent2));
  border: 2px solid var(--accent); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-ui); font-size: 0.85rem; color: white; font-weight: 700;
}
.btn-logout {
  font-family: var(--font-ui); background: transparent;
  border: 1px solid rgba(255,100,100,0.3); color: #ff6b6b;
  padding: 0.35rem 0.9rem; border-radius: 8px; cursor: pointer;
  font-size: 0.9rem; transition: all 0.2s;
}
.btn-logout:hover { background: rgba(255,100,100,0.1); }

/* ===== PAGES ===== */
.page { display: none; padding-top: 64px; min-height: 100vh; position: relative; z-index: 1; }
.page.active { display: block; }

/* ===== HERO ===== */
#hero {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 2rem;
  position: relative;
}
.hero-eyebrow {
  font-family: var(--font-ui); font-size: 1rem; color: var(--accent2);
  letter-spacing: 3px; text-transform: uppercase; margin-bottom: 1.5rem;
  animation: fade-in 0.8s ease both;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 7rem);
  line-height: 1;
  color: var(--text);
  animation: hero-in 0.9s cubic-bezier(0.22,1,0.36,1) both 0.1s;
}
.hero-title .s { color: var(--accent); text-shadow: 0 0 40px rgba(181,255,46,0.5); }
.hero-title .g { color: var(--accent2); text-shadow: 0 0 40px rgba(255,107,26,0.5); }
.hero-slime {
  display: block; font-size: 0.55em; color: var(--accent3);
  animation: drip 3s ease-in-out infinite 1s;
  text-shadow: 0 0 30px rgba(200,75,255,0.5);
}
@keyframes drip {
  0%, 100% { transform: scaleY(1) translateY(0); }
  50% { transform: scaleY(1.04) translateY(4px); }
}
@keyframes hero-in {
  0% { opacity: 0; transform: translateY(40px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fade-in {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}
.hero-desc {
  max-width: 540px; font-size: 1.1rem; color: var(--muted);
  margin: 1.5rem auto 2.5rem; line-height: 1.7;
  animation: fade-in 0.9s ease both 0.3s;
}
.hero-cta {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  animation: fade-in 0.9s ease both 0.4s;
}
.btn-primary {
  font-family: var(--font-ui); font-size: 1.15rem;
  background: var(--accent); color: #0e0a1a;
  border: none; padding: 0.75rem 2rem; border-radius: 12px;
  cursor: pointer; font-weight: 700; transition: all 0.2s;
  letter-spacing: 0.5px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(181,255,46,0.4); }
.btn-secondary {
  font-family: var(--font-ui); font-size: 1.15rem;
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border2); padding: 0.75rem 2rem; border-radius: 12px;
  cursor: pointer; transition: all 0.2s;
}
.btn-secondary:hover { border-color: var(--accent3); color: var(--accent3); transform: translateY(-2px); }

/* hero stats */
.hero-stats {
  display: flex; gap: 3rem; justify-content: center; flex-wrap: wrap;
  margin-top: 4rem; animation: fade-in 1s ease both 0.5s;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-body); font-size: 2.2rem;
  color: var(--accent); display: block;
}
.stat-label { font-size: 0.85rem; color: var(--muted); margin-top: 2px; }

/* slime blob decorations */
.blob {
  position: absolute; border-radius: 50%; filter: blur(80px);
  pointer-events: none; animation: pulse-blob 6s ease-in-out infinite;
}
@keyframes pulse-blob {
  0%, 100% { opacity: 0.12; transform: scale(1); }
  50% { opacity: 0.2; transform: scale(1.1); }
}

/* ===== SECTION STYLES ===== */
.section { padding: 5rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-eyebrow {
  font-family: var(--font-ui); font-size: 0.9rem; color: var(--accent2);
  letter-spacing: 3px; text-transform: uppercase; margin-bottom: 0.5rem; display: block;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--text); margin-bottom: 0.75rem;
}
.section-title .hi { color: var(--accent3); }
.section-sub { color: var(--muted); font-size: 1rem; max-width: 500px; margin: 0 auto; }

/* ===== CARDS ===== */
.card {
  background: var(--card); border: 1px solid var(--border2);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all 0.3s; cursor: pointer;
}
.card:hover {
  transform: translateY(-6px); border-color: var(--accent3);
  box-shadow: 0 12px 40px rgba(200,75,255,0.2);
}
.card-img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  background: var(--bg3); display: flex; align-items: center; justify-content: center;
  font-size: 4rem; position: relative; overflow: hidden;
}
.card-img-placeholder {
  background: linear-gradient(135deg, var(--bg2), var(--card2));
  width: 100%; aspect-ratio: 4/3; display: flex; align-items: center;
  justify-content: center; font-size: 3.5rem; position: relative;
}
.card-body { padding: 1.25rem 1.5rem 1.5rem; }
.card-tag {
  font-size: 0.72rem; font-family: var(--font-ui); letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent3); margin-bottom: 0.5rem;
  display: block;
}
.card-title {
  font-family: var(--font-ui); font-size: 1.35rem; color: var(--text);
  margin-bottom: 0.5rem;
}
.card-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }
.card-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.card-badge {
  background: rgba(181,255,46,0.1); border: 1px solid rgba(181,255,46,0.2);
  color: var(--accent); font-size: 0.78rem; font-family: var(--font-ui);
  padding: 3px 10px; border-radius: 20px;
}
.card-count { font-size: 0.82rem; color: var(--muted); }

/* grid */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; }
.grid-6 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.75rem; }

/* ===== FIGURINE CARDS ===== */
.fig-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: all 0.25s; position: relative;
}
.fig-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 8px 30px rgba(181,255,46,0.15); }
.fig-img {
  width: 100%; aspect-ratio: 1; background: var(--bg3);
  display: flex; align-items: center; justify-content: center; font-size: 3rem;
  position: relative; overflow: hidden;
}
.fig-img img { width: 100%; height: 100%; object-fit: cover; }
.fig-img-placeholder { 
  background: linear-gradient(135deg, var(--bg2) 0%, var(--card2) 100%);
  width: 100%; aspect-ratio: 1; display: flex; align-items: center;
  justify-content: center; font-size: 3rem;
}
.fig-owned-badge {
  position: absolute; top: 8px; right: 8px;
  background: var(--accent); color: #0e0a1a;
  font-size: 0.7rem; font-family: var(--font-ui); font-weight: 700;
  padding: 3px 8px; border-radius: 20px;
}
.fig-body { padding: 0.9rem 1rem 1rem; }
.fig-number { font-size: 0.72rem; color: var(--muted); margin-bottom: 2px; }
.fig-name { font-family: var(--font-ui); font-size: 1.05rem; color: var(--text); }
.fig-toggle {
  display: flex; align-items: center; justify-content: space-between; margin-top: 0.6rem;
}
.toggle-label { font-size: 0.78rem; color: var(--muted); }
.detail-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.5rem 0; border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.detail-row:last-child { border-bottom: none; }
.detail-label { color: var(--muted); font-size: 0.85rem; min-width: 180px; }
.detail-value { color: var(--text); font-weight: 500; padding-left: 0.5rem; }

.toggle-btn-blue {
  width: 36px; height: 20px; border-radius: 10px; border: none; cursor: pointer;
  background: var(--border); position: relative; transition: background 0.2s; flex-shrink: 0;
}
.toggle-btn-blue::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 14px; height: 14px; border-radius: 50%; background: white; transition: left 0.2s;
}
.toggle-btn-blue.on { background: #4db8ff; }
.toggle-btn-blue.on::after { left: 19px; }

.toggle-btn {
  width: 38px; height: 22px; border-radius: 11px; border: none;
  background: var(--card2); cursor: pointer; position: relative; transition: all 0.25s;
}
.toggle-btn::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--muted); transition: all 0.25s;
}
.toggle-btn.on { background: rgba(181,255,46,0.2); }
.toggle-btn.on::after { left: 19px; background: var(--accent); }

/* ===== SERIES DETAIL PAGE ===== */
#series-detail { display: none; }
#series-detail.active { display: block; }
.series-hero {
  background: linear-gradient(to bottom, var(--bg2), var(--bg));
  padding: 3rem 2rem 2rem;
  border-bottom: 1px solid var(--border);
}
.series-hero-inner { max-width: 1100px; margin: 0 auto; }
.back-btn {
  font-family: var(--font-ui); background: transparent;
  border: 1px solid var(--border); color: var(--muted);
  padding: 0.4rem 1rem; border-radius: 8px; cursor: pointer;
  margin-bottom: 1.5rem; transition: all 0.2s; display: inline-flex; align-items: center; gap: 6px;
}
.back-btn:hover { border-color: var(--accent3); color: var(--accent3); }
.series-title-area { display: flex; align-items: flex-start; gap: 2rem; flex-wrap: wrap; }
.series-cover {
  width: 160px; min-width: 160px; aspect-ratio: 3/4;
  background: var(--card2); border-radius: var(--radius);
  border: 1px solid var(--border2); display: flex; align-items: center;
  justify-content: center; font-size: 4rem; overflow: hidden;
}
.series-cover img { width: 100%; height: 100%; object-fit: cover; }
.series-info { flex: 1; min-width: 200px; }
.series-year {
  font-family: var(--font-ui); font-size: 0.88rem; color: var(--accent2);
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 0.5rem;
}
.series-name {
  font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--text); margin-bottom: 1rem; line-height: 1.1;
}
.series-description { color: var(--muted); line-height: 1.7; margin-bottom: 1.5rem; max-width: 600px; }
.progress-bar-wrap { margin-bottom: 0.5rem; }
.progress-label { display: flex; justify-content: space-between; font-size: 0.82rem; margin-bottom: 6px; }
.progress-label span:first-child { color: var(--muted); }
.progress-label span:last-child { color: var(--accent); font-family: var(--font-ui); }
.progress-bar { height: 8px; background: var(--card2); border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--accent3), var(--accent)); border-radius: 4px; transition: width 0.6s ease; }

/* ===== MODALS ===== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(5,2,15,0.85);
  backdrop-filter: blur(8px); z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem; animation: overlay-in 0.2s ease;
}
.modal-overlay.hidden { display: none; }
@keyframes overlay-in { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: var(--radius-lg); padding: 2rem;
  width: 100%; max-width: 662px; max-height: 90vh; overflow-y: auto;
  animation: modal-in 0.25s cubic-bezier(0.22,1,0.36,1);
}
.modal-wide { max-width: 660px; }
@keyframes modal-in {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem;
}
.modal-title { font-family: var(--font-display); font-size: 1.5rem; color: var(--text); }
.modal-close {
  background: var(--card2); border: none; color: var(--muted);
  width: 32px; height: 32px; border-radius: 8px; cursor: pointer;
  font-size: 1.1rem; transition: all 0.2s;
}
.modal-close:hover { color: var(--text); background: var(--card); }

/* ===== FORMS ===== */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 6px; font-family: var(--font-ui); }
.form-input, .form-textarea, .form-select {
  width: 100%; background: var(--card); border: 1px solid var(--border);
  color: var(--text); font-family: var(--font-body); font-size: 0.95rem;
  padding: 0.65rem 1rem; border-radius: var(--radius); outline: none; transition: all 0.2s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--accent3); box-shadow: 0 0 0 3px rgba(200,75,255,0.1);
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-select { appearance: none; cursor: pointer; }
.form-hint { font-size: 0.78rem; color: var(--muted); margin-top: 4px; }

/* file upload */
.file-drop {
  border: 2px dashed var(--border2); border-radius: var(--radius);
  padding: 2rem; text-align: center; cursor: pointer; transition: all 0.2s;
  background: rgba(200,75,255,0.03);
}
.file-drop:hover { border-color: var(--accent3); background: rgba(200,75,255,0.07); }
.file-drop-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
.file-drop-text { font-size: 0.88rem; color: var(--muted); }
.file-drop-text strong { color: var(--accent3); }
.file-preview { max-width: 100%; border-radius: var(--radius); margin-top: 1rem; max-height: 200px; object-fit: cover; display: none; }

/* ===== AUTH TABS ===== */
.auth-tabs { display: flex; gap: 4px; background: var(--card); border-radius: 10px; padding: 4px; margin-bottom: 1.5rem; }
.auth-tab {
  flex: 1; padding: 0.5rem; border-radius: 7px; border: none; background: transparent;
  color: var(--muted); font-family: var(--font-ui); font-size: 1rem; cursor: pointer; transition: all 0.2s;
}
.auth-tab.active { background: var(--card2); color: var(--accent3); }

/* ===== BLOG / Q&A ===== */
.blog-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem 1.75rem;
  transition: border-color 0.2s; margin-bottom: 1.5rem;
}
.blog-card:hover { border-color: var(--accent3); }
.blog-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.blog-author { font-size: 0.95rem; color: var(--accent3); font-family: var(--font-ui); }
.blog-date { font-size: 0.9rem; color: var(--muted); }
.blog-type-badge {
  font-size: 0.7rem; font-family: var(--font-ui); letter-spacing: 1px; text-transform: uppercase;
  padding: 2px 8px; border-radius: 20px;
}
.badge-question { background: rgba(255,107,26,0.15); color: var(--accent2); border: 1px solid rgba(255,107,26,0.25); }
.badge-news { background: rgba(181,255,46,0.1); color: var(--accent); border: 1px solid rgba(181,255,46,0.2); }
.blog-title { font-family: var(--font-ui); font-size: 1.1rem; color: var(--text); margin-bottom: 0.5rem; }
.blog-excerpt { font-size: 1rem; color: var(--muted); line-height: 1.6; }

/* Thread / Comments */
.comments-section {
  margin-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1.25rem;
}
.comment {
  display: flex; gap: 0.75rem; margin-bottom: 1rem;
}
.comment-avatar {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-ui); font-size: 0.8rem; font-weight: 700;
  background: linear-gradient(135deg, var(--card2), var(--bg3));
  border: 1px solid var(--border2); color: var(--accent3);
}
.comment-avatar.is-admin {
  background: linear-gradient(135deg, rgba(181,255,46,0.15), rgba(200,75,255,0.15));
  border-color: rgba(181,255,46,0.3); color: var(--accent);
}
.comment-bubble {
  flex: 1; background: var(--bg2); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px 12px 12px 12px; padding: 0.7rem 1rem;
}
.comment-bubble.is-admin {
  background: rgba(181,255,46,0.04); border-color: rgba(181,255,46,0.15);
  border-left: 3px solid var(--accent);
}
.comment-header {
  display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.35rem; flex-wrap: wrap;
}
.comment-author { font-family: var(--font-ui); font-size: 1rem; color: var(--text); }
.comment-admin-badge {
  font-size: 0.65rem; background: rgba(181,255,46,0.15); color: var(--accent);
  border: 1px solid rgba(181,255,46,0.25); padding: 1px 6px; border-radius: 10px;
  font-family: var(--font-ui); letter-spacing: 0.5px;
}
.comment-date { font-size: 0.72rem; color: var(--muted); margin-left: auto; }
.comment-text { font-size: 1rem; color: var(--muted); line-height: 1.6; }
.comment-del-btn {
  background: transparent; border: none; color: rgba(255,100,100,0.4);
  cursor: pointer; font-size: 0.75rem; padding: 0 4px; margin-left: 6px;
  transition: color 0.15s;
}
.comment-del-btn:hover { color: #ff6b6b; }

/* Inline reply box */
.reply-box {
  display: flex; gap: 0.6rem; margin-top: 0.75rem; align-items: flex-start;
}
.reply-box-avatar {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-ui); font-size: 0.8rem; font-weight: 700;
  background: linear-gradient(135deg, var(--card2), var(--bg3));
  border: 1px solid var(--border2); color: var(--accent3);
}
.reply-textarea {
  flex: 1; background: var(--bg3); border: 1px solid var(--border);
  color: var(--text); font-family: var(--font-body); font-size: 1rem;
  padding: 0.55rem 0.85rem; border-radius: 20px; outline: none;
  resize: none; transition: border-color 0.2s; height: 38px; line-height: 1.5;
  overflow: hidden;
}
.reply-textarea:focus { border-color: var(--accent3); height: 80px; border-radius: 12px; }
.reply-send-btn {
  background: var(--accent3); border: none; color: white;
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  font-size: 1rem; flex-shrink: 0; transition: all 0.2s; align-self: flex-end;
}
.reply-send-btn:hover { background: var(--accent); color: #0e0a1a; transform: scale(1.1); }
.toggle-replies-btn {
  background: transparent; border: none; color: var(--muted);
  font-size: 0.8rem; cursor: pointer; padding: 0; font-family: var(--font-ui);
  transition: color 0.15s; margin-top: 0.5rem;
}
.toggle-replies-btn:hover { color: var(--accent3); }

/* ===== CONTACT PAGE ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; align-items: start; }
.contact-info { }
.contact-info h3 { font-family: var(--font-ui); font-size: 1.4rem; margin-bottom: 1rem; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.25rem; align-items: flex-start; }
.contact-icon { font-size: 1.5rem; line-height: 1; margin-top: 2px; }
.contact-item h4 { font-family: var(--font-ui); font-size: 1rem; margin-bottom: 2px; }
.contact-item p { font-size: 0.88rem; color: var(--muted); }

/* ===== PROFILE PAGE ===== */
.profile-header {
  background: linear-gradient(135deg, var(--bg2), var(--card));
  border: 1px solid var(--border2); border-radius: var(--radius-lg);
  padding: 2rem; display: flex; gap: 2rem; align-items: center; flex-wrap: wrap;
  margin-bottom: 2rem;
}
.profile-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--card2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 2rem; color: var(--muted);
  border: 3px solid var(--border); flex-shrink: 0;
}
.profile-info h2 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 0.25rem; }
.profile-info p { color: var(--muted); font-size: 0.9rem; }
.profile-stats { display: flex; gap: 2rem; margin-top: 1rem; flex-wrap: wrap; }
.profile-stat-num { font-family: var(--font-display); font-size: 1.5rem; color: var(--accent); }
.profile-stat-label { font-size: 0.78rem; color: var(--muted); }

/* ===== ADMIN BADGE ===== */
.admin-badge {
  background: linear-gradient(90deg, var(--accent2), var(--accent3));
  color: white; font-size: 0.7rem; font-family: var(--font-ui);
  padding: 2px 8px; border-radius: 20px; margin-left: 8px; vertical-align: middle;
}

/* ===== TOAST ===== */
#toast-container { position: fixed; bottom: 2rem; right: 2rem; z-index: 9999; display: flex; flex-direction: column; gap: 0.5rem; }
.toast {
  background: var(--card2); border: 1px solid var(--border2);
  color: var(--text); padding: 0.75rem 1.25rem; border-radius: 12px;
  font-family: var(--font-ui); font-size: 1rem;
  animation: toast-in 0.3s ease; display: flex; align-items: center; gap: 0.5rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.toast.success { border-color: rgba(181,255,46,0.3); }
.toast.error { border-color: rgba(255,100,100,0.3); }
@keyframes toast-in { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }

/* ===== EMPTY STATE ===== */
.empty-state { text-align: center; padding: 4rem 2rem; }
.empty-icon { font-size: 4rem; margin-bottom: 1rem; opacity: 0.5; }
.empty-title { font-family: var(--font-ui); font-size: 1.3rem; color: var(--muted); margin-bottom: 0.5rem; }
.empty-sub { font-size: 0.88rem; color: var(--muted); opacity: 0.7; }

/* ===== SEARCH & FILTERS ===== */
.search-bar {
  display: flex; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; align-items: center;
}
.search-input-wrap { flex: 1; min-width: 200px; position: relative; }
.search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 1rem; }
.search-input {
  width: 100%; background: var(--card); border: 1px solid var(--border);
  color: var(--text); font-family: var(--font-body); font-size: 0.95rem;
  padding: 0.65rem 1rem 0.65rem 2.5rem; border-radius: var(--radius); outline: none; transition: all 0.2s;
}
.search-input:focus { border-color: var(--accent3); }

/* ===== ADMIN PANEL ===== */
.admin-tabs { display: flex; gap: 0.5rem; margin-bottom: 2rem; overflow-x: auto; }
.admin-tab {
  font-family: var(--font-ui); font-size: 1rem;
  background: var(--card); border: 1px solid var(--border);
  color: var(--muted); padding: 0.5rem 1.2rem; border-radius: 8px;
  cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.admin-tab.active { background: rgba(181,255,46,0.1); border-color: rgba(181,255,46,0.3); color: var(--accent); }
.admin-section { display: none; }
.admin-section.active { display: block; }

/* ===== TABLE ===== */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  text-align: left; padding: 0.75rem 1rem; font-family: var(--font-ui); font-size: 0.85rem;
  color: var(--muted); border-bottom: 1px solid var(--border); letter-spacing: 1px; text-transform: uppercase;
}
.data-table td { padding: 0.75rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 0.9rem; }
.data-table tr:hover td { background: rgba(255,255,255,0.02); }
.tbl-btn {
  font-family: var(--font-ui); font-size: 0.82rem; padding: 3px 10px;
  border-radius: 6px; cursor: pointer; transition: all 0.15s; border: 1px solid;
  margin-right: 4px;
}
.tbl-btn-edit { background: transparent; border-color: rgba(200,75,255,0.3); color: var(--accent3); }
.tbl-btn-edit:hover { background: rgba(200,75,255,0.1); }
.tbl-btn-del { background: transparent; border-color: rgba(255,100,100,0.3); color: #ff6b6b; }
.tbl-btn-del:hover { background: rgba(255,100,100,0.1); }

/* ===== DIVIDER ===== */
.divider { border: none; border-top: 1px solid rgba(255,255,255,0.06); margin: 2rem 0; }

/* ===== FOOTER ===== */
footer {
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 3rem 2rem 2rem; position: relative; z-index: 1;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2rem; }
.footer-logo { font-family: var(--font-display); font-size: 1.6rem; color: var(--accent); margin-bottom: 0.75rem; }
.footer-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }
.footer-col h4 { font-family: var(--font-ui); font-size: 0.9rem; color: var(--text); margin-bottom: 1rem; letter-spacing: 1px; text-transform: uppercase; }
.footer-col a { display: block; font-size: 0.88rem; color: var(--muted); text-decoration: none; margin-bottom: 0.5rem; transition: color 0.2s; cursor: pointer; }
.footer-col a:hover { color: var(--accent3); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-copy { font-size: 0.82rem; color: var(--muted); }
.footer-slime { font-size: 0.82rem; color: var(--accent3); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .hero-stats { gap: 1.5rem; }
}
@media (max-width: 480px) {
  .modal { padding: 1.5rem; }
}

/* ===== SECTION CHOICE CARDS ===== */
.section-choice-card {
  background: var(--card); border: 1px solid var(--border2);
  border-radius: var(--radius-lg); padding: 2.5rem 1.5rem;
  text-align: center; cursor: pointer; transition: all 0.3s;
}
.section-choice-card:hover {
  transform: translateY(-6px); border-color: var(--accent3);
  box-shadow: 0 12px 40px rgba(200,75,255,0.2);
}
.section-choice-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.section-choice-title {
  font-family: var(--font-display); font-size: 1.6rem; color: var(--text); margin-bottom: 0.5rem;
}
.section-choice-count { font-size: 0.88rem; color: var(--muted); }

/* ===== SCROLL ANIMATIONS ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
