  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-deep:   #0d447c;
  --blue-mid:    #19327f;
  --blue-bright: #1356c8;
  --cyan:        #00cfff;
  --cyan-dim:    rgba(0, 207, 255, 0.18);
  --white:       #ffffff;
  --white-dim:   rgba(255,255,255,0.08);
}

  html, body {
    width: 100%; height: 100%;
    overflow: hidden;
    background: var(--blue-deep);
    font-family: 'Poppins', sans-serif;
    color: var(--white);
  }

  #canvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
  }

  .grid-perspective {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
  }
  .grid-perspective svg {
    width: 100%; height: 100%;
    opacity: 0.13;
  }

  .main-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 24px;
    gap: 0;
  }

  .logo-wrap {
    position: relative;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(-28px);
    animation: fadeDown 0.9s cubic-bezier(.22,1,.36,1) 0.2s forwards;
  }

  .logo {
    width: 300px;
    max-width: 70vw;
    filter:
      drop-shadow(0 0 12px rgba(0,207,255,0.55))
      drop-shadow(0 0 32px rgba(0,207,255,0.25))
      drop-shadow(0 8px 18px rgba(0,0,0,0.6));
    animation: logo-breathe 4s ease-in-out 1.5s infinite alternate;
  }
  .tagline {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(11px, 1.8vw, 14px);
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeUp 0.7s ease 0.9s forwards;
  }

  .divider {
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    margin-bottom: 32px;
    animation: expand-line 1s cubic-bezier(.22,1,.36,1) 0.7s forwards;
  }

  .btn-resultados {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 44px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  margin-top: 40px;
  color: var(--blue-deep);
  background: white; 
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;

  box-shadow:
    0 0 0 0 rgba(255,255,255,0.4),
    0 6px 30px rgba(255,255,255,0.35);

  opacity: 0;
  animation: fadeUp 0.7s ease 1.1s forwards;
  }

  .btn-resultados:hover {
    transform: translateY(-3px) scale(1.04);

    box-shadow:
      0 0 0 8px rgba(255,255,255,0.15),
      0 8px 40px rgba(255,255,255,0.6);
  }

  .social-container {
    position: fixed;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);

    display: flex;
    flex-direction: column;
    gap: 18px;

    z-index: 20;

    opacity: 0;
    animation: fadeSocial 0.7s ease 1.3s forwards;
  }
  @keyframes fadeSocial {
    from {
      opacity: 0;
      transform: translateY(calc(-50% + 20px));
    }
    to {
      opacity: 1;
      transform: translateY(-50%);
    }
  }
  .social-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  width: 44px;   
  height: 44px;  

  border-radius: 50%;
  border: 1px solid rgba(0,207,255,0.25);
  background: var(--white-dim);
  backdrop-filter: blur(8px);

  transition: transform 0.3s, border-color 0.3s, background 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

  .social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.25) 0%, transparent 70%);    
    opacity: 0;
    transition: opacity 0.3s;
  }

.social-link:hover {
  transform: translateY(-5px) scale(1.12);
  border-color: white;
  background: rgba(255,255,255,0.15);
  box-shadow: 0 8px 24px rgba(255,255,255,0.35);
}

  .social-link:hover::before { opacity: 1; }

.social-icon{
  width:20px;
  height:20px;
  position:relative;
  z-index:5;
}

  .footer-badge {
    position: fixed;
    bottom: 18px;
    right: 20px; 
    transform: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    z-index: 10;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.22);
    opacity: 0;
    animation: fadeUp 0.7s ease 1.8s forwards;
  }

  
  @keyframes fadeDown {
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes expand-line {
    to { width: clamp(160px, 40vw, 320px); }
  }
  @keyframes logo-breathe {
    from {
      filter:
        drop-shadow(0 0 8px rgba(0,207,255,0.4))
        drop-shadow(0 0 20px rgba(0,207,255,0.2))
        drop-shadow(0 6px 18px rgba(0,0,0,0.5));
    }
    to {
      filter:
        drop-shadow(0 0 18px rgba(0,207,255,0.75))
        drop-shadow(0 0 48px rgba(0,207,255,0.4))
        drop-shadow(0 6px 18px rgba(0,0,0,0.5));
    }
  }
  @keyframes ring-pulse {
    0%   { opacity: 0.45; transform: scale(1); }
    70%  { opacity: 0; transform: scale(1.4); }
    100% { opacity: 0; transform: scale(1.4); }
  }
  @keyframes scan {
    0%   { top: -4px; }
    100% { top: 100vh; }
  }

  @media (max-height: 600px) {
    .logo { width: 200px; }
    .tagline { margin-bottom: 20px; }
    .divider { margin-bottom: 20px; }
    .social-container { margin-top: 22px; }
    .social-link { width: 44px; height: 44px; }
    .social-icon { width: 20px; }
  }

  .site-status {
  font-family: 'Poppins', sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 50px;
  opacity: 0;
  animation: fadeDown 0.7s ease 0.1s forwards;
  font-weight: 500;
  font-size: 15px;
}


@media (max-width: 768px) {

  .social-container{
    position: relative;
    right: auto;
    top: auto;
    transform: none;

    flex-direction: row;
    justify-content: center;

    margin-top: 50px;
  }

}

@media (max-width:768px){
  .site-status{
    text-align:center;
    font-size:13px;
    margin-bottom:40px;
    padding:0 20px;
    line-height:1.5;
  }
  .btn-resultados{
    margin-top:10px;
    padding:14px 32px;
    font-size:14px;
    justify-content:center;
    text-align:center;
  }
  .logo{
    width:220px;
  }
  .social-container{
    position:relative;
    right:auto;
    top:auto;
    transform:none;
    flex-direction:row;
    justify-content:center;
    margin-top:45px;
    gap:14px;
  }
}