:root {
  color-scheme: dark;
  --bg: #09090b;
  --panel: #15151a;
  --muted: #a1a1aa;
  --text: #fafafa;
  --line: #2b2b31;
  --brand: #e11d48;
  --brand-2: #f97316;
  --ok: #22c55e;
  --warn: #facc15;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video, iframe { max-width: 100%; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.nav { border-bottom: 1px solid var(--line); background: rgba(9,9,11,.94); position: sticky; top: 0; z-index: 10; }
.nav-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-weight: 800; font-size: 24px; }
.brand span { color: var(--brand); }
.nav-links { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.btn, button {
  border: 0;
  border-radius: 6px;
  background: var(--brand);
  color: white;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
}
.btn.secondary { background: #27272a; }
.btn.ghost { background: transparent; border: 1px solid var(--line); }
.hero { min-height: 430px; display: grid; align-items: end; padding: 72px 0 56px; background: linear-gradient(180deg, rgba(9,9,11,.2), var(--bg)), url('https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?auto=format&fit=crop&w=1800&q=80') center/cover; }
.hero h1 { font-size: clamp(38px, 7vw, 82px); line-height: 1; margin: 0 0 16px; max-width: 760px; letter-spacing: 0; }
.hero p { max-width: 620px; color: #e4e4e7; font-size: 18px; line-height: 1.6; }
.section { padding: 34px 20px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.poster { width: 100%; aspect-ratio: 2/3; object-fit: cover; background: #27272a; display: block; }
.card-body { padding: 14px; }
.muted { color: var(--muted); }
.form { max-width: 520px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 22px; margin: 34px auto; }
.form h1, .form h2 { margin-top: 0; }
.field { display: grid; gap: 7px; margin-bottom: 14px; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0f0f13;
  color: var(--text);
  padding: 11px 12px;
}
textarea { min-height: 110px; resize: vertical; }
.alert { margin: 18px 0; padding: 12px 14px; border-radius: 6px; background: #27272a; border: 1px solid var(--line); }
.alert.error { border-color: #881337; color: #fecdd3; }
.alert.success { border-color: #166534; color: #bbf7d0; }
.notice-bar {
  display: grid;
  gap: 4px;
  margin: 18px 0;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #18181b;
}
.notice-info { border-color: #e11d48; }
.notice-success { border-color: #16a34a; }
.notice-warning { border-color: #ca8a04; }
.notice-danger { border-color: #be123c; }
.table { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); }
.table th, .table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 18px; }
.stat strong { font-size: 30px; display: block; }
.video { width: 100%; aspect-ratio: 16 / 9; max-height: 72vh; background: black; border-radius: 8px; display: block; }
.player-frame { width: 100%; aspect-ratio: 16 / 9; background: black; border-radius: 8px; overflow: hidden; }
.player-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.badge { display: inline-flex; padding: 4px 8px; border-radius: 99px; background: #27272a; font-size: 12px; color: #e4e4e7; }
.badge-success { background: #14532d; color: #bbf7d0; }
.badge-danger { background: #7f1d1d; color: #fecaca; }
.badge-info { background: #1e3a8a; color: #bfdbfe; }
.request-admin-form { min-width: 260px; }
.pricing-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr);
  gap: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}
.price {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 900;
  margin: 10px 0;
}
.payment-box {
  display: grid;
  gap: 10px;
  align-content: center;
  border-left: 1px solid var(--line);
  padding-left: 22px;
}
.whatsapp-btn { background: #16a34a; }
.wa-widget {
  position: fixed;
  right: 24px;
  bottom: 10px;
  z-index: 9999;
}
.whatsapp-widget {
  display: flex;
  align-items: center;
  gap: 8px;
}
.whatsapp-bubble {
  background: #fff;
  color: #333;
  border-radius: 5px;
  padding: 11px 13px;
  font-size: 13px;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
}
.whatsapp-bubble strong { font-weight: 800; }
.whatsapp-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .28);
}
.whatsapp-icon svg {
  width: 34px;
  height: 34px;
}
td .actions { align-items: stretch; }
td .actions select, td .actions input { min-width: 150px; }
@media (max-width: 680px) {
  .wrap { width: min(100% - 24px, 1120px); }
  .nav-inner { align-items: flex-start; flex-direction: column; padding: 14px 0; gap: 12px; }
  .nav-links { width: 100%; gap: 8px; }
  .nav-links a { padding: 8px 0; }
  .nav-links .btn { width: 100%; }
  .hero { min-height: 340px; padding: 56px 0 38px; }
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 16px; }
  .section { padding: 24px 0; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card-body { padding: 12px; }
  .card-body h3 { font-size: 16px; margin: 0 0 8px; }
  .form { max-width: 100%; padding: 16px; margin: 20px 0; }
  .actions { width: 100%; }
  .actions .btn, .actions button { flex: 1 1 auto; }
  .table { display: block; overflow-x: auto; }
  .table th, .table td { min-width: 140px; }
  .stats { grid-template-columns: 1fr; }
  .pricing-card { grid-template-columns: 1fr; padding: 16px; }
  .payment-box { border-left: 0; border-top: 1px solid var(--line); padding: 16px 0 0; }
  .wa-widget { right: 14px; bottom: 14px; }
  .whatsapp-bubble { display: none; }
  .whatsapp-icon { width: 54px; height: 54px; }
}
@media (max-width: 420px) {
  .grid { grid-template-columns: 1fr; }
  .btn, button { width: 100%; }
  input, textarea, select { font-size: 16px; }
}
