/* ============================================================
   SexLiveStream — dark premium adult live-cam design system
   Original stylesheet. No third-party code.
   ============================================================ */

:root {
  --bg: #08080e;
  --bg-2: #0e0e18;
  --surface: #14141f;
  --surface-2: #1c1c2b;
  --surface-3: #23233a;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f5fb;
  --muted: #a2a2ba;
  --muted-2: #74748c;
  --accent: #ff2d75;
  --accent-2: #8a2cff;
  --grad: linear-gradient(120deg, #ff2d75 0%, #8a2cff 100%);
  --live: #ff2d55;
  --green: #2ee6a8;
  --amber: #ffcc4d;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.35);
  --maxw: 1280px;
  --maxw-wide: 1800px;
  --header-h: 68px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 15% -5%, rgba(138, 44, 255, 0.18), transparent 60%),
    radial-gradient(1000px 500px at 100% 0%, rgba(255, 45, 117, 0.16), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
button { font: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }

/* Full-width directory pages: cam grids, category grids and the homepage.
   The wrapper is widened to near full screen (up to 1800px) while long-form
   copy (.narrow / .prose) stays constrained for readability. */
.page-wide .container {
  width: min(var(--maxw-wide), calc(100% - 32px));
  max-width: none;
  padding-inline: 0;
}
.page-wide .container.narrow,
.page-wide .container.prose,
.page-wide .narrow {
  width: min(820px, calc(100% - 32px));
  max-width: 820px;
}
.page-wide .faq { max-width: 900px; }
@media (max-width: 767px) {
  .page-wide .container { width: calc(100% - 24px); }
  .page-wide .container.narrow,
  .page-wide .container.prose,
  .page-wide .narrow { width: calc(100% - 24px); }
}
@media (min-width: 1200px) {
  .page-wide .post-list { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}
.sr-only, .skip-link {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 10px; left: 10px; width: auto; height: auto; clip: auto;
  z-index: 200; background: var(--accent); color: #fff; padding: 10px 14px; border-radius: 8px;
}
.linklike { background: none; border: 0; color: var(--accent); text-decoration: underline; padding: 0; }

/* ------------------------------- header ------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 8, 14, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header__bar { display: flex; align-items: center; gap: 18px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.22rem; letter-spacing: -0.03em; white-space: nowrap; }
.logo__mark { display: inline-flex; filter: drop-shadow(0 6px 16px rgba(255, 45, 117, 0.4)); }
.logo__text { color: var(--text); }
.logo__accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: block; padding: 9px 13px; border-radius: 10px; font-weight: 600;
  font-size: 0.92rem; color: var(--muted); transition: 0.18s;
}
.nav__link:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }

.header__tools { display: flex; align-items: center; gap: 12px; }
.search {
  display: flex; align-items: center; gap: 8px; color: var(--muted-2);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 8px 14px; min-width: 250px; transition: 0.2s;
}
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 45, 117, 0.18); }
.search input { background: none; border: 0; color: var(--text); outline: none; width: 100%; font-size: 0.9rem; }
.search input::placeholder { color: var(--muted-2); }

.nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: 0; padding: 10px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.2s; }
.mobile-nav { display: none; border-top: 1px solid var(--border); padding: 14px 18px 20px; background: var(--bg-2); }
.mobile-nav ul { list-style: none; padding: 0; margin: 0 0 14px; }
.mobile-nav a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--border); font-weight: 600; }
.mobile-nav.open { display: block; }

/* ------------------------------- buttons ------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 12px; font-weight: 700; font-size: 0.92rem;
  border: 1px solid transparent; transition: 0.18s; cursor: pointer; white-space: nowrap;
}
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(255, 45, 117, 0.32); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(255, 45, 117, 0.45); }
.btn--ghost { background: rgba(255, 255, 255, 0.06); color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn--outline { background: transparent; border-color: var(--accent); color: var(--accent); }
.btn--outline:hover { background: rgba(255, 45, 117, 0.12); }
.btn--sm { padding: 8px 13px; font-size: 0.84rem; border-radius: 10px; }
.btn--lg { padding: 14px 26px; font-size: 1rem; border-radius: 14px; }
.btn--block { width: 100%; }

/* ------------------------------- badges ------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px; font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 8px; border-radius: 7px; line-height: 1;
}
.badge--age { background: var(--grad); color: #fff; }

/* -------------------------------- hero -------------------------------- */
.hero { position: relative; padding: 34px 0 12px; }
.hero__inner { max-width: 900px; }
.hero h1 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); margin-bottom: 12px; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--muted); font-size: 1.05rem; max-width: 720px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 6px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 22px; }
.hero__stat b { display: block; font-size: 1.5rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__stat span { color: var(--muted); font-size: 0.85rem; }

/* --------------------- CrakRevenue live cam widget --------------------- */
/* The third-party widget injects its own markup. We only reserve a centred,
   overflow-safe container so it never breaks the page or causes sideways
   scrolling. min-height reduces layout shift while the tag loads. */
.cam-widget {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 22px auto 8px;
  min-height: 460px;
  overflow: hidden;
  text-align: center;
}
.cam-widget > * { max-width: 100%; margin-left: auto; margin-right: auto; }
.cam-widget iframe { width: 100%; max-width: 100%; border: 0; display: block; background: transparent; }
.cam-widget img { max-width: 100%; height: auto; }
.page-wide .cam-widget,
.page-wide .cam-widget > iframe { width: 100% !important; max-width: none !important; }

/* ------------------------------- sections ------------------------------- */
.section { padding: 46px 0; }
.section--tight { padding: 30px 0; }
.section__title { font-size: clamp(1.35rem, 2.4vw, 1.85rem); margin-bottom: 6px; }
.section__lead { color: var(--muted); max-width: 760px; margin-bottom: 24px; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.cat-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.cat-card {
  display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); transition: 0.18s;
}
.cat-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.cat-card__name { font-weight: 700; font-size: 1.02rem; }
.cat-card__blurb { color: var(--muted); font-size: 0.85rem; }
.cat-card__cta { color: var(--accent); font-size: 0.82rem; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; margin-top: auto; }

/* ----------------------------- CTA banner ----------------------------- */
.cta-banner {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: radial-gradient(600px 300px at 90% 10%, rgba(138, 44, 255, 0.4), transparent 60%), linear-gradient(120deg, #25123a, #3a1030);
  border: 1px solid rgba(255, 255, 255, 0.12); padding: 40px; text-align: center;
}
.cta-banner h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.cta-banner p { color: #e6d9f5; max-width: 640px; margin: 0 auto 22px; }
.cta-banner__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* --------------------------- info / trust row --------------------------- */
.trust { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.trust__item { display: flex; gap: 12px; padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.trust__item svg { color: var(--accent); flex: 0 0 auto; margin-top: 2px; }
.trust__item b { display: block; }
.trust__item span { color: var(--muted); font-size: 0.88rem; }

/* ------------------------------ article/SEO ------------------------------ */
.prose { max-width: 820px; }
.prose h2 { margin-top: 1.6em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.3em; font-size: 1.18rem; }
.prose p, .prose li { color: #d9d9e6; }
.prose a { color: var(--accent); text-decoration: underline; }
.prose img { border-radius: var(--radius); margin: 18px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 0.92rem; }
.prose th, .prose td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.prose th { background: var(--surface-2); }
.prose blockquote { border-left: 3px solid var(--accent); margin: 18px 0; padding: 4px 18px; color: var(--muted); background: var(--surface); border-radius: 0 12px 12px 0; }
.narrow { max-width: 820px; }

.breadcrumbs { padding: 16px 18px 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: 0.82rem; color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--muted-2); }
.breadcrumbs a:hover { color: var(--accent); }

.page-head { padding: 26px 0 6px; }
.page-head h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.page-head .lead { color: var(--muted); font-size: 1.05rem; max-width: 780px; }
.disclosure { font-size: 0.8rem; color: var(--muted-2); border-left: 3px solid var(--accent); padding-left: 12px; margin: 18px 0; }
.disclosure--info { border-left-color: var(--border-strong); color: var(--muted); }

/* --------------------------------- FAQ --------------------------------- */
.faq__item { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); margin-bottom: 10px; overflow: hidden; }
.faq__item summary { cursor: pointer; padding: 16px 18px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq__item[open] summary::after { content: "−"; }
.faq__a { padding: 0 18px 16px; color: var(--muted); }
.faq__a p:last-child { margin-bottom: 0; }

/* ------------------------------- footer ------------------------------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); margin-top: 40px; padding-top: 46px; }
.footer__grid { display: grid; gap: 30px; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; }
.footer__brand p { color: var(--muted); font-size: 0.9rem; }
.footer__badge { display: flex; align-items: center; gap: 8px; }
.footer__title { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-2); margin-bottom: 14px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer__col a { color: var(--muted); font-size: 0.9rem; }
.footer__col a:hover { color: var(--accent); }
.footer__legal { border-top: 1px solid var(--border); margin-top: 36px; padding: 22px 18px 40px; color: var(--muted-2); font-size: 0.8rem; }
.footer__legal p { margin: 0 0 8px; }
.footer__legal a { color: var(--muted); text-decoration: underline; }

/* ------------------------------ HTML sitemap ------------------------------ */
.sitemap__grid { display: grid; gap: 34px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.sitemap__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.sitemap__list a { color: var(--muted); font-size: 0.9rem; }
.sitemap__list a:hover { color: var(--accent); }

/* --------------------------- cookie consent --------------------------- */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 250; padding: 12px; }
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner {
  max-width: var(--maxw); margin: 0 auto; background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--radius); padding: 14px 18px; display: flex; align-items: center;
  gap: 16px; flex-wrap: wrap; box-shadow: var(--shadow-soft);
}
.cookie-banner__inner p { margin: 0; color: var(--muted); font-size: 0.86rem; flex: 1 1 380px; }
.cookie-banner__inner a { color: var(--accent); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 8px; flex: 0 0 auto; }

/* ------------------------------ age gate ------------------------------ */
.agegate { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: rgba(4, 4, 8, 0.94); backdrop-filter: blur(10px); padding: 20px; }
.agegate[hidden] { display: none; }
.agegate__box { max-width: 480px; width: 100%; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); padding: 34px; text-align: center; box-shadow: var(--shadow); }
.agegate__logo { display: flex; justify-content: center; margin-bottom: 16px; }
.agegate__box p { color: var(--muted); }
.agegate__actions { display: grid; gap: 10px; margin: 20px 0 14px; }
.agegate__fine { font-size: 0.76rem; color: var(--muted-2); }

/* -------------------------------- 404 -------------------------------- */
.error-page { text-align: center; padding: 70px 0; }
.error-page .code { font-size: clamp(4rem, 16vw, 9rem); font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }

/* ---------------------------- blog listing ---------------------------- */
.blog-toolbar { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted);
  padding: 8px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
  line-height: 1; cursor: pointer; transition: 0.16s;
}
.chip:hover { color: var(--text); border-color: var(--border-strong); }
.chip.is-active { background: var(--grad); border-color: transparent; color: #fff; }
.chip__count { font-size: 0.72rem; font-weight: 800; opacity: 0.8; background: rgba(0,0,0,0.22); padding: 1px 7px; border-radius: 999px; }

.post-list { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 22px; }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: 0.22s; }
.post-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow-soft); }
.post-card[hidden] { display: none; }
.post-card__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #141126; }
.post-card__media picture { display: block; height: 100%; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__badge {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 800;
  color: #fff; background: rgba(8,8,14,0.72); border: 1px solid rgba(255,255,255,0.22);
  padding: 5px 10px; border-radius: 999px;
}
.post-card__body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__cat { margin: 0; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); font-weight: 800; }
.post-card__title { margin: 0; font-size: 1.2rem; }
.post-card__title a { color: var(--text); }
.post-card__excerpt { color: var(--muted); font-size: 0.94rem; margin: 0; }
.post-card__foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: auto; color: var(--muted-2); font-size: 0.8rem; }
.post-card__dot { opacity: 0.6; }
.post-card__more { margin-left: auto; color: var(--accent); font-weight: 700; font-size: 0.82rem; }
.post-card__more:hover { text-decoration: underline; }
.post-card__meta { margin: 0; color: var(--muted-2); font-size: 0.82rem; }
.post-hero { padding: 24px 0 8px; }
.post-figure { margin: 18px 0 6px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: #141126; }
.post-figure picture { display: block; }
.post-figure img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.grid-empty { text-align: center; color: var(--muted); padding: 44px 0; }
.grid-empty[hidden] { display: none; }

/* ---------------------------- responsive ---------------------------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .search { min-width: 180px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .search { display: none; }
  .header__bar { gap: 10px; }
  .cam-widget { min-height: 420px; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 28px 20px; }
  .hero__stats { gap: 18px; }
  .post-list { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .hero { padding-top: 24px; }
  .hero h1 { font-size: 1.55rem; }
  .section { padding: 36px 0; }
  .section--tight { padding: 24px 0; }
  .page-head { padding-top: 20px; }
  .prose { font-size: 1.02rem; line-height: 1.72; }
  .breadcrumbs { font-size: 0.76rem; }
  .hero__cta .btn, .cta-banner__actions .btn { flex: 1 1 100%; }
  .footer__legal { padding: 18px 18px 32px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
