/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors - HSL values */
  --bg-primary: 200 25% 15%;
  --text-primary: 0 0% 95%;
  --text-muted: 0 0% 70%;

  --primary: 195 45% 30%;
  --primary-rgb: 56, 85, 93;
  --secondary: 185 55% 29%;
  --secondary-rgb: 36, 109, 115;
  --accent: 35 45% 70%;
  --accent-rgb: 223, 180, 137;

  --card-bg: 200 20% 18%;
  --border: 195 30% 25%;
  --glass-bg: rgba(56, 85, 93, 0.15);
  --glass-border: rgba(36, 109, 115, 0.2);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 20px rgba(var(--primary-rgb), 0.4);
  --shadow-glow-hover: 0 0 30px rgba(var(--accent-rgb), 0.6);

  /* Spacing */
  --container-width: 1200px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;

  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
  --transition-slow: 0.3s ease;

  /* Navbar */
  --navbar-height: 80px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif;
  color: hsl(var(--text-primary));
  background: radial-gradient(1200px 600px at 10% 10%, hsla(195, 45%, 30%, 0.2), transparent),
    radial-gradient(900px 500px at 90% 90%, hsla(185, 55%, 29%, 0.15), transparent), hsl(var(--bg-primary));
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--navbar-height);
}

body::-webkit-scrollbar {
  width: 8px;
  background: transparent;
}

body::-webkit-scrollbar-thumb {
  background: hsl(var(--accent));
  border-radius: var(--radius-full);
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: hsl(var(--accent)) transparent;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: hsl(var(--accent));
  color: #000;
}

.btn-primary:hover {
  background: hsl(35 45% 65%);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: hsl(var(--text-primary));
  border: 1px solid hsl(var(--border));
}

.btn-outline:hover {
  background: var(--glass-bg);
  border-color: hsl(var(--accent));
}

.btn-auth {
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  border-radius: var(--radius-md);
}

.btn-login {
  background: transparent;
  color: hsl(var(--text-primary));
  border: 1px solid hsl(var(--border));
}

.btn-login:hover {
  background: var(--glass-bg);
  border-color: hsl(var(--accent));
  color: hsl(var(--accent));
}

.btn-signup {
  background: hsl(var(--accent));
  color: #000;
}

.btn-signup:hover {
  background: hsl(35 45% 65%);
}

.btn-large {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

.btn-glow {
  box-shadow: var(--shadow-glow);
}

.btn-glow:hover {
  box-shadow: var(--shadow-glow-hover);
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.hidden {
  display: none;
}
.fit-parent {
  width: 100%;
  height: auto;
}
