/* ===== Haenyeo Show - Custom Styles ===== */

body {
  font-family: 'Plus Jakarta Sans', 'Be Vietnam Pro', sans-serif;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #f5f7f9;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

/* Subtle texture gradient */
.texture-bg {
  background-image:
    linear-gradient(135deg, rgba(169, 48, 0, 0.02) 0%, rgba(0, 100, 121, 0.02) 100%);
}

/* ===== Status Card Colors ===== */
.status-card-green {
  background: linear-gradient(145deg, #22C55E 0%, #16a34a 100%);
  box-shadow: 0 20px 60px -15px rgba(34, 197, 94, 0.4);
}
.status-card-yellow {
  background: linear-gradient(145deg, #EAB308 0%, #ca8a04 100%);
  box-shadow: 0 20px 60px -15px rgba(234, 179, 8, 0.4);
}
.status-card-red {
  background: linear-gradient(145deg, #EF4444 0%, #dc2626 100%);
  box-shadow: 0 20px 60px -15px rgba(239, 68, 68, 0.4);
}
.status-card-gray {
  background: linear-gradient(145deg, #9CA3AF 0%, #6B7280 100%);
  box-shadow: 0 20px 60px -15px rgba(156, 163, 175, 0.4);
}

/* ===== Ambient Shadows (sea-tinted, not black) ===== */
.ambient-shadow {
  box-shadow: 0 4px 20px rgba(0, 78, 95, 0.06);
}
.ambient-shadow-lg {
  box-shadow: 0 12px 40px rgba(0, 78, 95, 0.08);
}

/* Glassmorphism */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.glass-nav {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

/* ===== Comment Avatar Badges ===== */
.avatar-badge {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 11px;
  color: #fff;
  flex-shrink: 0;
}

/* Rotating badge colors */
.badge-coral { background: linear-gradient(135deg, #ff784d, #a93000); }
.badge-sea   { background: linear-gradient(135deg, #79dffe, #006479); }
.badge-gold  { background: linear-gradient(135deg, #ffd709, #b89a00); }
.badge-plum  { background: linear-gradient(135deg, #c084fc, #7c3aed); }
.badge-mint  { background: linear-gradient(135deg, #6ee7b7, #059669); }

/* ===== Featured Comment (first/pinned) ===== */
.featured-comment {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 78, 95, 0.06);
}
.featured-comment .comment-body {
  background: #f0f1f3;
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  margin-top: 0.6rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #2c2f31;
}

/* ===== Regular Comment Row ===== */
.comment-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.15rem 0;
}
.comment-row .comment-meta {
  flex-grow: 1;
  min-width: 0;
}
.comment-row .comment-nickname {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: #2c2f31;
}
.comment-row .comment-time {
  font-size: 0.68rem;
  color: #9ca3af;
  margin-left: 0.5rem;
}
.comment-row .comment-text {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 0.8rem;
  color: #595c5e;
  line-height: 1.4;
  margin-top: 0.15rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Card hover */
.card-interactive {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-interactive:hover,
.card-interactive:active {
  transform: scale(1.01);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-up {
  animation: fadeInUp 0.25s ease-out forwards;
}

/* Toast */
.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-80px);
  transition: transform 0.3s ease;
  z-index: 100;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* Admin status buttons */
.status-btn {
  transition: all 0.2s ease;
  border: 2px solid transparent;
}
.status-btn.active {
  border-color: #fff;
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 78, 95, 0.15);
}

/* Scrollbar */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0, 78, 95, 0.12); border-radius: 3px; }

/* Input focus */
input:focus, textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 100, 121, 0.2);
}
