/* ========================= */
/* BASE */
/* ========================= */
body {
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
  }
  
  /* ========================= */
  /* LOADER */
  /* ========================= */
  .loader-ring {
    width: 96px;
    height: 96px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top-color: rgba(255, 255, 255, 0.9);
    animation: spin 1.2s linear infinite;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.08);
  }
  
  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
  
  /* ========================= */
  /* HEADER SCROLL */
  /* ========================= */
  .header-scrolled {
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  
  /* ========================= */
  /* REVEAL */
  /* ========================= */
  .reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.9s ease, transform 0.9s ease;
  }
  
  .reveal.show {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* ========================= */
  /* DETALLES VISUALES */
  /* ========================= */
  .card-glow {
    position: relative;
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
  }
  
  .card-glow:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.03);
  }
  
  .card-glow::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 2rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.06);
  }
  
  .card-glow:hover::after {
    opacity: 1;
  }
  
  .hero-light {
    animation: floating 7s ease-in-out infinite;
  }
  
  @keyframes floating {
    0%, 100% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-18px);
    }
  }
  
  /* ========================= */
  /* FADE DE PÁGINA */
  /* ========================= */
  #pageContent {
    transition: opacity 0.8s ease;
  }
  
  #loader.hidden-loader {
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s ease;
  }