:root {
      --glitch-color1: #0ff;
      --glitch-color2: #f0f;
      --glitch-color3: #0f0;
    }
    
    body {
      margin: 0;
      font-family: 'Share Tech Mono', monospace;
      background: black;
      color: var(--glitch-color1);
      overflow-x: hidden;
      cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%230ff" stroke-width="2"><polygon points="12 2 19 21 12 17 5 21 12 2"/></svg>'), auto;
    }
    
    /* CRT Effect */
    body::before {
      content: "";
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
      background-size: 100% 4px;
      z-index: 1000;
      pointer-events: none;
      opacity: 0.15;
    }
    
    /* Glitchy Scrolling Text */
    .scroll-text {
      position: fixed;
      white-space: nowrap;
      color: var(--glitch-color1);
      font-size: 1.2rem;
      letter-spacing: 2px;
      z-index: 100;
      width: 100%;
      overflow: hidden;
      text-shadow: 0 0 5px var(--glitch-color1);
    }
    
    .scroll-top {
      top: 10px;
    }
    
    .scroll-bottom {
      bottom: 10px;
    }
    
    /* Header */
    header {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 4rem 2rem 2rem;
      position: relative;
    }
    
    header img {
      width: 120px;
      height: 120px;
      filter: drop-shadow(0 0 15px var(--glitch-color1));
      animation: logo-pulse 4s infinite alternate;
    }
    
    @keyframes logo-pulse {
      0% { filter: drop-shadow(0 0 5px var(--glitch-color1)); }
      50% { filter: drop-shadow(0 0 20px var(--glitch-color2)); }
      100% { filter: drop-shadow(0 0 15px var(--glitch-color3)); }
    }
    
    .glitch-title {
      font-size: 3rem;
      position: relative;
      display: inline-block;
      text-transform: uppercase;
      letter-spacing: 5px;
      margin: 0 auto;
      color: var(--glitch-color1);
      animation: glitch 2s infinite;
      text-align: center;
    }
    
    @keyframes glitch {
      0% { text-shadow: 0.05em 0 0 var(--glitch-color2), -0.05em -0.025em 0 var(--glitch-color3); }
      14% { text-shadow: 0.05em 0 0 var(--glitch-color2), -0.05em -0.025em 0 var(--glitch-color3); }
      15% { text-shadow: -0.05em -0.025em 0 var(--glitch-color2), 0.025em 0.025em 0 var(--glitch-color3); }
      49% { text-shadow: -0.05em -0.025em 0 var(--glitch-color2), 0.025em 0.025em 0 var(--glitch-color3); }
      50% { text-shadow: 0.025em 0.05em 0 var(--glitch-color2), 0.05em 0 0 var(--glitch-color3); }
      99% { text-shadow: 0.025em 0.05em 0 var(--glitch-color2), 0.05em 0 0 var(--glitch-color3); }
      100% { text-shadow: -0.025em 0 0 var(--glitch-color2), -0.025em -0.025em 0 var(--glitch-color3); }
    }
    
    /* CRT Frame */
    .crt-frame {
      position: relative;
      border: 4px solid var(--glitch-color1);
      margin: 3rem auto;
      width: 90%;
      max-width: 800px;
      aspect-ratio: 16/9;
      box-shadow: 0 0 20px var(--glitch-color1);
      overflow: hidden;
      transition: all 0.3s ease;
    }
    
    .crt-frame:hover {
      border-color: var(--glitch-color2);
      box-shadow: 0 0 30px var(--glitch-color2), 0 0 50px rgba(255, 0, 255, 0.3);
      transform: scale(1.02);
    }
    
    .crt-video {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    
    .crt-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      pointer-events: none;
      background: url('https://media.xperia.pt/bitkill/img/crt.png') center/cover repeat;
      mix-blend-mode: overlay;
      opacity: 0.3;
    }
    
    .crt-scanline {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      pointer-events: none;
      background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.3) 51%);
      background-size: 100% 4px;
      animation: scanline 10s linear infinite;
    }
    
    @keyframes scanline {
      0% { background-position: 0 0; }
      100% { background-position: 0 100%; }
    }
    
    .topics {
      text-align: center;
      font-size: 1.5rem;
      margin: 3rem 0;
      text-shadow: 0 0 10px var(--glitch-color1);
      animation: color-cycle 8s infinite;
    }
    
    @keyframes color-cycle {
      0% { color: var(--glitch-color1); text-shadow: 0 0 10px var(--glitch-color1), 0 0 20px var(--glitch-color1); }
      25% { color: var(--glitch-color2); text-shadow: 0 0 10px var(--glitch-color2), 0 0 20px var(--glitch-color2); }
      50% { color: var(--glitch-color3); text-shadow: 0 0 10px var(--glitch-color3), 0 0 20px var(--glitch-color3); }
      75% { color: var(--glitch-color2); text-shadow: 0 0 10px var(--glitch-color2), 0 0 20px var(--glitch-color2); }
      100% { color: var(--glitch-color1); text-shadow: 0 0 10px var(--glitch-color1), 0 0 20px var(--glitch-color1); }
    }
    
    canvas#audio-vis {
      display: block;
      position: fixed;
      top: 0;
      left: 0;
      z-index: -1;
    }
    
    /* Interactive Elements */
    .interactive-btn {
      background: transparent;
      border: 2px solid var(--glitch-color1);
      color: var(--glitch-color1);
      font-family: 'Share Tech Mono', monospace;
      padding: 10px 20px;
      font-size: 1.2rem;
      margin: 10px;
      cursor: pointer;
      position: relative;
      overflow: hidden;
      transition: all 0.3s;
    }
    
    .interactive-btn:hover {
      background: var(--glitch-color1);
      color: black;
      box-shadow: 0 0 15px var(--glitch-color1);
    }
    
    .interactive-btn::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.4), transparent);
      transition: 0.5s;
    }
    
    .interactive-btn:hover::before {
      left: 100%;
    }
    
    .controls {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      margin: 2rem 0;
    }
    
    .audio-controls {
      display: flex;
      justify-content: center;
      align-items: center;
      margin-top: 1rem;
    }
    
    .volume-slider {
      -webkit-appearance: none;
      width: 100px;
      height: 5px;
      background: var(--glitch-color1);
      outline: none;
      margin: 0 10px;
    }
    
    .volume-slider::-webkit-slider-thumb {
      -webkit-appearance: none;
      appearance: none;
      width: 15px;
      height: 15px;
      background: var(--glitch-color1);
      cursor: pointer;
      border-radius: 0;
    }
    
    .terminal {
      margin: 2rem auto;
      width: 90%;
      max-width: 800px;
      background: rgba(0, 0, 0, 0.7);
      border: 2px solid var(--glitch-color1);
      padding: 1rem;
      min-height: 150px;
      color: var(--glitch-color1);
      text-shadow: 0 0 5px var(--glitch-color1);
      box-shadow: 0 0 15px var(--glitch-color1);
    }
    
    .terminal-cursor {
      display: inline-block;
      width: 10px;
      height: 20px;
      background: var(--glitch-color1);
      animation: blink 1s infinite;
      vertical-align: middle;
    }
    
    @keyframes blink {
      0%, 100% { opacity: 1; }
      50% { opacity: 0; }
    }