:root {
  --primary: 199 89% 48%;
  --primary-foreground: 0 0% 100%;
  --secondary: 262 83% 58%;
  --accent: 190 90% 50%;
  --background: 222 47% 11%;
  --card: 222 47% 15%;
  --border: 217 33% 17%;
  --radius: 1.5rem;
}

body {
  background: radial-gradient(circle at top right, #1e293b, #0f172a);
  min-height: 100vh;
  margin: 0;
}

.glass-card {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-nav {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.water-gradient {
  background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
}

.text-gradient {
  background: linear-gradient(to right, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Liquid Animation */
.water-container {
  position: relative;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.1);
}

.water {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(180deg, #38bdf8 0%, #1d4ed8 100%);
  transition: height 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.water::before,
.water::after {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  top: -150%;
  left: -50%;
  background: rgba(255, 255, 255, 0.2);
}

.water::before {
  border-radius: 45%;
  background: rgba(255, 255, 255, 0.3);
  animation: wave 7s infinite linear;
}

.water::after {
  border-radius: 40%;
  background: rgba(255, 255, 255, 0.1);
  animation: wave 10s infinite linear;
}

@keyframes wave {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.safe-area-bottom {
  padding-bottom: env(safe-area-inset-bottom);
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

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