body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  font-family: sans-serif;
}

#bgVideo {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
}
@media (max-width: 600px) {
  #bgVideo {
    object-fit: contain;
  }
}

.progress {
    position: relative; 
    top: 20px;          
    left: 80px;  
    font-size: 60px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    
    /* Primary text color: Bright Cyan/Aqua */
    color: #00ffff; 
    
    /* Initial Glow (Blue/Cyan) */
    text-shadow: 
        0 0 10px #00aaff, /* Lighter Blue */
        0 0 20px #00ffff, /* Pure Cyan */
        0 0 30px #00aaff, 
        0 0 40px #0077ff; /* Deeper Blue */
        
    /* Use a controlled, smooth animation */
    animation: pulseGlow 2.5s infinite alternate;
}

/* Subtle glowing pulse */
@keyframes pulseGlow {
    0% {
        /* Start of the Pulse: Focus on a tight, bright core glow (Green/Cyan) */
        text-shadow:
            0 0 10px #00ffaa, /* Bright Green-Cyan */
            0 0 20px #00ffff, /* Brightest Cyan */
            0 0 30px #00ffaa;
        transform: scale(1);
    }
    100% {
        text-shadow:
            0 0 15px #00aaff, 
            0 0 35px #0077ff, /* Increased blur for wider pulse */
            0 0 50px #0044cc;
        transform: scale(1.02); 
    }
}

#home-btn {
    position: fixed; 
    top: 30px;
    right: 60px;
    z-index: 100;
    
    padding: 10px 20px;
    font-family: 'Orbitron', sans-serif; 
    font-size: 1.1rem;
    cursor: pointer;
    text-decoration: none;
    
    color: #fff; 
    background: rgba(10, 10, 30, 0.9); /* Very dark background */
    border: 1px solid #00aaff; /* Sharp, blue border */
    border-radius: 4px; /* Less rounded for a sharper look */
    transition: all 0.2s ease-out; 
    
    /* Subtle initial glow */
    box-shadow: 0 0 5px rgba(0, 170, 255, 0.5); 
}

#home-btn:hover {
    color: #00ffff;
    background: rgba(10, 10, 30, 0.5);
    border-color: #00ffff; 
    
    /* Intense blue-green glow on hover */
    box-shadow: 0 0 20px #00ffaa, inset 0 0 5px #00ffaa; 
    transform: scale(1.05); /* Slight lift effect */
}

.pokedex-btn-container {
  position: absolute;
  top: 158px;
  right: 76px;
  z-index: 10;
  opacity: 0;
  pointer-events: none; /* Prevents accidental clicks while invisible */
  transition: opacity 1s ease-in; /* Smooth fade-in effect */
}
.pokedex-btn-container.buttons-visible {
  opacity: 1;
  pointer-events: auto; /* Enables clicks when visible */
}
.pokedex-btn {
  width: 263px;
  height: 162px;
  display: flex;
  align-items: center;
  text-decoration: none;
  position: relative;
  transition: all 0.2s ease;
  box-shadow: none;
  overflow: visible;
  color: transparent;
  background-color: transparent;
  border: none;
  border-radius: 8px;
}

.pokedex-btn:hover {
  box-shadow: 0 0 500px rgba(2, 147, 237, 0.85);
  cursor: pointer;
}
.pokedex-btn-container a,
.pokedex-btn-container a:focus,
.pokedex-btn-container a:active,
.pokedex-btn-container a:visited {
    outline: none; 
    text-decoration: none; 
}
.pokedex-btn {
    outline: none; 
}