/* =============================================================
   Gostosa.co - Consolidated Stylesheet (English, SEO-optimized)
   No inline CSS anywhere on the site — everything lives here.
   ============================================================= */

/* ---------- CSS Variables ---------- */
:root {
  --brand:        #6e4c73;
  --brand-dim:    #553a59;
  --surface:      #f5f5f7;
  --surface-dark: #e5e5ea;
  --surface-line: #d2d2d7;
  --text-main:    #1d1d1f;
  --text-muted:   #86868b;
  --danger:       #e53e3e;
  --radius-sm:    0.375rem;
  --radius:       0.5rem;
  --radius-full:  9999px;
  --shadow-sm:    0 1px 2px rgba(0,0,0,0.04);
  --shadow:       0 2px 8px rgba(0,0,0,0.06);
  --max:          80rem;
  --font-sans:    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-main);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video, iframe { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 0.5rem; line-height: 1.25; font-weight: 700; }
h1 { font-size: 1.875rem; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1rem; }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.25rem; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--brand); color: #fff; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 99999;
  padding: 0.5rem 1rem;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* ---------- Header ---------- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--surface-line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand);
  font-weight: 700;
  font-size: 1.25rem;
}
.logo i { font-size: 1.5rem; }
.site-nav { display: none; gap: 2rem; }
.site-nav a { color: var(--text-main); font-weight: 500; }
.site-nav a:hover { color: var(--brand); text-decoration: none; }
@media (min-width: 768px) { .site-nav { display: flex; } }

.search-box {
  display: none;
  position: relative;
}
.search-box input {
  width: 16rem;
  padding: 0.5rem 1rem 0.5rem 2.5rem;
  font-size: 0.875rem;
  background: var(--surface-dark);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-full);
  color: var(--text-main);
}
.search-box input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(110,76,115,0.2);
}
.search-box i {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
@media (min-width: 640px) { .search-box { display: block; } }

.mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.25rem;
}
@media (min-width: 768px) { .mobile-toggle { display: none; } }

/* ---------- Main ---------- */
.main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1rem;
}
@media (min-width: 640px) { .main { padding: 2rem 1.5rem; } }
@media (min-width: 1024px) { .main { padding: 2rem 2rem; } }

/* ---------- Video Grid ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .video-grid { grid-template-columns: repeat(5, 1fr); }
}
.video-grid.cols-4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
@media (min-width: 1024px) {
  .video-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}
.video-card { display: flex; flex-direction: column; gap: 0.5rem; }
.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--surface-dark);
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.video-card:hover .video-thumb img { transform: scale(1.03); }
.video-duration {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.125rem 0.375rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.video-title {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-title a { color: var(--text-main); }
.video-title a:hover { color: var(--brand); text-decoration: none; }
.video-meta { font-size: 0.75rem; color: var(--text-muted); margin: 0; }

/* ---------- Section Heads ---------- */
.section { margin-bottom: 3rem; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1rem;
}
.section-head h2 {
  font-size: 1.25rem;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.section-head h2 i { color: var(--brand); }
.section-head a {
  font-size: 0.875rem;
  color: var(--brand);
}
.section-head a:hover { text-decoration: underline; }

/* ---------- Chips / Tags ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  background: var(--surface-dark);
  color: var(--text-main);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  transition: background 0.15s;
}
.chip:hover { background: var(--surface-line); text-decoration: none; }
.chip-sm { padding: 0.25rem 0.625rem; font-size: 0.75rem; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--text-main); text-decoration: none; }
.breadcrumbs span[aria-current] { color: var(--text-main); font-weight: 600; }
.breadcrumbs .sep { font-size: 0.6rem; color: var(--text-muted); }

/* ---------- Video Player ---------- */
.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
  margin-bottom: 1.5rem;
}
.embed-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Video Info ---------- */
.video-title-h1 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.video-info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.video-info-row a { color: var(--brand); }
.video-info-row i { margin-right: 0.25rem; }

/* ---------- Content Block ---------- */
.content-block {
  background: #fff;
  border: 1px solid var(--surface-line);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.content-block h2 { margin-top: 0; }
.content-block h3 { margin-top: 1.5rem; }
.content-block p:last-child { margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq details {
  border-bottom: 1px solid var(--surface-line);
  padding: 1rem 0;
}
.faq details:last-child { border-bottom: none; }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--brand);
  flex-shrink: 0;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0.75rem 0 0; color: var(--text-muted); }

/* ---------- Category Grid ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
.cat-card {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-dark);
  display: block;
  color: #fff;
}
.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.cat-card:hover img { transform: scale(1.05); }
.cat-card .cat-label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem 0.75rem 0.75rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  font-weight: 700;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--surface-dark);
  border-top: 1px solid var(--surface-line);
  padding: 2rem 0 1.5rem;
  margin-top: 3rem;
}
.site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.site-footer .footer-links a { color: var(--text-muted); }
.site-footer .footer-links a:hover { color: var(--text-main); text-decoration: none; }
.site-footer .footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}
.site-footer .footer-legal a { color: var(--text-main); }
.site-footer p.copyright {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Age Gate ---------- */
#age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
}
html.verified #age-gate { display: none !important; }
.age-gate-card {
  max-width: 28rem;
  padding: 0 1.5rem;
  text-align: center;
}
.age-gate-card .gate-icon { font-size: 2.5rem; color: var(--brand); }
.age-gate-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 1rem 0 0.5rem;
}
.age-gate-card p.lead {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}
.age-gate-checks {
  text-align: left;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.age-gate-checks label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
}
.age-gate-checks input {
  margin-top: 3px;
  accent-color: var(--brand);
}
.age-gate-checks strong { color: var(--text-main); }
.age-gate-checks a { color: var(--brand); text-decoration: underline; }
.btn-enter {
  width: 100%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  padding: 0.75rem;
  border-radius: var(--radius-full);
  border: none;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.btn-enter:hover { background: var(--brand-dim); }
.btn-exit {
  width: 100%;
  background: var(--surface-dark);
  color: var(--text-main);
  padding: 0.75rem;
  border-radius: var(--radius-full);
  border: none;
}
#gate-error {
  display: none;
  color: var(--danger);
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}
#gate-error.visible { display: block; }

/* ---------- Forms ---------- */
.form-field { margin-bottom: 1rem; }
.form-field label { display: block; font-weight: 600; margin-bottom: 0.25rem; font-size: 0.875rem; }
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--surface-line);
  border-radius: var(--radius);
  font: inherit;
  color: var(--text-main);
  background: #fff;
}
.form-field textarea { min-height: 8rem; resize: vertical; }
.form-submit {
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
}
.form-submit:hover { background: var(--brand-dim); }

/* ---------- Utility ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-3 { margin-top: 1.5rem; }
.divider {
  border-top: 1px solid var(--surface-line);
  margin: 2rem 0;
}
.muted { color: var(--text-muted); }
.hero {
  background: #fff;
  border: 1px solid var(--surface-line);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  margin-bottom: 2rem;
}
.hero h1 { margin-bottom: 0.5rem; }
.hero p { color: var(--text-muted); max-width: 48rem; margin-bottom: 0; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--surface-line); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
