
    :root {
      --aura-primary: #a855f7;
      --aura-secondary: #06b6d4;
      --aura-accent: #ec4899;
      --aura-gold: #f59e0b;
      --bg-deep: #050511;
      --glass-bg: rgba(17, 19, 40, 0.58);
      --glass-border: rgba(255, 255, 255, 0.16);
      --glass-highlight: rgba(255, 255, 255, 0.35);
    }

    [data-theme="cyber"] {
      --aura-primary: #00f5d4;
      --aura-secondary: #7b2cbf;
      --aura-accent: #ff007f;
      --aura-gold: #fee440;
      --bg-deep: #020813;
    }

    [data-theme="royal"] {
      --aura-primary: #f59e0b;
      --aura-secondary: #8b5cf6;
      --aura-accent: #ec4899;
      --aura-gold: #fde047;
      --bg-deep: #0b0716;
    }

    [data-theme="emerald"] {
      --aura-primary: #10b981;
      --aura-secondary: #06b6d4;
      --aura-accent: #3b82f6;
      --aura-gold: #a7f3d0;
      --bg-deep: #030f0c;
    }

    * {
      box-sizing: border-box;
      scrollbar-width: thin;
      scrollbar-color: var(--aura-primary) rgba(255, 255, 255, 0.05);
    }

    body {
      font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
      background-color: var(--bg-deep);
      color: #f8fafc;
      overflow-x: hidden;
      min-height: 100vh;
    }

    .font-display {
      font-family: 'Orbitron', sans-serif;
    }

    /* 4D Animated Mesh Aurora Background */
    .aurora-bg {
      position: fixed;
      inset: 0;
      z-index: -2;
      background: 
        radial-gradient(circle at 15% 15%, color-mix(in srgb, var(--aura-primary) 32%, transparent) 0%, transparent 45%),
        radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--aura-secondary) 28%, transparent) 0%, transparent 45%),
        radial-gradient(circle at 50% 80%, color-mix(in srgb, var(--aura-accent) 26%, transparent) 0%, transparent 50%),
        radial-gradient(circle at 80% 85%, color-mix(in srgb, var(--aura-gold) 18%, transparent) 0%, transparent 40%),
        linear-gradient(135deg, var(--bg-deep) 0%, #090a1f 50%, #04040c 100%);
      filter: saturate(130%);
      transition: background 0.8s ease;
    }

    #cosmosCanvas {
      position: fixed;
      inset: 0;
      z-index: -1;
      pointer-events: none;
    }

    /* Ultra Glossy 4D Glass Surface */
    .glass-4d {
      background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.11) 0%,
        rgba(255, 255, 255, 0.03) 45%,
        rgba(10, 12, 28, 0.65) 100%
      );
      backdrop-filter: blur(22px) saturate(180%);
      -webkit-backdrop-filter: blur(22px) saturate(180%);
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-top: 1px solid rgba(255, 255, 255, 0.38);
      border-left: 1px solid rgba(255, 255, 255, 0.24);
      box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.55),
        inset 0 1px 1px rgba(255, 255, 255, 0.35),
        inset 0 -1px 12px rgba(168, 85, 247, 0.08);
      position: relative;
      transition: border-color 0.35s ease, box-shadow 0.35s ease;
    }

    .glass-4d:hover {
      border-color: rgba(255, 255, 255, 0.35);
      box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.7),
        0 0 35px color-mix(in srgb, var(--aura-primary) 35%, transparent),
        inset 0 1px 2px rgba(255, 255, 255, 0.55);
    }

    /* Glossy Specular Sheen Overlay */
    .gloss-sheen {
      position: relative;
      overflow: hidden;
    }
    .gloss-sheen::before {
      content: '';
      position: absolute;
      top: 0;
      left: -120%;
      width: 65%;
      height: 100%;
      background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.22),
        transparent
      );
      transform: skewX(-25deg);
      transition: left 0.75s cubic-bezier(0.22, 1, 0.36, 1);
      pointer-events: none;
      z-index: 20;
    }
    .gloss-sheen:hover::before {
      left: 140%;
    }

    /* 4D Interactive Tilt Card */
    .tilt-card {
      transform-style: preserve-3d;
      will-change: transform;
      transition: transform 0.18s cubic-bezier(0.03, 0.98, 0.52, 0.99), box-shadow 0.3s ease;
    }
    .tilt-card-content {
      transform: translateZ(24px);
    }
    .tilt-glare {
      position: absolute;
      inset: 0;
      border-radius: inherit;
      pointer-events: none;
      background: radial-gradient(
        400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.22),
        transparent 60%
      );
      opacity: 0;
      transition: opacity 0.3s ease;
      z-index: 15;
    }
    .tilt-card:hover .tilt-glare {
      opacity: 1;
    }

    /* Glossy Pill Buttons */
    .btn-glossy {
      background: linear-gradient(135deg, var(--aura-primary), var(--aura-secondary), var(--aura-accent));
      background-size: 200% 200%;
      animation: gradientFlow 6s ease infinite;
      border-top: 1px solid rgba(255, 255, 255, 0.65);
      border-bottom: 1px solid rgba(0, 0, 0, 0.4);
      box-shadow: 
        0 8px 25px color-mix(in srgb, var(--aura-primary) 45%, transparent),
        inset 0 2px 3px rgba(255, 255, 255, 0.45);
      transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .btn-glossy:hover {
      transform: translateY(-3px) scale(1.03);
      box-shadow: 
        0 14px 35px color-mix(in srgb, var(--aura-secondary) 60%, transparent),
        0 0 20px color-mix(in srgb, var(--aura-accent) 50%, transparent),
        inset 0 2px 5px rgba(255, 255, 255, 0.7);
    }
    .btn-glossy:active {
      transform: translateY(0) scale(0.98);
    }

    @keyframes gradientFlow {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }

    /* 3D Coverflow Artwork Carousel */
    .coverflow-stage {
      perspective: 1400px;
      transform-style: preserve-3d;
      position: relative;
      height: 450px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }
    .coverflow-item {
      position: absolute;
      width: 310px;
      height: 400px;
      border-radius: 1.5rem;
      transition: all 0.65s cubic-bezier(0.25, 1, 0.5, 1);
      cursor: pointer;
      user-select: none;
    }
    @media (min-width: 768px) {
      .coverflow-item {
        width: 360px;
        height: 420px;
      }
    }

    /* 3D Book Spine Effect */
    .book-3d {
      perspective: 1000px;
    }
    .book-3d-inner {
      transform-style: preserve-3d;
      transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .book-3d:hover .book-3d-inner {
      transform: rotateY(-18deg) rotateX(6deg) translateZ(12px);
    }
    .book-spine {
      position: absolute;
      left: 0;
      top: 4px;
      bottom: 4px;
      width: 18px;
      background: linear-gradient(90deg, rgba(255,255,255,0.4), rgba(0,0,0,0.5));
      transform: rotateY(-90deg) translateX(-9px);
      transform-origin: left;
      border-radius: 3px 0 0 3px;
    }

    /* Audio Visualizer Animation */
    .eq-bar {
      width: 4px;
      border-radius: 999px;
      background: linear-gradient(to top, var(--aura-primary), var(--aura-secondary), #fff);
      transition: height 0.15s ease;
    }
    .playing .eq-bar {
      animation: eqBounce 0.6s ease-in-out infinite alternate;
    }
    @keyframes eqBounce {
      0% { height: 15%; }
      50% { height: 95%; }
      100% { height: 35%; }
    }

    /* Floating Levitation Animation */
    @keyframes floatSlow {
      0%, 100% { transform: translateY(0px) rotate(0deg); }
      50% { transform: translateY(-10px) rotate(1.5deg); }
    }
    .animate-float {
      animation: floatSlow 5s ease-in-out infinite;
    }

    /* Text Gradient */
    .text-gradient-4d {
      background: linear-gradient(135deg, #ffffff 0%, #e9d5ff 30%, #67e8f9 65%, #f472b6 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
  