html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #0f172a;
  color: #f8fafc;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  isolation: isolate;
}

@supports (overflow-x: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

body.modal-open {
  overflow: hidden;
}

nav,
main,
section,
footer {
  max-width: 100%;
}

body > main,
body > footer {
  position: relative;
  z-index: 1;
}

#notification-box {
  left: 1rem;
  right: 1rem;
  width: auto;
  max-width: calc(100vw - 2rem);
}

@media (min-width: 640px) {
  #notification-box {
    left: auto;
    width: 100%;
    max-width: 24rem;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
}

.glass {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-nav {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0f172a;
}

::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ef4444;
}

.text-gradient {
  background: linear-gradient(135deg, #f87171 0%, #b91c1c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.bg-blob {
  position: fixed;
  filter: blur(100px);
  z-index: 0;
  border-radius: 50%;
  opacity: 0.4;
  pointer-events: none;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-2s {
  animation-delay: 2s;
}
