/* ===== NARUTO FAN PORTAL - Main Styles ===== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Russo+One&family=Roboto:wght@300;400;500;700&family=Noto+Sans+JP:wght@400;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --orange: #FF6600;
  --orange-light: #FF8C00;
  --orange-glow: rgba(255, 102, 0, 0.4);
  --magenta: #FF69B4;
  --magenta-glow: rgba(255, 105, 180, 0.4);
  --dark-blue: #1a1a2e;
  --dark-blue-2: #16213e;
  --dark-blue-3: #0f3460;
  --black: #0f0f0f;
  --black-2: #111111;
  --black-3: #1a1a1a;
  --card-bg: #141422;
  --card-border: #2a2a4a;
  --white: #ffffff;
  --white-muted: rgba(255,255,255,0.7);
  --white-dim: rgba(255,255,255,0.15);
  --yellow: #FFD700;
  --yellow-glow: rgba(255, 215, 0, 0.4);
  --red: #e74c3c;
  --blue: #3498db;
  --green: #2ecc71;
  --purple: #9b59b6;

  --font-heading: 'Bebas Neue', 'Russo One', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;

  --shadow-orange: 0 0 20px rgba(255, 102, 0, 0.5);
  --shadow-magenta: 0 0 20px rgba(255, 105, 180, 0.5);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.5);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--black-2); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange-light); }

/* ===== CANVAS PARTICLES ===== */
#particles-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,102,0,0.2);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(15,15,15,0.98);
  box-shadow: 0 2px 20px rgba(255,102,0,0.15);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 2px;
  color: var(--orange);
  text-shadow: 0 0 10px var(--orange-glow);
}

.nav-brand .brand-symbol {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-links li a {
  display: block;
  padding: 0.5rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  color: var(--white-muted);
  transition: var(--transition);
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 1rem; right: 1rem;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-links li a:hover {
  color: var(--orange);
  text-shadow: 0 0 8px var(--orange-glow);
}

.nav-links li a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 0.45rem 1.2rem !important;
  background: var(--orange) !important;
  color: var(--black) !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 700;
  text-shadow: none !important;
  box-shadow: 0 0 15px var(--orange-glow);
  transition: var(--transition) !important;
}

.nav-cta:hover {
  background: var(--orange-light) !important;
  box-shadow: 0 0 25px var(--orange-glow) !important;
  transform: translateY(-1px);
}

.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--orange);
  border-radius: 3px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 8px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -8px); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: rgba(15,15,15,0.98);
  backdrop-filter: blur(16px);
  border-bottom: 2px solid var(--orange);
  padding: 1.5rem;
  z-index: 999;
  flex-direction: column;
  gap: 0.5rem;
  transform: translateY(-10px);
  opacity: 0;
  transition: var(--transition);
}

.mobile-menu.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 2px;
  color: var(--white-muted);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mobile-menu a:hover {
  background: rgba(255,102,0,0.1);
  color: var(--orange);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a2e 40%, #0f3460 70%, #1a1a2e 100%);
  background-size: 400% 400%;
  animation: heroGradient 8s ease infinite;
}

@keyframes heroGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,102,0,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(255,105,180,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-bg-text {
  position: absolute;
  font-family: var(--font-heading);
  font-size: clamp(8rem, 20vw, 22rem);
  letter-spacing: -0.05em;
  color: rgba(255,255,255,0.02);
  user-select: none;
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  z-index: 1;
}

.hero-kunai-1, .hero-kunai-2, .hero-kunai-3 {
  position: absolute;
  opacity: 0.15;
  pointer-events: none;
}

.hero-kunai-1 { top: 15%; left: 8%; animation: floatKunai 6s ease-in-out infinite; }
.hero-kunai-2 { top: 60%; right: 10%; animation: floatKunai 8s ease-in-out infinite 2s; }
.hero-kunai-3 { bottom: 20%; left: 20%; animation: floatKunai 7s ease-in-out infinite 1s; }

@keyframes floatKunai {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(15deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.hero-logo-container {
  position: relative;
  display: inline-block;
  animation: heroLogoIn 1s ease-out forwards;
}

@keyframes heroLogoIn {
  from { opacity: 0; transform: scale(0.7) translateY(30px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.hero-logo-container::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,105,180,0.15) 0%, transparent 70%);
  animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
}

.hero-logo-svg {
  width: clamp(280px, 40vw, 420px);
  height: auto;
  filter: drop-shadow(0 0 30px rgba(255,102,0,0.6)) drop-shadow(0 0 60px rgba(255,105,180,0.3));
  animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
  0%, 100% { filter: drop-shadow(0 0 25px rgba(255,102,0,0.6)) drop-shadow(0 0 50px rgba(255,105,180,0.3)); }
  50% { filter: drop-shadow(0 0 40px rgba(255,102,0,0.9)) drop-shadow(0 0 80px rgba(255,105,180,0.5)); }
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 2rem);
  letter-spacing: 4px;
  color: var(--white);
  text-shadow: 0 0 20px rgba(255,255,255,0.3);
  animation: fadeSlideUp 1s ease-out 0.4s both;
}

.hero-tagline span {
  color: var(--orange);
  text-shadow: 0 0 15px var(--orange-glow);
}

.hero-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--white-muted);
  max-width: 500px;
  text-align: center;
  animation: fadeSlideUp 1s ease-out 0.6s both;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 1rem 2.5rem;
  background: var(--orange);
  color: var(--black);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: 3px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  box-shadow: 0 0 30px var(--orange-glow), 0 6px 20px rgba(0,0,0,0.4);
  transition: var(--transition);
  animation: fadeSlideUp 1s ease-out 0.8s both;
  position: relative;
  overflow: hidden;
}

.hero-cta::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.hero-cta:hover::before { left: 100%; }

.hero-cta:hover {
  background: var(--orange-light);
  box-shadow: 0 0 50px var(--orange-glow), 0 10px 30px rgba(0,0,0,0.5);
  transform: translateY(-3px) scale(1.03);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 1rem;
  animation: fadeSlideUp 1s ease-out 1s both;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--orange);
  text-shadow: 0 0 10px var(--orange-glow);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--white-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 4px;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: fadeSlideUp 1s ease-out 1.2s both;
  z-index: 2;
}

.scroll-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0;
  animation: scrollDots 1.5s ease-in-out infinite;
}

.scroll-dot:nth-child(2) { animation-delay: 0.2s; }
.scroll-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes scrollDots {
  0%, 100% { opacity: 0; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(4px); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== SECTION COMMONS ===== */
section {
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: rgba(255,102,0,0.1);
  border: 1px solid rgba(255,102,0,0.3);
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 3px;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 3px;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.section-title .highlight {
  color: var(--orange);
  text-shadow: 0 0 20px var(--orange-glow);
}

.section-title .highlight-magenta {
  color: var(--magenta);
  text-shadow: 0 0 20px var(--magenta-glow);
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 1rem auto;
}

.section-divider span {
  height: 2px;
  width: 60px;
  background: linear-gradient(90deg, transparent, var(--orange));
}

.section-divider span:last-child {
  background: linear-gradient(90deg, var(--orange), transparent);
}

.section-divider .diamond {
  width: 8px; height: 8px;
  background: var(--orange);
  transform: rotate(45deg);
}

.section-description {
  color: var(--white-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== À PROPOS SECTION ===== */
.about-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--black) 0%, var(--dark-blue) 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--yellow);
  letter-spacing: 2px;
  margin-bottom: 1rem;
  text-shadow: 0 0 15px var(--yellow-glow);
}

.about-text p {
  color: var(--white-muted);
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.75rem 1rem;
  background: rgba(255,102,0,0.05);
  border: 1px solid rgba(255,102,0,0.15);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--white-muted);
  transition: var(--transition);
}

.about-feature:hover {
  background: rgba(255,102,0,0.1);
  border-color: var(--orange);
  color: var(--white);
  transform: translateX(4px);
}

.about-feature-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.about-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-stat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.about-stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.about-stat-card:hover {
  border-color: var(--orange);
  box-shadow: 0 0 20px rgba(255,102,0,0.1);
  transform: translateY(-4px);
}

.about-stat-card:hover::before { transform: scaleX(1); }

.stat-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--orange);
  line-height: 1;
  text-shadow: 0 0 10px var(--orange-glow);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--white-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ===== PERSONNAGES SECTION ===== */
.characters-section {
  padding: 6rem 0;
  background: var(--black);
}

.characters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.character-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-slow);
  position: relative;
  cursor: pointer;
}

.character-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  transition: var(--transition);
  z-index: 1;
}

.character-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px var(--card-glow, rgba(255,102,0,0.2));
}

.character-card:hover::before {
  border-color: var(--card-accent, var(--orange));
  box-shadow: inset 0 0 20px rgba(255,102,0,0.05);
}

/* Individual card colors */
.card-naruto { --card-glow: rgba(255,102,0,0.25); --card-accent: var(--orange); }
.card-sasuke { --card-glow: rgba(138,43,226,0.25); --card-accent: #9b59b6; }
.card-sakura { --card-glow: rgba(255,105,180,0.25); --card-accent: var(--magenta); }
.card-kakashi { --card-glow: rgba(100,149,237,0.25); --card-accent: cornflowerblue; }
.card-itachi { --card-glow: rgba(128,0,0,0.35); --card-accent: #8b0000; }
.card-shikamaru { --card-glow: rgba(85,107,47,0.25); --card-accent: #556b2f; }

.character-image-container {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e, #0f3460);
}

.character-image-container::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(transparent, var(--card-bg));
}

.character-silhouette {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.character-rank-badge {
  position: absolute;
  top: 12px; right: 12px;
  padding: 3px 10px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  z-index: 2;
}

.rank-hokage { background: rgba(255,102,0,0.9); color: var(--black); }
.rank-genin { background: rgba(52,152,219,0.9); color: white; }
.rank-chunin { background: rgba(46,204,113,0.9); color: var(--black); }
.rank-jonin { background: rgba(155,89,182,0.9); color: white; }
.rank-anbu { background: rgba(52,73,94,0.9); color: white; }
.rank-missing { background: rgba(231,76,60,0.9); color: white; }

.character-body {
  padding: 1.2rem 1.5rem 1.5rem;
}

.character-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 2px;
}

.character-role {
  font-size: 0.8rem;
  color: var(--card-accent, var(--orange));
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.character-desc {
  font-size: 0.88rem;
  color: var(--white-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.character-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  padding: 3px 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  font-size: 0.72rem;
  color: var(--white-muted);
  letter-spacing: 0.5px;
}

/* ===== JUTSU SECTION ===== */
.jutsu-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--black) 0%, var(--dark-blue) 50%, var(--black) 100%);
}

.jutsu-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.jutsu-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.jutsu-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, var(--jutsu-color, rgba(255,102,0,0.05)) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.jutsu-card:hover::before { opacity: 1; }

.jutsu-card:hover {
  transform: translateY(-6px);
  border-color: var(--jutsu-color-solid, var(--orange));
  box-shadow: 0 0 30px var(--jutsu-color, rgba(255,102,0,0.2));
}

.jutsu-icon-wrap {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--jutsu-bg, rgba(255,102,0,0.1));
  border: 2px solid var(--jutsu-color-solid, var(--orange));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
  transition: var(--transition);
  box-shadow: 0 0 15px var(--jutsu-color, rgba(255,102,0,0.2));
}

.jutsu-card:hover .jutsu-icon-wrap {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 30px var(--jutsu-color, rgba(255,102,0,0.4));
}

.jutsu-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 1.5px;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.jutsu-type-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--jutsu-bg, rgba(255,102,0,0.15));
  color: var(--jutsu-color-solid, var(--orange));
  border: 1px solid var(--jutsu-color-solid, var(--orange));
  margin-bottom: 0.8rem;
}

.jutsu-desc {
  font-size: 0.82rem;
  color: var(--white-muted);
  line-height: 1.5;
}

/* Jutsu color themes */
.jutsu-rasengan {
  --jutsu-color: rgba(30,144,255,0.3);
  --jutsu-color-solid: #1e90ff;
  --jutsu-bg: rgba(30,144,255,0.08);
}

.jutsu-chidori {
  --jutsu-color: rgba(173,216,230,0.3);
  --jutsu-color-solid: #87ceeb;
  --jutsu-bg: rgba(173,216,230,0.08);
}

.jutsu-fireball {
  --jutsu-color: rgba(255,69,0,0.35);
  --jutsu-color-solid: #ff4500;
  --jutsu-bg: rgba(255,69,0,0.1);
}

.jutsu-shadow-clone {
  --jutsu-color: rgba(255,215,0,0.3);
  --jutsu-color-solid: #ffd700;
  --jutsu-bg: rgba(255,215,0,0.08);
}

.jutsu-amaterasu {
  --jutsu-color: rgba(30,30,30,0.8);
  --jutsu-color-solid: #555;
  --jutsu-bg: rgba(0,0,0,0.3);
  border-color: #333 !important;
}

.jutsu-amaterasu .jutsu-icon-wrap {
  background: rgba(0,0,0,0.5);
  border-color: #555;
  box-shadow: 0 0 15px rgba(255,0,0,0.2);
}

/* Hand seals banner */
.hand-seals-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  background: rgba(255,102,0,0.04);
  border: 1px solid rgba(255,102,0,0.15);
  border-radius: var(--radius-md);
  flex-wrap: wrap;
}

.seal-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0.6;
  transition: var(--transition);
}

.seal-item:hover { opacity: 1; transform: scale(1.1); }

.seal-symbol {
  width: 40px; height: 40px;
  background: rgba(255,102,0,0.1);
  border: 1px solid rgba(255,102,0,0.3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-jp);
  font-size: 1.3rem;
  color: var(--orange);
}

.seal-name {
  font-size: 0.65rem;
  color: var(--white-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ===== ARCS SECTION ===== */
.arcs-section {
  padding: 6rem 0;
  background: var(--black);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--orange), var(--magenta), var(--orange), transparent);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid var(--black);
  box-shadow: 0 0 15px var(--orange-glow);
  z-index: 2;
  flex-shrink: 0;
}

.timeline-item:nth-child(2) .timeline-dot { background: var(--magenta); box-shadow: 0 0 15px var(--magenta-glow); }
.timeline-item:nth-child(3) .timeline-dot { background: var(--yellow); box-shadow: 0 0 15px var(--yellow-glow); }
.timeline-item:nth-child(4) .timeline-dot { background: var(--red); box-shadow: 0 0 15px rgba(231,76,60,0.5); }
.timeline-item:nth-child(5) .timeline-dot { background: var(--purple); box-shadow: 0 0 15px rgba(155,89,182,0.5); }

.timeline-card {
  width: calc(50% - 3rem);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
  position: relative;
}

.timeline-card::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-style: solid;
}

.timeline-item:nth-child(odd) .timeline-card::after {
  right: -10px;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent var(--card-border);
}

.timeline-item:nth-child(even) .timeline-card::after {
  left: -10px;
  border-width: 10px 10px 10px 0;
  border-color: transparent var(--card-border) transparent transparent;
}

.timeline-card:hover {
  border-color: var(--orange);
  box-shadow: 0 0 25px rgba(255,102,0,0.15);
  transform: scale(1.02);
}

.arc-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: rgba(255,102,0,0.1);
  line-height: 1;
  position: absolute;
  top: 0.5rem; right: 1rem;
}

.arc-tag {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(255,102,0,0.1);
  border: 1px solid rgba(255,102,0,0.3);
  border-radius: 10px;
  font-size: 0.7rem;
  color: var(--orange);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.arc-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.arc-episodes {
  font-size: 0.8rem;
  color: var(--magenta);
  margin-bottom: 0.5rem;
}

.arc-desc {
  font-size: 0.85rem;
  color: var(--white-muted);
  line-height: 1.6;
}

/* ===== CLANS & VILLAGES SECTION ===== */
.clans-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--black) 0%, var(--dark-blue) 100%);
}

.clans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.clan-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: var(--transition-slow);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.clan-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, var(--clan-color, rgba(255,102,0,0.08)) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.clan-card:hover::before { opacity: 1; }

.clan-card:hover {
  transform: translateY(-10px);
  border-color: var(--clan-color-solid, var(--orange));
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 40px var(--clan-color, rgba(255,102,0,0.15));
}

.clan-konoha { --clan-color: rgba(46,204,113,0.2); --clan-color-solid: #2ecc71; }
.clan-uchiha { --clan-color: rgba(231,76,60,0.2); --clan-color-solid: #e74c3c; }
.clan-uzumaki { --clan-color: rgba(255,102,0,0.2); --clan-color-solid: var(--orange); }
.clan-hyuga { --clan-color: rgba(52,152,219,0.2); --clan-color-solid: #3498db; }

.clan-symbol {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 2px solid var(--clan-color-solid, var(--orange));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.8rem;
  transition: var(--transition);
  box-shadow: 0 0 20px var(--clan-color, rgba(255,102,0,0.1));
}

.clan-card:hover .clan-symbol {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 0 40px var(--clan-color, rgba(255,102,0,0.3));
}

.clan-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 3px;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.clan-subtitle {
  font-size: 0.8rem;
  color: var(--clan-color-solid, var(--orange));
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.clan-desc {
  font-size: 0.85rem;
  color: var(--white-muted);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.clan-kekkei-genkai {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 12px;
  font-size: 0.72rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white-muted);
  letter-spacing: 1px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(255,102,0,0.15);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  letter-spacing: 3px;
  color: var(--orange);
  text-shadow: 0 0 10px var(--orange-glow);
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--white-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--white-muted);
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
}

.social-link:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--black);
  transform: translateY(-3px);
  box-shadow: 0 0 15px var(--orange-glow);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 2px;
  color: var(--orange);
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,102,0,0.2);
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--white-muted);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a:hover {
  color: var(--orange);
  transform: translateX(4px);
}

.footer-col ul li a::before {
  content: '›';
  color: var(--orange);
  opacity: 0;
  transition: opacity 0.2s;
}

.footer-col ul li a:hover::before { opacity: 1; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
}

.footer-copy span {
  color: var(--orange);
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.2);
  text-align: right;
}

/* ===== ANIMATIONS & SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .jutsu-grid { grid-template-columns: repeat(3, 1fr); }
  .clans-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-visual { grid-template-columns: repeat(4, 1fr); }

  .characters-grid { grid-template-columns: repeat(2, 1fr); }

  .jutsu-grid { grid-template-columns: repeat(2, 1fr); }

  .timeline::before { left: 16px; }
  .timeline-item,
  .timeline-item:nth-child(even) { flex-direction: column; align-items: flex-start; padding-left: 44px; }
  .timeline-dot { left: 8px; transform: none; }
  .timeline-card { width: 100%; }
  .timeline-item:nth-child(odd) .timeline-card::after,
  .timeline-item:nth-child(even) .timeline-card::after { display: none; }

  .clans-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-disclaimer { text-align: center; }

  .hero-stats { gap: 1.5rem; }
}

@media (max-width: 480px) {
  .characters-grid { grid-template-columns: 1fr; }
  .jutsu-grid { grid-template-columns: 1fr; }
  .about-visual { grid-template-columns: repeat(2, 1fr); }
  .hand-seals-banner { gap: 1rem; }
}

/* ===== SHIMMER EFFECT ===== */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.shimmer {
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.03) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

/* ===== GLOW PULSE ===== */
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 10px var(--orange-glow); }
  50% { box-shadow: 0 0 25px var(--orange-glow), 0 0 50px rgba(255,102,0,0.2); }
}

/* ===== FIRE PARTICLE EFFECT ===== */
@keyframes fireRise {
  0% { transform: translateY(0) scale(1); opacity: 0.8; }
  100% { transform: translateY(-60px) scale(0); opacity: 0; }
}

/* ===== SECTION TRANSITION ===== */
.section-wave {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  overflow: hidden;
  line-height: 0;
}

/* ===== QUOTE BANNER ===== */
.quote-banner {
  padding: 3rem 0;
  background: linear-gradient(135deg, rgba(255,102,0,0.05), rgba(255,105,180,0.05));
  border-top: 1px solid rgba(255,102,0,0.1);
  border-bottom: 1px solid rgba(255,102,0,0.1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-banner::before {
  content: '""';
  position: absolute;
  font-family: var(--font-heading);
  font-size: 20rem;
  color: rgba(255,102,0,0.02);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
  pointer-events: none;
}

.quote-text {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 2rem);
  letter-spacing: 3px;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.quote-text .highlight {
  color: var(--orange);
  text-shadow: 0 0 15px var(--orange-glow);
}

.quote-author {
  font-size: 0.85rem;
  color: var(--white-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}
