/* notifications.css — toast + full-screen notification */

/* ─── FULL-SCREEN RITUAL NOTIFICATION ─── */
#fullscreenNotif {
  display: none;
  position: fixed; inset: 0;
  z-index: 9999;
  background: var(--bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  animation: fsn-in 0.4s cubic-bezier(0.16,1,0.3,1);
}

#fullscreenNotif.active { display: flex; }

@keyframes fsn-in {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

#fullscreenNotif::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 30%, rgba(217,119,87,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.fsn-label {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 32px;
  opacity: 0.7;
}

.fsn-icon {
  font-size: 80px;
  line-height: 1;
  margin-bottom: 24px;
  filter: drop-shadow(0 0 24px rgba(217,119,87,0.3));
  animation: fsn-pulse 2.5s ease-in-out infinite;
}

@keyframes fsn-pulse {
  0%,100% { filter: drop-shadow(0 0 16px rgba(217,119,87,0.2)); }
  50%      { filter: drop-shadow(0 0 32px rgba(217,119,87,0.5)); }
}

.fsn-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 8vw, 48px);
  font-weight: 300;
  color: var(--text);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  line-height: 1.2;
}

.fsn-time {
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  margin-bottom: 48px;
}

.fsn-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 320px;
}

.fsn-btn-primary {
  background: var(--gold);
  color: var(--bg);
  border: none;
  padding: 16px 24px;
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.fsn-btn-primary:active { transform: scale(0.98); }
.fsn-btn-primary:hover { background: var(--gold2); }

.fsn-btn-secondary {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--text-muted);
  padding: 12px 24px;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.fsn-btn-secondary:hover { border-color: var(--text-dim); color: var(--text); }

.fsn-btn-dismiss {
  background: transparent;
  color: var(--text-muted);
  border: none;
  padding: 8px;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.1em;
  cursor: pointer;
  margin-top: 4px;
}

.fsn-btn-dismiss:hover { color: var(--text-dim); }

/* ─── TOAST NOTIFICATIONS ─── */
.toast-container {
  position: fixed;
  bottom: 24px; right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10001;
  pointer-events: none;
  max-width: calc(100vw - 32px);
}

@media (max-width: 640px) {
  .toast-container {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 80px;
    align-items: center;
  }
}

.toast {
  pointer-events: auto;
  min-width: 240px;
  max-width: 360px;
  background: var(--bg2);
  border: 1px solid var(--border-bright);
  border-left: 3px solid var(--gold);
  color: var(--text);
  padding: 12px 16px;
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.05em;
  box-shadow: 0 6px 24px rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  animation: toast-in 0.25s cubic-bezier(0.4,0,0.2,1);
}

.toast.leaving { animation: toast-out 0.25s cubic-bezier(0.4,0,0.2,1) forwards; }
.toast.success { border-left-color: var(--gold); color: var(--gold2); }
.toast.error { border-left-color: var(--amber); color: #f1a279; }
.toast.warning { border-left-color: #d4a52a; color: #e8c97a; }
.toast.info { border-left-color: var(--text-dim); color: var(--text); }

.toast-msg { flex: 1; line-height: 1.5; }

.toast-undo {
  background: none;
  border: 1px solid var(--border-bright);
  color: var(--gold);
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.15s;
}

.toast-undo:hover { background: var(--glow); border-color: var(--gold); }

@keyframes toast-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes toast-out {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(20px); }
}
