/* bestbigtits.com - shared stylesheet for all pages.
   Dark theme, one source of truth: every size and color goes through :root tokens.
   Icons are inlined Lucide paths (ISC licence, lucide.dev). */

@font-face {
  font-family: 'Inter var';
  src: url('/fonts/inter-var-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* spacing, 8px grid */
  --space-xs: .5rem;   /* 8  */
  --space-sm: 1rem;    /* 16 */
  --space-md: 1.5rem;  /* 24 */
  --space-lg: 2.5rem;  /* 40 */
  --space-xl: 4rem;    /* 64 */

  /* palette */
  --bg: #0a0b10;
  --bg-soft: #10121a;
  --surface: #151826;
  --surface-2: #1b1f30;
  --border: rgba(255, 255, 255, .08);
  --border-strong: rgba(255, 255, 255, .14);
  --text: #eef0f7;
  --text-muted: #9aa1b7;
  --accent: #ff2e7e;
  --accent-soft: #ff5c9d;
  --accent-2: #b06bff;
  --gold-1: #ffcf4d;
  --gold-2: #ffa726;

  /* typography */
  --font: 'Inter var', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --h1-size: clamp(2.2rem, 5.5vw, 3.4rem);
  --h2-size: clamp(1.5rem, 3vw, 2rem);
  --h3-size: 1.2rem;

  --radius: 16px;
  --radius-sm: 10px;
  --content-max: 1140px;
  --shadow-card: 0 10px 30px rgba(0, 0, 0, .35);
  --glow: 0 8px 32px rgba(255, 46, 126, .35);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

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

a { color: var(--accent-soft); text-decoration: none; }
a:hover { color: #fff; }

.container { max-width: var(--content-max); margin-inline: auto; padding-inline: var(--space-md); }

section { margin-block: var(--space-xl); }

h1 { font-size: var(--h1-size); font-weight: 900; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 var(--space-sm); }
h2 { font-size: var(--h2-size); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; margin: 0 0 var(--space-sm); }
h3 { font-size: var(--h3-size); font-weight: 700; margin: var(--space-md) 0 var(--space-xs); }

p { margin: 0 0 var(--space-sm); }

.lead { color: var(--text-muted); font-size: 1.15rem; max-width: 46rem; }

.accent {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: .65rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #fff;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--glow); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border-strong);
}
.btn-ghost:hover { color: #fff; border-color: #fff; }

.btn-card {
  width: 100%;
  background: transparent;
  color: var(--accent-soft);
  border-color: rgba(255, 46, 126, .45);
  padding: .5rem 1rem;
  font-size: .9rem;
}
.btn-card:hover { background: linear-gradient(135deg, var(--accent), var(--accent-soft)); color: #fff; border-color: transparent; box-shadow: var(--glow); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 11, 16, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  min-height: 64px;
}

.brand { font-weight: 900; font-size: 1.15rem; color: #fff; letter-spacing: -.01em; }
.brand:hover { color: var(--accent-soft); }

.nav-links { display: flex; align-items: center; gap: var(--space-md); list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--text-muted); font-weight: 600; font-size: .95rem; display: inline-block; padding-block: .45rem; }
.nav-links a:hover { color: #fff; }

.chip-18 {
  font-size: .72rem;
  font-weight: 800;
  color: var(--accent-soft);
  border: 1px solid rgba(255, 46, 126, .5);
  border-radius: 999px;
  padding: .1rem .5rem;
  letter-spacing: .04em;
}

/* Hero */
.hero { position: relative; padding-top: var(--space-lg); }

.hero::before {
  content: "";
  position: absolute;
  inset: -140px 0 auto;
  height: 420px;
  background:
    radial-gradient(420px 260px at 18% 20%, rgba(255, 46, 126, .22), transparent 70%),
    radial-gradient(520px 300px at 82% 10%, rgba(176, 107, 255, .16), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  z-index: -1;
  animation: heroGlow 9s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  from { opacity: .7; transform: translateY(0); }
  to { opacity: 1; transform: translateY(14px); }
}

.hero-meta { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-md); padding: 0; list-style: none; }

.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .35rem .85rem;
  font-size: .85rem;
  color: var(--text-muted);
}

.hero-meta .lucide { color: var(--accent-soft); }

/* Model cards */
.model-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.model-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.model-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 46, 126, .55);
  box-shadow: var(--shadow-card), var(--glow);
}

.thumb { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--surface-2); }

.thumb picture { display: block; width: 100%; height: 100%; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }

.model-card:hover .thumb img { transform: scale(1.06); }

.thumb::after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(180deg, transparent, rgba(10, 11, 16, .82));
  pointer-events: none;
}

.rank {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #fff;
  font-weight: 800;
  font-size: .8rem;
  line-height: 1;
  padding: .35rem .6rem;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .4);
}

.model-card.top .rank {
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  color: #241a00;
}

.card-body { padding: var(--space-sm); display: grid; gap: .55rem; }

.card-name { margin: 0; font-size: 1.05rem; font-weight: 800; }

.card-meta { margin: 0; color: var(--text-muted); font-size: .85rem; display: inline-flex; align-items: center; gap: .4rem; }

.card-meta .lucide { color: var(--accent-soft); }

/* Card links */
.thumb { display: block; }
.card-name a { color: inherit; display: inline-block; padding-block: .2rem; }
.card-name a:hover { color: var(--accent-soft); }

/* Breadcrumb */
.breadcrumb {
  padding-top: var(--space-md);
  font-size: .85rem;
  color: var(--text-muted);
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); display: inline-block; padding-block: .3rem; }
.breadcrumb a:hover { color: #fff; }

/* Model page hero */
.model-hero {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: var(--space-lg);
  align-items: start;
  margin-block: var(--space-md) var(--space-xl);
}

.model-hero picture { display: block; }

.model-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.model-info h1 { margin-block: var(--space-xs) var(--space-sm); }

.rank-line { color: var(--text-muted); font-size: .9rem; display: flex; align-items: center; gap: .5rem; margin: 0; }

.rank-badge {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #fff;
  font-weight: 800;
  font-size: .85rem;
  padding: .15rem .6rem;
  border-radius: 999px;
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0;
}

.stat-row li {
  flex: 1 1 140px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-sm);
  margin: 0;
}

.stat-v { display: block; font-size: 1.4rem; font-weight: 800; color: var(--text); }
.stat-k { display: block; font-size: .8rem; color: var(--text-muted); }

.cta-note { margin-top: var(--space-xs); font-size: .8rem; color: var(--text-muted); }

/* Sparkline figure */
.chart {
  margin: 0 0 var(--space-md);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-sm);
  max-width: 42rem;
}

.spark { display: block; width: 100%; height: 64px; }

.chart figcaption {
  margin-top: var(--space-xs);
  font-size: .8rem;
  color: var(--text-muted);
}

/* Compact related grid */
.model-grid.related { grid-template-columns: repeat(4, 1fr); }
.model-grid.related .card-body { gap: .4rem; }

@media (max-width: 860px) {
  .model-hero { grid-template-columns: 1fr; gap: var(--space-md); }
  .model-hero picture { display: block; }

.model-photo { max-width: 280px; }
}

.grid-more { margin-top: var(--space-lg); text-align: center; }

/* Prose sections */
.prose { max-width: 72ch; }
.prose p { color: #c3c9da; }

.faq h3 {
  border-left: 3px solid var(--accent);
  padding-left: var(--space-sm);
  margin-top: var(--space-lg);
}

.faq p { color: #c3c9da; max-width: 72ch; }

ul, ol { padding-left: 1.4rem; }
li { margin-bottom: .4rem; color: #c3c9da; }

blockquote {
  margin: var(--space-md) 0;
  padding: var(--space-sm) var(--space-md);
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-muted);
  font-style: italic;
}

/* Contact list */
.contact-list { list-style: none; padding-left: 0; }

.contact-list li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm);
  margin-bottom: var(--space-xs);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.contact-list .lucide { color: var(--accent-soft); flex-shrink: 0; }

/* Lucide default sizing */
.lucide { width: 1.2em; height: 1.2em; }

/* Footer */
.site-footer {
  margin-top: var(--space-xl);
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding-block: var(--space-lg);
}

.footer-links { display: flex; flex-wrap: wrap; gap: var(--space-md); list-style: none; margin: 0 0 var(--space-sm); padding: 0; }
.footer-links a { color: var(--text-muted); font-size: .9rem; display: inline-block; padding-block: .35rem; }
.footer-links a:hover { color: #fff; }

.footer-note { color: var(--text-muted); font-size: .85rem; margin: 0; }
.footer-top { color: var(--text-muted); font-size: .85rem; margin: 0 0 var(--space-xs); }
.footer-top a { color: var(--accent-soft); display: inline-block; padding-block: .3rem; }

/* Age gate */
#age-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  background: rgba(6, 7, 11, .88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

#age-gate[hidden] { display: none; }

.age-card {
  max-width: 430px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: var(--space-lg);
  text-align: center;
  box-shadow: var(--shadow-card);
  animation: ageIn .35s ease;
}

@keyframes ageIn {
  from { opacity: 0; transform: translateY(16px) scale(.97); }
  to { opacity: 1; transform: none; }
}

.age-logo { font-weight: 900; color: var(--accent-soft); margin-bottom: var(--space-xs); }

.age-card h2 { margin-bottom: var(--space-xs); }

.age-card p { color: var(--text-muted); font-size: .95rem; }

.age-actions { display: flex; gap: var(--space-xs); justify-content: center; margin: var(--space-md) 0 var(--space-xs); flex-wrap: wrap; }

.age-note { font-size: .78rem; }

/* Cookie banner */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-sm);
  background: rgba(16, 18, 26, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  font-size: .85rem;
  color: var(--text-muted);
}

#cookie-banner[hidden] { display: none; }

#cookie-banner button {
  background: transparent;
  color: var(--accent-soft);
  border: 1px solid rgba(255, 46, 126, .45);
  border-radius: 999px;
  padding: .3rem 1rem;
  font-weight: 700;
  font-family: var(--font);
  font-size: .85rem;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}

#cookie-banner button:hover { background: var(--accent); border-color: transparent; color: #fff; }

/* Reveal animations */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

.js .model-grid .reveal:nth-child(4n+2) { transition-delay: .07s; }
.js .model-grid .reveal:nth-child(4n+3) { transition-delay: .14s; }
.js .model-grid .reveal:nth-child(4n+4) { transition-delay: .21s; }

/* Responsive */
@media (max-width: 1024px) {
  .model-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .model-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }
  section { margin-block: var(--space-lg); }
  .nav-links { gap: var(--space-sm); }
}

@media (max-width: 420px) {
  .chip-18 { display: none; }
  .card-body { padding: var(--space-xs); }
  .card-name { font-size: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero::before { animation: none; }
  .model-card, .thumb img, .btn { transition: none; }
}
