/* ============================================
   go-ask-that-girl-out — Article Styles
   Identity: Warm rose / deep burgundy
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Literata:ital,wght@0,400;0,600;0,700;0,800;1,400;1,700&family=Be+Vietnam+Pro:wght@400;500;600;700;800&display=swap');

/* ── Reset ── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Tokens ── */

:root {
  --bg:         #fdf6f7;
  --surface:    #fff0f3;
  --text:       #1b1c1a;
  --text-soft:  #5a413a;
  --text-muted: #8f7068;
  --border:     #f0d8dc;

  /* This article's identity */
  --art-accent:    #e8445a;
  --art-hero-top:  #130308;
  --art-hero-bot:  #3d1020;

  --font-display: 'Literata', Georgia, serif;
  --font-body:    'Be Vietnam Pro', -apple-system, sans-serif;
  --max-article:  680px;
  --max-wide:     900px;
  --max:          1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ============================================
   PROGRESS BAR
   ============================================ */

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--art-accent);
  z-index: 200;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* ============================================
   HEADER — same translucent style as homepage
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 246, 247, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--art-accent);
  letter-spacing: -0.5px;
  flex-shrink: 0;
  font-style: italic;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  justify-content: center;
}

.header-nav::-webkit-scrollbar { display: none; }

.nav-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 20px;
  white-space: nowrap;
  transition: color 0.18s, background 0.18s;
}

.nav-link:hover  { color: var(--text); background: var(--surface); }
.nav-link.active { color: var(--art-accent); background: var(--surface); font-weight: 700; }

/* ============================================
   ARTICLE HERO
   ============================================ */

.art-hero {
  background: linear-gradient(160deg, var(--art-hero-top) 0%, var(--art-hero-bot) 100%);
  padding: 56px 24px 52px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

/* Subtle decorative glow */
.art-hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(232, 68, 90, 0.07);
  top: -200px;
  right: -150px;
  pointer-events: none;
}

.art-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 14px;
  border-radius: 20px;
  background: rgba(232, 68, 90, 0.22);
  color: rgba(255, 255, 255, 0.9);
}

.art-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.8px;
  color: #ffffff;
  max-width: 720px;
}

.art-meta {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  gap: 10px;
}

.art-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

/* ============================================
   HERO IMAGE
   ============================================ */

.art-image-wrap {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 32px 24px 0;
}

/* Remove the opacity on .img-box (it was 0.5, making everything, 
   including the image, look muted/tinted) */
.art-image-wrap .img-box {
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #ffd6e0 0%, #ffb3c6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  /* opacity: 0.5; */ /* Removed to keep image vivid */
}

/* Make sure the img element is fully opaque when loaded */
.art-image-wrap .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s;
}

.art-image-wrap .img-box img.loaded { opacity: 1; }

/* ============================================
   ARTICLE BODY
   ============================================ */

.art-body {
  max-width: var(--max-article);
  margin: 40px auto 0;
  padding: 0 24px;
}

.art-body p {
  font-size: 1.05rem;
  line-height: 1.82;
  color: var(--text);
  margin-bottom: 22px;
}

/* First paragraph is slightly larger — lead */
.art-body p:first-child {
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.75;
}

.art-body h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin: 44px 0 16px;
  padding-left: 16px;
  border-left: 3px solid var(--art-accent);
  line-height: 1.3;
}

.art-body strong { font-weight: 700; }

/* ============================================
   SHARE SECTION
   ============================================ */

.share-section {
  max-width: var(--max-article);
  margin: 48px auto 0;
  padding: 32px 24px;
  border-top: 1px solid var(--border);
}

.share-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.share-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  transition: opacity 0.18s, transform 0.18s;
}

.share-btn:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-wa   { background: #25D366; color: #fff; }
.btn-tw   { background: #000;    color: #fff; }
.btn-copy { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.btn-copy.copied { background: #22c55e; color: #fff; border-color: #22c55e; }

/* ============================================
   EMAIL SIGNUP
   ============================================ */

.email-section {
  max-width: var(--max-article);
  margin: 0 auto;
  padding: 0 24px 48px;
}

.email-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--art-accent);
  border-radius: 14px;
  padding: 28px;
  text-align: center;
}

.email-box h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.email-box p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 4px;
  line-height: 1.5;
}

/* ============================================
   RELATED ARTICLES
   ============================================ */

.related-section {
  max-width: var(--max-article);
  margin: 0 auto;
  padding: 0 24px 64px;
}

.related-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--text-muted);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.related-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.related-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

@media (min-width: 580px) {
  .related-grid { grid-template-columns: repeat(3, 1fr); }
}

.related-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s;
}

.related-card:hover { transform: translateY(-3px); }

.related-img {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  opacity: 0.35;
}

.related-body { padding: 12px 14px 14px; }

.related-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 8px;
}

.related-soon {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  background: var(--border);
  padding: 2px 8px;
  border-radius: 10px;
  display: inline-block;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 24px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--art-accent);
  font-style: italic;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.18s;
}

.footer-links a:hover { color: var(--art-accent); }

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
  width: 100%;
}
