:root {
  --primary: #9d2449;
  --primary-light: #fbeaf0;
  --secondary: #a57f2c;
  --accent: #28a745;
  --dark: #1a1a1a;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-800: #343a40;
  --radius: 16px;
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --header-height: 70px;
  --navbar-height: 80px;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--gray-100);
  color: var(--dark);
  margin: 0;
  padding-top: var(--header-height);
  padding-bottom: var(--navbar-height);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

/* Header */
header {
  height: var(--header-height);
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

header .brand {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
}

header .brand span {
  color: var(--secondary);
}

/* Bottom Navigation */
.bottom-nav {
  height: var(--navbar-height);
  background: white;
  position: fixed;
  bottom: 0;
  width: 100%;
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #999;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-item i {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.nav-item.active {
  color: var(--primary);
}

/* Cards */
.card-custom {
  background: white;
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  border: none;
}

.card-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.card-title i {
  margin-right: 10px;
  color: var(--primary);
}

/* Glassmorphism Splash */
.splash {
  position: fixed;
  inset: 0;
  background: var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  color: white;
  transition: opacity 0.5s ease;
}

.splash img {
  width: 120px;
  margin-bottom: 20px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}

/* Utilities */
.text-primary { color: var(--primary) !important; }
.bg-primary-light { background-color: var(--primary-light) !important; }

/* Micro-animations */
.btn-animate:active {
  transform: scale(0.95);
}
