:root {
  --primary-color: #4a90e2;
  --secondary-color: #2ecc71;
  --accent-color: #f39c12;
  --background-light: #ffffff;
  --text-light: #2c3e50;
  --background-dark: #1a1a1a;
  --text-dark: #ecf0f1;
  --card-light: rgba(255, 255, 255, 0.1);
  --card-dark: rgba(0, 0, 0, 0.2);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background-color: var(--background-light);
  color: var(--text-light);
  transition: all 0.3s ease;
}

body.dark-mode {
  background-color: var(--background-dark);
  color: var(--text-dark);
}

.theme-toggle {
  position: fixed;
  left: 20px;
  top: 20px;
  padding: 12px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  z-index: 1000;
}

.theme-toggle:hover {
  transform: scale(1.1) rotate(15deg);
}

.card {
  background: var(--card-light);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  margin: 1rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.dark-mode .card {
  background: var(--card-dark);
  border-color: rgba(255, 255, 255, 0.05);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: bold;
}

.nav-menu {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
}

.nav-dot {
  width: 12px;
  height: 12px;
  background: var(--primary-color);
  border-radius: 50%;
  margin: 10px 0;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-dot:hover::before {
  content: attr(data-tooltip);
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-color);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  white-space: nowrap;
}