@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600;700&family=Noto+Sans+SC:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --color-deep-space: #0a1628;
  --color-ink-black: #0d0d0d;
  --color-gold: #d4af37;
  --color-aurora-blue: #00d4ff;
  --color-lotus-white: #f5f5f5;
  --color-energy-green: #00ff88;
  --color-glass: rgba(255, 255, 255, 0.05);
  --color-glass-border: rgba(255, 255, 255, 0.1);
  --color-success: #00ff88;
  --color-warning: #ff9f43;
  --color-error: #ff4757;
  --font-serif: 'Noto Serif SC', serif;
  --font-sans: 'Noto Sans SC', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  -webkit-scroll-behavior: smooth;
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', sans-serif;
  font-family: var(--font-sans);
  background: #0d0d0d;
  background: var(--color-ink-black);
  color: #f5f5f5;
  color: var(--color-lotus-white);
  min-height: 100vh;
  overflow-x: hidden;
}

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

::-webkit-scrollbar-track {
  background: #0a1628;
  background: var(--color-deep-space);
}

::-webkit-scrollbar-thumb {
  background: #d4af37;
  background: var(--color-gold);
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #00d4ff;
  background: var(--color-aurora-blue);
}

.page-transition {
  -webkit-animation: fadeIn 0.5s ease-out;
  -moz-animation: fadeIn 0.5s ease-out;
  -o-animation: fadeIn 0.5s ease-out;
  animation: fadeIn 0.5s ease-out;
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@-moz-keyframes fadeIn {
  from {
    opacity: 0;
    -moz-transform: translateY(20px);
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    -moz-transform: translateY(0);
    transform: translateY(0);
  }
}

@-o-keyframes fadeIn {
  from {
    opacity: 0;
    -o-transform: translateY(20px);
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    -o-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(20px);
    -moz-transform: translateY(20px);
    -o-transform: translateY(20px);
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
  }
}

@-webkit-keyframes float {
  0%, 100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
  }
}

@-moz-keyframes float {
  0%, 100% {
    -moz-transform: translateY(0);
    transform: translateY(0);
  }
  50% {
    -moz-transform: translateY(-10px);
    transform: translateY(-10px);
  }
}

@keyframes float {
  0%, 100% {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-10px);
    -moz-transform: translateY(-10px);
    transform: translateY(-10px);
  }
}

@-webkit-keyframes pulse-glow {
  0%, 100% {
    -webkit-box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
  }
  50% {
    -webkit-box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
  }
}

@-moz-keyframes pulse-glow {
  0%, 100% {
    -moz-box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
  }
  50% {
    -moz-box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    -webkit-box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    -moz-box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
  }
  50% {
    -webkit-box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
    -moz-box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
  }
}

@-webkit-keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@-webkit-keyframes wave {
  0%, 100% {
    height: 20%;
  }
  50% {
    height: 100%;
  }
}

@keyframes wave {
  0%, 100% {
    height: 20%;
  }
  50% {
    height: 100%;
  }
}

@-webkit-keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@-webkit-keyframes particle-float {
  0% {
    -webkit-transform: translateY(100vh) scale(0);
    transform: translateY(100vh) scale(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateY(-10vh) scale(1);
    transform: translateY(-10vh) scale(1);
    opacity: 0;
  }
}

@-moz-keyframes particle-float {
  0% {
    -moz-transform: translateY(100vh) scale(0);
    transform: translateY(100vh) scale(0);
    opacity: 1;
  }
  100% {
    -moz-transform: translateY(-10vh) scale(1);
    transform: translateY(-10vh) scale(1);
    opacity: 0;
  }
}

@keyframes particle-float {
  0% {
    -webkit-transform: translateY(100vh) scale(0);
    -moz-transform: translateY(100vh) scale(0);
    transform: translateY(100vh) scale(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateY(-10vh) scale(1);
    -moz-transform: translateY(-10vh) scale(1);
    transform: translateY(-10vh) scale(1);
    opacity: 0;
  }
}

@-webkit-keyframes breathing {
  0%, 100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
    opacity: 1;
  }
}

@-moz-keyframes breathing {
  0%, 100% {
    -moz-transform: scale(1);
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    -moz-transform: scale(1.05);
    transform: scale(1.05);
    opacity: 1;
  }
}

@keyframes breathing {
  0%, 100% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    transform: scale(1.05);
    opacity: 1;
  }
}

@-webkit-keyframes rotate-slow {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-moz-keyframes rotate-slow {
  from {
    -moz-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -moz-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes rotate-slow {
  from {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-webkit-keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
