/* ViceGuide HQ — Editorial Vice City Theme (Fast, Zero-JS Dependency, SEO & AI-Citation Ready) */
:root {
  --bg: #08070e;
  --surface: #12101d;
  --surface-2: #1a1729;
  --border: rgba(255, 255, 255, 0.09);
  --text: #f3f2f8;
  --muted: #aba6c2;
  --cyan: #00e5ff;
  --magenta: #ff2e93;
  --amber: #ffbe0b;
  --radius: 16px;
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: radial-gradient(circle at 12% 0%, rgba(0, 229, 255, 0.12), transparent 36%),
              radial-gradient(circle at 88% 8%, rgba(255, 46, 147, 0.14), transparent 38%),
              var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand { font-family: 'Outfit', sans-serif; letter-spacing: -0.02em; }
a { color: var(--cyan); text-decoration: none; transition: opacity 0.18s ease, color 0.18s ease; }
a:hover { opacity: 0.88; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* Header */
header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(8, 7, 14, 0.82);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand {
  font-size: 1.35rem; font-weight: 900; color: #fff;
  display: inline-flex; align-items: center; gap: 10px;
}
.brand-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  box-shadow: 0 0 14px var(--magenta);
}
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 0.94rem; font-weight: 600; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: #fff; }
.nav-yt {
  background: linear-gradient(135deg, var(--magenta), #ff5c5c);
  color: #fff !important; padding: 8px 16px; border-radius: 999px; font-weight: 700;
}

/* Hero */
.hero { padding: 64px 0 46px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 38px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--cyan); background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.28); padding: 6px 13px; border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.35rem); line-height: 1.08; font-weight: 900; margin-bottom: 16px; }
.grad { background: linear-gradient(90deg, var(--cyan), #fff 52%, var(--magenta)); -webkit-background-clip: text; color: transparent; }
.hero p { color: var(--muted); font-size: 1.06rem; margin-bottom: 24px; max-width: 58ch; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 12px; font-weight: 800; font-size: 0.96rem;
}
.btn-primary {
  background: linear-gradient(135deg, var(--magenta), #ff5c5c);
  color: #fff; box-shadow: 0 10px 28px rgba(255, 46, 147, 0.3);
}
.btn-secondary {
  background: var(--surface-2); color: #fff; border: 1px solid var(--border);
}

.featured-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
}
.featured-card img { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.featured-body { padding: 18px 20px; }
.featured-meta { font-size: 0.8rem; color: var(--amber); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.featured-body h2 { font-size: 1.2rem; line-height: 1.25; margin-bottom: 8px; color: #fff; }
.featured-body p { font-size: 0.92rem; color: var(--muted); margin-bottom: 12px; }

/* Sections & Cards */
.section { padding: 42px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.section-head h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); font-weight: 900; }
.section-head p { color: var(--muted); font-size: 0.96rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(0, 229, 255, 0.35); }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.card-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.tag { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--cyan); margin-bottom: 8px; }
.card h3 { font-size: 1.12rem; line-height: 1.28; color: #fff; margin-bottom: 8px; }
.card p { font-size: 0.92rem; color: var(--muted); margin-bottom: 16px; flex: 1; }
.card-cta { font-weight: 800; font-size: 0.9rem; color: var(--magenta); }

/* Quick Answers / AI Citation Grid */
.qa-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.qa-box {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 22px;
}
.qa-box h3 { font-size: 1.05rem; color: #fff; margin-bottom: 8px; }
.qa-box p { font-size: 0.94rem; color: var(--muted); }

/* Guide Article Layout */
.article-wrap { max-width: 860px; margin: 0 auto; padding: 44px 22px 72px; }
.breadcrumb { font-size: 0.86rem; color: var(--muted); margin-bottom: 18px; }
.article-wrap h1 { font-size: clamp(1.95rem, 3.8vw, 2.85rem); line-height: 1.12; font-weight: 900; margin-bottom: 14px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 0.88rem; color: var(--muted); margin-bottom: 24px; }

.video-box {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 28px;
}
.video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe, .video-frame img { width: 100%; height: 100%; border: 0; object-fit: cover; display: block; }
.video-caption {
  padding: 12px 18px; font-size: 0.88rem; color: var(--muted);
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
}

.toc {
  background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--cyan);
  border-radius: 12px; padding: 18px 22px; margin-bottom: 30px;
}
.toc strong { display: block; font-family: 'Outfit', sans-serif; margin-bottom: 10px; font-size: 1.02rem; }
.toc ol { padding-left: 20px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 20px; font-size: 0.92rem; }

.article-body h2 {
  font-size: 1.48rem; margin: 36px 0 12px; color: #fff;
  padding-top: 12px; border-top: 1px solid var(--border);
}
.article-body p { margin-bottom: 14px; color: #dcd9e8; font-size: 1.02rem; }
.article-body ul, .article-body ol { margin: 0 0 16px 22px; color: #dcd9e8; }
.article-body li { margin-bottom: 6px; }

.callout {
  background: rgba(0, 229, 255, 0.08); border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 12px; padding: 14px 18px; margin: 16px 0 22px; font-size: 0.95rem;
}
.callout strong { color: var(--cyan); }
.warn {
  background: rgba(255, 46, 147, 0.09); border-color: rgba(255, 46, 147, 0.3);
}
.warn strong { color: var(--magenta); }

table { width: 100%; border-collapse: collapse; margin: 22px 0 30px; font-size: 0.93rem; background: var(--surface); border-radius: 12px; overflow: hidden; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); }
th { background: var(--surface-2); color: var(--cyan); font-family: 'Outfit', sans-serif; font-weight: 800; }

/* Footer */
footer {
  border-top: 1px solid var(--border); margin-top: 56px; padding: 34px 0 48px;
  color: var(--muted); font-size: 0.88rem;
}
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .hero-grid, .cards, .qa-grid, .toc ol { grid-template-columns: 1fr; }
  .nav-links { gap: 14px; font-size: 0.86rem; }
}
