/* ============================================================
   PIKACHU FAN SITE — The Electric Legend
   style.css
   ============================================================ */

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

:root {
  --yellow-bright: #FFED4E;
  --yellow-gold:   #FFD700;
  --yellow-deep:   #F5B800;
  --black-deep:    #0F0F0F;
  --black-mid:     #1A1A1A;
  --black-card:    #222222;
  --blue-electric: #00D4FF;
  --blue-mid:      #0088FF;
  --blue-psychic:  #AA88FF;
  --white:         #FFFFFF;
  --text-muted:    rgba(255,255,255,0.55);
  --glow-yellow:   rgba(255,237,78,0.35);
  --glow-blue:     rgba(0,212,255,0.25);
  --radius-sm:     8px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --radius-xl:     40px;
  --font:          'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- KEYFRAME ANIMATIONS ----------------------------------- */

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50%       { transform: translateY(-22px) rotate(1deg); }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

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

@keyframes lightning {
  0%   { opacity: 0; }
  5%   { opacity: 0.85; }
  10%  { opacity: 0.1; }
  15%  { opacity: 0.9; }
  20%  { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes lightningB {
  0%   { opacity: 0; }
  20%  { opacity: 0; }
  25%  { opacity: 0.7; }
  30%  { opacity: 0.05; }
  35%  { opacity: 0.8; }
  40%  { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes lightningC {
  0%   { opacity: 0; }
  50%  { opacity: 0; }
  55%  { opacity: 0.6; }
  60%  { opacity: 0; }
  65%  { opacity: 0.75; }
  70%  { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes ringPulse {
  0%   { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

@keyframes sparkFly {
  0%   { transform: translate(0,0) scale(1); opacity: 1; }
  100% { transform: translate(var(--tx), var(--ty)) scale(0); opacity: 0; }
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes barFill {
  from { width: 0; }
  to   { width: var(--pct); }
}

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

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes bgGridMove {
  from { background-position: 0 0; }
  to   { background-position: 40px 40px; }
}

@keyframes electricArc {
  0%, 100% { clip-path: polygon(0% 45%, 15% 30%, 30% 50%, 45% 20%, 60% 55%, 75% 35%, 90% 50%, 100% 40%, 100% 60%, 85% 60%, 70% 60%, 55% 60%, 40% 60%, 25% 60%, 10% 60%, 0% 60%); }
  25%       { clip-path: polygon(0% 55%, 12% 20%, 28% 60%, 44% 25%, 58% 65%, 72% 30%, 88% 55%, 100% 35%, 100% 60%, 85% 60%, 70% 60%, 55% 60%, 40% 60%, 25% 60%, 10% 60%, 0% 60%); }
  50%       { clip-path: polygon(0% 40%, 18% 60%, 32% 25%, 48% 55%, 62% 20%, 78% 60%, 92% 35%, 100% 50%, 100% 60%, 85% 60%, 70% 60%, 55% 60%, 40% 60%, 25% 60%, 10% 60%, 0% 60%); }
  75%       { clip-path: polygon(0% 50%, 14% 30%, 30% 60%, 46% 22%, 60% 58%, 74% 32%, 90% 52%, 100% 42%, 100% 60%, 85% 60%, 70% 60%, 55% 60%, 40% 60%, 25% 60%, 10% 60%, 0% 60%); }
}

/* ---- NAVIGATION ------------------------------------------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 32px rgba(0,0,0,0.5);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__badge {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 8px var(--yellow-bright));
}

.nav__logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--yellow-bright);
  text-shadow: 0 0 20px rgba(255,237,78,0.6);
}

.nav__links {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.5px;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 4px;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--yellow-bright);
  border-radius: 2px;
  transition: width var(--transition);
  box-shadow: 0 0 8px var(--yellow-bright);
}

.nav__links a:hover {
  color: var(--yellow-bright);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ---- HERO SECTION ----------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 60% 40%, #1a1200 0%, #0F0F0F 55%),
              radial-gradient(ellipse at 20% 80%, #001633 0%, transparent 50%);
}

/* Animated dot-grid background */
.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,237,78,0.12) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: bgGridMove 8s linear infinite;
  pointer-events: none;
}

/* Electric ring pulses */
.hero__electric-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 2px solid rgba(255,237,78,0.2);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero__electric-ring--1 {
  width: 500px; height: 500px;
  animation: ringPulse 3s ease-out infinite;
}
.hero__electric-ring--2 {
  width: 700px; height: 700px;
  animation: ringPulse 3s ease-out infinite 1s;
}
.hero__electric-ring--3 {
  width: 900px; height: 900px;
  animation: ringPulse 3s ease-out infinite 2s;
}

/* Lightning overlays */
.hero__lightning {
  position: absolute;
  pointer-events: none;
  object-fit: contain;
}

.hero__lightning--left {
  left: -60px;
  top: 5%;
  width: 320px;
  opacity: 0;
  transform: scaleX(-1) rotate(10deg);
  animation: lightning 7s ease-in-out infinite;
  filter: drop-shadow(0 0 12px #FFED4E) saturate(1.5);
}

.hero__lightning--right {
  right: -40px;
  top: 20%;
  width: 220px;
  opacity: 0;
  animation: lightningB 7s ease-in-out infinite;
  filter: drop-shadow(0 0 12px #00D4FF) hue-rotate(180deg) saturate(2);
}

.hero__lightning--top {
  right: 10%;
  top: -40px;
  width: 280px;
  opacity: 0;
  transform: rotate(-20deg);
  animation: lightningC 7s ease-in-out infinite;
  filter: drop-shadow(0 0 16px #FFED4E) saturate(1.8);
}

/* Spark canvas */
.hero__sparks {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Hero content layout */
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* Hero text */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,237,78,0.1);
  border: 1px solid rgba(255,237,78,0.3);
  color: var(--yellow-bright);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero__badge-dot {
  width: 6px; height: 6px;
  background: var(--yellow-bright);
  border-radius: 50%;
  animation: glowPulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 8px var(--yellow-bright);
}

.hero__title {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero__title--accent {
  color: var(--yellow-bright);
  text-shadow: 0 0 40px rgba(255,237,78,0.5);
}

.hero__title--legend {
  background: linear-gradient(135deg, #FFD700, #FFED4E, #00D4FF);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 440px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--yellow-bright);
  color: var(--black-deep);
  font-size: 1rem;
  font-weight: 800;
  padding: 16px 36px;
  border-radius: var(--radius-xl);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(255,237,78,0.35), 0 0 0 0 rgba(255,237,78,0.4);
}

.hero__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity var(--transition);
}

.hero__cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(255,237,78,0.55), 0 0 60px rgba(255,237,78,0.25);
}

.hero__cta:hover::before {
  opacity: 1;
}

.hero__cta svg {
  transition: transform var(--transition);
}
.hero__cta:hover svg {
  transform: translate(3px, -3px);
}

/* Hero Pikachu wrapper */
.hero__pikachu-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__glow-ring {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,237,78,0.2) 0%, transparent 70%);
  animation: glowPulse 3s ease-in-out infinite;
}

/* Small spark elements */
.hero__sparks-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__spark {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow-bright);
  box-shadow: 0 0 12px var(--yellow-bright);
  animation: sparkFly 2s ease-in-out infinite;
}

.hero__spark--a {
  top: 20%; left: 15%;
  --tx: -30px; --ty: -40px;
  animation-delay: 0s;
}
.hero__spark--b {
  top: 30%; right: 10%;
  --tx: 35px; --ty: -30px;
  animation-delay: 0.5s;
  background: var(--blue-electric);
  box-shadow: 0 0 12px var(--blue-electric);
}
.hero__spark--c {
  bottom: 25%; left: 20%;
  --tx: -25px; --ty: 35px;
  animation-delay: 1s;
}
.hero__spark--d {
  bottom: 15%; right: 15%;
  --tx: 28px; --ty: 40px;
  animation-delay: 1.5s;
  background: var(--blue-electric);
  box-shadow: 0 0 12px var(--blue-electric);
}

.hero__pikachu {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  filter: drop-shadow(0 20px 60px rgba(255,237,78,0.35))
          drop-shadow(0 0 80px rgba(255,237,78,0.15));
  animation: float 3.5s ease-in-out infinite;
}

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 2;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--yellow-bright), transparent);
  animation: floatSlow 1.5s ease-in-out infinite;
}

/* ---- TICKER / MARQUEE ------------------------------------- */

.ticker {
  background: var(--yellow-bright);
  color: var(--black-deep);
  padding: 12px 0;
  overflow: hidden;
  position: relative;
  z-index: 3;
}

.ticker__track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: ticker 20s linear infinite;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ticker__sep {
  color: var(--black-deep);
  opacity: 0.5;
}

/* ---- SECTION COMMON --------------------------------------- */

.gallery,
.about,
.evolutions {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  background: rgba(255,237,78,0.12);
  border: 1px solid rgba(255,237,78,0.3);
  color: var(--yellow-bright);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.05;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ---- GALLERY SECTION -------------------------------------- */

.gallery {
  background: var(--black-mid);
  position: relative;
}

.gallery::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,237,78,0.3), transparent);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery__card--featured {
  grid-column: span 1;
  grid-row: span 2;
}

.gallery__card {
  background: var(--black-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.gallery__card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 60px rgba(255,237,78,0.2), 0 0 0 1px rgba(255,237,78,0.2);
  border-color: rgba(255,237,78,0.25);
}

.gallery__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #1a1600, #0d0d1a);
}

.gallery__card--featured .gallery__img-wrap {
  aspect-ratio: 3/4;
  height: 100%;
}

.gallery__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 16px;
}

.gallery__card:hover .gallery__img-wrap img {
  transform: scale(1.1);
}

.gallery__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery__card:hover .gallery__overlay {
  opacity: 1;
}

.gallery__tag {
  display: inline-block;
  background: var(--yellow-bright);
  color: var(--black-deep);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}

.gallery__caption {
  padding: 16px 20px 20px;
}

.gallery__caption h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--white);
}

.gallery__caption p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Electric card special style */
.gallery__card--electric {
  border-color: rgba(0,212,255,0.15);
}

.gallery__card--electric:hover {
  box-shadow: 0 20px 60px rgba(0,212,255,0.2), 0 0 0 1px rgba(0,212,255,0.3);
  border-color: rgba(0,212,255,0.3);
}

/* Dark card */
.gallery__card--dark {
  background: #111111;
}

/* ---- ABOUT / STATS SECTION -------------------------------- */

.about {
  background: var(--black-deep);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,237,78,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.about__inner {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 64px;
}

/* Visual */
.about__visual {
  position: sticky;
  top: 100px;
}

.about__img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}

.about__img-bg {
  position: absolute;
  inset: -20px;
  border-radius: var(--radius-lg);
  background: radial-gradient(ellipse at center, rgba(255,237,78,0.15) 0%, transparent 70%);
  animation: glowPulse 3s ease-in-out infinite;
}

.about__img {
  width: 100%;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 50px rgba(255,237,78,0.25));
}

.about__type-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  background: var(--yellow-bright);
  color: var(--black-deep);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 20px rgba(255,237,78,0.4);
}

/* Stats grid */
.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-content: start;
}

.stat-card {
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: border-color var(--transition), transform var(--transition);
}

.stat-card:hover {
  border-color: rgba(255,237,78,0.25);
  transform: translateY(-2px);
}

.stat-card--highlight {
  background: linear-gradient(135deg, rgba(255,237,78,0.08), rgba(255,215,0,0.04));
  border-color: rgba(255,237,78,0.15);
}

.stat-card--highlight:hover {
  border-color: rgba(255,237,78,0.35);
}

.stat-card--wide {
  grid-column: span 2;
}

.stat-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(255,237,78,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow-bright);
}

.stat-card__icon svg {
  width: 22px;
  height: 22px;
}

.stat-card__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.stat-card__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stat-card__value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.stat-card__value em {
  font-style: normal;
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.type-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,215,0,0.15);
  color: var(--yellow-gold);
  border: 1px solid rgba(255,215,0,0.3);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}

.type-badge--psychic {
  background: rgba(170,136,255,0.15);
  color: var(--blue-psychic);
  border-color: rgba(170,136,255,0.3);
}

/* Power bars */
.power-bars {
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
}

.power-bars__title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.power-bars__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 48px;
}

.power-bar {
  display: grid;
  grid-template-columns: 80px 1fr 36px;
  align-items: center;
  gap: 12px;
}

.power-bar__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.power-bar__track {
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
}

.power-bar__fill {
  height: 100%;
  border-radius: 4px;
  background: #FF6B6B;
  width: 0;
  animation: barFill 1.5s ease-out forwards;
  animation-play-state: paused;
  box-shadow: 0 0 8px rgba(255,107,107,0.5);
}

.power-bar__fill--blue {
  background: var(--blue-mid);
  box-shadow: 0 0 8px rgba(0,136,255,0.5);
}

.power-bar__fill--yellow {
  background: var(--yellow-bright);
  box-shadow: 0 0 8px rgba(255,237,78,0.6);
}

.power-bar__val {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-align: right;
}

/* ---- EVOLUTIONS SECTION ----------------------------------- */

.evolutions {
  background: var(--black-mid);
  position: relative;
  overflow: hidden;
}

.evolutions::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 50%, rgba(0,136,255,0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 50%, rgba(255,237,78,0.05) 0%, transparent 50%);
  pointer-events: none;
}

/* Evolution timeline */
.evo__timeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 80px;
  flex-wrap: nowrap;
}

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

.evo__card {
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  width: 220px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.evo__card:hover {
  transform: translateY(-8px);
}

.evo__card--baby {
  border-color: rgba(255,237,78,0.1);
}

.evo__card--main {
  background: linear-gradient(145deg, #1e1800, #0f0f0f);
  border-color: var(--yellow-bright);
  border-width: 2px;
  width: 260px;
  box-shadow: 0 0 40px rgba(255,237,78,0.2), 0 0 80px rgba(255,237,78,0.08);
  position: relative;
}

.evo__card--main:hover {
  box-shadow: 0 0 60px rgba(255,237,78,0.35), 0 20px 60px rgba(0,0,0,0.5);
}

.evo__card--raichu {
  border-color: rgba(200,133,58,0.2);
}

.evo__card--raichu:hover {
  box-shadow: 0 20px 40px rgba(200,133,58,0.15);
}

.evo__badge-wrap {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.evo__badge {
  background: var(--yellow-bright);
  color: var(--black-deep);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}

.evo__pokemon-wrap {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}

.evo__pokemon-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatSlow 4s ease-in-out infinite;
}

.evo__pikachu-img {
  width: 160px;
  filter: drop-shadow(0 10px 30px rgba(255,237,78,0.4));
  animation: float 3.5s ease-in-out infinite;
}

.evo__number {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.evo__name {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.evo__type {
  display: inline-block;
  background: rgba(255,215,0,0.12);
  color: var(--yellow-gold);
  border: 1px solid rgba(255,215,0,0.25);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.evo__desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Evolution arrow */
.evo__arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  flex-shrink: 0;
}

.evo__arrow-line {
  width: 40px;
  height: 2px;
  background: linear-gradient(to right, rgba(255,237,78,0.3), rgba(255,237,78,0.8));
  border-radius: 2px;
}

.evo__arrow-condition {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--yellow-bright);
  white-space: nowrap;
  background: rgba(255,237,78,0.08);
  padding: 5px 10px;
  border-radius: 100px;
  border: 1px solid rgba(255,237,78,0.2);
}

.evo__arrow-condition svg {
  flex-shrink: 0;
}

.evo__arrow-head {
  width: 20px;
  height: 20px;
  color: var(--yellow-bright);
}

/* Alolan section */
.evo__alolan {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 48px;
}

.evo__alolan-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-psychic);
  margin-bottom: 28px;
}

.evo__alolan-card {
  background: linear-gradient(135deg, rgba(170,136,255,0.06), rgba(0,136,255,0.06));
  border: 1px solid rgba(170,136,255,0.2);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 700px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.evo__alolan-card:hover {
  border-color: rgba(170,136,255,0.4);
  box-shadow: 0 0 40px rgba(170,136,255,0.12);
}

.evo__alolan-img {
  flex-shrink: 0;
  animation: floatSlow 4s ease-in-out infinite;
  filter: drop-shadow(0 10px 30px rgba(170,136,255,0.3));
}

.evo__alolan-text h3 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.evo__alolan-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-psychic);
  margin-bottom: 8px;
}

.evo__alolan-types {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.evo__alolan-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 400px;
}

/* ---- FOOTER ----------------------------------------------- */

.footer {
  background: #080808;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer__glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(255,237,78,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.footer__inner {
  padding: 64px 24px 40px;
}

.footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  margin-bottom: 40px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__logo {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 0 10px rgba(255,237,78,0.5));
}

.footer__brand-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--yellow-bright);
  letter-spacing: -0.5px;
}

.footer__tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
}

.footer__social-link:hover {
  border-color: var(--yellow-bright);
  color: var(--yellow-bright);
  box-shadow: 0 0 16px rgba(255,237,78,0.25);
}

.footer__divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin-bottom: 32px;
}

.footer__bottom {
  text-align: center;
}

.footer__disclaimer {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  max-width: 680px;
  margin: 0 auto 12px;
  line-height: 1.7;
}

.footer__copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}

/* ---- RESPONSIVE / MOBILE ---------------------------------- */

@media (max-width: 900px) {
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 120px;
  }

  .hero__text {
    order: 2;
  }

  .hero__pikachu-wrap {
    order: 1;
  }

  .hero__sub {
    margin: 0 auto 40px;
  }

  .hero__pikachu {
    max-width: 300px;
    margin: 0 auto;
  }

  .hero__glow-ring {
    width: 260px;
    height: 260px;
  }

  .gallery__grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery__card--featured {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery__card--featured .gallery__img-wrap {
    aspect-ratio: 16/7;
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__visual {
    position: static;
    max-width: 360px;
    margin: 0 auto;
  }

  .about__stats {
    grid-template-columns: 1fr 1fr;
  }

  .power-bars__grid {
    grid-template-columns: 1fr;
  }

  .evo__timeline {
    flex-direction: column;
    gap: 8px;
  }

  .evo__step {
    flex-direction: column;
    gap: 8px;
  }

  .evo__arrow {
    flex-direction: row;
    padding: 8px 0;
    transform: rotate(90deg);
  }

  .evo__alolan-card {
    flex-direction: column;
    gap: 24px;
    text-align: center;
    max-width: 100%;
  }

  .evo__alolan-types {
    justify-content: center;
  }

  .evo__alolan-text p {
    max-width: 100%;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(15,15,15,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
  }

  .nav__links.open {
    display: flex;
  }
}

@media (max-width: 600px) {
  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .gallery__card--featured {
    grid-column: span 1;
  }

  .gallery__card--featured .gallery__img-wrap {
    aspect-ratio: 4/3;
  }

  .about__stats {
    grid-template-columns: 1fr;
  }

  .stat-card--wide {
    grid-column: span 1;
  }

  .power-bars {
    padding: 24px 20px;
  }

  .power-bar {
    grid-template-columns: 70px 1fr 32px;
  }

  .evo__card {
    width: 100%;
    max-width: 300px;
  }

  .evo__card--main {
    width: 100%;
    max-width: 300px;
  }
}

/* ---- UTILITY ---------------------------------------------- */

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* AOS overrides */
[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}
