/* ========================================
   PIKACHU FAN LANDING — CUSTOM CSS
   Palette: #0a0a0f bg | #FFED4E yellow | #00C8FF blue
   ======================================== */

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #0a0a0f;
  color: #ffffff;
  overflow-x: hidden;
}

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

/* ---- Navbar ---- */
#navbar {
  background: transparent;
}

#navbar.scrolled {
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 237, 78, 0.12);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

/* ---- Buttons ---- */
.btn-primary {
  background: #FFED4E;
  color: #0a0a0f;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 0 0 transparent;
}

.btn-primary:hover {
  background: #ffe000;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255, 237, 78, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}

.btn-secondary:hover {
  border-color: #FFED4E;
  color: #FFED4E;
  transform: translateY(-2px);
}

/* ---- Hero ---- */
.hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(10, 10, 15, 0.72) 0%,
    rgba(10, 10, 15, 0.45) 50%,
    rgba(10, 10, 15, 0.72) 100%
  );
}

.hero-title {
  text-shadow: 0 2px 32px rgba(0,0,0,0.7), 0 0 80px rgba(255, 237, 78, 0.15);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  text-shadow: 0 2px 12px rgba(0,0,0,0.8);
}

/* Hero slide-in animations */
.hero-title {
  animation: heroTitleIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-subtitle {
  animation: heroTitleIn 1s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-cta {
  animation: heroTitleIn 1s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

/* ---- Electric Sparks ---- */
.spark {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  animation: sparkPulse 3s ease-in-out infinite;
}

.spark-1 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 237, 78, 0.18) 0%, transparent 70%);
  top: 15%;
  left: 8%;
  animation-delay: 0s;
}

.spark-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.15) 0%, transparent 70%);
  bottom: 25%;
  right: 10%;
  animation-delay: 1.2s;
}

.spark-3 {
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 237, 78, 0.2) 0%, transparent 70%);
  top: 35%;
  right: 20%;
  animation-delay: 2.1s;
}

.spark-4 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 237, 78, 0.1) 0%, transparent 70%);
  top: 10%;
  right: 5%;
  animation-delay: 0.5s;
}

.spark-5 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.1) 0%, transparent 70%);
  bottom: 15%;
  left: 5%;
  animation-delay: 1.8s;
}

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

/* ---- Scroll Indicator ---- */
.scroll-dot {
  animation: scrollBounce 1.6s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(10px); opacity: 0.3; }
}

/* ---- Electric Section Line ---- */
.electric-section-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 237, 78, 0.4) 50%, transparent 100%);
}

/* ---- About Cards ---- */
.about-card {
  background: #16161f;
  border: 1px solid #252535;
  border-radius: 4px;
  padding: 1.75rem;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #FFED4E, transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.about-card:hover {
  border-color: rgba(255, 237, 78, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(255, 237, 78, 0.1);
}

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

.about-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 237, 78, 0.1);
  border: 1px solid rgba(255, 237, 78, 0.2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: #FFED4E;
}

/* ---- Evolution badges ---- */
.evo-badge {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  background: #252535;
  border: 1px solid #353550;
  border-radius: 2px;
  color: #9999aa;
  transition: all 0.2s;
}

.evo-badge-active {
  background: rgba(255, 237, 78, 0.15);
  border-color: rgba(255, 237, 78, 0.5);
  color: #FFED4E;
}

/* ---- Gallery ---- */
.gallery-card {
  cursor: pointer;
}

.gallery-card-inner {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #16161f;
  border: 1px solid #252535;
  aspect-ratio: 1 / 1;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.gallery-card:hover .gallery-card-inner {
  border-color: rgba(255, 237, 78, 0.5);
  box-shadow: 0 0 30px rgba(255, 237, 78, 0.15);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-card:hover .gallery-img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(10, 10, 15, 0.9) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-label {
  color: #FFED4E;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.gallery-type {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---- Stats Section ---- */
.stats-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255, 237, 78, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.stat-card {
  background: #16161f;
  border: 1px solid #252535;
  border-radius: 4px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

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

.stat-value {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9999aa;
  margin-top: 0.5rem;
}

.stat-bar-wrap {
  width: 100%;
  height: 4px;
  background: #252535;
  border-radius: 2px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.stat-bar {
  height: 100%;
  width: var(--bar-pct, 0%);
  background: linear-gradient(90deg, #FFED4E, #ffe000);
  border-radius: 2px;
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.stat-bar-blue {
  background: linear-gradient(90deg, #00C8FF, #0099cc);
}

/* ---- Info Cards (Abilities / Moves) ---- */
.info-card {
  background: #16161f;
  border: 1px solid #252535;
  border-radius: 4px;
  padding: 1.75rem;
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #252535;
}

.ability-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.ability-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

/* ---- Move Badges ---- */
.move-badge {
  border-radius: 4px;
  padding: 0.6rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border: 1px solid transparent;
  transition: transform 0.15s;
}

.move-badge:hover {
  transform: translateY(-2px);
}

.move-electric {
  background: rgba(255, 237, 78, 0.08);
  border-color: rgba(255, 237, 78, 0.25);
}

.move-normal {
  background: rgba(153, 153, 170, 0.08);
  border-color: rgba(153, 153, 170, 0.2);
}

.move-type {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9999aa;
}

.move-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
}

.move-power {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  color: #FFED4E;
}

/* ---- Type Section ---- */
.type-card {
  background: #16161f;
  border: 1px solid #252535;
  border-radius: 4px;
  padding: 1.5rem 1.75rem;
}

.type-badge {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.9rem;
  border-radius: 2px;
}

.type-water {
  background: rgba(64, 148, 243, 0.2);
  color: #7ab8ff;
  border: 1px solid rgba(64, 148, 243, 0.4);
}

.type-flying {
  background: rgba(148, 128, 245, 0.2);
  color: #c4b5fd;
  border: 1px solid rgba(148, 128, 245, 0.4);
}

.type-ground {
  background: rgba(217, 167, 47, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(217, 167, 47, 0.4);
}

/* ---- Community ---- */
.newsletter-input {
  background: #16161f;
  border: 1px solid #252535;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.newsletter-input:focus {
  border-color: rgba(255, 237, 78, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 237, 78, 0.08);
}

/* ---- Social Icons ---- */
.social-icon {
  width: 44px;
  height: 44px;
  background: #16161f;
  border: 1px solid #252535;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9999aa;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}

.social-icon:hover {
  background: rgba(255, 237, 78, 0.1);
  border-color: rgba(255, 237, 78, 0.4);
  color: #FFED4E;
  transform: translateY(-3px);
}

/* ---- Footer ---- */
.footer-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: #666677;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #FFED4E;
}

/* ---- AOS override — make sure items start invisible ---- */
[data-aos] {
  pointer-events: none;
}

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

/* ---- Mobile ---- */
@media (max-width: 640px) {
  .hero-title {
    font-size: 3rem;
    letter-spacing: -0.01em;
  }

  .stat-value {
    font-size: 1.9rem;
  }

  .gallery-card-inner {
    aspect-ratio: 1 / 1;
  }
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #0a0a0f;
}

::-webkit-scrollbar-thumb {
  background: #252535;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 237, 78, 0.4);
}

/* ---- Selection ---- */
::selection {
  background: rgba(255, 237, 78, 0.3);
  color: #ffffff;
}
