@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --red: #ef4444;
  --purple: #a855f7;
  --bg: #09090b;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: #fafafa;
}

.font-display { font-family: 'Space Grotesk', 'Inter', sans-serif; }

.gradient-text {
  background: linear-gradient(135deg, #ef4444, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.prompt-box {
  background: #18181b;
  border: 1px solid #27272a;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12px;
  white-space: pre-wrap;
  border-radius: 12px;
  padding: 12px;
}

.nav-tab.active {
  color: #fff;
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, #ef4444, #a855f7) 1;
}

.toast-enter {
  animation: toastUp 0.3s ease;
}

@keyframes toastUp {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

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

.niche-card:hover {
  border-color: rgba(239, 68, 68, 0.45);
}

.niche-card.selected {
  border-color: rgba(168, 85, 247, 0.7);
  background: rgba(168, 85, 247, 0.1);
}

.day-locked { opacity: 0.45; }
.day-done { border-color: rgba(16, 185, 129, 0.4) !important; }
.day-active { border-color: rgba(239, 68, 68, 0.5) !important; }

.progress-fill {
  transition: width 0.4s ease;
  background: linear-gradient(90deg, #ef4444, #a855f7);
}

/* Premium / members-only */
.premium-gradient-text {
  background: linear-gradient(135deg, #fbbf24, #f59e0b 40%, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.08);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.premium-badge-sm {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
  background: rgba(251, 191, 36, 0.08);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  vertical-align: middle;
}

.premium-cta {
  background: linear-gradient(135deg, #fbbf24, #f59e0b 50%, #eab308);
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.25);
}

.premium-cta:hover {
  filter: brightness(1.05);
}

.premium-card {
  box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.08), 0 24px 64px rgba(0, 0, 0, 0.45);
}

.premium-gate-bg {
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(245, 158, 11, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(168, 85, 247, 0.1), transparent),
    #09090b;
}

.hidden {
  display: none !important;
}
