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

body {
  background-attachment: fixed;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  transition: background 0.5s ease, color 0.5s ease;
}

body.dark {
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
}

body.light {
  background: #ffffff;
}

body.light {
  color: #374151;
}

.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.dark .theme-toggle {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fbbf24;
}

body.light .theme-toggle {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(252, 182, 159, 0.4);
  color: #c9705a;
  box-shadow: 0 4px 15px rgba(252, 182, 159, 0.2);
}

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

.theme-toggle svg {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease;
}

.sun-icon, .moon-icon {
  display: none;
}

body.dark .sun-icon {
  display: block;
}

body.light .moon-icon {
  display: block;
}

.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  transition: opacity 0.5s ease;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 20s ease-in-out infinite;
  transition: opacity 0.5s ease;
}

body.dark .orb-1 {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, #2b9dee 0%, #a855f7 100%);
  top: -200px;
  right: -200px;
  animation-delay: 0s;
}

body.dark .orb-2 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
  bottom: -150px;
  left: -150px;
  animation-delay: -5s;
}

body.dark .orb-3 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -10s;
}

body.light .orb-1 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, rgba(253, 227, 191, 0.7) 0%, rgba(252, 182, 159, 0.7) 100%);
  top: -150px;
  right: -150px;
  animation-delay: 0s;
}

body.light .orb-2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, rgba(255, 177, 151, 0.6) 0%, rgba(255, 236, 210, 0.6) 100%);
  bottom: -100px;
  left: -100px;
  animation-delay: -5s;
}

body.light .orb-3 {
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, rgba(255, 232, 199, 0.5) 0%, rgba(252, 182, 159, 0.5) 100%);
  top: 40%;
  left: 30%;
  transform: translate(-50%, -50%);
  animation-delay: -10s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(50px, -50px) scale(1.1);
  }
  50% {
    transform: translate(-30px, 30px) scale(0.9);
  }
  75% {
    transform: translate(30px, 50px) scale(1.05);
  }
}

.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: opacity 0.5s ease;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: particle-float 15s ease-in-out infinite;
  transition: opacity 0.5s ease;
}

body.dark .particle {
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 10px rgba(43, 157, 238, 0.8);
}

body.light .particle {
  background: rgba(252, 182, 159, 0.6);
  box-shadow: 0 0 10px rgba(255, 236, 210, 0.5);
}

@keyframes particle-float {
  0%, 100% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(100px);
    opacity: 0;
  }
}

.glass-panel {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 10;
  transition: all 0.5s ease;
}

body.dark .glass-panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.light .glass-panel {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
}

.glass-card {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

body.dark .glass-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.light .glass-card {
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  transition: left 0.5s;
}

body.dark .glass-card::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

body.light .glass-card::before {
  background: linear-gradient(90deg, transparent, rgba(252, 182, 159, 0.15), transparent);
}

.glass-card:hover::before {
  left: 100%;
}

body.dark .glass-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(43, 157, 238, 0.5);
  box-shadow: 0 25px 50px -12px rgba(43, 157, 238, 0.25);
}

body.light .glass-card:hover {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(252, 182, 159, 0.5);
  box-shadow: 0 25px 50px -12px rgba(252, 182, 159, 0.25);
}

.glass-card:hover {
  transform: translateY(-8px) scale(1.02);
}

.profile-glow {
  position: relative;
}

body.dark .profile-glow::before {
  content: '';
  position: absolute;
  inset: -4px;
  background: linear-gradient(135deg, #2b9dee, #a855f7, #ec4899);
  border-radius: 50%;
  z-index: -1;
  animation: profile-glow-rotate 3s linear infinite;
  opacity: 0.7;
}

body.light .profile-glow::before {
  content: '';
  position: absolute;
  inset: -4px;
  background: linear-gradient(135deg, #fcb69f, #ffecd2, #fdd3b6);
  border-radius: 50%;
  z-index: -1;
  animation: profile-glow-rotate 3s linear infinite;
  opacity: 0.6;
}

@keyframes profile-glow-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

body.dark .text-gradient {
  background: linear-gradient(90deg, #2b9dee, #a855f7, #ec4899, #2b9dee);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-move-dark 3s linear infinite;
}

@keyframes gradient-move-dark {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 300% 50%;
  }
}

body.light .text-gradient {
  background: linear-gradient(90deg, #fcb69f, #ffecd2, #fdd3b6, #fcb69f);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-move-light 3s linear infinite;
}

@keyframes gradient-move-light {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 300% 50%;
  }
}

.skill-tag {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: default;
}

body.dark .skill-tag {
  background: rgba(43, 157, 238, 0.1);
  border: 1px solid rgba(43, 157, 238, 0.3);
  color: #5db5f2;
}

body.light .skill-tag {
  background: rgba(252, 182, 159, 0.15);
  border: 1px solid rgba(252, 182, 159, 0.4);
  color: #c9705a;
}

.skill-tag:hover {
  transform: scale(1.05);
}

body.dark .skill-tag:hover {
  background: rgba(43, 157, 238, 0.2);
  border-color: rgba(43, 157, 238, 0.6);
  box-shadow: 0 0 20px rgba(43, 157, 238, 0.3);
}

body.light .skill-tag:hover {
  background: rgba(252, 182, 159, 0.3);
  border-color: rgba(252, 182, 159, 0.7);
  box-shadow: 0 0 20px rgba(252, 182, 159, 0.4);
}

.social-icon {
  transition: all 0.3s ease;
  position: relative;
}

.social-icon:hover {
  transform: translateY(-3px);
}

.social-icon::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

body.dark .social-icon::after {
  background: linear-gradient(90deg, #2b9dee, #a855f7);
}

body.light .social-icon::after {
  background: linear-gradient(90deg, #fcb69f, #ffecd2);
}

.social-icon:hover::after {
  width: 100%;
}

body.dark .social-icon {
  color: #94a3b8;
}

body.light .social-icon {
  color: #a88b7d;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  transition: all 0.3s ease;
}

body.dark .status-badge {
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: #a855f7;
}

body.light .status-badge {
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.25);
  color: #7c3aed;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

body.dark .status-dot {
  background: linear-gradient(135deg, #a855f7, #8b5cf6);
}

body.light .status-dot {
  background: linear-gradient(135deg, #a855f7, #8b5cf6);
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  animation: bounce 2s infinite;
  transition: color 0.3s ease;
  margin-top: 30px;
}

body.dark .scroll-indicator {
  color: rgba(255, 255, 255, 0.5);
}

body.light .scroll-indicator {
  color: rgba(107, 114, 128, 0.6);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.scroll-indicator svg {
  animation: scroll-arrow 1.5s ease-in-out infinite;
}

@keyframes scroll-arrow {
  0%, 100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(5px);
  }
}

body.dark .glass-card h3 {
  color: white;
}

body.light .glass-card h3 {
  color: #1f2937;
}

.glass-card h3:hover {
  color: #db2777;
}

body.dark .section-divider {
  background: linear-gradient(90deg, #2b9dee, #a855f7);
}

body.light .section-divider {
  background: linear-gradient(90deg, #fcb69f, #ffecd2);
}

body.dark .border-section {
  border-color: rgba(255, 255, 255, 0.1);
}

body.light .border-section {
  border-color: rgba(0, 0, 0, 0.08);
}

body.dark .text-slate-desc {
  color: #94a3b8;
}

body.light .text-slate-desc {
  color: #6b7280;
}

.text-slate-year {
  display: none;
}

body.dark .footer-text {
  color: #64748b;
}

body.light .footer-text {
  color: #9ca3af;
}

body.dark .footer-border {
  border-color: rgba(255, 255, 255, 0.1);
}

body.light .footer-border {
  border-color: rgba(0, 0, 0, 0.08);
}

body.light .intro-text {
  color: #6b7280;
}
