:root {
  --primary: #FF0000;
  --primary-hover: #D60000;
  --secondary: #212121;
  --tertiary: #00808C;
  --neutral: #121212;
  --background: #080808;
  --card-bg: #212121;
  --text-main: #FFFFFF;
  --text-muted: #A1A1A1;
  --border: rgba(255, 255, 255, 0.08);
  --container-padding: 4rem;
}

@media (max-width: 1024px) {
  :root {
    --container-padding: 2rem;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 1.5rem;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  background-color: var(--background);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
  width: 100%;
  position: relative;
}

main {
  display: block;
  overflow: clip; /* Modern alternative to hidden that works better with scroll-snap */
  overflow-clip-margin: 200px;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--background);
}

::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Utility Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.8s ease forwards;
}
