/* Equilibrium Duo - Sleek Modern Light Design with Vibrant Accents */

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

:root {
  --bg-app: #FAF8F5;
  --bg-card: #FFFFFF;
  --border-subtle: #E7E2DA;
  --border-focus: #8B5E3C;
  --text-main: #24201D;
  --text-muted: #78716C;
  
  /* Vibrant Accents */
  --emerald-primary: #059669;
  --violet-primary: #7C3AED;
  --rose-primary: #E11D48;
  --amber-primary: #D97706;
  --brown-primary: #543D2B;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  background-color: #FAF8F5;
  color: #24201D;
  margin: 0;
  padding: 0;
}

/* Custom Navigation Tabs */
.nav-tab-btn {
  cursor: pointer !important;
  user-select: none;
  transition: all 0.15s ease-in-out;
}

.nav-tab-active {
  background-color: #FFFFFF !important;
  color: #24201D !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  font-weight: 700 !important;
  border: 1px solid #E2DDD5;
}

.nav-tab-inactive {
  color: #79716B;
  background-color: transparent;
  font-weight: 500;
  border: 1px solid transparent;
}

.nav-tab-inactive:hover {
  color: #24201D;
  background-color: rgba(235, 228, 218, 0.5);
}

/* Interactive Fun Buttons */
button {
  transition: transform 0.1s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

button:active:not(:disabled) {
  transform: scale(0.97);
}

/* Form Elements & Inputs */
button, select, input, label.cursor-pointer {
  cursor: pointer;
}

input[type="text"], input[type="number"], input[type="date"], input[type="time"], select, textarea {
  outline: none;
  background-color: #FFFFFF;
  border: 1px solid #DCD6CD;
  color: #24201D;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input[type="text"]:focus, input[type="number"]:focus, input[type="date"]:focus, input[type="time"]:focus, select:focus, textarea:focus {
  border-color: #8B5E3C !important;
  box-shadow: 0 0 0 2.5px rgba(139, 94, 60, 0.15) !important;
}

/* Monospace Digits */
.font-mono, #timer-display {
  font-family: 'JetBrains Mono', monospace;
  font-variant-numeric: tabular-nums;
}

/* Minimalist Warm Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #D8D1C7;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #BDB4A7;
}

/* Modal Backdrop */
#modal-container {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background-color: rgba(36, 32, 29, 0.5);
}

/* Custom range slider with vibrant warm tint */
input[type="range"] {
  accent-color: #8B5E3C;
}

/* Love Jar Sticky Notes */
.sticky-note {
  position: relative;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.sticky-note:hover {
  transform: translateY(-3px) rotate(0deg) scale(1.02) !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  z-index: 10;
}

.sticky-yellow {
  background: linear-gradient(135deg, #FEF9C3 0%, #FEF08A 100%);
  border: 1px solid #FDE047;
  color: #713F12;
}

.sticky-pink {
  background: linear-gradient(135deg, #FFE4E6 0%, #FECDD3 100%);
  border: 1px solid #FDA4AF;
  color: #881337;
}

.sticky-mint {
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
  border: 1px solid #A7F3D0;
  color: #064E3B;
}

.sticky-lavender {
  background: linear-gradient(135deg, #F3E8FF 0%, #E9D5FF 100%);
  border: 1px solid #D8B4FE;
  color: #581C87;
}

.sticky-peach {
  background: linear-gradient(135deg, #FFEDD5 0%, #FED7AA 100%);
  border: 1px solid #FDBA74;
  color: #7C2D12;
}

/* Polaroid Photo Card */
.polaroid-card {
  background: #FFFFFF;
  padding: 10px 10px 14px 10px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  border: 1px solid #EBE6DF;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.polaroid-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 24px rgba(68, 48, 33, 0.12);
}

/* Fun Micro-animations */
@keyframes heart-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.35) rotate(-5deg); }
  100% { transform: scale(1); }
}

.animate-heart-pop {
  animation: heart-pop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes roulette-spin {
  0% { transform: scale(0.95) rotateY(0deg); opacity: 0.7; }
  50% { transform: scale(1.03) rotateY(180deg); opacity: 0.9; }
  100% { transform: scale(1) rotateY(360deg); opacity: 1; }
}

.animate-roulette {
  animation: roulette-spin 0.45s ease-out;
}

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

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

/* Clean Horizontal Scroll for Tracks & Tabs */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
