*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0c0709;
  --bg-elevated: #180e12;
  --card: #21141a;
  --coral: #ff4d6d;
  --coral-deep: #d6284a;
  --gold: #f0c14b;
  --wine: #8b1e3f;
  --cream: #f7ebe3;
  --muted: #c9a8b0;
  --online: #3dff9a;
  --download: #ff4d6d;
  --radius: 18px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --cta-h: 78px;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Figtree", system-ui, sans-serif;
  background: var(--bg);
  color: var(--cream);
  min-height: 100dvh;
  overflow-x: hidden;
  line-height: 1.45;
}

.bg-effects {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    url("../images/bgc.jpg") center / cover no-repeat fixed;
}

.bg-effects::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 7, 9, 0.55) 0%,
    rgba(12, 7, 9, 0.68) 45%,
    rgba(12, 7, 9, 0.88) 100%
  );
}

.bg-effects::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.page {
  width: min(100%, 480px);
  margin: 0 auto;
  padding: 16px 14px calc(var(--cta-h) + 20px + var(--safe-bottom));
}

.brand {
  text-align: center;
  padding: 18px 8px 10px;
  animation: rise 0.7s ease both;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(255, 77, 109, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.logo {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2rem, 8vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(120deg, var(--cream) 20%, var(--gold) 55%, var(--coral) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tagline em {
  color: var(--gold);
  font-style: normal;
}

.hero {
  margin: 14px 0 18px;
  padding: 18px 16px;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 77, 109, 0.95), rgba(139, 30, 63, 0.92));
  box-shadow: 0 16px 40px rgba(214, 40, 74, 0.28);
  position: relative;
  overflow: hidden;
  animation: rise 0.8s ease 0.08s both;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.16) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: shine 4.5s ease-in-out infinite;
}

.hero-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--online);
  box-shadow: 0 0 0 0 rgba(61, 255, 154, 0.55);
  animation: pulse 1.6s infinite;
}

.hero-count {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2.8rem, 12vw, 3.4rem);
  line-height: 0.95;
  color: var(--gold);
  text-shadow: 0 0 28px rgba(240, 193, 75, 0.45);
}

.hero-count span {
  display: block;
  font-family: "Figtree", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(247, 235, 227, 0.88);
  margin-top: 4px;
}

.hero-copy {
  margin-top: 12px;
  font-size: 0.98rem;
  font-weight: 600;
  color: rgba(247, 235, 227, 0.95);
}

.hero-copy strong {
  color: var(--gold);
}

.filters {
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 77, 109, 0.22);
  border-radius: var(--radius);
  padding: 12px;
  margin-bottom: 16px;
  animation: rise 0.8s ease 0.16s both;
}

.filter-row + .filter-row {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.filter-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.filter-options {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.filter-options::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--cream);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: 0.2s ease;
  white-space: nowrap;
}

.filter-btn:active {
  transform: scale(0.97);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 77, 109, 0.35);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  margin: 6px 2px 12px;
  animation: rise 0.8s ease 0.22s both;
}

.section-head h2 {
  font-family: "Archivo Black", sans-serif;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.section-head p {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.girls-section {
  animation: rise 0.85s ease 0.28s both;
}

.girls-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.girl-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 3 / 4.2;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: transform 0.22s ease;
}

.girl-card:active {
  transform: scale(0.98);
}

.girl-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.girl-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 7, 9, 0.05) 28%,
    rgba(12, 7, 9, 0.4) 58%,
    rgba(12, 7, 9, 0.96) 100%
  );
  pointer-events: none;
}

.badge {
  position: absolute;
  z-index: 2;
  top: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.badge-dist {
  left: 8px;
  background: rgba(0, 0, 0, 0.55);
  color: var(--cream);
}

.badge-online {
  right: 8px;
  background: rgba(61, 255, 154, 0.18);
  color: var(--online);
  border: 1px solid rgba(61, 255, 154, 0.35);
}

.girl-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 10px;
}

.girl-name {
  font-family: "Archivo Black", sans-serif;
  font-size: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.girl-kink {
  margin-top: 4px;
  font-size: 0.68rem;
  color: rgba(247, 235, 227, 0.88);
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 7px;
}

.tag {
  font-size: 0.6rem;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 6px;
  background: rgba(255, 77, 109, 0.28);
  border: 1px solid rgba(255, 77, 109, 0.45);
  color: #ffd0da;
}

.tag.hot {
  background: rgba(240, 193, 75, 0.2);
  border-color: rgba(240, 193, 75, 0.5);
  color: var(--gold);
}

.empty {
  text-align: center;
  padding: 48px 18px;
  color: var(--muted);
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

.disclaimer {
  text-align: center;
  margin-top: 18px;
  color: rgba(201, 168, 176, 0.7);
  font-size: 0.75rem;
}

.cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 10px 14px calc(10px + var(--safe-bottom));
  background: linear-gradient(180deg, transparent, rgba(12, 7, 9, 0.92) 28%, rgba(12, 7, 9, 0.98));
}

.cta-inner {
  width: min(100%, 480px);
  margin: 0 auto;
}

.cta-btn {
  width: 100%;
  border: 0;
  border-radius: 18px;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--gold), var(--coral) 55%, var(--coral-deep));
  box-shadow: 0 12px 30px rgba(255, 77, 109, 0.4);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  animation: ctaPulse 2.4s ease-in-out infinite;
}

.cta-ico {
  font-size: 1.2rem;
  line-height: 1;
}

.cta-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: translateX(-120%);
  animation: shine 3.2s ease-in-out infinite;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  padding: 16px;
}

.modal.open {
  display: flex;
}

.modal-card {
  position: relative;
  width: min(100%, 440px);
  max-height: min(88dvh, 720px);
  overflow: auto;
  background: var(--card);
  border-radius: 24px 24px 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: sheetUp 0.28s ease;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

.modal-media {
  position: relative;
  height: min(52dvh, 420px);
}

.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-info {
  padding: 16px 16px 20px;
}

.modal-info h3 {
  font-family: "Archivo Black", sans-serif;
  font-size: 1.5rem;
}

.modal-info p {
  margin-top: 8px;
  color: rgba(247, 235, 227, 0.88);
  font-weight: 600;
}

.modal-info .tags {
  margin: 12px 0 16px;
}

.modal-download {
  width: 100%;
  border: 0;
  border-radius: 14px;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  cursor: pointer;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(61, 255, 154, 0.55);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(61, 255, 154, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(61, 255, 154, 0);
  }
}

@keyframes shine {
  0%,
  55% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

@keyframes ctaPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.015);
  }
}

@keyframes sheetUp {
  from {
    transform: translateY(24px);
    opacity: 0.4;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (min-width: 768px) {
  .page {
    padding-top: 28px;
  }

  .girls-grid {
    gap: 14px;
  }
}
