:root {
  --bg: #0f0c16;
  --surface: #1a1524;
  --surface-2: #241d33;
  --line: rgba(255, 255, 255, .08);
  --purple: #7d6bc8;
  --purple-deep: #4b3c86;
  --bone: #f6eedd;
  --text: #ece6f6;
  --muted: #a99fbf;
  --amber: #ffb020;
  --yt: #ff0033;
  --patreon: #ff424d;
  --radius: 18px;
  --display: "Lilita One", "Arial Black", system-ui, sans-serif;
  --body: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background-color: var(--bg);
  /* faint fossil footprints */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='%237d6bc8' fill-opacity='.05'%3E%3Cg transform='translate(50 60) rotate(-18)'%3E%3Cellipse cx='0' cy='-22' rx='5' ry='14'/%3E%3Cellipse cx='-15' cy='-12' rx='4.5' ry='12' transform='rotate(-32 -15 -12)'/%3E%3Cellipse cx='15' cy='-12' rx='4.5' ry='12' transform='rotate(32 15 -12)'/%3E%3Cellipse cx='0' cy='4' rx='11' ry='12'/%3E%3C/g%3E%3Cg transform='translate(160 165) rotate(14)'%3E%3Cellipse cx='0' cy='-22' rx='5' ry='14'/%3E%3Cellipse cx='-15' cy='-12' rx='4.5' ry='12' transform='rotate(-32 -15 -12)'/%3E%3Cellipse cx='15' cy='-12' rx='4.5' ry='12' transform='rotate(32 15 -12)'/%3E%3Cellipse cx='0' cy='4' rx='11' ry='12'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  color: var(--text);
  font: 400 1rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.icon { width: 1.2em; height: 1.2em; flex: none; }

/* ---------- buttons ---------- */
.btn {
  --c: var(--purple);
  display: inline-flex; align-items: center; gap: .55em;
  padding: .7em 1.2em;
  border: 0; border-radius: 999px;
  background: var(--c); color: #fff;
  font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer;
  box-shadow: 0 4px 0 color-mix(in srgb, var(--c) 55%, #000);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 color-mix(in srgb, var(--c) 55%, #000); filter: brightness(1.08); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 color-mix(in srgb, var(--c) 55%, #000); }
.btn--yt { --c: var(--yt); }
.btn--patreon { --c: var(--patreon); }
.btn--ig { --c: #d62976; background: linear-gradient(45deg, #feda75, #fa7e1e 25%, #d62976 55%, #962fbf 80%, #4f5bd5); }
.btn--ghost { --c: var(--surface-2); color: var(--text); }
.btn--lg { font-size: 1.05rem; padding: .85em 1.45em; }
.btn--sm { font-size: .9rem; padding: .5em 1em; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner { display: flex; align-items: center; gap: 1.5rem; height: 64px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--display); font-size: 1.3rem; letter-spacing: .03em; color: var(--bone); }
.brand img { border-radius: 50%; }
.nav { display: flex; gap: 1.4rem; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; transition: color .15s; }
.nav a:hover { color: var(--bone); }
@media (max-width: 760px) { .nav { display: none; } .topbar .btn { margin-left: auto; } }

/* ---------- hero ---------- */
.hero { position: relative; padding-bottom: 3.5rem; }
.hero__banner { position: relative; height: clamp(170px, 22vw, 340px); overflow: hidden; }
.hero__banner img { width: 100%; height: 100%; object-fit: cover; object-position: 56% 40%; }
.hero__banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(15, 12, 22, .1) 30%, var(--bg) 100%),
              radial-gradient(ellipse at 50% 120%, rgba(125, 107, 200, .35), transparent 60%);
}
.hero__body { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; margin-top: -88px; }
.hero__logo {
  width: 150px; height: 150px; border-radius: 50%;
  border: 5px solid var(--bg);
  box-shadow: 0 0 0 3px var(--purple), 0 18px 50px rgba(125, 107, 200, .45);
  animation: stomp 3.5s ease-in-out infinite;
}
@keyframes stomp { 0%, 88%, 100% { transform: translateY(0) rotate(0); } 92% { transform: translateY(-6px) rotate(-3deg); } 96% { transform: translateY(0) rotate(2deg); } }
.display {
  margin: .9rem 0 .2rem;
  font: 400 clamp(2.8rem, 8vw, 5.4rem)/1 var(--display);
  letter-spacing: .04em; color: var(--bone);
  text-shadow: 3px 3px 0 #000, 6px 6px 0 var(--purple-deep);
}
.display--md { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0 0 .5rem; }
.hero__tagline { max-width: 38rem; margin: .8rem auto 1.8rem; font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; }

/* ---------- sections ---------- */
.section { padding: 3.5rem 0; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(125, 107, 200, .08) 20%, rgba(125, 107, 200, .08) 80%, transparent); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; }
.h2 { margin: 0; font: 400 clamp(1.9rem, 4vw, 2.6rem)/1.05 var(--display); color: var(--bone); letter-spacing: .02em; }
.eyebrow { display: block; margin-bottom: .35rem; font: 700 .78rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--amber); }
.more { display: inline-flex; align-items: center; gap: .35em; color: var(--muted); text-decoration: none; font-weight: 500; white-space: nowrap; }
.more:hover { color: var(--bone); }
.meta { margin: .35rem 0 0; font-size: .88rem; color: var(--muted); }
.badge { display: inline-block; padding: .2em .65em; border-radius: 6px; background: var(--amber); color: #1a1208; font: 700 .72rem/1.4 var(--body); letter-spacing: .1em; }
.badge--on { position: absolute; top: .7rem; left: .7rem; }

/* ---------- play buttons & thumbs ---------- */
.play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  display: grid; place-items: center;
  width: 78px; height: 78px; border-radius: 50%;
  background: var(--yt); color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  transition: transform .2s ease;
}
.play .icon { width: 42px; height: 42px; margin-left: 4px; }
.play--sm { width: 54px; height: 54px; opacity: 0; transform: scale(.8); transition: opacity .2s, transform .2s; }
.play--sm .icon { width: 28px; height: 28px; margin-left: 3px; }
.lite, .card__thumb, .short__thumb {
  position: relative; display: block; width: 100%; padding: 0; border: 0;
  background: #000; cursor: pointer; overflow: hidden;
}
.lite img, .card__thumb img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s ease, filter .3s; }
.lite:hover .play { transform: scale(1.08); }
.lite:hover img, .card:hover .card__thumb img, .short:hover img { transform: scale(1.04); }
.card:hover .play--sm, .short:hover .play--sm, :focus-visible > .play--sm { opacity: 1; transform: scale(1); }

/* ---------- featured ---------- */
.featured {
  display: grid; grid-template-columns: 1.55fr 1fr; gap: 2rem; align-items: center;
  padding: 1rem; border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
}
.featured__player { border-radius: var(--radius); overflow: hidden; }
.featured__player iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.featured__info { padding: .5rem 1rem .5rem 0; }
.featured__title { margin: .6rem 0 0; font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.25; color: var(--bone); }
.featured__desc { margin: 1rem 0 0; color: var(--muted); overflow-wrap: anywhere; }
.featured__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.4rem; }
@media (max-width: 860px) {
  .featured { grid-template-columns: 1fr; gap: 1rem; }
  .featured__info { padding: 0 .5rem .75rem; }
}

/* ---------- video grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.card {
  border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .2s ease, border-color .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(125, 107, 200, .5); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.card__body { padding: 1rem 1.1rem 1.2rem; }
.card__title { margin: 0; font-size: 1.02rem; line-height: 1.35; font-weight: 700; color: var(--bone);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- shorts ---------- */
.shorts {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 210px); gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: .25rem .25rem 1rem;
  scrollbar-width: thin; scrollbar-color: var(--purple) transparent;
}
.short { scroll-snap-align: start; }
.short__thumb { border-radius: var(--radius); aspect-ratio: 9 / 16; border: 1px solid var(--line); }
.short__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.short__thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .85), transparent 55%); }
.short__title, .short__views { position: absolute; left: .85rem; right: .85rem; z-index: 1; text-align: left; }
.short__title { bottom: 2.1rem; font-weight: 700; font-size: .92rem; line-height: 1.3; color: #fff;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.short__views { bottom: .8rem; font-size: .8rem; color: rgba(255, 255, 255, .75); }
.short .play--sm { z-index: 1; }

/* ---------- instagram ---------- */
.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
@media (max-width: 760px) { .ig-grid { grid-template-columns: repeat(2, 1fr); } }
.ig { position: relative; display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--surface); }
.ig img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ig:hover img { transform: scale(1.06); }
.ig__reel { position: absolute; top: .6rem; right: .6rem; color: #fff; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .6)); }
.ig__caption {
  position: absolute; inset: auto 0 0; padding: 2rem .8rem .7rem; font-size: .82rem; line-height: 1.35; color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, .8), transparent);
  opacity: 0; transition: opacity .2s;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ig:hover .ig__caption, .ig:focus-visible .ig__caption { opacity: 1; }
.ig-card {
  display: flex; align-items: center; gap: 1.5rem; padding: 1.5rem 1.75rem;
  border-radius: var(--radius); text-decoration: none;
  background: linear-gradient(120deg, rgba(214, 41, 118, .16), rgba(79, 91, 213, .14)), var(--surface);
  border: 1px solid var(--line); transition: transform .2s, border-color .2s;
}
.ig-card:hover { transform: translateY(-3px); border-color: rgba(214, 41, 118, .5); }
.ig-card__ring { flex: none; padding: 4px; border-radius: 50%; background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5); }
.ig-card__ring img { border-radius: 50%; border: 3px solid var(--surface); }
.ig-card__text { display: flex; flex-direction: column; gap: .2rem; color: var(--muted); }
.ig-card__text strong { font-size: 1.25rem; color: var(--bone); }
.ig-card .btn { margin-left: auto; }
@media (max-width: 640px) { .ig-card { flex-direction: column; text-align: center; } .ig-card .btn { margin: 0; } }

/* ---------- patreon band ---------- */
.support { padding: 3.5rem 0 4.5rem; }
.support__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 66, 77, .35), transparent 45%),
    linear-gradient(135deg, var(--purple-deep), #2a2050);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
}
.support p { max-width: 36rem; margin: 0; color: #ddd5f0; font-size: 1.08rem; }
@media (max-width: 760px) { .support__inner { flex-direction: column; text-align: center; } }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 2rem 0 2.5rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.footer__social { display: flex; gap: .6rem; margin-left: auto; }
.footer__social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--surface-2); color: var(--muted); transition: color .15s, background .15s; }
.footer__social a:hover { color: #fff; background: var(--purple); }
.footer__small { flex-basis: 100%; margin: 0; font-size: .82rem; color: var(--muted); }

/* ---------- empty state ---------- */
.empty { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 3rem; border-radius: var(--radius); background: var(--surface); text-align: center; color: var(--muted); }

/* ---------- modal player ---------- */
.player { width: min(1100px, 94vw); padding: 0; border: 0; border-radius: var(--radius); background: #000; overflow: visible; }
.player.is-vertical { width: min(420px, 92vw); }
.player::backdrop { background: rgba(8, 6, 12, .85); backdrop-filter: blur(6px); }
.player__frame iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); }
.player.is-vertical .player__frame iframe { aspect-ratio: 9 / 16; max-height: 86vh; }
.player__close {
  position: absolute; top: -18px; right: -18px;
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--bone); color: #000; font-size: 1.6rem; line-height: 1;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .5);
}
@media (max-width: 600px) { .player__close { top: -52px; right: 0; } }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
