:root {
  --bg: #0c0a09;
  --bg-elev: #161210;
  --ink: #f5efe6;
  --muted: #b8a99a;
  --line: rgba(245, 239, 230, 0.12);
  --accent: #e85d04;
  --accent-2: #faa307;
  --ok: #2a9d4a;
  --danger: #d00000;
  --radius: 14px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

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

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body.gate-open { overflow: hidden; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff3 0 18%, transparent 19%),
    conic-gradient(from 210deg, var(--accent), var(--accent-2), #9b2226, var(--accent));
  box-shadow: 0 0 0 2px #0008;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
}

.brand-live {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--accent-2);
  border: 1px solid color-mix(in srgb, var(--accent-2) 45%, transparent);
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
}

/* Age gate */
.gate {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.gate.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.gate-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, #e85d0433, transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 100%, #9b222633, transparent 50%),
    linear-gradient(160deg, #1a1410, #0c0a09 45%, #120e0c);
}

.gate-panel {
  position: relative;
  width: min(440px, 100%);
  text-align: center;
  animation: rise 0.55s ease both;
}

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

.gate-brand { justify-content: center; margin-bottom: 1.25rem; }
.gate-brand .brand-name { font-size: 1.55rem; }

.gate-lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.98rem;
}

.gate-interest {
  margin: 0 0 0.75rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.interest-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-bottom: 1.15rem;
}

.interest-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: #ffffff0a;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.interest-btn:hover { transform: translateY(-1px); }
.interest-btn.is-active {
  background: linear-gradient(135deg, #e85d04, #faa307);
  border-color: transparent;
  color: #1a0f08;
}

.btn-enter {
  width: 100%;
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.2rem;
  font: inherit;
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #2a9d4a, #208b3a);
  box-shadow: 0 10px 30px #2a9d4a44;
  transition: transform 0.15s, filter 0.15s;
}

.btn-enter:hover { filter: brightness(1.06); transform: translateY(-1px); }

.gate-legal {
  margin: 1rem 0 0.75rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #8f8174;
}

.gate-exit {
  color: var(--muted);
  font-size: 0.85rem;
}

/* App shell */
.app {
  min-height: 100vh;
  transition: filter 0.35s ease;
}

.app.is-blurred {
  filter: blur(8px) brightness(0.45);
  pointer-events: none;
  user-select: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-inline-start: 0.25rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: #d0000022;
  color: #ff8a8a;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.live-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 0 0 #d0000088;
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 8px #d0000000; }
  100% { box-shadow: 0 0 0 0 #d0000000; }
}

.top-actions {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.lang-wrap select {
  appearance: none;
  background: #ffffff0d;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font: inherit;
  font-size: 0.8rem;
  max-width: 9.5rem;
  cursor: pointer;
}

.btn-ghost,
.btn-solid {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: transparent;
}

.btn-solid {
  color: #1a0f08;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.btn-solid.lg {
  display: inline-flex;
  padding: 0.85rem 1.25rem;
  font-size: 0.95rem;
}

.cat-bar {
  display: flex;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}

.cat-bar::-webkit-scrollbar { display: none; }

.cat-chip {
  flex: 0 0 auto;
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}

.cat-chip.is-active {
  color: var(--ink);
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  background: color-mix(in srgb, var(--accent) 18%, transparent);
}

.hero-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1rem 0.75rem;
  background:
    radial-gradient(ellipse 60% 80% at 0% 0%, #e85d0422, transparent 55%),
    linear-gradient(180deg, #161210, transparent);
}

.hero-copy h1 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 4vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-copy p {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
  line-height: 1.5;
}

.section { padding: 1rem; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.section-head a {
  color: var(--accent-2);
  text-decoration: none;
  font-size: 0.85rem;
}

.cam-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 700px) {
  .cam-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .cam-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .topbar, .cat-bar, .hero-strip, .section, .cta-band, .site-footer {
    padding-left: max(1.5rem, calc((100% - 1120px) / 2 + 1rem));
    padding-right: max(1.5rem, calc((100% - 1120px) / 2 + 1rem));
  }
}

.cam-card {
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, border-color 0.2s;
}

.cam-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
}

.cam-thumb {
  position: relative;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 25%, #fff2, transparent 35%),
    linear-gradient(155deg, hsl(var(--hue) 55% 28%), hsl(calc(var(--hue) + 40) 45% 12%));
  background-size: cover;
  background-position: center top;
}

.cam-thumb.has-photo {
  background-color: #1a1410;
}

.cam-initial {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  opacity: 0.35;
  letter-spacing: 0.04em;
}

.cam-live {
  position: absolute;
  top: 0.55rem;
  inset-inline-start: 0.55rem;
  background: var(--danger);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
}

.cam-viewers {
  position: absolute;
  top: 0.55rem;
  inset-inline-end: 0.55rem;
  background: #0008;
  backdrop-filter: blur(6px);
  font-size: 0.68rem;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
}

.cam-meta {
  padding: 0.55rem 0.65rem 0.7rem;
  font-size: 0.9rem;
}

.cta-band {
  margin: 1.5rem 1rem 2rem;
  padding: 1.75rem 1.25rem;
  border-radius: 18px;
  text-align: center;
  background:
    linear-gradient(135deg, #e85d0422, #faa30711),
    var(--bg-elev);
  border: 1px solid var(--line);
}

.cta-band h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
}

.cta-band p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.site-footer {
  padding: 1.5rem 1rem 2.5rem;
  border-top: 1px solid var(--line);
  color: #8f8174;
  font-size: 0.8rem;
  line-height: 1.5;
}

.site-footer p { margin: 0 0 0.5rem; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 0.75rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

@media (max-width: 640px) {
  .btn-ghost { display: none; }
  .live-pill span:last-child { display: none; }
}

/* RTL polish */
[dir="rtl"] .live-pill { margin-inline-start: 0.25rem; }
[dir="rtl"] .top-actions { margin-inline-start: 0; margin-inline-end: auto; }
