:root {
  --bg: #09090d;
  --bg-soft: #0d0d13;
  --surface: #12121a;
  --surface-raised: #171720;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f2ed;
  --muted: #9d9aa6;
  --muted-strong: #c4c0c8;
  --accent: #ff3b5c;
  --accent-soft: #ff9aae;
  --accent-warm: #ff7a45;
  --gold: #ffd39b;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

html:not(.age-ok) body {
  overflow: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% -8%, rgba(255, 59, 92, 0.1), transparent 30rem),
    radial-gradient(circle at 88% 12%, rgba(255, 122, 69, 0.06), transparent 26rem),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 75%);
  content: "";
  pointer-events: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  display: block;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--accent);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
}

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  border: 3px solid var(--bg);
  border-radius: 999px;
  background: #37343f;
}

::-webkit-scrollbar-thumb:hover {
  background: #4b4754;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 500;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  font-weight: 800;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

html:not(.age-ok) .skip-link,
body.modal-open .skip-link {
  display: none;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255, 59, 92, 0.55);
  animation: pulse 2.2s infinite;
}

/* --------------------------------------------------------------------------
   Age gate
   -------------------------------------------------------------------------- */

.gate {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 59, 92, 0.13), transparent 34rem),
    var(--bg);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

html.age-ok .gate {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.gate::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at center, #000, transparent 72%);
  content: "";
  pointer-events: none;
}

.gate__glow {
  position: absolute;
  top: -30%;
  right: -12%;
  width: min(76vw, 860px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 59, 92, 0.22), transparent 66%);
  filter: blur(34px);
  pointer-events: none;
}

.gate__card {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  padding: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(23, 23, 32, 0.92), rgba(12, 12, 17, 0.97));
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(22px);
}

.gate__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 40px;
}

.gate__brand {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.brand__dot {
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(255, 59, 92, 0.8);
}

.gate__age {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(255, 59, 92, 0.42);
  border-radius: 50%;
  background: rgba(255, 59, 92, 0.08);
  color: var(--accent-soft);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
}

.gate__title {
  max-width: 11ch;
  margin: 18px 0 18px;
  font-size: clamp(2.6rem, 6.8vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.gate__title em {
  color: var(--accent-soft);
  font-family: var(--serif);
  font-weight: 400;
}

.gate__description {
  max-width: 53ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.gate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.gate__legal {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #706d78;
  font-size: 0.69rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
}

.btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.btn--primary {
  background: linear-gradient(135deg, #ff4566, #ff7349);
  box-shadow: 0 10px 30px rgba(255, 59, 92, 0.22);
  color: #fff;
}

.btn--primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.btn--ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.065);
}

.btn--large {
  min-height: 50px;
  padding: 14px 20px;
  border-radius: 13px;
  font-size: 0.87rem;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.app {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  /* Nearly opaque on purpose: at 0.8 a bright creative scrolling underneath
     washed the bar with its colour, which read as an ad "stuck" behind the
     menu. The blur keeps the glassy feel without the tint. */
  background: rgba(9, 9, 13, 0.94);
  backdrop-filter: blur(20px) saturate(1.2);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 13px 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand__mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(145deg, #ff5b73, #ff784d);
  box-shadow: 0 6px 22px rgba(255, 59, 92, 0.28);
  color: #160b0e;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
}

.brand__name {
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand__dot {
  width: 5px;
  height: 5px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--accent);
}

.search {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 5px 5px 5px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.search:focus-within {
  border-color: rgba(255, 59, 92, 0.52);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px rgba(255, 59, 92, 0.1);
}

.search__icon {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #77737f;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.search__input {
  flex: 1;
  width: 100%;
  min-width: 0;
  padding: 8px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 0.87rem;
}

.search__input::placeholder {
  color: #75717d;
}

.search__input::-webkit-search-cancel-button {
  display: none;
}

.search__clear {
  display: grid;
  flex: none;
  width: 27px;
  height: 27px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.search__clear:hover {
  background: rgba(255, 255, 255, 0.13);
  color: var(--text);
}

.search__clear svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.search__submit {
  flex: none;
  min-height: 36px;
  padding: 8px 19px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff4566, #ff7349);
  color: #fff;
  font-size: 0.77rem;
  font-weight: 800;
  transition: filter 0.18s ease, transform 0.18s ease;
}

.search__submit:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

.header-nav {
  display: flex;
  justify-content: flex-end;
}

.nav-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted-strong);
  font-size: 0.78rem;
  font-weight: 800;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.nav-button:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.nav-button[aria-pressed="true"] {
  border-color: rgba(255, 59, 92, 0.42);
  background: rgba(255, 59, 92, 0.11);
  color: #ffb7c5;
}

.nav-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.nav-button[aria-pressed="true"] svg {
  fill: currentColor;
}

.nav-button__count {
  display: grid;
  min-width: 19px;
  height: 19px;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.62rem;
  line-height: 1;
}

@media (max-width: 340px) {
  .catalog,
  .hero,
  .site-header__inner {
    padding-right: 10px;
    padding-left: 10px;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.9fr);
  align-items: center;
  gap: 48px;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 66px 28px 52px;
}

.hero__title {
  max-width: 12ch;
  margin: 18px 0 22px;
  font-size: clamp(3.5rem, 6.8vw, 6.9rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.88;
}

.hero__title em {
  color: var(--accent-soft);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.hero__description {
  max-width: 50ch;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero__features li {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: #b6b1bc;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero__art {
  position: relative;
  min-height: 372px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 59, 92, 0.16), transparent 42%),
    linear-gradient(145deg, #15121b 0%, #0c0c12 56%, #0a0a0f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), var(--shadow);
  isolation: isolate;
}

.hero__art::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, #000, transparent 72%);
  content: "";
  pointer-events: none;
}

.hero__art::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 42px rgba(255, 255, 255, 0.018),
    0 0 0 84px rgba(255, 255, 255, 0.01);
  content: "";
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 196px;
  height: 196px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #ffc7ad 0%, #ff687f 24%, #ff3b5c 43%, #6c1d35 72%, #24101a 100%);
  box-shadow:
    0 0 70px rgba(255, 59, 92, 0.36),
    inset -18px -24px 50px rgba(20, 2, 8, 0.52);
  animation: float 7s ease-in-out infinite;
}

.hero__art-age {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.055);
  font-family: var(--serif);
  font-size: 11rem;
  font-style: italic;
  line-height: 1;
  user-select: none;
}

.hero__art-card {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background: rgba(10, 10, 16, 0.62);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
}

.hero__art-card--top {
  top: 24px;
  left: 24px;
}

.hero__art-card--bottom {
  right: 24px;
  bottom: 24px;
  flex-direction: row;
  align-items: center;
  gap: 9px;
}

.hero__art-label {
  color: var(--muted);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero__art-value {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero__art-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #67e2a5;
  box-shadow: 0 0 14px rgba(103, 226, 165, 0.8);
}

/* --------------------------------------------------------------------------
   Catalog and filters
   -------------------------------------------------------------------------- */

.catalog {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 28px 86px;
}

.catalog__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 30px;
  border-top: 1px solid var(--line);
}

.chips {
  display: flex;
  gap: 7px;
  min-width: 0;
  padding-bottom: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.chips::-webkit-scrollbar {
  display: none;
}

.chip {
  display: inline-flex;
  flex: none;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.chip:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
}

.chip.is-active {
  border-color: rgba(255, 59, 92, 0.38);
  background: rgba(255, 59, 92, 0.12);
  color: #ffc0cb;
}

.sort-control {
  display: flex;
  flex: none;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  min-height: 38px;
  padding: 8px 38px 8px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  appearance: none;
  background: var(--surface);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}

.select-wrap select:hover {
  border-color: var(--line-strong);
}

.select-wrap svg {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 15px;
  height: 15px;
  transform: translateY(-50%);
  fill: none;
  stroke: var(--muted);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  pointer-events: none;
}

.results {
  scroll-margin-top: 92px;
}

.results__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.results__title {
  margin: 7px 0 0;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.results__meta {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.74rem;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Video grid
   -------------------------------------------------------------------------- */

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 14px;
  min-height: 280px;
}

.video-card {
  position: relative;
  min-width: 0;
  animation: card-in 0.42s both;
  animation-delay: calc(var(--card-index, 0) * 28ms);
}

.video-card__open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
}

.video-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(circle at 60% 30%, rgba(255, 59, 92, 0.1), transparent 60%),
    linear-gradient(135deg, #1a1822, #0d0d12);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.video-card__open:hover .video-card__thumb,
.video-card__open:focus-visible .video-card__thumb {
  border-color: rgba(255, 59, 92, 0.36);
  box-shadow: 0 15px 38px rgba(0, 0, 0, 0.36);
}

.video-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.35s ease;
}

.video-card__thumb--fallback::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 62% 34%, rgba(255, 59, 92, 0.18), transparent 54%),
    linear-gradient(135deg, #1a1822, #0d0d12);
  color: rgba(255, 255, 255, 0.14);
  content: "18+";
  font-family: var(--serif);
  font-size: 3.2rem;
  font-style: italic;
}

.video-card__open:hover img {
  transform: scale(1.045);
  filter: saturate(1.06);
}

.video-card__thumb::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(to top, rgba(3, 3, 6, 0.8), transparent 42%),
    linear-gradient(to bottom, rgba(3, 3, 6, 0.26), transparent 32%);
  content: "";
  pointer-events: none;
}

.video-card__play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  transform: translate(-50%, -50%) scale(0.86);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(8, 8, 12, 0.54);
  opacity: 0;
  backdrop-filter: blur(9px);
  transition: opacity 0.22s ease, transform 0.22s ease, background 0.22s ease;
}

.video-card__play svg {
  width: 17px;
  height: 17px;
  margin-left: 2px;
  fill: #fff;
}

.video-card__open:hover .video-card__play,
.video-card__open:focus-visible .video-card__play {
  transform: translate(-50%, -50%) scale(1);
  background: rgba(255, 59, 92, 0.76);
  opacity: 1;
}

.video-card__duration,
.video-card__rate {
  position: absolute;
  z-index: 2;
  bottom: 9px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  border-radius: 6px;
  background: rgba(3, 3, 7, 0.78);
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  backdrop-filter: blur(6px);
}

.video-card__duration {
  right: 9px;
  color: #fff;
}

.video-card__rate {
  left: 9px;
  color: var(--gold);
}

.video-card__rate svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
}

.video-card__fav {
  position: absolute;
  z-index: 3;
  top: 9px;
  right: 9px;
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  background: rgba(5, 5, 9, 0.55);
  color: #fff;
  opacity: 0.88;
  backdrop-filter: blur(9px);
  transition: opacity 0.18s ease, color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.video-card__fav:hover {
  transform: scale(1.07);
  border-color: rgba(255, 255, 255, 0.3);
  opacity: 1;
}

.video-card__fav svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.video-card__fav[aria-pressed="true"] {
  border-color: rgba(255, 59, 92, 0.48);
  background: rgba(255, 59, 92, 0.2);
  color: #ff637d;
  opacity: 1;
}

.video-card__fav[aria-pressed="true"] svg {
  fill: currentColor;
}

.video-card__title {
  display: -webkit-box;
  overflow: hidden;
  min-height: 2.6em;
  margin: 11px 0 5px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.video-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
  color: #85818d;
  font-size: 0.68rem;
  font-weight: 600;
}

.video-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.video-card__meta svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

/* --------------------------------------------------------------------------
   Skeletons
   -------------------------------------------------------------------------- */

.skeleton-card {
  min-width: 0;
}

.skeleton {
  background: linear-gradient(100deg, #13131b 22%, #1c1c27 42%, #13131b 62%);
  background-size: 220% 100%;
  animation: shimmer 1.35s linear infinite;
}

.skeleton-thumb {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
}

.skeleton-line {
  height: 10px;
  margin-top: 12px;
  border-radius: 5px;
}

.skeleton-line--title {
  width: 91%;
}

.skeleton-line--short {
  width: 44%;
  margin-top: 9px;
}

/* --------------------------------------------------------------------------
   Empty, error and pagination
   -------------------------------------------------------------------------- */

.state-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 330px;
  padding: 52px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.014);
  text-align: center;
}

.state-panel__icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
}

.state-panel__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.state-panel h3 {
  margin: 0 0 7px;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.state-panel p {
  max-width: 44ch;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.state-panel--error .state-panel__icon {
  border-color: rgba(255, 59, 92, 0.32);
  background: rgba(255, 59, 92, 0.08);
  color: var(--accent-soft);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding-top: 42px;
}

.pagination__button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-strong);
  font-size: 0.76rem;
  font-weight: 800;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.pagination__button:hover:not(:disabled) {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.065);
  color: var(--text);
}

.pagination__button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.pagination__button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.pagination__status {
  min-width: 120px;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 700;
  text-align: center;
}

/* --------------------------------------------------------------------------
   SEO content
   -------------------------------------------------------------------------- */

.seo-content {
  max-width: 920px;
  margin-top: 8px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.seo-content h2 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.seo-content p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.75;
}

.seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.seo-links a {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted-strong);
  font-size: 0.72rem;
  font-weight: 700;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.seo-links a:hover {
  border-color: rgba(255, 59, 92, 0.34);
  background: rgba(255, 59, 92, 0.08);
  color: var(--text);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 26px 28px;
}

.site-footer p {
  margin: 0;
  color: #777380;
  font-size: 0.68rem;
  line-height: 1.55;
}

.site-footer p strong {
  color: var(--muted-strong);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer__copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.site-footer__actions {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.footer-language {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.footer-language .select-wrap select {
  min-height: 34px;
  padding: 6px 32px 6px 11px;
  font-size: 0.7rem;
  letter-spacing: 0;
  text-transform: none;
}

.footer-language .select-wrap svg {
  right: 10px;
  width: 13px;
  height: 13px;
}

.footer-telegram {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 59, 92, 0.28);
  border-radius: 12px;
  background: rgba(255, 59, 92, 0.07);
  color: var(--text);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.footer-telegram:hover {
  border-color: rgba(255, 59, 92, 0.55);
  background: rgba(255, 59, 92, 0.14);
  transform: translateY(-1px);
}

.footer-telegram svg {
  flex: none;
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.footer-telegram__text {
  display: grid;
  gap: 1px;
  line-height: 1.25;
}

.footer-telegram__text strong {
  font-size: 0.72rem;
  font-weight: 800;
}

.footer-telegram__text > span {
  color: var(--muted);
  font-size: 0.63rem;
}

.footer-top {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 6px;
  padding: 7px 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
}

.footer-top:hover {
  color: var(--text);
}

.footer-top svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

/* --------------------------------------------------------------------------
   Video modal
   -------------------------------------------------------------------------- */

.modal {
  position: fixed;
  z-index: 150;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 2, 5, 0.82);
  backdrop-filter: blur(12px);
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 32px 120px rgba(0, 0, 0, 0.68);
  transform: translateY(16px) scale(0.988);
  transition: transform 0.26s cubic-bezier(0.2, 0.75, 0.25, 1);
}

.modal.is-open .modal__panel {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  z-index: 5;
  top: 13px;
  right: 13px;
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(5, 5, 9, 0.7);
  color: #fff;
  backdrop-filter: blur(10px);
  transition: background 0.18s ease, transform 0.18s ease;
}

.modal__close:hover {
  transform: rotate(4deg) scale(1.05);
  background: rgba(255, 59, 92, 0.7);
}

.modal__close svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.modal__player {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 22px 22px 0 0;
  background: #050507;
}

#videoFrame {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.player-skeleton {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 59, 92, 0.12), transparent 50%),
    #08080c;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.spinner {
  width: 30px;
  height: 30px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

.modal__body {
  padding: 26px 28px 28px;
}

.modal__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}

.modal-telegram {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 59, 92, 0.3);
  border-radius: 14px;
  background: rgba(255, 59, 92, 0.075);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.modal-telegram:hover {
  border-color: rgba(255, 59, 92, 0.55);
  background: rgba(255, 59, 92, 0.14);
  transform: translateY(-1px);
}

.modal-telegram svg {
  flex: none;
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.modal-telegram__text {
  display: grid;
  gap: 2px;
  line-height: 1.3;
}

.modal-telegram__text strong {
  font-size: 0.78rem;
  font-weight: 800;
}

.modal-telegram__text span {
  color: var(--muted);
  font-size: 0.68rem;
}

.modal-telegram__arrow {
  margin-left: auto;
  color: var(--accent-soft);
  font-size: 0.95rem;
  font-weight: 800;
}

.modal__title {
  max-width: 26ch;
  margin: 8px 0 0;
  font-size: clamp(1.35rem, 2.6vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.save-button {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 7px;
  min-height: 39px;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted-strong);
  font-size: 0.74rem;
  font-weight: 800;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.save-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.save-button:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text);
}

.save-button[aria-pressed="true"] {
  border-color: rgba(255, 59, 92, 0.45);
  background: rgba(255, 59, 92, 0.13);
  color: #ffb0be;
}

.save-button[aria-pressed="true"] svg {
  fill: currentColor;
}

.video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 17px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.024);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.meta-pill svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.meta-pill--rating {
  border-color: rgba(255, 211, 155, 0.2);
  color: var(--gold);
}

.meta-pill--rating svg {
  fill: currentColor;
  stroke: none;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.tag {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: #898592;
  font-size: 0.64rem;
  font-weight: 700;
  line-height: 1.3;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.tag:hover {
  border-color: rgba(255, 59, 92, 0.34);
  background: rgba(255, 59, 92, 0.08);
  color: #ffb4c2;
}

.modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 23px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.modal__note {
  margin: 20px 0 0;
  color: #625e6a;
  font-size: 0.6rem;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Toast
   -------------------------------------------------------------------------- */

.toast {
  position: fixed;
  z-index: 400;
  bottom: 26px;
  left: 50%;
  padding: 12px 18px;
  transform: translate(-50%, 16px);
  border-radius: 999px;
  background: var(--text);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.45);
  color: #101014;
  font-size: 0.76rem;
  font-weight: 800;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.toast.is-visible {
  transform: translate(-50%, 0);
  visibility: visible;
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 59, 92, 0.52);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(255, 59, 92, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 59, 92, 0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translate(-50%, -50%);
  }
  50% {
    transform: translate(-50%, calc(-50% - 13px));
  }
}

@keyframes shimmer {
  to {
    background-position: -120% 0;
  }
}

@keyframes card-in {
  from {
    transform: translateY(9px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.78fr);
    gap: 34px;
  }

  .video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Desktop: mais colunas em vez de cards gigantes, com o cabeçalho, hero,
   catálogo e rodapé crescendo juntos para não desalinhar as bordas. */
@media (min-width: 1280px) {
  .site-header__inner,
  .hero,
  .catalog,
  .site-footer__inner {
    max-width: 1560px;
  }

  .video-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 1600px) {
  .site-header__inner,
  .hero,
  .catalog,
  .site-footer__inner {
    max-width: 1780px;
  }

  .video-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 24px 16px;
  }
}

@media (max-width: 900px) {
  .site-header__inner {
    grid-template-columns: auto 1fr;
    gap: 12px 18px;
  }

  .search {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .header-nav {
    grid-column: 2;
    grid-row: 1;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 50px;
  }

  .hero__title {
    max-width: 13ch;
  }

  .hero__art {
    min-height: 320px;
  }

  .catalog__toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 15px;
  }

  .chips {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .hero,
  .catalog {
    padding-right: 20px;
    padding-left: 20px;
  }

  .site-header__inner {
    padding-right: 20px;
    padding-left: 20px;
  }

  .site-footer__inner {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero {
    gap: 32px;
    padding-bottom: 42px;
  }

  .hero__title {
    font-size: clamp(3.15rem, 12vw, 5rem);
  }

  .hero__description {
    font-size: 0.92rem;
  }

  .results__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .results__meta {
    margin: 0;
    white-space: normal;
  }

  .video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
  }
}

@media (max-width: 640px) {
  .hero__art {
    display: none;
  }

  .gate {
    padding: 14px;
  }

  .gate__card {
    padding: 26px 22px;
    border-radius: 22px;
  }

  .gate__top {
    margin-bottom: 30px;
  }

  .gate__actions {
    flex-direction: column;
  }

  .gate__actions .btn {
    width: 100%;
  }

  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
  }

  .video-card__title {
    font-size: 0.82rem;
  }

  .video-card__meta {
    gap: 4px 7px;
    font-size: 0.63rem;
  }

  .video-card__play {
    display: none;
  }

  .modal {
    padding: 0;
  }

  .modal__panel {
    max-height: 100vh;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .modal__player {
    border-radius: 0;
  }

  .modal__body {
    padding: 22px 20px 28px;
  }

  .modal__heading {
    gap: 12px;
  }

  .save-button span {
    display: none;
  }

  .save-button {
    width: 39px;
    padding: 0;
    justify-content: center;
  }

  .modal__actions .btn {
    flex: 1 1 auto;
  }

  .pagination {
    gap: 9px;
  }

  .pagination__status {
    min-width: 98px;
    font-size: 0.67rem;
  }
}

@media (max-width: 470px) {
  .brand__name {
    display: none;
  }

  .site-header__inner {
    gap: 10px 12px;
  }

  .search__submit {
    padding: 8px 14px;
  }

  .hero {
    padding-top: 40px;
  }

  .hero__title {
    font-size: clamp(2.9rem, 13vw, 4.4rem);
  }

  .hero__features li {
    font-size: 0.6rem;
  }

  .catalog {
    padding-bottom: 62px;
  }

  .chip {
    padding: 8px 11px;
    font-size: 0.69rem;
  }

  .sort-control {
    width: 100%;
    justify-content: space-between;
  }

  .select-wrap {
    flex: 1;
  }

  .select-wrap select {
    width: 100%;
  }

  .video-card__thumb {
    border-radius: 11px;
  }

  .video-card__fav {
    width: 30px;
    height: 30px;
  }

  .video-card__rate {
    display: none;
  }

  .video-card__duration {
    right: 6px;
    bottom: 6px;
  }

  .toast {
    right: 14px;
    bottom: 16px;
    left: 14px;
    transform: translateY(16px);
    border-radius: 12px;
    text-align: center;
  }

  .toast.is-visible {
    transform: translateY(0);
  }
}

@media (max-width: 560px) {
  .site-footer__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 8px;
  }

  .footer-telegram {
    justify-content: center;
  }

  .footer-language {
    justify-content: center;
  }

  .footer-language .select-wrap {
    flex: 1;
  }

  .footer-language .select-wrap select {
    width: 100%;
  }

  .footer-top {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
