/* ==========================================================================
   GUT CHECK — STYLESHEET
   Design Theme: Cosmic Intuition & Glassmorphic Elegance
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS CUSTOM PROPERTIES / DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette - Core Dark Canvas */
  --bg-canvas: #090a10;
  --bg-surface: rgba(18, 20, 32, 0.72);
  --bg-surface-hover: rgba(28, 31, 48, 0.85);
  --bg-input: rgba(12, 14, 24, 0.8);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(255, 255, 255, 0.16);

  /* Vibrant Accent Gradients */
  --accent-gradient: linear-gradient(135deg, #a855f7 0%, #ec4899 50%, #f97316 100%);
  --accent-glow: rgba(168, 85, 247, 0.35);
  --primary-purple: #8b5cf6;
  --primary-pink: #ec4899;

  /* Verdict Colors */
  --color-ya: #10b981;
  --glow-ya: rgba(16, 185, 129, 0.4);
  --bg-ya-badge: rgba(16, 185, 129, 0.15);
  --border-ya: rgba(16, 185, 129, 0.4);

  --color-tidak: #f43f5e;
  --glow-tidak: rgba(244, 63, 94, 0.4);
  --bg-tidak-badge: rgba(244, 63, 94, 0.15);
  --border-tidak: rgba(244, 63, 94, 0.4);

  --color-tunggu: #f59e0b;
  --glow-tunggu: rgba(245, 158, 11, 0.4);
  --bg-tunggu-badge: rgba(245, 158, 11, 0.15);
  --border-tunggu: rgba(245, 158, 11, 0.4);

  /* Typography Colors */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.25);
  --shadow-glass: 0 20px 50px rgba(0, 0, 0, 0.45);
  --shadow-glow-card: 0 0 40px rgba(139, 92, 246, 0.15);
}

/* --------------------------------------------------------------------------
   RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  background-color: var(--bg-canvas);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px 16px;
}

/* --------------------------------------------------------------------------
   AMBIENT BACKGROUND GLOWS (AURORA MESH EFFECT)
   -------------------------------------------------------------------------- */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  animation: floatAmbient 18s ease-in-out infinite alternate;
}

.glow-1 {
  width: 500px;
  height: 500px;
  top: -10%;
  left: -5%;
  background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
}

.glow-2 {
  width: 480px;
  height: 480px;
  bottom: -10%;
  right: -5%;
  background: radial-gradient(circle, #ec4899 0%, transparent 70%);
  animation-duration: 22s;
  animation-delay: -5s;
}

.glow-3 {
  width: 380px;
  height: 380px;
  top: 40%;
  right: 25%;
  background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
  opacity: 0.25;
  animation-duration: 26s;
  animation-delay: -9s;
}

@keyframes floatAmbient {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(40px, -30px) scale(1.1);
  }
  100% {
    transform: translate(-30px, 40px) scale(0.95);
  }
}

/* --------------------------------------------------------------------------
   APPLICATION CONTAINER & GLASS PANEL
   -------------------------------------------------------------------------- */
.app-container {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.glass-panel {
  background: var(--bg-surface);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-glass), var(--shadow-glow-card);
  border-radius: var(--radius-xl);
}

/* --------------------------------------------------------------------------
   HEADER
   -------------------------------------------------------------------------- */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(236, 72, 153, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f472b6;
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.2);
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(to right, #ffffff, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-icon:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  transform: rotate(30deg);
  border-color: var(--border-glass-hover);
}

/* --------------------------------------------------------------------------
   MAIN CARD & VIEW STATES
   -------------------------------------------------------------------------- */
.main-card {
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.view-state {
  display: none;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.view-state.active {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* --------------------------------------------------------------------------
   HERO SECTION & INPUT VIEW
   -------------------------------------------------------------------------- */
.hero-text {
  text-align: center;
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 0 16px var(--accent-glow));
}

.hero-tagline {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.55;
}

.vibe-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-wrapper {
  position: relative;
}

.vibe-textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  padding-bottom: 34px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.5;
  resize: none;
  outline: none;
  transition: all 0.25s ease;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
}

.vibe-textarea::placeholder {
  color: var(--text-dim);
}

.vibe-textarea:focus {
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15), inset 0 2px 8px rgba(0, 0, 0, 0.4);
}

.char-count {
  position: absolute;
  bottom: 12px;
  right: 18px;
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Dilemma Chips */
.chips-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chips-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.chip:active {
  transform: translateY(1px);
}

/* Primary Button */
.btn-primary {
  width: 100%;
  padding: 16px 28px;
  background: var(--accent-gradient);
  border: none;
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(236, 72, 153, 0.4), 0 0 30px rgba(168, 85, 247, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -5px rgba(236, 72, 153, 0.5), 0 0 40px rgba(168, 85, 247, 0.4);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* --------------------------------------------------------------------------
   LOADING STATE
   -------------------------------------------------------------------------- */
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}

.instinct-orb {
  position: relative;
  width: 110px;
  height: 110px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orb-core {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-gradient);
  box-shadow: 0 0 35px var(--accent-glow), 0 0 60px rgba(236, 72, 153, 0.4);
  animation: pulseCore 2.2s ease-in-out infinite;
}

.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px dashed rgba(236, 72, 153, 0.5);
}

.ring-1 {
  width: 80px;
  height: 80px;
  animation: rotateRing 8s linear infinite;
  border-color: rgba(168, 85, 247, 0.6) transparent;
}

.ring-2 {
  width: 110px;
  height: 110px;
  animation: rotateRingReverse 12s linear infinite;
  border-color: rgba(249, 115, 22, 0.5) transparent rgba(236, 72, 153, 0.4) transparent;
}

@keyframes pulseCore {
  0%, 100% {
    transform: scale(0.9);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.2);
    filter: brightness(1.3);
  }
}

@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotateRingReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.loading-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  background: linear-gradient(90deg, #f8fafc, #c084fc, #f8fafc);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerText 3s linear infinite;
}

@keyframes shimmerText {
  to {
    background-position: 200% center;
  }
}

.loading-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   VERDICT RESULT VIEW
   -------------------------------------------------------------------------- */
.verdict-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: verdictPop 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes verdictPop {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(16px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.verdict-header-row {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.verdict-badge-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.user-question-preview {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  max-width: 90%;
  line-height: 1.4;
  word-break: break-word;
}

.verdict-badge-container {
  margin-bottom: 24px;
  position: relative;
}

.verdict-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 44px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* Verdict Styles */
.verdict-ya {
  background: var(--bg-ya-badge);
  color: var(--color-ya);
  border: 2px solid var(--border-ya);
  box-shadow: 0 0 35px var(--glow-ya), inset 0 0 20px rgba(16, 185, 129, 0.2);
  animation: glowPulseYa 3s ease-in-out infinite alternate;
}

.verdict-tidak {
  background: var(--bg-tidak-badge);
  color: var(--color-tidak);
  border: 2px solid var(--border-tidak);
  box-shadow: 0 0 35px var(--glow-tidak), inset 0 0 20px rgba(244, 63, 94, 0.2);
  animation: glowPulseTidak 3s ease-in-out infinite alternate;
}

.verdict-tunggu {
  background: var(--bg-tunggu-badge);
  color: var(--color-tunggu);
  border: 2px solid var(--border-tunggu);
  box-shadow: 0 0 35px var(--glow-tunggu), inset 0 0 20px rgba(245, 158, 11, 0.2);
  animation: glowPulseTunggu 3s ease-in-out infinite alternate;
}

@keyframes glowPulseYa {
  0% { box-shadow: 0 0 25px var(--glow-ya); }
  100% { box-shadow: 0 0 45px var(--glow-ya), 0 0 10px #10b981; }
}

@keyframes glowPulseTidak {
  0% { box-shadow: 0 0 25px var(--glow-tidak); }
  100% { box-shadow: 0 0 45px var(--glow-tidak), 0 0 10px #f43f5e; }
}

@keyframes glowPulseTunggu {
  0% { box-shadow: 0 0 25px var(--glow-tunggu); }
  100% { box-shadow: 0 0 45px var(--glow-tunggu), 0 0 10px #f59e0b; }
}

.verdict-content {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 100%;
  margin-bottom: 28px;
  text-align: left;
}

.verdict-reason {
  font-size: 1.08rem;
  color: var(--text-main);
  line-height: 1.65;
  font-weight: 500;
}

.verdict-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glass), transparent);
  margin: 18px 0;
}

.verdict-closing {
  font-size: 0.95rem;
  color: #c084fc;
  font-weight: 600;
  line-height: 1.5;
  font-style: normal;
}

.result-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
}

.btn-secondary {
  flex: 1;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass-hover);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.btn-ghost {
  padding: 14px 20px;
  background: transparent;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-ghost:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-glass-hover);
}

/* --------------------------------------------------------------------------
   SAFETY & SUPPORT CARD
   -------------------------------------------------------------------------- */
.safety-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 4px;
}

.safety-icon-box {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(96, 165, 250, 0.15);
  border: 1px solid rgba(96, 165, 250, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 0 30px rgba(96, 165, 250, 0.25);
}

.safety-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #93c5fd;
}

.safety-message {
  font-size: 1.02rem;
  color: var(--text-main);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 28px;
}

.support-resources {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  text-align: left;
}

.support-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.2s ease;
}

.support-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(96, 165, 250, 0.3);
}

.support-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #60a5fa;
}

.support-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.support-info strong {
  color: #f8fafc;
  font-size: 0.95rem;
}

.support-link {
  color: #93c5fd;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.support-link:hover {
  color: #bfdbfe;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   ERROR VIEW
   -------------------------------------------------------------------------- */
.error-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 10px;
}

.error-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(248, 113, 113, 0.15);
  border: 1px solid rgba(248, 113, 113, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.error-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #fca5a5;
}

.error-message {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 24px;
  line-height: 1.55;
}

.error-actions {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 380px;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.app-footer {
  text-align: center;
  padding: 12px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.app-footer strong {
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   SETTINGS MODAL
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  width: 100%;
  max-width: 500px;
  padding: 28px;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.show .modal-card {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

.btn-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease;
}

.btn-close:hover {
  color: var(--text-main);
}

.modal-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.modal-desc code {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  color: #f472b6;
  font-size: 0.88rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.input-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.vibe-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.vibe-input:focus {
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}

.helper-text {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.helper-text a {
  color: #c084fc;
  text-decoration: underline;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.text-danger {
  color: #f87171 !important;
}

.text-danger:hover {
  background: rgba(248, 113, 113, 0.1) !important;
}

/* --------------------------------------------------------------------------
   TOAST NOTIFICATION
   -------------------------------------------------------------------------- */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(50px);
  background: rgba(15, 23, 42, 0.9);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 200;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  body {
    padding: 16px 12px;
  }

  .main-card {
    padding: 24px 18px;
    border-radius: var(--radius-lg);
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-tagline {
    font-size: 0.9rem;
  }

  .verdict-badge {
    font-size: 2.2rem;
    padding: 10px 32px;
  }

  .verdict-content {
    padding: 18px;
  }

  .result-actions {
    flex-direction: column;
  }

  .btn-secondary, .btn-ghost {
    width: 100%;
  }

  .error-actions {
    flex-direction: column;
  }

  .modal-footer {
    flex-direction: column-reverse;
  }

  .modal-footer button {
    width: 100%;
  }
}
