@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  :root {
    --background: 240 10% 3.9%;
    --foreground: 0 0% 98%;
    --muted: 240 3.7% 15.9%;
    --muted-foreground: 240 5% 64.9%;
    --primary: 24.6 95% 53.1%;
    --primary-foreground: 0 0% 98%;
    --secondary: 240 3.7% 15.9%;
    --secondary-foreground: 0 0% 98%;
    --border: 240 3.7% 15.9%;
  }

  html {
    scroll-behavior: smooth;
  }
}

@layer utilities {
  .glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  }

  .glass-strong {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .gradient-text {
    background: linear-gradient(to right, #ffffff, #a1a1aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .glow-orange {
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.2);
    transition: box-shadow 0.3s ease;
  }

  .glow-orange:hover {
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.4);
  }

  .glow-orange-strong {
    box-shadow: 0 0 40px rgba(249, 115, 22, 0.3);
  }
}

/* Marquee from old site */
.marquee-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: hidden;
}

.marquee {
    display: flex;
    white-space: nowrap;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    animation: scroll 30s linear infinite;
}
.marquee.reverse .marquee-content {
    animation-direction: reverse;
}

.marquee-content span {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: hsl(var(--muted-foreground));
    padding: 0 2rem;
}
.marquee-content span.dot {
    color: hsl(var(--primary));
    padding: 0;
}

@keyframes scroll {
    0% { transform: translateX(0); }
}

/* Custom Cursor */
@media (pointer: fine) {
    body, a, button, input, textarea, select {
        cursor: none;
    }
}

.custom-cursor-inverter {
    width: 24px;
    height: 24px;
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    z-index: 99999;
    pointer-events: none;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: width 0.2s, height 0.2s, opacity 0.3s;
    mix-blend-mode: difference;
}

.custom-cursor-inverter.hover-highlight {
    width: 60px;
    height: 60px;
}
