/* Luggo25 — shared dark theme for SEO pages
   Matches landing-page palette: gradient bg, white text, vibrant accent. */

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

:root {
  --bg-start: #0a0e1a;
  --bg-end: #1a1f3a;
  --text: #e8eaf0;
  --text-muted: #a8b0c8;
  --text-soft: #c5cbe0;
  --accent: #ff5722;
  --accent-hover: #ff7849;
  --accent-soft: rgba(255, 87, 34, 0.15);
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-border-hover: rgba(255, 87, 34, 0.4);
  --header-bg: rgba(10, 14, 26, 0.85);
  --table-row: rgba(255, 255, 255, 0.03);
  --code-bg: rgba(0, 0, 0, 0.35);
  --max-w: 880px;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(135deg, var(--bg-start) 0%, var(--bg-end) 100%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  font-size: 17px;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s ease; }
a:hover, a:focus { color: var(--accent-hover); text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}
.site-header .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.brand {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.5px;
  color: var(--text);
}
.brand:hover { color: var(--accent); text-decoration: none; }
.brand .dot { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 22px;
  list-style: none;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--accent); text-decoration: none; }

/* Main */
main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 24px 80px;
}

article header.page-head {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--card-border);
}
article header.page-head .kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
article header.page-head .byline {
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-muted);
}

h1 {
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
h2 {
  font-size: clamp(22px, 3.5vw, 30px);
  line-height: 1.3;
  font-weight: 700;
  margin: 44px 0 16px;
  letter-spacing: -0.3px;
}
h3 {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 700;
  margin: 30px 0 12px;
  color: var(--text);
}
h4 { font-size: 18px; font-weight: 600; margin: 22px 0 10px; }

p { margin-bottom: 18px; color: var(--text-soft); }

article ul, article ol { margin: 0 0 22px 22px; }
article li { margin-bottom: 8px; color: var(--text-soft); }
article li::marker { color: var(--accent); }

strong { color: var(--text); font-weight: 700; }
em { color: var(--text); }

blockquote {
  border-left: 3px solid var(--accent);
  padding: 12px 18px;
  margin: 24px 0;
  background: var(--card-bg);
  color: var(--text-soft);
  border-radius: 6px;
}

code {
  background: var(--code-bg);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
}

hr {
  border: none;
  border-top: 1px solid var(--card-border);
  margin: 36px 0;
}

/* Tables */
.table-wrap { overflow-x: auto; margin: 24px 0; }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  overflow: hidden;
  font-size: 15px;
}
th, td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--card-border);
  vertical-align: top;
}
th {
  background: rgba(255, 87, 34, 0.08);
  color: var(--text);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.8px;
}
tr:nth-child(even) td { background: var(--table-row); }
tr:last-child td { border-bottom: none; }

/* CTA blocks */
.cta-card {
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.12) 0%, rgba(255, 87, 34, 0.04) 100%);
  border: 1px solid var(--card-border-hover);
  padding: 22px 24px;
  border-radius: 12px;
  margin: 28px 0;
}
.cta-card p { margin: 0; color: var(--text); font-size: 17px; }
.cta-card a {
  color: var(--accent);
  font-weight: 700;
}

/* In-article affiliate link styling */
article p a[href*="/go/"] {
  font-weight: 700;
}

/* FAQ */
.faq h3 {
  margin-top: 26px;
  color: var(--text);
}
.faq strong { color: var(--text); }

/* Related links cluster */
.related {
  margin-top: 48px;
  padding: 28px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
}
.related h2 { margin-top: 0; font-size: 22px; }
.related ul { margin-left: 18px; }
.related li { margin-bottom: 10px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--card-border);
  padding: 36px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 60px;
}
.site-footer .wrap { max-width: 1200px; margin: 0 auto; }
.site-footer .social {
  margin-top: 12px;
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}
.site-footer .social a { color: var(--text-muted); font-size: 14px; }
.site-footer .social a:hover { color: var(--accent); }

/* 404 page */
.error-page {
  max-width: 600px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}
.error-page .code {
  font-size: clamp(80px, 18vw, 140px);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -3px;
}
.error-page h1 { font-size: 32px; margin: 20px 0 12px; }
.error-page p { color: var(--text-muted); margin-bottom: 24px; }
.error-page .btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}
.error-page .btn:hover { background: var(--accent-hover); color: #fff; text-decoration: none; }

/* Mobile */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .site-header .wrap { padding: 14px 16px; flex-wrap: wrap; }
  .nav-links { gap: 14px; font-size: 14px; }
  main { padding: 36px 18px 60px; }
  h2 { margin-top: 36px; }
  table { font-size: 14px; }
  th, td { padding: 10px 8px; }
}

/* Print */
@media print {
  body { background: #fff; color: #000; }
  .site-header, .site-footer, .cta-card { display: none; }
  a { color: #000; text-decoration: underline; }
}
