/* ============================================================
   gta6-guides.com — Vice6Daily
   GTA VI Official Palette + Rockstar Cinematic Design
   Deep Violet → Purple → Magenta → Coral → Orange → Yellow
   ============================================================ */

:root {
  /* GTA VI Palette */
  --deep-violet: #3B146B;
  --purple: #7B208F;
  --magenta: #C9349B;
  --coral-pink: #F36A78;
  --coral: #F87572;
  --orange: #FF9B55;
  --warm-yellow: #FFB458;

  /* Dark bases (deep violet family) */
  --bg: #0d0519;
  --bg-alt: #120821;
  --surface: #1a0d2e;
  --surface-hover: #221338;
  --border: rgba(123,32,143,0.15);
  --border-light: rgba(248,117,114,0.12);

  /* Text (white hierarchy) */
  --text-primary: rgba(255,255,255,0.92);
  --text-secondary: rgba(255,255,255,0.62);
  --text-muted: rgba(255,255,255,0.35);

  /* Gradients */
  --grad-sunset: linear-gradient(135deg, var(--warm-yellow), var(--orange), var(--coral-pink), var(--magenta));
  --grad-hero: linear-gradient(189deg, #3B146B 0%, #1a0d2e 45%, #0d0519 100%);
  --grad-section-a: linear-gradient(189deg, #1a0d2e 0%, #120821 50%, #0d0519 100%);
  --grad-section-b: linear-gradient(189deg, #221338 0%, #1a0d2e 50%, #120821 100%);
  --grad-footer: linear-gradient(189deg, #1a0d2e 0%, #0d0519 100%);
  --grad-card-hover: linear-gradient(180deg, var(--warm-yellow), var(--coral-pink), var(--magenta));

  --page-width: 1200px;
  --content-width: 70ch;
  --nav-height: 64px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--coral-pink);
  text-decoration: none;
  transition: color 0.25s ease;
}
a:hover { color: var(--warm-yellow); }
a:focus-visible {
  outline: 2px solid var(--coral-pink);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: "Bebas Neue", "Oswald", "Impact", sans-serif;
  font-weight: 400;
  line-height: 1.05;
  color: #fff;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); margin-bottom: 0.35em; }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); margin-bottom: 0.4em; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); margin-bottom: 0.3em; }

p { margin-bottom: 1em; }

/* --- Layout --- */
.page-wrap { min-height: 100vh; display: flex; flex-direction: column; }
.container { width: 100%; max-width: var(--page-width); margin: 0 auto; padding: 0 1.5rem; }

/* --- Art Deco divider --- */
.deco-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0.5rem 0 2.5rem;
}
.deco-divider::before,
.deco-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--magenta), transparent);
  opacity: 0.25;
}
.deco-diamond {
  width: 8px;
  height: 8px;
  background: var(--magenta);
  transform: rotate(45deg);
  opacity: 0.5;
  flex-shrink: 0;
}

/* --- Nav --- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(13,5,25,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--warm-yellow), var(--orange), var(--coral-pink), var(--magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.site-logo:hover { opacity: 0.85; }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-family: "Inter", sans-serif;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.25s;
}
.nav-links a:hover { color: #fff; }

/* --- Hero --- */
.hero {
  padding: 10rem 0 5rem;
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
}

/* Subtle purple glow orb in hero */
.hero::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(123,32,143,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.95;
  max-width: 14ch;
  background: linear-gradient(180deg, #fff 0%, var(--warm-yellow) 50%, var(--coral-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
  animation: hero-rise 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero .subtitle {
  font-family: "Inter", sans-serif;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
  animation: hero-rise 1s 0.15s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Sections --- */
.section {
  padding: 4.5rem 0;
  position: relative;
}
.section--a { background: var(--grad-section-a); }
.section--b { background: var(--grad-section-b); }

.section-heading {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: #fff;
  margin-bottom: 0.25rem;
}

/* --- Guide row list --- */
.grid-guides {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.guide-row {
  background: var(--bg);
  padding: 1.35rem 1.5rem;
  transition: background 0.3s ease;
  position: relative;
}
.guide-row:hover { background: var(--surface); }

.guide-row::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: transparent;
  transition: background 0.3s ease;
}
.guide-row:hover::before {
  background: var(--grad-card-hover);
}

.guide-row-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.35rem;
}

.guide-row-title {
  font-family: "Inter", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
}
.guide-row-title a { color: inherit; }
.guide-row-title a:hover { color: var(--coral-pink); }

.guide-row-excerpt {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-top: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.guide-row-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

/* --- Tag --- */
.tag {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(255,155,85,0.1);
  padding: 0.2em 0.6em;
  border-radius: 2px;
}

.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.tags .tag { color: var(--coral-pink); background: rgba(243,106,120,0.1); }

/* --- Short card grid --- */
.grid-shorts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (min-width: 640px) { .grid-shorts { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .grid-shorts { grid-template-columns: repeat(4, 1fr); } }

.short-card {
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.short-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 20px 50px rgba(59,20,107,0.4),
    0 0 0 1px rgba(201,52,155,0.15);
}

.short-thumb {
  display: block;
  aspect-ratio: 9/16;
  overflow: hidden;
  background: var(--deep-violet);
  position: relative;
}
.short-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.short-card:hover .short-thumb img { transform: scale(1.06); }

.short-thumb::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(to top, var(--bg) 5%, transparent);
  pointer-events: none;
}

.short-card-body { padding: 0.85rem 1rem 1rem; }

.short-card-title {
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.short-card-title a { color: inherit; }
.short-card-title a:hover { color: var(--coral-pink); }

.short-card-date {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  font-variant-numeric: tabular-nums;
}

/* --- View all link --- */
.view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--coral-pink);
  letter-spacing: 0.02em;
  transition: gap 0.25s, color 0.25s;
}
.view-all:hover { color: var(--warm-yellow); gap: 0.75rem; }
.view-all::after { content: "\2192"; }

/* --- Article page --- */
.article-hero {
  padding: 8rem 0 3rem;
  background: var(--grad-hero);
  position: relative;
}
.article-hero::before {
  content: "";
  position: absolute;
  top: -10%; right: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(123,32,143,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.article-hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  position: relative; z-index: 1;
}
.article-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.article-hero h1 { position: relative; z-index: 1; }

.article-body {
  max-width: var(--content-width);
  padding: 2.5rem 0 3rem;
  color: var(--text-primary);
  font-size: 1.05rem;
  line-height: 1.75;
}
.article-body p { margin-bottom: 1.25em; }
.article-body h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.75rem;
  margin-top: 2.5em;
  margin-bottom: 0.5em;
  color: var(--orange);
}
.article-body h3 {
  font-family: "Inter", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 2em;
  margin-bottom: 0.5em;
}
.article-body ul, .article-body ol { padding-left: 1.5em; margin-bottom: 1.25em; }
.article-body li { margin-bottom: 0.4em; }
.article-body blockquote {
  border-left: 3px solid var(--magenta);
  padding: 0.75em 1.25em;
  margin: 1.5em 0;
  color: var(--text-secondary);
  background: rgba(201,52,155,0.06);
  border-radius: 0 4px 4px 0;
}
.article-body code {
  background: rgba(255,255,255,0.06);
  padding: 0.15em 0.4em;
  border-radius: 3px;
  font-size: 0.9em;
}
.article-body img { border-radius: 8px; margin: 2em 0; }
.article-body a { border-bottom: 1px solid rgba(243,106,120,0.3); }
.article-body a:hover { border-bottom-color: var(--warm-yellow); }

.article-source {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--coral-pink);
}
.back-link::before { content: "\2190"; }
.back-link:hover { color: var(--warm-yellow); }

/* --- Short landing page --- */
.short-hero {
  padding: 8rem 0 3rem;
  background: var(--grad-hero);
  text-align: center;
  position: relative;
}
.short-hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}
.short-hero h1 { position: relative; z-index: 1; }

.short-content {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  text-align: center;
}

.short-embed-wrap {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin: -2rem auto 2.5rem;
  aspect-ratio: 9/16;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 24px 64px rgba(59,20,107,0.5),
    0 0 0 1px rgba(201,52,155,0.15);
  z-index: 10;
}
.short-embed-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

.short-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.watch-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.watch-btn {
  display: inline-block;
  padding: 0.7em 1.5em;
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 4px;
  color: #fff;
  background: rgba(201,52,155,0.12);
  border: 1px solid rgba(201,52,155,0.25);
  transition: all 0.25s ease;
}
.watch-btn:hover {
  background: rgba(201,52,155,0.25);
  border-color: var(--coral-pink);
  color: #fff;
  box-shadow: 0 0 24px rgba(201,52,155,0.2);
}

.short-hashtags {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 2rem;
}

/* --- Listing pages --- */
.listing-hero {
  padding: 8rem 0 1rem;
  background: var(--grad-section-a);
}

/* --- Empty state --- */
.empty-state {
  text-align: center;
  color: var(--text-muted);
  padding: 4rem 0;
  font-size: 1rem;
}

/* --- Footer --- */
.site-footer {
  margin-top: auto;
  padding: 3.5rem 0;
  background: var(--grad-footer);
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}
.footer-brand {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--warm-yellow), var(--coral-pink), var(--magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-socials { display: flex; gap: 2rem; list-style: none; }
.footer-socials a {
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.25s;
}
.footer-socials a:hover { color: var(--coral-pink); }
.footer-copy { font-size: 0.75rem; color: var(--text-muted); }

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* --- Print --- */
@media print {
  body { background: #fff; color: #111; }
  .site-nav, .site-footer, .watch-buttons, .back-link, .view-all, .deco-divider { display: none; }
  a { color: #111; text-decoration: underline; }
  .hero, .article-hero, .short-hero, .listing-hero, .section { background: none !important; padding-top: 1rem; }
  h1, h2, h3 { color: #111; -webkit-text-fill-color: #111; }
}

/* --- Mobile --- */
@media (max-width: 640px) {
  .hero { padding: 7rem 0 3rem; }
  .article-hero, .short-hero, .listing-hero { padding-top: 6rem; }
  .section { padding: 3rem 0; }
  .nav-links { gap: 1.25rem; }
  .nav-links a { font-size: 0.75rem; }
}
