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

@font-face {
  font-family: 'BauhausDeskDisplay';
  src: url('/fonts/BauhausDeskDisplay-Thin.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: 'BauhausDeskDisplay';
  src: url('/fonts/BauhausDeskDisplay-ExtraLight.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: 'BauhausDeskDisplay';
  src: url('/fonts/BauhausDeskDisplay-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'BauhausDeskDisplay';
  src: url('/fonts/BauhausDeskDisplay-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'BauhausDeskDisplay';
  src: url('/fonts/BauhausDeskDisplay-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'BauhausDeskDisplay';
  src: url('/fonts/BauhausDeskDisplay-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'BauhausDeskDisplay';
  src: url('/fonts/BauhausDeskDisplay-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'BauhausDeskDisplay';
  src: url('/fonts/BauhausDeskDisplay-ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: 'BauhausDeskDisplay';
  src: url('/fonts/BauhausDeskDisplay-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}

body, p, a, button, nav, li, address, span, label, input, textarea, strong, em, blockquote, cite, small, code, pre, th, td, caption, legend, details, summary, mark {
  font-family: 'Inter', 'Inter var', 'InterVariable', Arial, sans-serif;
}
h1, h2 {
  font-family: 'BauhausDeskDisplay', 'Inter', Arial, sans-serif;
  font-weight: 800;
}
h3, h4 {
  font-family: 'BauhausDeskDisplay', 'Inter', Arial, sans-serif;
  font-weight: 700;
}
h5, h6 {
  font-family: 'BauhausDeskDisplay', 'Inter', Arial, sans-serif;
  font-weight: 600;
}

body {
  background: #131313;
  color: #fff;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  position: relative;
  z-index: 0;
}
body::before {
  content: '';
  position: fixed;
  left: 0; right: 0; top: 0;
  height: 40vh;
  width: 100vw;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 65% 60% at 55% 0%, #FF6600bb 0%, #FFC80044 40%, #D4FF0022 70%, transparent 100%),
            radial-gradient(ellipse 40% 25% at 20% 10%, #9DFF0080 0%, #47474733 70%, transparent 100%);
  background-repeat: no-repeat, no-repeat;
  background-size: 100% 100%, 100% 100%;
  filter: blur(38px) brightness(1.08) saturate(1.10);
  opacity: 0.44;
  transition: opacity 0.8s;
  animation: aura-breath 12s ease-in-out infinite alternate;
}
div.portfolio-aura { display:none; }

div.aura-active::before, body.aura-active::before {
  content: '';
  position: fixed;
  left: 0; right: 0; top: 0;
  height: 40vh;
  width: 100vw;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 65% 60% at 55% 0%, #FF6600bb 0%, #FFC80044 40%, #D4FF0022 70%, transparent 100%),
            radial-gradient(ellipse 40% 25% at 20% 10%, #9DFF0080 0%, #47474733 70%, transparent 100%);
  filter: blur(38px) brightness(1.08) saturate(1.10);
  opacity: 0.44;
  transition: opacity 0.8s;
  animation: aura-breath 12s ease-in-out infinite alternate;
}

@media (max-width: 768px) {
  body::before {
    height: 32vh;
    filter: blur(24px) brightness(1.05) saturate(1.05);
    background: radial-gradient(ellipse 80% 40% at 60% 0%, #FF660088 0%, #FFC80033 40%, #D4FF0011 70%, transparent 100%),
                radial-gradient(ellipse 40% 20% at 20% 10%, #9DFF0055 0%, #47474722 70%, transparent 100%);
    background-repeat: no-repeat, no-repeat;
    background-size: 100% 100%, 100% 100%;
    background-position: 55% 0%, 20% 10%;
  }
}

@media (max-width: 768px) {
  body::before {
    filter: blur(32px) brightness(1.1) saturate(1.2);
    background: radial-gradient(ellipse 80% 40% at 60% 20%, #FF6600bb 0%, #FFC80044 40%, #D4FF0022 70%, transparent 90%),
                radial-gradient(ellipse 60% 30% at 20% 80%, #9DFF0066 0%, #47474733 70%, transparent 100%);
  }
}



/* Glassmorphism utility (subtil) */
.glass {
  background: rgba(30, 30, 30, 0.82);
  box-shadow: 0 4px 24px 0 rgba(31, 38, 135, 0.08);
  backdrop-filter: blur(4px);
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
}


/* Glassmorphism utility */
.glass {
  background: rgba(25, 25, 25, 0.65);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  backdrop-filter: blur(8px);
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

/* Gradient text utility */
.text-gradient {
  background: linear-gradient(90deg, #FF6600 0%, #FFC800 45%, #D4FF00 80%, #9DFF00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

/* Fancy shadow */
.fancy-shadow {
  box-shadow: 0 4px 32px 0 rgba(255, 102, 0, 0.12), 0 1.5px 12px 0 rgba(157, 255, 0, 0.08);
}

/* Aura subtle animation */
@keyframes aura-breath {
  0% {
    background-position: 55% 0%, 20% 10%;
    opacity: 0.44;
    filter: blur(38px) brightness(1.08) saturate(1.10);
  }
  40% {
    background-position: 60% 12%, 25% 15%;
    opacity: 0.455;
    filter: blur(38.5px) brightness(1.09) saturate(1.11);
  }
  60% {
    background-position: 50% 18%, 18% 18%;
    opacity: 0.46;
    filter: blur(39px) brightness(1.10) saturate(1.12);
  }
  100% {
    background-position: 55% 0%, 20% 10%;
    opacity: 0.44;
    filter: blur(38px) brightness(1.08) saturate(1.10);
  }
}

/* Section fade-in animation */
@keyframes fade-in {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: none; }
}
.animate-fade-in {
  animation: fade-in 1s cubic-bezier(.39,.575,.565,1) both;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
  background: #131313;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(120deg, #474747 0%, #FF6600 100%);
  border-radius: 6px;
}

/* Link hover underline animation */
.link-underline {
  position: relative;
  transition: color 0.2s;
}
.link-underline::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, #FF6600 0%, #D4FF00 100%);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}
.link-underline:hover::after {
  transform: scaleX(1);
}

