/* Reset básico */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Consolas', 'Courier New', monospace;
    color: #00ffea;
  }

  /* Loading screen overlay */
#loading-screen {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000a14; /* negro con un poco de azul oscuro */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 1s ease;
  }
  
  #loading-screen img {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 0 15px #00ffea);
    animation: pulseGlow 2.5s ease-in-out infinite;
  }
  
  @keyframes pulseGlow {
    0%, 100% {
      filter: drop-shadow(0 0 15px #00ffea);
      transform: scale(1);
    }
    50% {
      filter: drop-shadow(0 0 30px #00ffaa);
      transform: scale(1.1);
    }
  }
  
  
  body {
    background: #0a0f1a; /* Azul muy oscuro casi negro */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
  }
  
  /* NAV */
  nav {
    background: #031d3f;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    box-shadow: 0 0 15px #00ffea88;
    border-bottom: 2px solid #00ffea;
  }
  
  nav .logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 900;
    font-size: 1.7rem;
    letter-spacing: 0.07em;
    text-shadow: 0 0 8px #00ffea;
    color: #00ffea;
  }
  
  nav .logo img {
    height: 80px;
    width: 80px;
    filter: drop-shadow(0 0 5px #00ffea);
  }
  
  nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
  }
  
  nav ul li a {
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    color: #00ffea;
    position: relative;
    transition: color 0.3s ease;
  }
  
  nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: #00ffea;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  nav ul li a:hover,
  nav ul li a:focus {
    color: #00ffaa;
  }
  
  nav ul li a:hover::after,
  nav ul li a:focus::after {
    opacity: 1;
  }
  
  /* CUERPO */
  main {
    flex: 1;
    padding: 3rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 3rem;
  }
  
  .card {
    background: #04152b;
    border-radius: 18px;
    padding: 2.2rem 1.8rem;
    box-shadow:
      0 0 15px #00ffea99,
      inset 0 0 8px #007f7faa;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.35s cubic-bezier(0.68, -0.55, 0.265, 1.55),
                box-shadow 0.35s ease;
    border: 2px solid transparent;
    user-select: none;
    
  }
  
  .card:hover,
  .card:focus {
    transform: translateY(-15px) scale(1.05);
    box-shadow:
      0 0 30px #00fffebb,
      inset 0 0 15px #00ffeaee;
    border: 2px solid #00ffea;
    outline: none;
  }
  
  .card-icon {
    font-size: 4rem;
    margin-bottom: 1.3rem;
    text-shadow: 0 0 12px #00ffea;
  }
  
  .card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.7rem;
    color: #00ffea;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px #00ffeaaa;
  }
  
  .card p {
    font-size: 1.1rem;
    color: #33fffebb;
    line-height: 1.4;
    font-weight: 500;
  }

  .card-link {
    text-decoration: none;
  }
  
  
  footer {
    background: #031d3f;
    color: #00ffeaaa;
    padding: 2rem 2rem;
    border-top: 2px solid #00ffea;
    user-select: none;
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    font-size: 0.95rem;
    text-shadow: 0 0 6px #00ffea88;
  }
  
  footer img {
    height: 180px;
    width: 180px;
    filter: drop-shadow(0 0 10px #00ffea);
    flex-shrink: 0;
    border-radius: 8px;
    background: #04152b;
    padding: 6px;
  }
  
  .footer-content {
    max-width: 400px;
    line-height: 1.5;
  }
  
  .footer-content p {
    margin-bottom: 0.5rem;
  }
  
  .footer-content p strong {
    font-size: 1.2rem;
    letter-spacing: 0.07em;
    text-shadow: 0 0 12px #00ffea;
  }
  
  .socials {
    margin: 1rem 0;
    display: flex;
    gap: 1rem;
  }
  
  .socials a {
    font-size: 1.7rem;
    color: #00ffea;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    filter: drop-shadow(0 0 5px #00ffea);
  }
  
  .socials a:hover,
  .socials a:focus {
    color: #00ffaa;
    text-shadow: 0 0 12px #00ffaa;
  }
  
  footer .copyright {
    font-size: 0.85rem;
    margin-top: 1rem;
    color: #009e9dcc;
    text-shadow: none;
  }
  
  /* Ajustes responsivos para footer */
  @media (max-width: 700px) {
    footer {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    .footer-content {
      max-width: 100%;
    }
  
    footer img {
      margin-bottom: 1rem;
    }
  }
  
  /* Responsive */
  @media (max-width: 450px) {
    nav ul {
      gap: 1rem;
      font-size: 0.95rem;
    }
  
    main {
      padding: 2rem 1rem;
      gap: 2rem;
    }
  
    .card {
      padding: 1.5rem 1.2rem;
    }
  }
  