/* chunkay.app — Product Reviews & Comparisons */
/* Dark theme, orange accents, tech review site */
:root {
  --bg: #0d0d0d;
  --surface: #1a1a1a;
  --card: #222222;
  --border: #333333;
  --text: #e8e8e8;
  --text-muted: #999999;
  --text-dim: #666666;
  --orange: #f57c00;
  --orange-dark: #e06a00;
  --orange-light: #2a1f0a;
  --orange-glow: rgba(245,124,0,0.12);
  --green: #4caf50;
  --green-light: #1a2e1a;
  --red: #ef5350;
  --white: #ffffff;
  --r: 10px;
  --sh: 0 2px 16px rgba(0,0,0,0.3);
  --sh-lg: 0 8px 40px rgba(0,0,0,0.4);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1060px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; margin: 0 auto; }

/* HEADER */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,13,13,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); padding: 13px 0;
}
.header .container { display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 1.15rem; font-weight: 800; color: var(--text); text-decoration: none; letter-spacing: -0.5px; }
.logo span { color: var(--orange); }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { font-size: 0.86rem; color: var(--text-muted); text-decoration: none; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--orange); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--text); }
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); padding: 20px; border-bottom: 1px solid var(--border); gap: 14px; }
  .nav-links.open { display: flex; }
}

/* HERO */
.hero {
  background: linear-gradient(145deg, var(--bg) 0%, var(--surface) 40%, #1a1208 100%);
  color: var(--text); padding: 70px 0 60px; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -40%; right: -15%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,124,0,0.08) 0%, transparent 65%);
}
.hero h1 { font-size: clamp(1.6rem, 4vw, 2.5rem); font-weight: 800; line-height: 1.2; margin-bottom: 16px; max-width: 620px; margin-left: auto; margin-right: auto; position: relative; }
.hero p { font-size: 1rem; color: var(--text-muted); max-width: 500px; margin: 0 auto 24px; position: relative; }
.hero-badge { display: inline-block; background: var(--orange-glow); border: 1px solid rgba(245,124,0,0.3); border-radius: 18px; padding: 5px 16px; font-size: 0.78rem; color: var(--orange); margin-bottom: 14px; }
.hero-cta { display: inline-block; background: var(--orange); color: var(--white); padding: 12px 28px; border-radius: var(--r); font-weight: 700; text-decoration: none; font-size: 0.9rem; transition: all 0.2s; position: relative; }
.hero-cta:hover { background: var(--orange-dark); transform: translateY(-1px); }

/* SECTIONS */
.section { padding: 56px 0; }
.section-alt { background: var(--surface); }
.section-label { display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--orange); margin-bottom: 8px; }
.section-title { font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 800; line-height: 1.3; margin-bottom: 12px; }
.section-desc { font-size: 0.92rem; color: var(--text-muted); max-width: 540px; }
.text-center { text-align: center; }
.text-center .section-desc { margin-left: auto; margin-right: auto; }

/* CARDS */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 28px; }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r);
  overflow: hidden; transition: all 0.2s;
}
.card:hover { border-color: var(--orange); box-shadow: 0 0 20px rgba(245,124,0,0.08); transform: translateY(-2px); }
.card-img { height: 150px; display: flex; align-items: center; justify-content: center; font-size: 3rem; background: linear-gradient(135deg, var(--surface) 0%, var(--orange-light) 100%); }
.card-body { padding: 20px; }
.card-tag { display: inline-block; background: var(--orange-glow); color: var(--orange); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 3px 9px; border-radius: 4px; margin-bottom: 8px; }
.card h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.35; margin-bottom: 6px; }
.card h3 a { color: var(--text); text-decoration: none; }
.card h3 a:hover { color: var(--orange); }
.card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.card-meta { margin-top: 10px; font-size: 0.74rem; color: var(--text-dim); display: flex; gap: 12px; }

/* ARTICLE */
.article-header { padding: 52px 0 32px; }
.article-header h1 { font-size: clamp(1.4rem, 3.5vw, 2rem); font-weight: 800; line-height: 1.25; margin-bottom: 10px; }
.article-meta { font-size: 0.82rem; color: var(--text-dim); }
.article-content { padding-bottom: 52px; }
.article-content h2 { font-size: 1.3rem; font-weight: 800; color: var(--text); margin: 32px 0 12px; }
.article-content h3 { font-size: 1rem; font-weight: 700; color: var(--text-muted); margin: 24px 0 10px; }
.article-content p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 14px; }
.article-content ul, .article-content ol { padding-left: 20px; margin-bottom: 14px; }
.article-content li { font-size: 0.92rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 4px; }
.article-content strong { color: var(--text); }
.article-content a { color: var(--orange); text-decoration: underline; }
.article-content blockquote { border-left: 3px solid var(--orange); padding: 12px 16px; background: var(--orange-light); margin: 18px 0; border-radius: 0 var(--r) var(--r) 0; font-style: italic; }
.info-box { background: var(--green-light); border: 1px solid #2d4a2d; border-radius: var(--r); padding: 18px 22px; margin: 20px 0; }
.info-box h4 { font-size: 0.9rem; color: var(--green); margin-bottom: 6px; }
.warning-box { background: #2a1a0a; border: 1px solid #4a2a0a; border-radius: var(--r); padding: 18px 22px; margin: 20px 0; }
.warning-box h4 { font-size: 0.9rem; color: var(--orange); margin-bottom: 6px; }

.comparison-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 0.85rem; }
.comparison-table th { background: var(--orange); color: var(--white); padding: 10px 12px; text-align: left; font-weight: 600; }
.comparison-table td { padding: 8px 12px; border-bottom: 1px solid var(--border); }
.comparison-table tr:nth-child(even) { background: var(--surface); }

.article-layout { display: grid; grid-template-columns: 1fr 240px; gap: 36px; }
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; } .sidebar { display: none; } }
.sidebar { position: sticky; top: 72px; align-self: start; }
.toc { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 16px; }
.toc h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; color: var(--orange); }
.toc ul { list-style: none; }
.toc li { margin-bottom: 6px; }
.toc a { font-size: 0.8rem; color: var(--text-muted); text-decoration: none; }
.toc a:hover { color: var(--orange); }

/* CTA */
.cta-banner { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 40px 0; text-align: center; }
.cta-banner h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: 10px; }
.cta-banner p { color: var(--text-muted); margin-bottom: 18px; }

/* RATING */
.rating { color: var(--orange); font-size: 1.1rem; letter-spacing: 2px; }
.score { display: inline-block; background: var(--orange); color: var(--white); font-weight: 800; padding: 4px 12px; border-radius: 6px; font-size: 0.9rem; }

/* FOOTER */
.footer { background: var(--surface); color: var(--text-dim); padding: 40px 0 24px; font-size: 0.82rem; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; margin-bottom: 24px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { color: var(--text); font-size: 0.86rem; margin-bottom: 10px; }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 0.8rem; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 16px; font-size: 0.76rem; }
.footer-disclaimer { margin-top: 12px; font-size: 0.74rem; color: var(--text-dim); line-height: 1.7; max-width: 600px; }

.btn { display: inline-block; padding: 10px 22px; border-radius: var(--r); font-weight: 700; font-size: 0.88rem; text-decoration: none; transition: all 0.2s; }
.btn-orange { background: var(--orange); color: var(--white); }
.btn-orange:hover { background: var(--orange-dark); }
.btn-outline { background: transparent; border: 1.5px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }

/* COOKIE + AGE GATE (shared) */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--card); border-top: 1px solid var(--border); padding: 16px 20px; z-index: 999; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cookie-banner p { font-size: 0.82rem; color: var(--text-muted); flex: 1; min-width: 200px; }
.cookie-banner button { background: var(--orange); color: var(--white); border: none; padding: 8px 20px; border-radius: 6px; font-weight: 600; font-size: 0.82rem; cursor: pointer; }
.age-gate { position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 1000; display: flex; align-items: center; justify-content: center; }
.age-gate-box { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 40px; text-align: center; max-width: 420px; width: 90%; }
.age-gate-box h2 { font-size: 1.3rem; margin-bottom: 12px; }
.age-gate-box p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 24px; }
.age-gate-btns { display: flex; gap: 12px; justify-content: center; }
.age-gate-btns button { padding: 10px 28px; border-radius: 8px; font-weight: 700; font-size: 0.9rem; cursor: pointer; border: none; }
.age-gate-btns .btn-yes { background: var(--orange); color: var(--white); }
.age-gate-btns .btn-no { background: var(--border); color: var(--text); }
