/* =============================================
   index-ZggiwQ_n.css
   Korean Gelatin Burn — Clean / Minimal VSL Page
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #ffffff;
  --bg-subtle: #f7f7f8;
  --text-primary: #1a1a1a;
  --text-secondary: #5c5c5c;
  --text-muted: #8e8e93;
  --border: #e5e5ea;
  --border-light: #f0f0f2;
  --accent: #0a84ff;
  --accent-hover: #0070e0;
  --like-red: #ff3b30;
  --positive-bg: #f0faf0;
  --doubt-bg: #fffbf0;
  --negative-bg: #fff5f5;
  --reply-bg: #f2f8ff;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.06);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --font-body: 'Helvetica Neue', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.5;
  min-height: 100vh;
}

/* --- Page Wrapper --- */
.page-wrapper {
  max-width: 100%;
  overflow-x: hidden;
}

/* --- Header --- */
.page-header {
  padding: 20px 16px 12px;
  text-align: center;
}

.headline {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

/* --- VSL Section --- */
.vsl-section {
  padding: 0 16px 24px;
  display: flex;
  justify-content: center;
}

.vsl-container {
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-md);
}

.vsl-container vturb-smartplayer {
  display: block;
  width: 100%;
}

/* --- Comments Section --- */
.comments-section {
  max-width: 460px;
  margin: 0 auto;
  padding: 0 16px 60px;
}

.comments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 12px;
  border-top: 1px solid var(--border);
}

.comments-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}

.comments-count {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* --- Single Comment --- */
.comment {
  display: flex;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.comment.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Avatar */
.comment-avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  user-select: none;
}

.avatar-pink    { background: #ff6b8a; }
.avatar-blue    { background: #4a9eff; }
.avatar-green   { background: #34c759; }
.avatar-orange  { background: #ff9f0a; }
.avatar-purple  { background: #af52de; }
.avatar-teal    { background: #5ac8fa; }
.avatar-red     { background: #ff453a; }
.avatar-indigo  { background: #5856d6; }
.avatar-mint    { background: #00c7be; }
.avatar-brown   { background: #a2845e; }

/* Comment Body */
.comment-body {
  flex: 1;
  min-width: 0;
}

.comment-author {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.comment-time {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-left: 6px;
  font-weight: 400;
}

.comment-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.45;
  word-wrap: break-word;
}

/* Comment Actions */
.comment-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.comment-action {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  font-family: inherit;
  transition: color 0.2s;
}

.comment-action:hover {
  color: var(--text-secondary);
}

.comment-action .icon {
  font-size: 0.875rem;
}

.comment-action.liked .icon {
  color: var(--like-red);
}

/* --- Replies / Sub-comments --- */
.comment-replies {
  margin-top: 12px;
  padding-left: 0;
}

.reply {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  margin-top: 6px;
  background: var(--reply-bg);
  border-radius: var(--radius-sm);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reply.visible {
  opacity: 1;
  transform: translateY(0);
}

.reply .comment-avatar {
  width: 28px;
  height: 28px;
  font-size: 0.6875rem;
}

.reply .comment-author {
  font-size: 0.75rem;
}

.reply .comment-text {
  font-size: 0.8125rem;
  margin-top: 2px;
}

.reply .comment-actions {
  margin-top: 6px;
}

/* --- Loading indicator --- */
.comments-loading {
  text-align: center;
  padding: 20px 0;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.loading-dots::after {
  content: '';
  animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
  0%   { content: ''; }
  25%  { content: '.'; }
  50%  { content: '..'; }
  75%  { content: '...'; }
  100% { content: ''; }
}

/* --- Responsive --- */
@media (max-width: 480px) {
  .headline {
    font-size: 1rem;
  }

  .vsl-container {
    border-radius: 0;
    box-shadow: none;
  }

  .vsl-section {
    padding: 0 0 20px;
  }

  .comments-section {
    padding: 0 14px 60px;
  }
}

@media (min-width: 768px) {
  .page-header {
    padding: 32px 16px 16px;
  }

  .headline {
    font-size: 1.25rem;
  }

  .vsl-section {
    padding: 0 16px 32px;
  }
}