/* ============================================================
   NARUTO - NINDO WAY  |  Complete Redesign
   Inspired by naruto-official.com
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

:root {
  --orange: #FA9427;
  --orange-dark: #e07b0a;
  --orange-glow: rgba(250, 148, 39, 0.4);
  --orange-light: #FFB347;
  --naruto-blue: #2563eb;
  --red: #dc2626;
  --red-dark: #991b1b;
  --akatsuki-red: #8b0000;
  --konoha-green: #2d8a4e;
  --scroll-tan: #f5e6c8;
  --scroll-gold: #d4a853;
  --scroll-dark: #b8944a;
  --purple: #8b5cf6;
  --emerald: #10b981;
  --bg-primary: #0B0B0F;
  --bg-secondary: #101018;
  --bg-card: #15151f;
  --bg-card-hover: #1c1c2a;
  --text-primary: #f1f1f4;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --border: #2a2a3a;
  --discord-blue: #5865F2;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }

body {
  font-family: 'Rajdhani', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ===== PARTICLES ===== */
.particles {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; overflow: hidden;
}
.particle {
  position: absolute; background: var(--orange); border-radius: 50%;
  opacity: 0; animation: floatUp 8s infinite;
}
.shuriken-particle {
  position: absolute; opacity: 0; animation: floatUpSpin 10s infinite; pointer-events: none;
}
.shuriken-particle svg { width: 100%; height: 100%; }

@keyframes floatUp {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  10% { opacity: 0.6; }
  90% { opacity: 0.25; }
  100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}
@keyframes floatUpSpin {
  0% { opacity: 0; transform: translateY(100vh) rotate(0deg) scale(0); }
  10% { opacity: 0.5; }
  90% { opacity: 0.2; }
  100% { opacity: 0; transform: translateY(-10vh) rotate(720deg) scale(1); }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 30px; height: 64px;
  background: rgba(11, 11, 15, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 3px solid var(--orange);
  box-shadow: 0 4px 30px rgba(250, 148, 39, 0.15);
}
.nav-brand {
  font-family: 'Bebas Neue', 'Russo One', sans-serif;
  font-size: 1.6rem; color: var(--orange);
  display: flex; align-items: center; gap: 10px;
  letter-spacing: 3px;
}
.nav-icon {
  width: 32px; height: 32px; object-fit: contain;
  animation: spin 8s linear infinite;
  filter: drop-shadow(0 0 8px rgba(250, 148, 39, 0.5));
}
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  color: var(--text-secondary); text-decoration: none; font-weight: 700;
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px;
  padding: 6px 10px; border-radius: 4px;
  transition: all 0.3s; position: relative;
}
.nav-links a:hover { color: var(--orange); background: rgba(250, 148, 39, 0.08); }

.discord-btn {
  display: inline-flex !important; align-items: center; gap: 6px;
  background: var(--discord-blue) !important; color: white !important;
  padding: 6px 14px; border-radius: 8px; font-size: 0.8rem !important;
  transition: transform 0.2s, box-shadow 0.3s !important;
}
.discord-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4); }

.nav-admin-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: 1px solid var(--border);
  color: var(--text-secondary); padding: 6px 14px; border-radius: 8px;
  font-family: 'Rajdhani', sans-serif; font-size: 0.8rem; font-weight: 700;
  cursor: pointer; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s;
}
.nav-admin-btn:hover { border-color: var(--orange); color: var(--orange); }
.nav-admin-btn.logged-in { background: rgba(250, 148, 39, 0.15); border-color: var(--orange); color: var(--orange); }

.nav-discord-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--border); color: var(--discord-blue);
  width: 34px; height: 34px; border-radius: 8px; cursor: pointer; transition: all 0.3s;
}
.nav-discord-toggle:hover { border-color: var(--discord-blue); background: rgba(88, 101, 242, 0.1); }

.mobile-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 1.5rem; cursor: pointer; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 100px 20px;
  background: linear-gradient(135deg, #0B0B0F 0%, #0f0f18 50%, #1a0f05 100%);
  overflow: hidden;
}
.hero-bg-art {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-char {
  position: absolute; height: 85%; bottom: 0;
  object-fit: contain; opacity: 0.25;
  filter: drop-shadow(0 0 40px rgba(250, 148, 39, 0.3));
  transition: opacity 0.5s, filter 0.5s;
}
.hero-char:hover {
  opacity: 0.45;
  filter: drop-shadow(0 0 60px rgba(250, 148, 39, 0.6));
}
.hero-char-right { right: -5%; }
.hero-char-left { left: -5%; }

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at center, rgba(11, 11, 15, 0.3), rgba(11, 11, 15, 0.9) 70%),
    linear-gradient(0deg, var(--orange) 0%, transparent 3%);
}

.hero-content { position: relative; z-index: 2; }

.hero-title {
  font-family: 'Bebas Neue', 'Russo One', sans-serif;
  line-height: 0.9; margin-bottom: 30px;
}
.title-naruto {
  display: block;
  font-size: clamp(5rem, 18vw, 12rem);
  letter-spacing: 15px;
  color: white;
  text-shadow: 0 0 80px rgba(250, 148, 39, 0.4), 0 4px 0 rgba(0,0,0,0.5);
  -webkit-text-stroke: 2px rgba(250, 148, 39, 0.5);
}
.title-nindo {
  display: block;
  font-family: 'Permanent Marker', cursive;
  font-size: clamp(2rem, 7vw, 5rem);
  color: var(--orange);
  letter-spacing: 8px;
  text-shadow: 0 0 60px var(--orange-glow), 0 3px 0 var(--orange-dark);
  animation: titlePulse 3s ease-in-out infinite;
}
@keyframes titlePulse {
  0%, 100% { text-shadow: 0 0 60px var(--orange-glow), 0 3px 0 var(--orange-dark); }
  50% { text-shadow: 0 0 100px var(--orange-glow), 0 3px 0 var(--orange-dark), 0 0 200px rgba(250, 148, 39, 0.2); }
}

.hero-subtitle {
  font-size: 1.3rem; color: var(--text-secondary);
  margin-bottom: 40px; font-weight: 400; letter-spacing: 3px;
  text-transform: uppercase;
}

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.scroll-indicator {
  position: absolute; bottom: 30px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-muted); font-size: 0.85rem; animation: bounce 2s infinite; z-index: 2;
}
.scroll-arrow { width: 20px; height: 20px; border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted); transform: rotate(45deg); }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(10px); } }

/* ===== CHARACTER SHOWCASE STRIP ===== */
.character-strip {
  display: flex; justify-content: center; gap: 0;
  background: var(--orange);
  padding: 0; overflow-x: auto;
  position: relative; z-index: 2;
}
.char-item {
  position: relative; flex-shrink: 0;
  width: 120px; height: 140px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding-bottom: 8px; cursor: pointer;
  transition: all 0.3s; overflow: hidden;
}
.char-item::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 50%);
  z-index: 1;
}
.char-item img {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  height: 120px; object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
  transition: all 0.4s;
}
.char-item:hover img {
  transform: translateX(-50%) scale(1.15) translateY(-8px);
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.6));
}
.char-item:hover {
  background: rgba(0,0,0,0.2);
}
.char-name {
  position: relative; z-index: 2;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.85rem; color: white;
  letter-spacing: 2px; text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 4px; font-family: 'Bebas Neue', 'Rajdhani', sans-serif;
  font-size: 1.05rem; font-weight: 700; text-decoration: none; text-transform: uppercase;
  letter-spacing: 2px; cursor: pointer; transition: all 0.3s; border: none;
}
.btn-sm { padding: 6px 14px; font-size: 0.8rem; letter-spacing: 1px; }
.btn-primary {
  background: var(--orange); color: white;
  box-shadow: 0 4px 20px var(--orange-glow);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px var(--orange-glow); background: var(--orange-light); }
.btn-outline { background: transparent; color: white; border: 2px solid white; }
.btn-outline:hover { background: white; color: var(--bg-primary); }
.btn-danger { background: var(--red); color: white; }
.btn-danger:hover { background: var(--red-dark); }

/* ===== SECTIONS ===== */
.section {
  position: relative; z-index: 1; padding: 100px 0; overflow: hidden;
}

.section-decor {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.section-char {
  position: absolute; bottom: 0; height: 80%;
  object-fit: contain; opacity: 0.08;
  filter: grayscale(0.5);
  transition: opacity 0.5s;
}
.section:hover .section-char { opacity: 0.12; }
.section-char-right { right: -5%; }
.section-char-left { left: -5%; }

.section-header { text-align: center; margin-bottom: 50px; position: relative; z-index: 2; }

.section-label {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem; font-weight: 700;
  color: var(--orange); text-transform: uppercase;
  letter-spacing: 4px; margin-bottom: 8px;
  padding: 4px 16px;
  border: 1px solid rgba(250, 148, 39, 0.3);
  border-radius: 2px;
}

.section-title {
  font-family: 'Bebas Neue', 'Russo One', sans-serif;
  font-size: 3.5rem; color: var(--orange); margin-bottom: 8px;
  text-transform: uppercase; letter-spacing: 6px;
  text-shadow: 0 3px 0 rgba(0,0,0,0.4);
}
.section-title::after {
  content: ''; display: block; width: 60px; height: 3px;
  background: var(--orange); margin: 12px auto 0;
}
.section-subtitle { color: var(--text-secondary); font-size: 1.1rem; }

/* Title color variants */
.title-blue { color: #3b82f6; }
.title-blue::after { background: #3b82f6; }
.title-red { color: #ef4444; }
.title-red::after { background: #ef4444; }
.title-purple { color: var(--purple); }
.title-purple::after { background: var(--purple); }
.title-gold { color: var(--scroll-gold); }
.title-gold::after { background: var(--scroll-gold); }
.title-green { color: var(--emerald); }
.title-green::after { background: var(--emerald); }

.edit-toggle-btn {
  margin-top: 15px; padding: 8px 20px; background: transparent;
  border: 1px solid var(--border); color: var(--text-secondary); border-radius: 4px;
  cursor: pointer; font-family: 'Rajdhani', sans-serif; font-size: 0.9rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s;
}
.edit-toggle-btn:hover { border-color: var(--orange); color: var(--orange); }
.edit-toggle-btn.active { background: var(--orange); border-color: var(--orange); color: white; }

/* ===== ACCENT BANNERS (inspired by official site orange sections) ===== */
.accent-banner {
  position: relative; z-index: 2;
  background: var(--orange);
  padding: 40px 20px; overflow: hidden;
}
.accent-banner-dark {
  background: linear-gradient(135deg, #1a0f05, #0B0B0F);
  border-top: 4px solid var(--orange);
  border-bottom: 4px solid var(--orange);
}
.accent-banner-content {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 30px;
  position: relative;
}
.accent-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: white; letter-spacing: 4px;
  text-align: center; text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.accent-banner-dark .accent-text {
  color: var(--orange);
  text-shadow: 0 0 40px var(--orange-glow);
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  letter-spacing: 3px;
  max-width: 700px;
}
.accent-eye {
  width: 60px; height: 60px; object-fit: contain;
  animation: spin 10s linear infinite;
  filter: drop-shadow(0 0 15px rgba(250, 148, 39, 0.5));
}
.accent-beast {
  width: 100px; height: 80px; object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(250, 148, 39, 0.4));
  flex-shrink: 0;
}

/* ===== ANNOUNCEMENTS (Blue) ===== */
.section-announcements {
  background: linear-gradient(180deg, var(--bg-primary), #0a0f1e);
}
.announcements-list { display: flex; flex-direction: column; gap: 16px; }

.announcement-card {
  background: var(--bg-card);
  border: 2px solid rgba(59, 130, 246, 0.15);
  border-left: 5px solid #3b82f6;
  border-radius: 4px; padding: 22px 28px;
  transition: all 0.3s; position: relative;
}
.announcement-card:hover {
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateX(6px);
  box-shadow: 0 4px 25px rgba(59, 130, 246, 0.15);
}
.announcement-date { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.announcement-title { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; color: #3b82f6; margin-bottom: 8px; letter-spacing: 1px; }
.announcement-content { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; white-space: pre-wrap; }

/* ===== CAPS (Red) ===== */
.section-caps {
  background: linear-gradient(180deg, #12080a, var(--bg-primary));
}
.caps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }

.cap-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 4px; padding: 24px; transition: all 0.3s;
  position: relative; overflow: hidden;
}
.cap-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #ef4444, var(--orange));
}
.cap-card:hover {
  border-color: #ef4444; transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(239, 68, 68, 0.15);
}
.cap-category {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.1rem;
  color: #ef4444; margin-bottom: 4px; letter-spacing: 2px;
}
.cap-limit { font-size: 1.5rem; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; font-family: 'Russo One', sans-serif; }
.cap-description { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.5; }

/* ===== JUTSU (Purple) ===== */
.section-jutsu {
  background: linear-gradient(180deg, #0d081a, #0a0812);
}
.jutsu-filters {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 30px;
}
.filter-btn {
  padding: 6px 16px; background: var(--bg-card); border: 2px solid var(--border);
  border-radius: 20px; color: var(--text-secondary); font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.3s;
}
.filter-btn:hover { border-color: var(--purple); color: var(--purple); }
.filter-btn.active { background: var(--purple); border-color: var(--purple); color: white; }

.jutsu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.jutsu-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 4px; padding: 20px; transition: all 0.3s;
  position: relative; overflow: hidden;
}
.jutsu-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
}
.jutsu-card.element-Fire::before { background: linear-gradient(90deg, #dc2626, #f97316); }
.jutsu-card.element-Water::before { background: linear-gradient(90deg, #2563eb, #06b6d4); }
.jutsu-card.element-Earth::before { background: linear-gradient(90deg, #92400e, #d97706); }
.jutsu-card.element-Wind::before { background: linear-gradient(90deg, #059669, #34d399); }
.jutsu-card.element-Lightning::before { background: linear-gradient(90deg, #7c3aed, #a78bfa); }
.jutsu-card.element-Yin::before { background: linear-gradient(90deg, #6b7280, #d1d5db); }
.jutsu-card.element-Yang::before { background: linear-gradient(90deg, #fbbf24, #fef3c7); }
.jutsu-card.element-None::before { background: linear-gradient(90deg, var(--orange), var(--naruto-blue)); }

.jutsu-card:hover {
  border-color: var(--purple); transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15);
}
.jutsu-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.jutsu-name { font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem; color: var(--text-primary); letter-spacing: 1px; }
.jutsu-rank-badge {
  padding: 3px 10px; border-radius: 4px; font-size: 0.7rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}
.jutsu-rank-S { background: #7c3aed; color: white; box-shadow: 0 0 10px rgba(124, 58, 237, 0.4); }
.jutsu-rank-A { background: #dc2626; color: white; }
.jutsu-rank-B { background: #2563eb; color: white; }
.jutsu-rank-C { background: #059669; color: white; }
.jutsu-rank-D { background: #d97706; color: white; }
.jutsu-rank-E { background: #6b7280; color: white; }

.jutsu-meta { display: flex; gap: 12px; margin-bottom: 10px; }
.jutsu-element-badge, .jutsu-type-badge {
  font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px;
}
.jutsu-desc { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.5; }

/* ===== LORE (Gold/Parchment) ===== */
.section-lore {
  background: linear-gradient(180deg, rgba(42, 35, 26, 0.95), rgba(30, 24, 16, 0.95));
}
.lore-list { display: flex; flex-direction: column; gap: 16px; }
.lore-entry {
  background: rgba(42, 35, 26, 0.8); border: 1px solid rgba(212, 168, 83, 0.2);
  border-left: 5px solid var(--scroll-gold); border-radius: 2px;
  padding: 22px 28px; cursor: pointer; transition: all 0.3s; position: relative;
}
.lore-entry:hover {
  border-color: rgba(212, 168, 83, 0.5);
  transform: translateX(6px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.lore-entry-header { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.lore-date-badge {
  padding: 3px 10px; background: rgba(212, 168, 83, 0.15);
  border: 1px solid rgba(212, 168, 83, 0.35); border-radius: 4px;
  font-size: 0.75rem; font-weight: 700; color: var(--scroll-gold);
  text-transform: uppercase; letter-spacing: 1px; white-space: nowrap; flex-shrink: 0;
}
.lore-entry-title { font-family: 'Bebas Neue', sans-serif; font-size: 1.3rem; color: var(--scroll-tan); letter-spacing: 1px; }
.lore-entry-content {
  color: rgba(200, 180, 150, 0.8); font-size: 0.95rem; line-height: 1.7;
  display: none; margin-top: 12px; padding-top: 12px;
  border-top: 1px solid rgba(212, 168, 83, 0.15); white-space: pre-wrap;
}
.lore-entry.expanded .lore-entry-content { display: block; }
.lore-entry-toggle { color: rgba(212, 168, 83, 0.5); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; }

/* ===== MISSIONS (Green) ===== */
.section-missions {
  background: linear-gradient(180deg, #06120e, var(--bg-primary));
}
.missions-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.mission-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 4px; padding: 22px; transition: all 0.3s;
  position: relative; overflow: hidden;
}
.mission-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
}
.mission-card.rank-D::before { background: linear-gradient(90deg, #d97706, #fbbf24, #d97706); }
.mission-card.rank-C::before { background: linear-gradient(90deg, #059669, #34d399, #059669); }
.mission-card.rank-B::before { background: linear-gradient(90deg, #2563eb, #60a5fa, #2563eb); }
.mission-card.rank-A::before { background: linear-gradient(90deg, #dc2626, #f87171, #dc2626); }
.mission-card.rank-S::before { background: linear-gradient(90deg, #7c3aed, #a78bfa, #7c3aed); }

.mission-card:hover {
  border-color: var(--emerald); transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.12);
}
.mission-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; gap: 10px; }
.mission-title { font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem; color: var(--text-primary); letter-spacing: 1px; }
.mission-badges { display: flex; gap: 6px; flex-shrink: 0; }
.mission-rank-badge {
  padding: 3px 10px; border-radius: 4px; font-size: 0.7rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}
.mission-status-badge {
  padding: 3px 10px; border-radius: 4px; font-size: 0.7rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}
.status-Open { background: rgba(5, 150, 105, 0.2); color: #34d399; border: 1px solid rgba(5, 150, 105, 0.3); }
.status-In-Progress { background: rgba(249, 115, 22, 0.2); color: #fb923c; border: 1px solid rgba(249, 115, 22, 0.3); }
.status-Completed { background: rgba(107, 114, 128, 0.2); color: #9ca3af; border: 1px solid rgba(107, 114, 128, 0.3); }

.mission-detail-row { display: flex; gap: 20px; margin-bottom: 8px; font-size: 0.85rem; }
.mission-detail-label { color: var(--text-muted); text-transform: uppercase; font-size: 0.7rem; letter-spacing: 1px; font-weight: 600; }
.mission-detail-value { color: var(--text-primary); font-weight: 600; }
.mission-desc { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.5; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border); }

/* ===== OC DIRECTORY (Orange) ===== */
.section-oc {
  background: linear-gradient(180deg, #140e06, #0e0a04);
}
.quicklinks { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.quicklink {
  padding: 6px 16px; background: var(--bg-card); border: 2px solid var(--border);
  border-radius: 4px; color: var(--text-secondary); text-decoration: none;
  font-weight: 600; font-size: 0.9rem; transition: all 0.3s;
}
.quicklink:hover {
  background: var(--orange); border-color: var(--orange); color: white;
  transform: translateY(-2px); box-shadow: 0 4px 15px var(--orange-glow);
}

.oc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 24px; }

.oc-card {
  background: var(--bg-card); border: 3px solid var(--border);
  border-radius: 4px; overflow: hidden; transition: all 0.3s;
  cursor: pointer; position: relative;
}
.oc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 20px var(--orange-glow);
  border-color: var(--orange);
}
.oc-card-header {
  padding: 18px 22px; border-bottom: 2px solid var(--border);
  display: flex; justify-content: space-between; align-items: flex-start;
  background: linear-gradient(135deg, rgba(250, 148, 39, 0.05), transparent);
}
.oc-name { font-family: 'Bebas Neue', sans-serif; font-size: 1.3rem; color: var(--text-primary); letter-spacing: 1px; }
.oc-player { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

.oc-rank-badge {
  padding: 4px 12px; border-radius: 4px; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.rank-genin { background: var(--naruto-blue); color: white; }
.rank-chunin { background: var(--konoha-green); color: white; }
.rank-jonin, .rank-special-jonin { background: var(--orange); color: white; }
.rank-anbu { background: #7c3aed; color: white; }
.rank-kage { background: linear-gradient(135deg, #d4a853, #fbbf24); color: #1a1a2e; }
.rank-missing-nin { background: var(--akatsuki-red); color: white; }
.rank-default { background: var(--orange); color: white; }

.oc-card-body { padding: 18px 22px; }
.oc-detail-row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid rgba(42, 42, 58, 0.5); }
.oc-detail-row:last-child { border-bottom: none; }
.oc-detail-label { color: var(--text-muted); font-weight: 600; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 1px; }
.oc-detail-value { color: var(--text-primary); font-weight: 600; text-align: right; font-size: 0.95rem; }

.oc-specs { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.oc-specs-title { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.oc-spec-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.oc-spec-tag {
  padding: 3px 10px;
  background: rgba(250, 148, 39, 0.1);
  border: 1px solid rgba(250, 148, 39, 0.3); border-radius: 4px;
  font-size: 0.8rem; color: var(--orange); font-weight: 600;
}

.oc-backstory { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.oc-backstory-title { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.oc-backstory-text { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6; white-space: pre-wrap; }

/* OC Portrait */
.oc-portrait-section {
  overflow: hidden; max-height: 0; transition: max-height 0.5s ease, padding 0.3s ease;
  display: flex; justify-content: center; align-items: center;
  padding: 0 22px;
}
.oc-card.show-portrait .oc-portrait-section { max-height: 500px; padding: 20px 22px; }
.oc-portrait-wrapper {
  position: relative; width: 180px; height: 180px; border-radius: 50%; overflow: hidden;
  border: 4px solid var(--orange);
  box-shadow: 0 0 30px var(--orange-glow);
  flex-shrink: 0;
}
.oc-portrait-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.oc-no-portrait {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; background: var(--bg-primary);
  color: var(--text-muted); font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 1px; gap: 6px;
}
.oc-no-portrait-icon { font-size: 2.2rem; opacity: 0.4; }
.oc-card-header .oc-expand-hint { font-size: 0.65rem; color: var(--text-muted); margin-top: 3px; text-transform: uppercase; letter-spacing: 1px; }
.oc-card-upload-controls { display: flex; gap: 8px; margin-top: 12px; justify-content: center; align-items: center; flex-wrap: wrap; position: relative; }
.oc-upload-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 6px 14px; background: var(--orange); border: none; border-radius: 6px;
  color: white; font-family: 'Rajdhani', sans-serif; font-size: 0.8rem;
  font-weight: 700; cursor: pointer; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s;
}
.oc-upload-btn:hover { background: var(--orange-dark); transform: translateY(-1px); }
.oc-card-upload-controls .btn-danger { padding: 6px 14px; font-size: 0.8rem; }

/* ===== IMAGE UPLOAD FORM ===== */
.image-upload-area { margin-bottom: 12px; }
.image-upload-label { display: block; cursor: pointer; }
.image-upload-placeholder {
  width: 100%; height: 160px; border: 2px dashed var(--border); border-radius: 8px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: var(--text-muted); font-size: 0.9rem; transition: all 0.3s;
  overflow: hidden; position: relative;
}
.image-upload-placeholder:hover { border-color: var(--orange); color: var(--orange); }
.image-upload-placeholder.has-image { border-color: var(--orange); padding: 0; height: 200px; }
.image-upload-placeholder.has-image img { width: 100%; height: 100%; object-fit: contain; display: block; }
.upload-icon { font-size: 1.8rem; }

/* ===== MODALS ===== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px); z-index: 2000;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal {
  background: var(--bg-card); border: 2px solid var(--orange); border-radius: 12px;
  padding: 32px; max-width: 420px; width: 100%; box-shadow: 0 0 40px var(--orange-glow);
}
.modal h3 { font-family: 'Bebas Neue', sans-serif; color: var(--orange); font-size: 1.5rem; margin-bottom: 8px; letter-spacing: 2px; }
.modal p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 16px; }
.modal input {
  width: 100%; padding: 12px 16px; background: var(--bg-primary);
  border: 1px solid var(--border); border-radius: 8px; color: var(--text-primary);
  font-family: 'Rajdhani', sans-serif; font-size: 1rem; margin-bottom: 12px; transition: border-color 0.3s;
}
.modal input:focus { outline: none; border-color: var(--orange); }
.modal-actions { display: flex; gap: 10px; margin-top: 4px; }
.modal-error { color: var(--red) !important; font-size: 0.85rem !important; margin-top: 12px !important; margin-bottom: 0 !important; }

/* ===== DISCORD PANEL ===== */
.discord-panel {
  position: fixed; top: 64px; right: -380px; width: 360px;
  height: calc(100vh - 64px); background: var(--bg-card);
  border-left: 2px solid var(--discord-blue); z-index: 999;
  transition: right 0.35s ease; display: flex; flex-direction: column;
  box-shadow: -4px 0 30px rgba(0, 0, 0, 0.4);
}
.discord-panel.open { right: 0; }
.discord-panel-header { padding: 16px 20px; background: rgba(88, 101, 242, 0.1); border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; font-family: 'Bebas Neue', sans-serif; color: var(--discord-blue); font-size: 1.1rem; letter-spacing: 1px; }
.discord-panel-close { background: none; border: none; color: var(--text-muted); font-size: 1.5rem; cursor: pointer; transition: color 0.3s; }
.discord-panel-close:hover { color: var(--text-primary); }
.discord-panel-body { padding: 16px 20px; overflow-y: auto; flex: 1; }
.discord-panel-hint { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 16px; line-height: 1.5; }
.discord-channel-item { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: var(--bg-primary); border: 1px solid var(--border); border-radius: 8px; margin-bottom: 8px; transition: all 0.2s; }
.discord-channel-item:hover { border-color: var(--discord-blue); }
.discord-channel-link { color: var(--text-primary); text-decoration: none; font-weight: 600; font-size: 0.95rem; display: flex; align-items: center; gap: 8px; flex: 1; }
.discord-channel-link::before { content: '#'; color: var(--text-muted); font-size: 1.1rem; font-weight: 700; }
.discord-channel-link:hover { color: var(--discord-blue); }
.discord-channel-del { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 1.1rem; padding: 2px 6px; transition: color 0.2s; }
.discord-channel-del:hover { color: var(--red); }
.discord-channel-add { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.discord-channel-add input { width: 100%; padding: 10px 14px; background: var(--bg-primary); border: 1px solid var(--border); border-radius: 8px; color: var(--text-primary); font-family: 'Rajdhani', sans-serif; font-size: 0.9rem; margin-bottom: 8px; }
.discord-channel-add input:focus { outline: none; border-color: var(--discord-blue); }

/* ===== EDITOR PANEL ===== */
.editor-panel {
  background: var(--bg-card); border: 2px solid var(--orange); border-radius: 8px;
  padding: 28px; margin-top: 30px; position: relative;
}
.editor-panel h3 { font-family: 'Bebas Neue', sans-serif; color: var(--orange); margin-bottom: 18px; font-size: 1.3rem; letter-spacing: 2px; }
.editor-panel input, .editor-panel textarea, .editor-panel select {
  width: 100%; padding: 10px 14px; background: var(--bg-primary);
  border: 1px solid var(--border); border-radius: 6px; color: var(--text-primary);
  font-family: 'Rajdhani', sans-serif; font-size: 0.95rem; margin-bottom: 10px;
  transition: border-color 0.3s;
}
.editor-panel select { cursor: pointer; }
.editor-panel input:focus, .editor-panel textarea:focus, .editor-panel select:focus { outline: none; border-color: var(--orange); }
.editor-panel textarea { resize: vertical; min-height: 70px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-actions { display: flex; gap: 10px; margin-top: 4px; margin-bottom: 18px; }

.edit-list { display: flex; flex-direction: column; gap: 8px; }
.edit-list-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; background: var(--bg-primary);
  border: 1px solid var(--border); border-radius: 6px; gap: 12px;
}
.edit-list-item span { color: var(--text-primary); font-weight: 600; font-size: 0.9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.edit-list-item .edit-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ===== FOOTER ===== */
.footer {
  position: relative; z-index: 1; padding: 60px 0 40px;
  background: linear-gradient(180deg, var(--bg-secondary), #050508);
  border-top: 4px solid var(--orange);
}
.footer-content { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.footer-decor {
  width: 80px; height: 60px; object-fit: contain; opacity: 0.3;
  filter: grayscale(1);
  margin-bottom: 8px;
}
.footer-brand { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; color: var(--orange); letter-spacing: 4px; }
.discord-footer { display: inline-flex; align-items: center; gap: 8px; color: var(--discord-blue); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: color 0.3s; }
.discord-footer:hover { color: #7c85f6; }
.footer-copy { color: var(--text-muted); font-size: 0.8rem; }

/* ===== EMPTY STATE ===== */
.empty-state { text-align: center; padding: 50px 20px; color: var(--text-muted); }
.empty-state-icon { font-size: 2.5rem; margin-bottom: 12px; opacity: 0.5; }
.empty-state p { font-size: 1rem; }

/* ===== SCROLL ANIMATIONS ===== */
.section.animate-in {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.section.animate-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar { padding: 0 16px; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(11, 11, 15, 0.98); flex-direction: column;
    padding: 16px; gap: 8px; border-bottom: 3px solid var(--orange);
  }
  .nav-links.show { display: flex; }
  .mobile-toggle { display: block; }
  .form-row { grid-template-columns: 1fr; }
  .oc-grid { grid-template-columns: 1fr; }
  .caps-grid { grid-template-columns: 1fr; }
  .jutsu-grid { grid-template-columns: 1fr; }
  .missions-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .discord-panel { width: 100%; right: -100%; }
  .title-naruto { letter-spacing: 5px; }
  .title-nindo { letter-spacing: 3px; }
  .section-title { font-size: 2.5rem; }
  .hero-char { height: 60%; opacity: 0.15; }
  .section-char { display: none; }
  .accent-eye { width: 40px; height: 40px; }
  .accent-beast { width: 60px; height: 50px; }
  .accent-banner { padding: 25px 15px; }
  .spotlight-grid { grid-template-columns: 1fr; }
  .bingo-grid { grid-template-columns: 1fr; }
  .bingo-card-body { flex-direction: column; align-items: center; text-align: center; }
}

/* ===== OC SPOTLIGHT ===== */
.section-spotlight { background: linear-gradient(180deg, rgba(15,15,20,0.97) 0%, rgba(20,15,10,0.97) 100%); }
.title-orange { background: linear-gradient(135deg, #f97316, #fb923c); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  padding: 20px 0;
}

.spotlight-card {
  background: rgba(249, 115, 22, 0.06);
  border: 1px solid rgba(249, 115, 22, 0.15);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.spotlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(249, 115, 22, 0.15);
}

.spotlight-image-wrap {
  width: 100%; height: 220px; overflow: hidden;
  background: rgba(0,0,0,0.3); display: flex; align-items: center; justify-content: center;
}
.spotlight-img { width: 100%; height: 100%; object-fit: cover; }
.spotlight-no-img {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; font-size: 3rem; color: rgba(249, 115, 22, 0.3);
}

.spotlight-info { padding: 20px; }
.spotlight-name { font-family: 'Russo One', sans-serif; font-size: 1.3rem; color: #f97316; margin-bottom: 4px; }
.spotlight-title-text { font-size: 0.9rem; color: rgba(255,255,255,0.5); font-style: italic; margin-bottom: 8px; }
.spotlight-meta { display: flex; gap: 16px; font-size: 0.82rem; color: rgba(255,255,255,0.4); margin-bottom: 12px; flex-wrap: wrap; }
.spotlight-desc { font-size: 0.88rem; color: rgba(255,255,255,0.7); line-height: 1.6; }

/* ===== BINGO BOOK ===== */
.section-bingo { background: linear-gradient(180deg, rgba(15,10,10,0.97) 0%, rgba(20,12,12,0.97) 100%); }
.title-crimson { background: linear-gradient(135deg, #dc2626, #991b1b); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.bingo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px; padding: 20px 0;
}

.bingo-card {
  background: rgba(220, 38, 38, 0.05);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 12px; overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.bingo-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(220, 38, 38, 0.15); }
.bingo-card.threat-S { border-color: rgba(220, 38, 38, 0.4); }
.bingo-card.threat-A { border-color: rgba(249, 115, 22, 0.4); }
.bingo-card.threat-B { border-color: rgba(234, 179, 8, 0.4); }

.bingo-threat-banner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 16px; background: rgba(220, 38, 38, 0.1);
  border-bottom: 1px solid rgba(220, 38, 38, 0.15);
}
.bingo-threat-level { font-family: 'Russo One', sans-serif; font-size: 0.85rem; color: #ef4444; letter-spacing: 1px; }
.threat-S .bingo-threat-level { color: #ef4444; }
.threat-A .bingo-threat-level { color: #f97316; }
.threat-B .bingo-threat-level { color: #eab308; }
.threat-C .bingo-threat-level { color: #22c55e; }
.threat-D .bingo-threat-level { color: #3b82f6; }

.bingo-status-badge {
  font-size: 0.72rem; padding: 3px 10px; border-radius: 20px;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
}
.bingo-status-active { background: rgba(220, 38, 38, 0.2); color: #ef4444; }
.bingo-status-captured { background: rgba(34, 197, 94, 0.2); color: #22c55e; }
.bingo-status-eliminated { background: rgba(107, 114, 128, 0.3); color: #9ca3af; }
.bingo-status-unknown { background: rgba(168, 85, 247, 0.2); color: #a855f7; }

.bingo-card-body { display: flex; gap: 16px; padding: 16px; }
.bingo-mugshot {
  flex-shrink: 0; width: 90px; height: 90px; border-radius: 8px; overflow: hidden;
  background: rgba(0,0,0,0.3); border: 1px solid rgba(220, 38, 38, 0.2);
}
.bingo-mugshot-img { width: 100%; height: 100%; object-fit: cover; }
.bingo-no-img {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; font-size: 2rem; color: rgba(220, 38, 38, 0.3); font-weight: bold;
}

.bingo-info { flex: 1; min-width: 0; }
.bingo-target-name { font-family: 'Russo One', sans-serif; font-size: 1.1rem; color: #fca5a5; margin-bottom: 2px; }
.bingo-alias { font-size: 0.82rem; color: rgba(255,255,255,0.4); font-style: italic; margin-bottom: 8px; }
.bingo-detail { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.bingo-label { color: rgba(255,255,255,0.3); }
.bingo-bounty-text { color: #fbbf24; font-weight: 600; }
.bingo-description { font-size: 0.82rem; color: rgba(255,255,255,0.6); line-height: 1.5; margin-top: 8px; }
