/* ==========================================================================
   SubscriptionShame.com — global stylesheet
   Dark cinematic theme. Mobile-first. No external CSS deps beyond Google Fonts.
   ========================================================================== */

:root {
  --bg: #080808;
  --bg-2: #0f0f0f;
  --bg-3: #161616;
  --line: #1f1f1f;
  --line-2: #2a2a2a;
  --text: #f5f5f5;
  --text-2: #b8b8b8;
  --text-3: #6e6e6e;
  --red: #ff2d2d;
  --red-2: #ff5b5b;
  --green: #00e87a;
  --green-2: #43ffaa;
  --orange: #ff8c00;
  --gold: #ffc94a;
  --shadow: 0 30px 80px rgba(0,0,0,0.6);
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1180px;
  --font-display: 'Bebas Neue', 'Impact', 'Oswald', sans-serif;
  --font-mono: 'DM Mono', 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* Subtle film grain overlay — pure CSS, no images */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.7 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Soft red bleed in the background to add cinematic depth */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(60% 40% at 50% -10%, rgba(255,45,45,0.18), transparent 70%),
    radial-gradient(40% 30% at 100% 100%, rgba(0,232,122,0.07), transparent 70%);
}

img, svg { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-2); text-decoration: underline; }

/* ----- Layout ----- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section-tight { padding: 32px 0; }

/* ----- Top nav ----- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; max-width: var(--max); margin: 0 auto;
}
.logo {
  font-family: var(--font-display); font-size: 24px; letter-spacing: 1px;
  color: var(--text); text-decoration: none; white-space: nowrap;
}
.logo .dot { color: var(--red); }
.nav-links { display: none; gap: 22px; align-items: center; }
.nav-links a {
  color: var(--text-2); font-family: var(--font-mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: 1.5px; text-decoration: none;
}
.nav-links a:hover { color: var(--red); }
.nav-cta {
  font-family: var(--font-mono); font-size: 12px; text-transform: uppercase;
  letter-spacing: 1.5px; padding: 10px 16px; background: var(--red);
  color: #fff; border-radius: 999px; text-decoration: none;
}
.nav-cta:hover { background: var(--red-2); color: #fff; }
@media (min-width: 768px) {
  .nav-links { display: flex; }
}

/* ----- Hero / headlines ----- */
.kicker {
  font-family: var(--font-mono); font-size: 12px; text-transform: uppercase;
  letter-spacing: 3px; color: var(--red); margin: 0 0 16px;
}
h1, .h1 {
  font-family: var(--font-display); font-weight: 400; line-height: 0.95;
  letter-spacing: 1px; margin: 0 0 18px;
  font-size: clamp(48px, 8vw, 96px);
}
h2, .h2 {
  font-family: var(--font-display); font-weight: 400; line-height: 1;
  letter-spacing: 1px; margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 56px);
}
h3, .h3 {
  font-family: var(--font-display); font-weight: 400; letter-spacing: 1px;
  font-size: clamp(22px, 3vw, 32px); margin: 0 0 10px;
}
h4 { font-family: var(--font-body); font-weight: 700; font-size: 18px; margin: 0 0 8px; }
p { margin: 0 0 16px; color: var(--text-2); }
.lead { font-size: 19px; color: var(--text); max-width: 720px; }

.text-red { color: var(--red); }
.text-green { color: var(--green); }
.text-orange { color: var(--orange); }
.text-mono { font-family: var(--font-mono); }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-mono); font-size: 13px; text-transform: uppercase;
  letter-spacing: 2px; padding: 16px 28px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-2); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.btn-green { background: var(--green); color: #061; }
.btn-green:hover { background: var(--green-2); color: #042; }
.btn-block { display: flex; width: 100%; }

/* ----- Cards ----- */
.card {
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.card-tight { padding: 20px; }
.card-red { border-color: rgba(255,45,45,0.4); }
.card-green { border-color: rgba(0,232,122,0.4); }
.card-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
@media (min-width: 720px) { .card-grid-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 920px) { .card-grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 920px) { .card-grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ----- Stat blocks ----- */
.stat-label {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 2px; color: var(--text-3); margin: 0 0 8px;
}
.stat-value {
  font-family: var(--font-display); font-size: clamp(40px, 6vw, 72px);
  line-height: 1; letter-spacing: 1px;
}
.stat-sub { font-size: 14px; color: var(--text-2); margin-top: 6px; }

/* ----- Forms ----- */
.input, .select, .textarea {
  width: 100%; padding: 14px 16px;
  background: var(--bg-2); color: var(--text);
  border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 16px; outline: none;
  transition: border-color .15s ease;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--red); }
.label {
  display: block; font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 2px; color: var(--text-3);
  margin: 0 0 8px;
}

/* ----- Tables ----- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); }
table.tbl {
  width: 100%; border-collapse: collapse; font-size: 15px; background: var(--bg-2);
}
.tbl th, .tbl td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl th {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 2px; color: var(--text-3); background: var(--bg-3);
}
.tbl tr:last-child td { border-bottom: none; }
.tbl .price { font-family: var(--font-mono); font-weight: 600; }

/* ----- Pills / tags ----- */
.pill {
  display: inline-block; padding: 4px 10px; font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2);
}
.pill-red    { background: rgba(255,45,45,0.12); color: var(--red);    border-color: rgba(255,45,45,0.4); }
.pill-orange { background: rgba(255,140,0,0.14); color: var(--orange); border-color: rgba(255,140,0,0.4); }
.pill-green  { background: rgba(0,232,122,0.12); color: var(--green);  border-color: rgba(0,232,122,0.4); }

/* ----- Footer ----- */
.footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 32px; margin-top: 60px;
  background: var(--bg-2);
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer h5 {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 2px; color: var(--text-3); margin: 0 0 14px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 0 0 8px; }
.footer a { color: var(--text-2); }
.footer a:hover { color: var(--red); }
.footer-bottom {
  margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px; justify-content: space-between;
  color: var(--text-3); font-size: 13px;
}
@media (min-width: 720px) { .footer-bottom { flex-direction: row; } }

/* ----- AdSense slot styling (placeholder until AdSense is approved) ----- */
.ad-slot {
  margin: 32px auto; padding: 16px; max-width: 728px;
  border: 1px dashed var(--line-2); border-radius: var(--radius-sm);
  text-align: center; color: var(--text-3); font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  background: var(--bg-2);
}

/* ----- Shame card (downloadable / shareable) ----- */
.shame-card {
  background: linear-gradient(160deg, #120000 0%, #050505 70%);
  border: 1px solid rgba(255,45,45,0.35);
  border-radius: 18px;
  padding: 36px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.shame-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,45,45,0.35), transparent 60%);
  pointer-events: none;
}
.shame-card .shame-amount {
  font-family: var(--font-display);
  font-size: clamp(64px, 14vw, 120px);
  line-height: 0.9;
  color: var(--red);
  letter-spacing: 2px;
  text-shadow: 0 4px 30px rgba(255,45,45,0.4);
}
.shame-card .shame-label {
  font-family: var(--font-mono); font-size: 12px; text-transform: uppercase;
  letter-spacing: 3px; color: var(--text-2); margin: 0 0 14px;
}
.shame-card .shame-verdict {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 44px);
  letter-spacing: 1.5px; margin: 12px 0 0;
}
.shame-card .shame-tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px;
  color: var(--text-3); margin-top: 22px; text-transform: uppercase;
}

/* ----- FAQ accordion ----- */
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 0 0 12px;
  background: var(--bg-2);
}
.faq summary {
  cursor: pointer; list-style: none;
  font-weight: 600; color: var(--text);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 12px 0 0; color: var(--text-2); }

/* ----- Article (blog post) layout ----- */
.article {
  max-width: 760px; margin: 0 auto; padding: 60px 20px;
}
.article h2 { margin-top: 48px; }
.article h3 { margin-top: 32px; color: var(--red); }
.article p, .article li { color: var(--text); font-size: 17px; line-height: 1.75; }
.article ul, .article ol { padding-left: 22px; margin: 0 0 18px; }
.article li { margin-bottom: 8px; }
.article blockquote {
  border-left: 3px solid var(--red);
  padding: 4px 0 4px 20px;
  margin: 24px 0;
  color: var(--text); font-style: italic;
}
.article .meta {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 2px;
  color: var(--text-3); text-transform: uppercase; margin: 0 0 18px;
}
.article hr { border: none; border-top: 1px solid var(--line); margin: 48px 0; }

/* Sources / citations block */
.sources {
  margin: 40px 0 0; padding: 24px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-2); font-size: 14px;
}
.sources h4 { margin: 0 0 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-3); font-weight: 400;}
.sources ol { margin: 0; padding-left: 18px; color: var(--text-2); }
.sources li { margin: 0 0 6px; }

/* ----- Utilities ----- */
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.row-between { justify-content: space-between; }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.mb-0 { margin-bottom: 0 !important; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }
.divider { border-top: 1px solid var(--line); margin: 32px 0; }
.muted { color: var(--text-3); }
.small { font-size: 13px; }
.hide-mobile { display: none; } @media (min-width: 720px) { .hide-mobile { display: initial; } }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
