:root {
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-highlight: rgba(255, 255, 255, 0.25);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.6);
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --nav-height: 80px;
  --bg-color: #0f172a;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-primary);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background Animation */
.liquid-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
  background: var(--bg-color);
}

.blob {
  position: absolute;
  filter: blur(80px);
  opacity: 0.6;
  border-radius: 50%;
  animation: moveBlob linear infinite alternate;
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: rgba(59, 130, 246, 0.5); /* Blue */
  top: -10%;
  left: -10%;
  animation-duration: 20s;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: rgba(147, 51, 234, 0.5); /* Purple */
  bottom: -20%;
  right: -10%;
  animation-duration: 25s;
  animation-direction: alternate-reverse;
}

.blob-3 {
  width: 400px;
  height: 400px;
  background: rgba(16, 185, 129, 0.4); /* Emerald */
  top: 40%;
  left: 40%;
  animation-duration: 22s;
}

@keyframes moveBlob {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
  100% { transform: translate(50px, 30px) scale(1.05); }
}

/* Main Layout */
.main-content {
  position: relative;
  z-index: 10;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  padding-bottom: calc(var(--nav-height) + 2rem);
}

/* Views */
.view {
  position: absolute;
  width: 100%;
  max-width: 450px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.95);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Apple-like spring curve */
}

.view.active {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

/* Glass Panels */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3), inset 0 1px 1px var(--glass-highlight);
  border-radius: 32px;
  padding: 48px 32px;
  text-align: center;
}

/* Typography */
h1 {
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.subtitle {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.5;
}

/* Avatar */
.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.05) 100%);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  border: 1px solid var(--glass-highlight);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* Status Box */
.status-box {
  background: rgba(0,0,0,0.2);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.05);
}

.status-label {
  display: block;
  color: var(--text-secondary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  margin-bottom: 4px;
}

.status-text {
  font-size: 18px;
  font-weight: 500;
}

/* Contact Card */
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(255,255,255,0.05);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  text-align: left;
}

.contact-card:active {
  transform: scale(0.96);
  background: rgba(255,255,255,0.1);
}

.icon-wrapper {
  padding: 12px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.instagram-gradient {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 4px 12px rgba(220, 39, 67, 0.3);
}

.icon-wrapper svg {
  width: 24px;
  height: 24px;
  color: white;
}

.contact-info h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 2px;
}

.contact-info p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* Bottom Navigation - Apple Music Style */
.bottom-nav {
  position: fixed;
  bottom: 24px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 100;
}

.glass-pill {
  display: flex;
  background: rgba(40, 40, 40, 0.85); /* Darker base like Apple */
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  padding: 4px 8px; /* Less vertical padding, a bit more horizontal */
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  gap: 8px;
}

.nav-btn {
  position: relative;
  z-index: 2;
  background: transparent;
  border: none;
  color: #999999; /* Inactive grey */
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  padding: 8px 32px; /* Less vertical padding, wider horizontal padding */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  border-radius: 9999px;
  transition: color 0.3s ease, transform 0.1s ease;
  outline: none;
  width: 100px; /* Made the buttons wider */
}

.nav-btn svg {
  width: 22px; /* Slightly smaller icon to reduce thickness */
  height: 22px;
  stroke-width: 2.2px;
}

.nav-btn.active {
  color: #fa233b; /* Apple Music Red */
}

.nav-btn:active {
  transform: scale(0.92);
}

/* The sliding indicator behind active button */
.nav-indicator {
  position: absolute;
  top: 4px; /* Matches new padding */
  left: 8px; /* Matches new padding */
  height: calc(100% - 8px); /* Adjust based on padding */
  background: rgba(255, 255, 255, 0.20); /* 80% transparent (0.2 opacity) */
  border-radius: 9999px;
  z-index: 1;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1); /* Much smoother transition */
}
