* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

:root {
  /* Default Pokémon Rainbow Theme */
  --bg-light: #f0f8ff;
  --text-light: #1a1a2e;
  --accent: #ff6b6b;
  --accent-hover: #ff5252;
  --gray: #495057;
  --light-gray: #e3f2fd;
  --border: #bbdefb;
  --green: #4caf50;
  --yellow: #ffc107;
  --red: #f44336;
  --purple: #9c27b0;
  --pink: #e91e63;
  --navy: #1e3a8a;
  --charcoal: #2c3e50;
  --steel: #607d8b;
  --copper: #ff8a65;
  --forest: #388e3c;
  --slate: #546e7a;
  --warm-gray: #78909c;
  --electric: #ffeb3b;
  --fire: #ff5722;
  --water: #2196f3;
  --grass: #8bc34a;
  --psychic: #e91e63;
  --fighting: #795548;
  --poison: #9c27b0;
  --ground: #8d6e63;
  --flying: #03a9f4;
  --bug: #689f38;
  --rock: #5d4037;
  --ghost: #673ab7;
  --dragon: #3f51b5;
  --dark: #424242;
  --steel-type: #607d8b;
  --fairy: #f8bbd9;
}

:root.dark {
  --bg-light: #0f0f23;
  --text-light: #e8e8e8;
  --gray: #8a8a8a;
  --light-gray: #1a1f2e;
  --border: #2a3441;
  --navy: #1e3a8a;
  --charcoal: #1a1f2e;
  --steel: #2a3441;
  --slate: #1e2a3a;
  --warm-gray: #6c7b8a;
}

body {
  font-family: 'Pokemon GB', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
  background: var(--bg-light);
  color: var(--text-light);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(33, 150, 243, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(76, 175, 80, 0.1) 0%, transparent 50%);
}

/* Add Pokemon font */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

body * {
  transition: transform 0.3s ease, opacity 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Pokéball floating orbs */
.gradient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.15;
  animation: pokemonFloat 30s infinite ease-in-out;
  pointer-events: none;
  z-index: -1;
  will-change: transform;
  transition: transform 0.3s ease;
}

.orb1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle at 30% 30%, #ff6b6b, #ff5252, #d32f2f);
  top: -10%;
  left: -10%;
  animation-delay: 0s;
}

.orb2 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle at 30% 30%, #2196f3, #1976d2, #0d47a1);
  bottom: -10%;
  right: -10%;
  animation-delay: 10s;
}

.orb3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at 30% 30%, #4caf50, #388e3c, #2e7d32);
  top: 50%;
  left: 70%;
  transform: translate(-50%, -50%);
  animation-delay: 20s;
}

:root.dark .orb1 {
  background: radial-gradient(circle at 30% 30%, #ff6b6b, #ff5252);
  opacity: 0.2;
}

:root.dark .orb2 {
  background: radial-gradient(circle at 30% 30%, #2196f3, #1976d2);
  opacity: 0.2;
}

:root.dark .orb3 {
  background: radial-gradient(circle at 30% 30%, #4caf50, #388e3c);
  opacity: 0.2;
}

@keyframes pokemonFloat {
  0%, 100% { 
    transform: translate(0, 0) scale(1) rotate(0deg);
    opacity: 0.15;
  }
  33% { 
    transform: translate(20px, -15px) scale(1.1) rotate(120deg);
    opacity: 0.25;
  }
  66% { 
    transform: translate(-15px, 10px) scale(0.9) rotate(240deg);
    opacity: 0.2;
  }
}

/* Pokémon-style grid pattern */
.grid-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 20px,
      rgba(255, 107, 107, 0.05) 20px,
      rgba(255, 107, 107, 0.05) 22px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 20px,
      rgba(33, 150, 243, 0.05) 20px,
      rgba(33, 150, 243, 0.05) 22px
    );
  animation: gridShift 60s ease-in-out infinite;
  z-index: -2;
}

:root.dark .grid-background {
  background: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 20px,
      rgba(255, 255, 255, 0.03) 20px,
      rgba(255, 255, 255, 0.03) 22px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 20px,
      rgba(255, 255, 255, 0.02) 20px,
      rgba(255, 255, 255, 0.02) 22px
    );
}

@keyframes gridShift {
  0%, 100% { 
    transform: translate(0, 0);
    opacity: 1;
  }
  50% { 
    transform: translate(2px, 2px);
    opacity: 0.8;
  }
}

/* Pokémon energy scanning lines */
.grid-line {
  position: fixed;
  background: linear-gradient(90deg, transparent, rgba(255, 235, 59, 0.4), transparent);
  opacity: 0;
  z-index: -1;
}

.grid-line-h {
  width: 100%;
  height: 3px;
  animation: energyScanH 8s linear infinite;
}

.grid-line-v {
  width: 3px;
  height: 100%;
  animation: energyScanV 10s linear infinite;
}

@keyframes energyScanH {
  0%, 100% { top: -3px; opacity: 0; }
  50% { top: 50%; opacity: 0.8; }
}

@keyframes energyScanV {
  0%, 100% { left: -3px; opacity: 0; }
  50% { left: 50%; opacity: 0.8; }
}

/* Pokédex-style theme toggle */
.theme-toggle {
  position: fixed;
  top: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border: none;
  background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
  border: 3px solid #ffffff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 4px 15px rgba(255, 107, 107, 0.4),
    inset 0 2px 0 rgba(255, 255, 255, 0.3);
  color: white;
  animation: pokemonPulse 3s ease-in-out infinite;
}

@keyframes pokemonPulse {
  0%, 100% { 
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.3);
  }
  50% { 
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6), inset 0 2px 0 rgba(255, 255, 255, 0.5);
  }
}

:root.dark .theme-toggle {
  background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
  box-shadow: 
    0 4px 15px rgba(33, 150, 243, 0.4),
    inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

.theme-toggle:active {
  transform: scale(0.9);
  animation: pokemonSpin 0.8s ease-in-out;
}

@keyframes pokemonSpin {
  0% { transform: scale(0.9) rotate(0deg); }
  50% { transform: scale(0.95) rotate(180deg); }
  100% { transform: scale(0.9) rotate(360deg); }
}

/* Pokémon contact button */
.contact-toggle {
  position: fixed;
  top: 2rem;
  right: 6.5rem;
  width: 60px;
  height: 60px;
  border: none;
  background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
  border: 3px solid #ffffff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 4px 15px rgba(76, 175, 80, 0.4),
    inset 0 2px 0 rgba(255, 255, 255, 0.3);
  animation: pokemonBounce 4s ease-in-out infinite;
}

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

.contact-toggle:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 
    0 6px 20px rgba(76, 175, 80, 0.6),
    inset 0 2px 0 rgba(255, 255, 255, 0.5);
}

.contact-toggle:active {
  transform: scale(0.9);
}

/* Pokédex Contact Panel */
.contact-panel {
  position: fixed;
  right: 0;
  top: 0;
  height: 100vh;
  width: 400px;
  background: linear-gradient(135deg, var(--bg-light) 0%, rgba(255, 107, 107, 0.05) 100%);
  box-shadow: -10px 0 30px rgba(255, 107, 107, 0.2);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2000;
  padding: 3rem 2rem;
  overflow-y: auto;
  border-left: 4px solid var(--accent);
}

:root.dark .contact-panel {
  background: linear-gradient(135deg, #0a0a0a 0%, rgba(33, 150, 243, 0.1) 100%);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  border-left-color: var(--water);
}

.contact-panel.active {
  transform: translateX(0);
}

.contact-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--accent);
  border: 2px solid white;
  font-size: 1.5rem;
  cursor: pointer;
  color: white;
  transition: all 0.2s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: bold;
}

.contact-close:hover {
  background: var(--accent-hover);
  transform: rotate(90deg) scale(1.1);
}

.contact-panel h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Press Start 2P', monospace;
  font-size: 1.2rem;
  line-height: 1.5;
}

.contact-panel p {
  color: var(--gray);
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  background: var(--light-gray);
  border: 3px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s ease;
  color: var(--text-light);
}

:root.dark .contact-form input,
:root.dark .contact-form textarea {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255, 107, 107, 0.3);
}

.submit-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: white;
  border: 3px solid white;
  border-radius: 25px;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.submit-btn:hover {
  background: linear-gradient(135deg, var(--accent-hover), var(--accent));
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255, 107, 107, 0.4);
}

.submit-btn:active {
  transform: translateY(0) scale(0.98);
}

.contact-direct {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border);
  text-align: center;
}

.contact-direct p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.contact-direct a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.contact-direct a:hover {
  color: var(--accent-hover);
  text-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

/* Pokémon Trainer Header */
.header {
  text-align: center;
  padding: 7rem 2rem 4rem;
  position: relative;
  animation: trainerAppear 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes trainerAppear {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pokémon Master title */
.title {
  font-size: clamp(3.5rem, 9vw, 6rem);
  font-weight: 900;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
  line-height: 1.2;
  color: var(--navy);
  text-shadow: 
    4px 4px 0 #ffffff,
    8px 8px 0 var(--accent),
    12px 12px 20px rgba(255, 107, 107, 0.4);
  font-family: 'Press Start 2P', monospace;
  padding: 0.3rem 0;
  animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  from {
    text-shadow: 
      4px 4px 0 #ffffff,
      8px 8px 0 var(--accent),
      12px 12px 20px rgba(255, 107, 107, 0.4);
  }
  to {
    text-shadow: 
      4px 4px 0 #ffffff,
      8px 8px 0 var(--accent),
      12px 12px 30px rgba(255, 107, 107, 0.8);
  }
}

:root.dark .title {
  color: #ffffff;
  text-shadow: 
    4px 4px 0 var(--water),
    8px 8px 0 var(--accent),
    12px 12px 20px rgba(33, 150, 243, 0.6);
}

.subtitles {
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  color: var(--steel);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.8s forwards;
  white-space: nowrap;
  font-weight: 700;
  position: relative;
  font-family: 'Press Start 2P', monospace;
}

.subtitles::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--electric), var(--fire), var(--water), transparent);
  opacity: 0.8;
  animation: energyFlow 2s ease-in-out infinite;
}

@keyframes energyFlow {
  0%, 100% { 
    background: linear-gradient(90deg, transparent, var(--electric), var(--fire), var(--water), transparent);
  }
  50% { 
    background: linear-gradient(90deg, transparent, var(--water), var(--electric), var(--fire), transparent);
  }
}

:root.dark .subtitles {
  color: #b8b8b8;
}

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

/* Pokémon music section */
.currently-listening {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-size: 0.8rem;
  color: var(--gray);
  opacity: 0;
  animation: fadeInUp 1s ease-out 1.2s forwards;
  position: relative;
  overflow: hidden;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  background: rgba(255, 235, 59, 0.1);
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  border: 2px solid rgba(255, 235, 59, 0.3);
}

.listening-icon {
  color: var(--electric);
  animation: musicNote 1.5s ease-in-out infinite;
  margin-right: 0.5rem;
  font-size: 1rem;
  text-shadow: 0 0 10px rgba(255, 235, 59, 0.6);
}

@keyframes musicNote {
  0%, 100% { 
    transform: scale(1) rotate(0deg); 
    opacity: 0.8; 
  }
  25% { 
    transform: scale(1.2) rotate(-5deg); 
    opacity: 1; 
  }
  50% { 
    transform: scale(1.1) rotate(5deg); 
    opacity: 0.9; 
  }
  75% { 
    transform: scale(1.2) rotate(-3deg); 
    opacity: 1; 
  }
}

.artists-marquee {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.artists {
  display: inline-block;
  padding-right: 4rem;
  animation: pokemonMarquee 25s linear infinite;
  color: var(--gray);
  font-weight: 600;
  opacity: 0.9;
}

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

/* Main content */
.main-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

/* Pokémon Gym sections */
.active-line {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 3rem;
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem;
  border-radius: 15px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.active-line h2 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-family: 'Press Start 2P', monospace;
  text-transform: uppercase;
}

:root.dark .active-line h2 {
  color: #ffffff;
}

/* Pokémon type badges (pulse dots) */
.pulse-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  position: relative;
  animation: pokemonTypePulse 2s ease-in-out infinite;
  border: 2px solid white;
}

.pulse-dot.green {
  background: linear-gradient(135deg, var(--grass), var(--forest));
  box-shadow: 0 0 20px rgba(76, 175, 80, 0.8);
}

.pulse-dot.yellow {
  background: linear-gradient(135deg, var(--electric), var(--yellow));
  box-shadow: 0 0 20px rgba(255, 235, 59, 0.8);
}

.pulse-dot.red {
  background: linear-gradient(135deg, var(--fire), var(--red));
  box-shadow: 0 0 20px rgba(255, 87, 34, 0.8);
}

.pulse-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pokemonTypeRipple 2s ease-in-out infinite;
}

.pulse-dot.green::before {
  background: var(--grass);
}

.pulse-dot.yellow::before {
  background: var(--electric);
}

.pulse-dot.red::before {
  background: var(--fire);
}

@keyframes pokemonTypePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

@keyframes pokemonTypeRipple {
  0% { 
    transform: translate(-50%, -50%) scale(1); 
    opacity: 0.8;
  }
  100% { 
    transform: translate(-50%, -50%) scale(4); 
    opacity: 0;
  }
}

/* Projects - Pokémon Cards */
.projects {
  display: grid;
  gap: 2rem;
  margin-bottom: 4rem;
}

/* Clean Pokémon style projects */
.project {
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.95) 100%);
  border: 3px solid var(--accent);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  opacity: 0;
  animation: pokemonCardReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  box-shadow: 
    0 8px 25px rgba(255, 107, 107, 0.15),
    inset 0 2px 0 rgba(255, 255, 255, 0.8);
  transform-style: preserve-3d;
}

.project::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--fire), var(--electric), var(--water), var(--grass));
  animation: pokemonEnergy 3s ease-in-out infinite;
  border-radius: 20px 20px 0 0;
}

@keyframes pokemonEnergy {
  0%, 100% { 
    background: linear-gradient(90deg, var(--fire), var(--electric), var(--water), var(--grass));
  }
  50% { 
    background: linear-gradient(90deg, var(--grass), var(--fire), var(--electric), var(--water));
  }
}

.project:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 15px 35px rgba(255, 107, 107, 0.25),
    0 8px 15px rgba(0, 0, 0, 0.1),
    inset 0 2px 0 rgba(255, 255, 255, 0.9);
  border-color: var(--electric);
}

:root.dark .project {
  background: linear-gradient(135deg, #1a1f2e 0%, rgba(26, 31, 46, 0.9) 100%);
  border-color: var(--water);
  box-shadow: 0 8px 25px rgba(33, 150, 243, 0.2);
}

:root.dark .project h3 {
  color: #e8e8e8;
}

:root.dark .project h3 a {
  color: #e8e8e8;
}

:root.dark .project h3 a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(33, 150, 243, 0.6);
}

:root.dark .project p {
  color: #b8b8b8;
}

/* Pokémon Gym type styling */
.active-section .project {
  border-color: var(--grass);
}

.active-section .project:hover {
  border-color: var(--forest);
  box-shadow: 
    0 15px 35px rgba(76, 175, 80, 0.25),
    0 8px 15px rgba(0, 0, 0, 0.1),
    inset 0 2px 0 rgba(255, 255, 255, 0.9);
}

.backburner-section .project {
  border-color: var(--electric);
}

.backburner-section .project:hover {
  border-color: var(--yellow);
  box-shadow: 
    0 15px 35px rgba(255, 235, 59, 0.25),
    0 8px 15px rgba(0, 0, 0, 0.1),
    inset 0 2px 0 rgba(255, 255, 255, 0.9);
}

.archived-section .project {
  border-color: var(--steel-type);
}

.archived-section .project:hover {
  border-color: var(--slate);
  box-shadow: 
    0 15px 35px rgba(96, 125, 139, 0.25),
    0 8px 15px rgba(0, 0, 0, 0.1),
    inset 0 2px 0 rgba(255, 255, 255, 0.9);
}

.project:nth-child(1) { animation-delay: 0.2s; }
.project:nth-child(2) { animation-delay: 0.4s; }
.project:nth-child(3) { animation-delay: 0.6s; }

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

.project:active {
  transform: scale(0.98);
}

/* Pokémon project content */
.project h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  letter-spacing: 0.05em;
  color: var(--navy);
  text-shadow: 0 2px 4px rgba(30, 58, 138, 0.2);
  font-family: 'Press Start 2P', monospace;
  line-height: 1.4;
}

.project h3 a {
  color: var(--navy);
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

.project h3 a:hover {
  color: var(--accent);
  border-bottom-color: var(--electric);
  text-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

.project h3 a:active {
  opacity: 0.8;
}

.project p {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

/* Pokémon stats (achievements) */
.achievements {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.2rem;
  margin: 1.5rem 0;
}

.achievement {
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(139, 195, 74, 0.05));
  border-radius: 15px;
  border: 3px solid rgba(76, 175, 80, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.achievement::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--grass), var(--electric));
}

:root.dark .achievement {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(139, 195, 74, 0.08));
  border-color: rgba(76, 175, 80, 0.4);
}

.achievement-number {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--grass), var(--electric));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  font-family: 'Press Start 2P', monospace;
}

.achievement-label {
  font-size: 0.7rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  font-family: 'Press Start 2P', monospace;
}

.achievement-list {
  list-style: none;
  margin-top: 1.5rem;
}

.achievement-list li {
  padding: 0.6rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--gray);
  line-height: 1.7;
  font-size: 0.95rem;
}

.achievement-list li::before {
  content: '⚡';
  position: absolute;
  left: 0;
  color: var(--electric);
  font-weight: bold;
  font-size: 1.2rem;
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.2); }
}

/* Pokémon collaborations */
.collaborations {
  margin: 1.2rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.1), rgba(156, 39, 176, 0.05));
  border-radius: 15px;
  border: 3px solid rgba(233, 30, 99, 0.2);
  position: relative;
  overflow: hidden;
}

.collaborations::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--psychic), var(--poison));
}

:root.dark .collaborations {
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.15), rgba(156, 39, 176, 0.08));
  border-color: rgba(233, 30, 99, 0.3);
}

.collab-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
  margin-bottom: 1rem;
  font-weight: 700;
  font-family: 'Press Start 2P', monospace;
}

.collab-names {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.collab-name {
  display: inline-block;
  padding: 0.6rem 1rem;
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.2), rgba(156, 39, 176, 0.1));
  border: 2px solid rgba(233, 30, 99, 0.3);
  border-radius: 25px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
  transition: all 0.3s ease;
}

:root.dark .collab-name {
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.25), rgba(156, 39, 176, 0.15));
  border-color: rgba(233, 30, 99, 0.4);
}

.collab-name:active {
  transform: scale(0.95);
  background: linear-gradient(135deg, var(--psychic), var(--poison));
  color: white;
  border-color: var(--psychic);
}

/* Pokémon type tags */
.project-tech {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.tech-tag {
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: 'Press Start 2P', monospace;
  position: relative;
  overflow: hidden;
}

.tech-tag::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;
}

.tech-tag:hover::before {
  left: 100%;
}

:root.dark .tech-tag {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.tech-tag:active {
  transform: scale(0.95);
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* Section divider - Pokémon energy beam */
.section-divider {
  border: none;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--electric),
    var(--fire),
    var(--water),
    var(--grass),
    transparent
  );
  margin: 5rem 0;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  animation: energyBeam 4s ease-in-out infinite;
}

@keyframes energyBeam {
  0%, 100% {
    background: linear-gradient(
      90deg,
      transparent,
      var(--electric),
      var(--fire),
      var(--water),
      var(--grass),
      transparent
    );
  }
  50% {
    background: linear-gradient(
      90deg,
      transparent,
      var(--grass),
      var(--electric),
      var(--fire),
      var(--water),
      transparent
    );
  }
}

.section-divider::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
  animation: energyScan 3s ease-in-out infinite;
}

@keyframes energyScan {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Pokédex Terminal */
.terminal-section {
  max-width: 1000px;
  margin: 5rem auto;
  padding: 0 2rem;
}

.terminal {
  background: linear-gradient(135deg, #1e1e1e, #2d2d2d);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 25px 60px rgba(255, 107, 107, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  font-family: 'Press Start 2P', monospace;
  font-size: 0.8rem;
  border: 4px solid var(--accent);
  position: relative;
}

.terminal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--fire), var(--electric), var(--water));
  animation: pokemonEnergy 3s ease-in-out infinite;
}

:root:not(.dark) .terminal {
  background: linear-gradient(135deg, #2d2d2d, #3d3d3d);
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.terminal-header {
  background: linear-gradient(135deg, #2d2d2d, #3d3d3d);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  border-bottom: 2px solid rgba(255, 107, 107, 0.3);
}

:root:not(.dark) .terminal-header {
  background: linear-gradient(135deg, #3d3d3d, #4d4d4d);
}

.terminal-buttons {
  display: flex;
  gap: 0.8rem;
}

.terminal-btn {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: block;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.terminal-btn.close {
  background: linear-gradient(135deg, #ff5f57, #ff3030);
  box-shadow: 0 0 10px rgba(255, 95, 87, 0.5);
}

.terminal-btn.minimize {
  background: linear-gradient(135deg, #ffbd2e, #ffa000);
  box-shadow: 0 0 10px rgba(255, 189, 46, 0.5);
}

.terminal-btn.maximize {
  background: linear-gradient(135deg, #28ca42, #2e7d32);
  box-shadow: 0 0 10px rgba(40, 202, 66, 0.5);
}

.terminal-title {
  color: #888;
  font-size: 0.7rem;
  flex: 1;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.terminal-body {
  padding: 2rem;
  min-height: 250px;
}

.terminal-line {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  color: #888;
}

.prompt {
  color: var(--grass);
  font-weight: bold;
  text-shadow: 0 0 10px rgba(76, 175, 80, 0.6);
}

.command {
  color: #fff;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.terminal-output {
  margin: 1.5rem 0 2rem 0;
  color: #ccc;
  line-height: 2;
}

.typing-text span {
  display: inline-block;
  opacity: 0;
  animation: pokemonTypeIn 0.8s ease-out forwards;
}

.typing-1 { animation-delay: 0.8s; }
.typing-2 { animation-delay: 2s; }
.typing-3 { animation-delay: 3.2s; }

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

/* Pokémon cursor */
.cursor {
  display: inline-block;
  width: 12px;
  height: 24px;
  background: linear-gradient(135deg, var(--grass), var(--electric));
  animation: pokemonBlink 1.2s infinite;
  vertical-align: text-bottom;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(76, 175, 80, 0.6);
}

@keyframes pokemonBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* Live Status - Pokémon Center */
.project-status {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0.8rem 0 1.5rem 0;
  font-size: 0.8rem;
  color: var(--gray);
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.1), rgba(3, 169, 244, 0.05));
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  border: 2px solid rgba(33, 150, 243, 0.2);
  font-family: 'Press Start 2P', monospace;
}

:root.dark .project-status {
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.15), rgba(3, 169, 244, 0.08));
  border-color: rgba(33, 150, 243, 0.3);
}

.live-dot {
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, var(--water), var(--flying));
  border-radius: 50%;
  position: relative;
  animation: pokemonCenterPulse 2s ease-in-out infinite;
  border: 2px solid white;
  box-shadow: 0 0 15px rgba(33, 150, 243, 0.6);
}

.live-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: var(--water);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pokemonCenterRipple 2s ease-in-out infinite;
}

@keyframes pokemonCenterPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.2);
  }
}

@keyframes pokemonCenterRipple {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(3);
    opacity: 0;
  }
}

/* Coordinates - Pokémon Location */
.coordinates {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 2.5rem;
  opacity: 0.8;
  letter-spacing: 0.1em;
  transition: opacity 0.3s ease;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 15px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  font-family: 'Press Start 2P', monospace;
}

.coordinates:hover {
  opacity: 1;
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.coordinates span {
  font-family: 'Press Start 2P', monospace;
}

/* Pokémon Footer */
.footer {
  text-align: center;
  padding: 5rem 2rem;
  border-top: 4px solid;
  border-image: linear-gradient(90deg, var(--fire), var(--electric), var(--water), var(--grass)) 1;
  margin-top: 5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.socials {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.social-button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 2rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  border: 3px solid white;
  border-radius: 25px;
  text-decoration: none;
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
  font-family: 'Press Start 2P', monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

:root.dark .social-button {
  background: linear-gradient(135deg, var(--water), var(--flying));
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 25px rgba(33, 150, 243, 0.3);
}

.social-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: translate(-50%, -50%);
  transition: all 0.6s ease;
  border-radius: 50%;
}

.social-button:active {
  transform: translateY(-3px) scale(0.98);
  box-shadow: 0 12px 30px rgba(255, 107, 107, 0.4);
}

.social-button:active::before {
  width: 300%;
  height: 300%;
}

.social-icon {
  font-size: 1.4rem;
  transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.social-button:active .social-icon {
  transform: rotate(360deg) scale(1.2);
}

/* Pokémon loading screen */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-light), rgba(255, 107, 107, 0.1));
  z-index: 10000;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  pointer-events: none;
}

body.loaded::before {
  opacity: 0;
  visibility: hidden;
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .theme-toggle,
  .contact-toggle {
    top: 1rem;
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .theme-toggle {
    right: 1rem;
  }

  .contact-toggle {
    right: 4rem;
  }

  .contact-panel {
    width: 100%;
    max-width: 400px;
  }

  .header {
    padding: 5rem 1rem 3rem;
  }

  .title {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
    line-height: 1.4;
    margin-bottom: 1.5rem;
  }

  .subtitles {
    font-size: clamp(0.7rem, 2vw, 1rem);
    letter-spacing: 0.15em;
    line-height: 1.6;
  }

  .currently-listening {
    font-size: 0.65rem;
    max-width: 90%;
    padding: 0.5rem 1rem;
    margin-top: 1rem;
  }
  
  .artists-marquee {
    max-width: 100%;
  }

  .artists {
    font-size: 0.65rem;
  }

  .active-line h2 {
    font-size: 1.2rem;
  }

  .achievements {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .achievement {
    padding: 1.2rem;
  }

  .collab-names {
    justify-content: center;
  }

  .socials {
    flex-direction: column;
    align-items: center;
  }

  .social-button {
    width: 200px;
    justify-content: center;
    padding: 1rem 1.5rem;
  }

  .main-content {
    padding: 0 1rem 3rem;
  }

  .project {
    padding: 1.5rem;
    margin: 0 0 1.5rem 0;
  }

  .terminal {
    font-size: 0.7rem;
  }
  
  .terminal-body {
    padding: 1.5rem;
  }
  
  .terminal-output {
    font-size: 0.8rem;
  }

  .gym-badges {
    gap: 6px;
    margin-top: 1.2rem;
    justify-content: center;
  }

  .gym-badge {
    width: 38px;
    height: 38px;
    font-size: 16px;
    border-width: 2px;
  }

  .gym-badge:hover {
    transform: scale(1.05);
  }
}

/* Extra small mobile screens */
@media (max-width: 480px) {
  .header {
    padding: 4rem 0.8rem 2.5rem;
  }

  .title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    margin-bottom: 1rem;
  }

  .subtitles {
    font-size: clamp(0.6rem, 1.8vw, 0.9rem);
    letter-spacing: 0.1em;
  }

  .currently-listening {
    font-size: 0.6rem;
    padding: 0.4rem 0.8rem;
    margin-top: 0.8rem;
  }

  .gym-badges {
    gap: 4px;
    margin-top: 1rem;
    flex-wrap: wrap;
  }

  .gym-badge {
    width: 34px;
    height: 34px;
    font-size: 14px;
    border-width: 2px;
  }

  .project {
    padding: 1.2rem;
  }

  .main-content {
    padding: 0 0.8rem 2.5rem;
  }
}

/* Performance optimizations */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Pokémon Sprites */
.pokemon-sprite {
  width: 96px;
  height: 96px;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  transition: all 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.pokemon-sprite:hover {
  transform: scale(1.1) translateY(-5px);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4)) brightness(1.1);
}

.project-pokemon {
  position: absolute;
  top: -20px;
  right: -10px;
  z-index: 10;
  animation: pokemonFloat 4s ease-in-out infinite;
}

.project-pokemon .pokemon-sprite {
  width: 64px;
  height: 64px;
}

.floating-pokemon {
  position: fixed;
  z-index: -1;
  opacity: 0.6;
  animation: pokemonWander 20s linear infinite;
}

.floating-pokemon.pikachu {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-pokemon.eevee {
  top: 60%;
  right: 15%;
  animation-delay: 7s;
}

.floating-pokemon.mew {
  top: 80%;
  left: 20%;
  animation-delay: 14s;
}

@keyframes pokemonWander {
  0% { transform: translateX(0px) translateY(0px); }
  25% { transform: translateX(50px) translateY(-30px); }
  50% { transform: translateX(-20px) translateY(-60px); }
  75% { transform: translateX(-50px) translateY(-20px); }
  100% { transform: translateX(0px) translateY(0px); }
}

.header-pokemon {
  position: absolute;
  top: 20px;
  left: 20px;
  animation: pokemonBounce 3s ease-in-out infinite;
}

.header-pokemon .pokemon-sprite {
  width: 80px;
  height: 80px;
}

.terminal-pokemon {
  position: absolute;
  bottom: 20px;
  right: 20px;
  opacity: 0.8;
}

.terminal-pokemon .pokemon-sprite {
  width: 48px;
  height: 48px;
}

/* Pokémon type effectiveness colors for project sprites */
.project.active-section .project-pokemon .pokemon-sprite {
  filter: drop-shadow(0 4px 8px rgba(76, 175, 80, 0.6)) brightness(1.1);
}

.project.backburner-section .project-pokemon .pokemon-sprite {
  filter: drop-shadow(0 4px 8px rgba(255, 235, 59, 0.6)) brightness(1.1);
}

.project.archived-section .project-pokemon .pokemon-sprite {
  filter: drop-shadow(0 4px 8px rgba(96, 125, 139, 0.6)) brightness(1.1);
}

/* Gym Badges */
.gym-badges {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
  z-index: 100;
}

.gym-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  border: 4px solid #ffd700;
  box-shadow: 
    0 4px 12px rgba(255, 215, 0, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.3),
    inset 0 -2px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.gym-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4), transparent 60%);
  border-radius: 50%;
}

.gym-badge:hover {
  transform: scale(1.1);
  box-shadow: 
    0 6px 20px rgba(255, 215, 0, 0.6),
    inset 0 2px 4px rgba(255, 255, 255, 0.4),
    inset 0 -2px 4px rgba(0, 0, 0, 0.3);
}

.gym-badge.boulder {
  background: linear-gradient(135deg, #8d6e63, #5d4037);
}

.gym-badge.cascade {
  background: linear-gradient(135deg, #2196f3, #1976d2);
}

.gym-badge.thunder {
  background: linear-gradient(135deg, #ffeb3b, #ffc107);
}

.gym-badge.rainbow {
  background: linear-gradient(135deg, #4caf50, #388e3c);
}

.gym-badge.soul {
  background: linear-gradient(135deg, #e91e63, #c2185b);
}

.gym-badge.marsh {
  background: linear-gradient(135deg, #9c27b0, #7b1fa2);
}

.gym-badge.volcano {
  background: linear-gradient(135deg, #ff5722, #d84315);
}

.gym-badge.earth {
  background: linear-gradient(135deg, #795548, #5d4037);
}

@keyframes badgeGlow {
  0%, 100% { 
    box-shadow: 
      0 4px 12px rgba(255, 215, 0, 0.4),
      inset 0 2px 4px rgba(255, 255, 255, 0.3),
      inset 0 -2px 4px rgba(0, 0, 0, 0.2);
  }
  50% { 
    box-shadow: 
      0 6px 20px rgba(255, 215, 0, 0.8),
      inset 0 2px 4px rgba(255, 255, 255, 0.4),
      inset 0 -2px 4px rgba(0, 0, 0, 0.3);
  }
}

.gym-badge.earned {
  animation: badgeGlow 3s ease-in-out infinite;
}

.gym-badge.active {
  transform: scale(1.2);
  box-shadow: 
    0 8px 25px rgba(255, 215, 0, 0.8),
    inset 0 2px 4px rgba(255, 255, 255, 0.5),
    inset 0 -2px 4px rgba(0, 0, 0, 0.4);
  z-index: 10;
}

/* Gym Theme Color Schemes */
:root.boulder-theme {
  --accent: #8d6e63;
  --accent-hover: #6d4c41;
  --electric: #a0785a;
  --fire: #8d6e63;
  --water: #795548;
  --grass: #6d4c41;
}

:root.cascade-theme {
  --accent: #2196f3;
  --accent-hover: #1976d2;
  --electric: #03a9f4;
  --fire: #2196f3;
  --water: #1976d2;
  --grass: #0d47a1;
}

:root.thunder-theme {
  --accent: #ffeb3b;
  --accent-hover: #ffc107;
  --electric: #fff176;
  --fire: #ffeb3b;
  --water: #ffc107;
  --grass: #ff8f00;
}

:root.rainbow-theme {
  --accent: #4caf50;
  --accent-hover: #388e3c;
  --electric: #8bc34a;
  --fire: #4caf50;
  --water: #388e3c;
  --grass: #2e7d32;
}

:root.soul-theme {
  --accent: #e91e63;
  --accent-hover: #c2185b;
  --electric: #f06292;
  --fire: #e91e63;
  --water: #c2185b;
  --grass: #ad1457;
}

:root.marsh-theme {
  --accent: #9c27b0;
  --accent-hover: #7b1fa2;
  --electric: #ba68c8;
  --fire: #9c27b0;
  --water: #7b1fa2;
  --grass: #6a1b9a;
}

:root.volcano-theme {
  --accent: #ff5722;
  --accent-hover: #d84315;
  --electric: #ff7043;
  --fire: #ff5722;
  --water: #d84315;
  --grass: #bf360c;
}

:root.earth-theme {
  --accent: #795548;
  --accent-hover: #5d4037;
  --electric: #8d6e63;
  --fire: #795548;
  --water: #5d4037;
  --grass: #4e342e;
}

/* Hardware acceleration */
.gradient-orb,
.project,
.achievement,
.social-button,
.pokemon-sprite {
  transform: translateZ(0);
  will-change: transform;
}

/* Force hide loading screen */
body.loaded::before {
  display: none !important;
}
