/* ============ RESET ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Orbitron', sans-serif;
  background: #000;
  color: #d0d0d0;
  overflow-x: hidden;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }

/* ============ ЗВЁЗДНЫЙ ФОН ============ */
.stars, .stars-2 {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -2;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 20px 30px, #fff, transparent),
    radial-gradient(1px 1px at 40px 70px, #fff, transparent),
    radial-gradient(1px 1px at 90px 40px, #fff, transparent),
    radial-gradient(2px 2px at 160px 120px, #fff, transparent),
    radial-gradient(1px 1px at 200px 80px, #ccc, transparent),
    radial-gradient(1px 1px at 250px 200px, #fff, transparent),
    radial-gradient(2px 2px at 320px 50px, #fff, transparent),
    radial-gradient(1px 1px at 380px 180px, #fff, transparent);
  background-size: 400px 250px;
  background-repeat: repeat;
  opacity: 0.6;
  animation: stars-move 120s linear infinite;
}
.stars-2 {
  background-size: 600px 400px;
  opacity: 0.3;
  animation-duration: 200s;
  animation-direction: reverse;
}
@keyframes stars-move {
  from { transform: translateY(0); }
  to { transform: translateY(-2000px); }
}

/* ============ НАВИГАЦИЯ ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 30, 30, 0.2);
}
.logo {
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: 4px;
  color: #ff1a1a;
  text-shadow: 0 0 10px rgba(255, 26, 26, 0.6);
}
.nav nav {
  display: flex;
  gap: 35px;
}
.nav nav a {
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s, text-shadow 0.3s;
  position: relative;
}
.nav nav a:hover {
  color: #ff1a1a;
  text-shadow: 0 0 8px rgba(255, 26, 26, 0.8);
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(20,0,0,0.4) 40%, #000 80%);
  z-index: -1;
}
.hero-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,30,30,0.25) 0%, rgba(255,30,30,0.08) 30%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
  animation: pulse-glow 4s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}
.hero-content { position: relative; z-index: 2; padding: 100px 20px; }
.kicker {
  letter-spacing: 8px;
  font-size: 0.8rem;
  color: #ff5555;
  margin-bottom: 30px;
  opacity: 0.85;
}
.title {
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 900;
  letter-spacing: 8px;
  line-height: 1;
  margin-bottom: 20px;
}
.title-d {
  color: #fff;
  text-shadow: 0 0 20px rgba(255,255,255,0.3);
  display: block;
}
.title-v {
  color: #ff1a1a;
  text-shadow:
    0 0 20px rgba(255, 26, 26, 0.7),
    0 0 40px rgba(255, 26, 26, 0.4),
    0 0 80px rgba(255, 26, 26, 0.2);
  display: block;
  margin-top: 5px;
}
.subtitle {
  font-family: 'Russo One', sans-serif;
  font-style: italic;
  font-size: 1.1rem;
  color: #888;
  letter-spacing: 2px;
  margin-bottom: 50px;
}
.vader-svg {
  width: 240px;
  margin: 0 auto 40px;
  cursor: pointer;
  filter: drop-shadow(0 0 30px rgba(255,26,26,0.3));
  transition: filter 0.4s, transform 0.4s;
  position: relative;
}
.vader-svg:hover {
  filter: drop-shadow(0 0 60px rgba(255,26,26,0.9));
  transform: scale(1.03);
}
.vader-svg .vader-eye {
  transition: filter 0.4s;
}
.vader-svg:hover .vader-eye {
  filter: drop-shadow(0 0 8px #ff0000) brightness(1.5);
}
.breath-hint {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 3px;
  color: #ff3333;
  opacity: 0.5;
  white-space: nowrap;
  animation: hint-pulse 2s ease-in-out infinite;
}
@keyframes hint-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}
.cta {
  display: inline-block;
  margin-top: 30px;
  padding: 16px 40px;
  border: 2px solid #ff1a1a;
  color: #ff1a1a;
  letter-spacing: 4px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: #ff1a1a;
  transition: left 0.4s;
  z-index: -1;
}
.cta:hover {
  color: #000;
  box-shadow: 0 0 30px rgba(255,26,26,0.7);
}
.cta:hover::before { left: 0; }

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 4px;
  color: #555;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ============ ОБЩИЕ СЕКЦИИ ============ */
.container { max-width: 1200px; margin: 0 auto; padding: 100px 40px; }
.section-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 70px;
  letter-spacing: 6px;
  color: #fff;
  position: relative;
  padding-bottom: 20px;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: #ff1a1a;
  box-shadow: 0 0 12px #ff1a1a;
}

/* ============ БИОГРАФИЯ ============ */
.bio {
  background: linear-gradient(180deg, #000 0%, #0a0000 50%, #000 100%);
  position: relative;
}
.bio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}
.bio-card {
  background: rgba(255, 26, 26, 0.03);
  border: 1px solid rgba(255, 26, 26, 0.15);
  padding: 35px 28px;
  position: relative;
  transition: all 0.4s;
  overflow: hidden;
}
.bio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, #ff1a1a, transparent);
  transform: scaleX(0);
  transition: transform 0.4s;
}
.bio-card:hover {
  background: rgba(255, 26, 26, 0.07);
  border-color: rgba(255, 26, 26, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(255, 26, 26, 0.2);
}
.bio-card:hover::before { transform: scaleX(1); }
.bio-num {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255, 26, 26, 0.3);
  margin-bottom: 10px;
}
.bio-card h3 {
  color: #fff;
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: 15px;
}
.bio-card p {
  font-family: 'Russo One', sans-serif;
  font-size: 0.95rem;
  color: #aaa;
  letter-spacing: 0.5px;
}

/* ============ ЦИТАТЫ ============ */
.quotes {
  background: #050000;
  position: relative;
}
.quote-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 60px 40px;
  border: 1px solid rgba(255, 26, 26, 0.2);
  background: radial-gradient(ellipse at center, rgba(255,26,26,0.06) 0%, transparent 70%);
}
.quote-mark {
  font-size: 6rem;
  color: #ff1a1a;
  line-height: 0.5;
  margin-bottom: 20px;
  text-shadow: 0 0 20px rgba(255,26,26,0.5);
}
.quote-text {
  font-family: 'Russo One', sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 25px;
  min-height: 100px;
  transition: opacity 0.5s;
  font-style: italic;
}
.quote-author {
  color: #ff5555;
  letter-spacing: 4px;
  font-size: 0.85rem;
}
.quote-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}
.quote-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #333;
  cursor: pointer;
  transition: all 0.3s;
}
.quote-dots span.active {
  background: #ff1a1a;
  box-shadow: 0 0 12px #ff1a1a;
  transform: scale(1.3);
}

/* ============ СИЛА ============ */
.powers {
  background: linear-gradient(180deg, #000 0%, #0a0000 100%);
}
.powers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.power {
  padding: 30px;
  border-left: 3px solid #ff1a1a;
  background: rgba(255,255,255,0.02);
  transition: all 0.3s;
}
.power:hover {
  background: rgba(255, 26, 26, 0.05);
  transform: translateX(10px);
}
.power-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 10px rgba(255,26,26,0.5));
}
.power h3 {
  color: #fff;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  font-size: 1.05rem;
}
.power p {
  font-family: 'Russo One', sans-serif;
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 18px;
}
.power-bar {
  height: 4px;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
  position: relative;
}
.power-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #ff1a1a, #ff5555);
  box-shadow: 0 0 10px #ff1a1a;
  width: 0;
  transition: width 1.5s ease-out;
}
.power.visible .power-bar span {
  width: var(--w);
}

/* ============ ХРОНОЛОГИЯ ============ */
.timeline-section {
  background: #000;
}
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 50px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, #ff1a1a, transparent);
}
.t-item {
  position: relative;
  margin-bottom: 40px;
  padding: 20px 25px;
  background: rgba(255, 26, 26, 0.03);
  border: 1px solid rgba(255, 26, 26, 0.15);
  transition: all 0.4s;
}
.t-item::before {
  content: '';
  position: absolute;
  left: -42px;
  top: 28px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #ff1a1a;
  box-shadow: 0 0 15px #ff1a1a;
}
.t-item:hover {
  background: rgba(255, 26, 26, 0.08);
  transform: translateX(8px);
}
.t-year {
  color: #ff1a1a;
  font-weight: 900;
  letter-spacing: 3px;
  font-size: 1.1rem;
  margin-bottom: 5px;
}
.t-text {
  font-family: 'Russo One', sans-serif;
  color: #bbb;
  font-size: 0.95rem;
}

/* ============ ФУТЕР ============ */
footer {
  background: #000;
  border-top: 1px solid rgba(255, 26, 26, 0.2);
  padding: 50px 0;
  text-align: center;
}
.footer-inner { padding: 30px 40px; }
.footer-logo {
  font-size: 1.5rem;
  color: #ff1a1a;
  letter-spacing: 6px;
  margin-bottom: 15px;
  text-shadow: 0 0 15px rgba(255,26,26,0.5);
}
footer p {
  color: #666;
  font-size: 0.9rem;
  letter-spacing: 1px;
}
footer .small {
  margin-top: 15px;
  font-size: 0.75rem;
  letter-spacing: 4px;
  color: #444;
}

/* ============ MEDIA ============ */
@media (max-width: 768px) {
  .nav { padding: 15px 20px; flex-direction: column; gap: 12px; }
  .nav nav { gap: 18px; flex-wrap: wrap; justify-content: center; }
  .nav nav a { font-size: 0.7rem; }
  .container { padding: 60px 20px; }
  .timeline { padding-left: 35px; }
  .t-item::before { left: -28px; }
}

/* ============ АНИМАЦИИ ВХОДА ============ */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s, transform 0.8s;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
