/* Google Fonts: Inter & Noto Sans JP */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;600;700&display=swap');

:root {
  --font-sans: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  /* Warm editorial background */
  --bg-page: #fbfbfa;
  --bg-card: #ffffff;
  --bg-subtle: #f5f4f0;
  
  --text-main: #1c1917;
  --text-body: #44403c;
  --text-muted: #78716c;
  
  --border-subtle: #e7e5e4;
  --border-hover: #d6d3d1;

  /* Official Brand Colors for Strong Guidance */
  --brand-x: #0f1419;
  --brand-youtube: #dc2626;
  --brand-instagram: #e1306c;
  --brand-note: #2cb696;
  --brand-redrill: #2563eb;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-page);
}
::-webkit-scrollbar-thumb {
  background: #d6d3d1;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a8a29e;
}

/* Editorial Card Style */
.editorial-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.editorial-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 6px 18px -4px rgba(28, 25, 23, 0.06), 0 2px 6px -2px rgba(28, 25, 23, 0.03);
  transform: translateY(-2px);
}

/* Brand Specific Card Accents */
.card-brand-x:hover {
  border-color: #292524;
}
.card-brand-youtube:hover {
  border-color: #f87171;
}
.card-brand-instagram:hover {
  border-color: #f472b6;
}
.card-brand-note:hover {
  border-color: #34d399;
}
.card-brand-app:hover {
  border-color: #60a5fa;
}

/* App Showcase Card (Redrill-AI) */
.app-showcase-card {
  background: #ffffff;
  border: 1px solid #bfdbfe;
  border-top: 4px solid var(--brand-redrill);
  border-radius: 14px;
  transition: all 0.25s ease;
}

.app-showcase-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 12px 28px -6px rgba(37, 99, 235, 0.12);
  transform: translateY(-2px);
}

/* Section Tag Label */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.section-eyebrow::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 2px;
  background-color: var(--text-muted);
}

/* Thumbnail helpers */
.aspect-video-thumbnail {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.aspect-note-thumbnail {
  aspect-ratio: 1.91 / 1;
  object-fit: cover;
}

/* Skeleton Loading Animation */
.skeleton {
  background: linear-gradient(90deg, #f5f4f0 25%, #eceae4 50%, #f5f4f0 75%);
  background-size: 200% 100%;
  animation: loading-skeleton 1.6s ease-in-out infinite;
}

@keyframes loading-skeleton {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
