/* ESTILO FUTURISTA - OWL TECHNOLOGY */
@layer base, components, utilities;

@layer base {
  *, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  @font-face {
    font-family: 'Cyberpunk';
    src: url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700&display=swap');
  }

  :root {
    --primary-color: #8a2be2;
    --accent-color: #00ccff;
    --neon-glow: #26c5fe;
    --dark-bg: #000111;
    --light-text: #f0f8ff;
    --holographic: linear-gradient(45deg, #8a2be2, #00ccff, #ff00cc, #8a2be2);
  }

  html, body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    font-family: 'Orbitron', 'Cyberpunk', sans-serif;
    background: var(--dark-bg);
    color: var(--light-text);
    margin: 0;
    padding: 0;
    perspective: 1000px;
  }

  body {
    background: radial-gradient(ellipse at center, #050520 0%, #000000 100%);
    display: grid;
    place-items: center;
    position: relative;
  }

  body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
      radial-gradient(circle at 20% 30%, rgba(138, 43, 226, 0.15), transparent 40%),
      radial-gradient(circle at 80% 70%, rgba(0, 204, 255, 0.15), transparent 40%);
    pointer-events: none;
  }
}

@layer components {
  .symbol-container {
    position: relative;
    width: clamp(180px, 30vw, 300px);
    height: clamp(180px, 30vw, 300px);
    background: radial-gradient(circle, rgba(8, 8, 32, 0.8), rgba(0, 0, 0, 0.95));
    border-radius: 50%;
    box-shadow: 
      0 0 60px rgba(138, 43, 226, 0.3),
      0 0 100px rgba(0, 204, 255, 0.2),
      inset 0 0 40px rgba(138, 43, 226, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 8s ease-in-out infinite, rotate3d 15s linear infinite;
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    isolation: isolate;
    backdrop-filter: blur(5px);
    transform-style: preserve-3d;
    z-index: 10;
  }

  .symbol-container::before {
    content: '';
    position: absolute;
    width: 110%;
    height: 110%;
    border-radius: 50%;
    background: var(--holographic);
    opacity: 0.2;
    z-index: -1;
    filter: blur(15px);
    animation: pulse 4s ease-in-out infinite;
  }

  .symbol-container::after {
    content: '';
    position: absolute;
    width: 102%;
    height: 102%;
    border-radius: 50%;
    border: 2px solid rgba(0, 204, 255, 0.4);
    box-shadow: 0 0 15px var(--neon-glow);
    z-index: -1;
    animation: borderPulse 3s linear infinite;
  }

  .symbol-container:hover {
    box-shadow: 
      0 0 80px rgba(138, 43, 226, 0.6),
      0 0 120px rgba(0, 204, 255, 0.4),
      inset 0 0 60px rgba(138, 43, 226, 0.5);
    transform: scale(1.05) rotate3d(1, 1, 1, 5deg);
  }

  .logo-text {
    font-size: clamp(3.5rem, 7vw, 5rem);
    font-weight: bold;
    letter-spacing: 0.25em;
    background: var(--holographic);
    background-size: 400% 400%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 
      0 0 15px rgba(138, 43, 226, 0.7),
      0 0 30px rgba(0, 204, 255, 0.5);
    animation: textGlow 3s ease-in-out infinite, backgroundShift 8s linear infinite;
    z-index: 10;
    position: relative;
  }

  .logo-text::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    color: transparent;
    text-shadow: none;
    z-index: -1;
    filter: blur(10px);
    opacity: 0.7;
    animation: textGlow 2.5s ease-in-out infinite reverse;
  }

  .logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--light-text);
    z-index: 15;
    transition: all 0.3s ease;
  }

  .logo-link:hover .logo-text {
    text-shadow: 
      0 0 20px rgba(138, 43, 226, 0.9),
      0 0 40px rgba(0, 204, 255, 0.7);
    animation-play-state: paused;
  }

  .tentacle {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 
      inset 0 0 20px rgba(138, 43, 226, 0.4),
      inset 0 0 30px rgba(0, 204, 255, 0.3);
    animation: tentacle 10s ease-in-out infinite alternate;
    opacity: 0.6;
  }

  .tentacle.one {
    width: 200px;
    height: 200px;
    animation-delay: 0s;
  }

  .tentacle.two {
    width: 160px;
    height: 160px;
    animation-delay: 1s;
  }

  .tentacle.three {
    width: 120px;
    height: 120px;
    animation-delay: 2s;
  }

  .particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--neon-glow);
    border-radius: 50%;
    filter: blur(1px);
    box-shadow: 0 0 10px var(--neon-glow), 0 0 20px var(--neon-glow);
    animation: orbit 6s linear infinite;
    z-index: 5;
  }

  .particle:nth-child(1) { animation-delay: 0s; animation-duration: 4.5s; }
  .particle:nth-child(2) { animation-delay: 0.5s; animation-duration: 5s; }
  .particle:nth-child(3) { animation-delay: 1s; animation-duration: 5.5s; }
  .particle:nth-child(4) { animation-delay: 1.5s; animation-duration: 6s; }
  .particle:nth-child(5) { animation-delay: 2s; animation-duration: 6.5s; }
  .particle:nth-child(6) { animation-delay: 2.5s; animation-duration: 7s; }

  .bg-stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
  }

  .star {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    opacity: 0.5;
    animation: twinkle var(--twinkle-duration) ease-in-out infinite;
  }
}

@layer utilities {
  @keyframes float {
    0%, 100% {
      transform: translateY(0) rotate3d(1, 1, 1, 0deg);
    }
    50% {
      transform: translateY(-15px) rotate3d(1, 1, 1, 5deg);
    }
  }

  @keyframes textGlow {
    0%, 100% {
      text-shadow: 
        0 0 10px rgba(138, 43, 226, 0.7),
        0 0 20px rgba(0, 204, 255, 0.5);
    }
    50% {
      text-shadow: 
        0 0 25px rgba(138, 43, 226, 0.9),
        0 0 40px rgba(0, 204, 255, 0.7),
        0 0 60px rgba(255, 0, 204, 0.5);
    }
  }

  @keyframes backgroundShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }

  @keyframes tentacle {
    0% {
      transform: translate(-50%, -50%) scale(1) rotate(0deg);
      border-radius: 50%;
    }
    50% {
      transform: translate(-50%, -50%) scale(1.2) rotate(20deg);
      border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    }
    100% {
      transform: translate(-50%, -50%) scale(1) rotate(-20deg);
      border-radius: 60% 40% 40% 60% / 60% 60% 40% 40%;
    }
  }

  @keyframes orbit {
    0% {
      transform: rotate(0deg) translateX(100px) rotate(0deg) scale(1);
      opacity: 1;
    }
    50% {
      transform: rotate(180deg) translateX(120px) rotate(-180deg) scale(1.5);
      opacity: 0.7;
    }
    100% {
      transform: rotate(360deg) translateX(100px) rotate(-360deg) scale(1);
      opacity: 1;
    }
  }

  @keyframes pulse {
    0%, 100% {
      opacity: 0.1;
      transform: scale(1);
    }
    50% {
      opacity: 0.3;
      transform: scale(1.05);
    }
  }

  @keyframes borderPulse {
    0%, 100% {
      box-shadow: 0 0 15px rgba(0, 204, 255, 0.5);
      border-color: rgba(0, 204, 255, 0.4);
    }
    50% {
      box-shadow: 0 0 25px rgba(138, 43, 226, 0.7);
      border-color: rgba(138, 43, 226, 0.6);
    }
  }

  @keyframes rotate3d {
    0% {
      transform: rotate3d(0.5, 1, 0.2, 0deg);
    }
    100% {
      transform: rotate3d(0.5, 1, 0.2, 360deg);
    }
  }

  @keyframes twinkle {
    0%, 100% {
      opacity: 0.2;
      transform: scale(0.8);
    }
    50% {
      opacity: 1;
      transform: scale(1.2);
    }
  }

  @media (max-width: 768px) {
    .symbol-container {
      width: clamp(150px, 70vw, 250px);
      height: clamp(150px, 70vw, 250px);
    }

    .logo-text {
      font-size: clamp(2.5rem, 15vw, 4rem);
    }
  }
} 