:root {
  --bg: #060710;
  --bg2: #0a0b17;
  --panel: rgba(255,255,255,.065);
  --panel2: rgba(255,255,255,.105);
  --panel3: rgba(255,255,255,.15);
  --text: #f6f7fb;
  --muted: #9ca4bd;
  --red: #ff315f;
  --red2: #bf143a;
  --blue: #4c6fff;
  --green: #38d37a;
  --border: rgba(255,255,255,.12);
  --shadow: 0 24px 80px rgba(0,0,0,.35);
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 0%, rgba(255,49,95,.22), transparent 28%),
    radial-gradient(circle at 85% 4%, rgba(76,111,255,.18), transparent 26%),
    linear-gradient(135deg, #070711 0%, #0a0814 45%, #070b16 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button {
  border: 0;
  cursor: pointer;
  color: white;
  background: linear-gradient(135deg, var(--red), var(--red2));
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 800;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, opacity .18s ease;
}
button:hover { transform: translateY(-1px); }
button.secondary { background: rgba(255,255,255,.09); border: 1px solid var(--border); }
button.danger { background: #b81732; }
button.small { padding: 7px 10px; border-radius: 10px; font-size: 12px; }
button.ghost { background: transparent; border: 1px solid transparent; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.22);
  color: var(--text);
  border-radius: 12px;
  padding: 12px 13px;
  outline: none;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
input:focus, textarea:focus, select:focus {
  border-color: rgba(255,49,95,.65);
  box-shadow: 0 0 0 4px rgba(255,49,95,.08);
}
textarea { min-height: 90px; resize: vertical; }
select option { background: #10111c; color: var(--text); }
.material-symbols-rounded { font-family: 'Material Symbols Rounded'; font-weight: normal; font-style: normal; font-size: 20px; line-height: 1; display: inline-block; vertical-align: -4px; }
.logo {
  font-family: Outfit, Inter, sans-serif;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.07em;
  white-space: nowrap;
}
.logo span { color: var(--red); }
.muted { color: var(--muted); }
.eyebrow { color: #ff8aa2; text-transform: uppercase; font-size: 12px; font-weight: 900; letter-spacing: .14em; margin: 0 0 8px; }
.err { color: #ff8ca1; min-height: 22px; font-weight: 700; }
.ok { color: var(--green); min-height: 22px; font-weight: 700; }

.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth-card, .modal, .panel {
  background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.045));
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  border-radius: 20px;
}
.auth-card { width: min(440px, 100%); padding: 28px; animation: popIn .32s ease both; }
.auth-card .logo { font-size: 34px; }
.auth-card p { line-height: 1.55; }
.form { display: grid; gap: 12px; margin-top: 20px; }
.switch { margin-top: 18px; color: var(--muted); text-align: center; font-weight: 500; }
.switch a { color: white; font-weight: 600; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(255,255,255,.25); text-underline-offset: 4px; }

.shell { min-height: 100vh; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(280px, 580px) auto;
  gap: 18px;
  align-items: center;
  padding: 12px 24px;
  min-height: 74px;
  background: rgba(6,7,16,.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.topbar-left { display: flex; align-items: center; gap: 14px; }
.search-wrap { position: relative; }
.search-wrap .material-symbols-rounded { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search { min-width: 0; padding-left: 43px; height: 46px; border-radius: 14px; background: rgba(0,0,0,.24); }
.profile { position: relative; display: flex; justify-content: flex-end; }
.avatar-btn { width: 44px; height: 44px; border-radius: 50%; padding: 0; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, var(--red), var(--blue)); border: 1px solid rgba(255,255,255,.18); font-family: Outfit, Inter, sans-serif; font-size: 17px; }
.avatar-btn img, .profile-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 276px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(12,13,25,.96);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: .18s ease;
}
.profile:hover .profile-menu, .profile.open .profile-menu { opacity: 1; pointer-events: auto; transform: translateY(0); }
.profile-name { padding: 8px 10px 10px; border-bottom: 1px solid var(--border); margin-bottom: 8px; }
.profile-name-row { display: flex; align-items: center; gap: 10px; }
.profile-preview { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; flex: 0 0 auto; background: linear-gradient(135deg, var(--red), var(--blue)); font-family: Outfit, Inter, sans-serif; font-weight: 900; }
.pfp-picker { padding: 4px 8px 10px; border-bottom: 1px solid var(--border); margin-bottom: 8px; }
.pfp-title { margin: 0 0 8px; color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.pfp-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pfp-option { aspect-ratio: 1; width: 100%; padding: 0; overflow: hidden; border-radius: 14px; background: rgba(255,255,255,.08); border: 2px solid transparent; display: block; }
.pfp-option:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.28); }
.pfp-option.active { border-color: var(--red); box-shadow: 0 0 0 4px rgba(255,49,95,.12); }
.pfp-option img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-menu button { width: 100%; text-align: left; display: flex; gap: 8px; align-items: center; justify-content: flex-start; }
.layout {
  display: block;
  padding: 22px 24px 28px 292px;
  max-width: none;
  margin: 0;
}
.sidebar {
  position: fixed;
  left: 12px;
  top: 92px;
  width: 250px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  scrollbar-width: thin;
  display: grid;
  gap: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px;
}
.side-title { font-family: Outfit, Inter, sans-serif; font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 4px 4px 0; }
.toggle-list { display: grid; gap: 8px; }
.nav-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.045);
  border: 1px solid transparent;
  color: var(--muted);
  font-weight: 800;
  text-align: left;
}
.nav-button:hover { background: rgba(255,255,255,.08); transform: none; color: white; }
.nav-button.active { background: linear-gradient(135deg, rgba(255,49,95,.28), rgba(76,111,255,.16)); border-color: rgba(255,49,95,.32); color: white; }
.nav-button span { display: inline-flex; align-items: center; gap: 10px; }
.toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 11px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted);
  font-weight: 700;
}
.toggle:hover { background: rgba(255,255,255,.055); transform: none; color: white; }
.toggle.active { background: rgba(255,49,95,.14); border-color: rgba(255,49,95,.28); color: white; }
.toggle-left { display: flex; gap: 10px; align-items: center; }
.switch-dot { width: 34px; height: 20px; border-radius: 999px; background: rgba(255,255,255,.14); position: relative; flex: 0 0 auto; }
.switch-dot::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: rgba(255,255,255,.55); position: absolute; left: 3px; top: 3px; transition: .18s ease; }
.toggle.active .switch-dot { background: linear-gradient(135deg, var(--red), var(--blue)); }
.toggle.active .switch-dot::after { left: 17px; background: white; }
.content { min-width: 0; max-width: 1280px; margin: 0 auto; }
.hero { display: grid; gap: 8px; margin-bottom: 20px; animation: fadeUp .26s ease both; }
.hero h1 { margin: 0; font-family: Outfit, Inter, sans-serif; font-size: clamp(34px, 5vw, 62px); letter-spacing: -.06em; line-height: .95; }
.hero p { margin: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap: 18px; }
.movie {
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
  animation: fadeUp .26s ease both;
}
.movie:hover { transform: translateY(-5px); background: var(--panel2); border-color: rgba(255,255,255,.2); }
.poster { aspect-ratio: 2/3; background: linear-gradient(135deg, rgba(255,49,95,.55), rgba(76,111,255,.30)); display: grid; place-items: center; color: rgba(255,255,255,.78); font-family: Outfit, Inter, sans-serif; font-size: 46px; font-weight: 900; overflow: hidden; }
.poster img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.movie:hover .poster img { transform: scale(1.04); }
.movie-body { padding: 14px; display: grid; gap: 10px; }
.movie h3 { margin: 0; font-size: 16px; line-height: 1.25; }
.tags { display: flex; gap: 7px; flex-wrap: wrap; color: var(--muted); font-size: 12px; }
.tag { display: inline-flex; gap: 5px; align-items: center; padding: 5px 8px; border: 1px solid var(--border); border-radius: 999px; background: rgba(0,0,0,.15); }
.actions { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; }
.reaction-row { display: flex; gap: 8px; align-items: center; }
.reaction-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: rgba(255,255,255,.08); border: 1px solid var(--border); color: var(--text); padding: 7px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; min-width: 56px; }
.reaction-btn:hover { background: rgba(255,255,255,.14); }
.reaction-btn.active { background: rgba(255,49,95,.9); border-color: rgba(255,255,255,.25); color: white; }
.overlay { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.70); display: grid; place-items: center; padding: 22px; }
.modal { width: min(980px, 100%); max-height: min(760px, 92vh); overflow-y: auto; padding: 18px; scrollbar-width: thin; }
.modal-head { display: flex; justify-content: space-between; gap: 12px; align-items: start; margin-bottom: 14px; }
.player { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; background: #000; display: block; }
.admin-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.admin-form .full { grid-column: 1 / -1; }

.live-layout { display: grid; grid-template-columns: 280px minmax(0, 980px); gap: 20px; align-items: stretch; justify-content: center; width: 100%; }
.live-list, .favorite-lists { display: grid; gap: 10px; }
.list-row { display: grid; grid-template-columns: 1fr 36px; gap: 6px; align-items: center; border-radius: 12px; }
.list-open { width: 100%; display: flex; align-items: center; justify-content: flex-start; gap: 8px; padding: 10px 11px; border-radius: 12px; background: rgba(255,255,255,.045); border: 1px solid transparent; color: var(--muted); font-weight: 800; text-align: left; }
.list-open span { display: inline-flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-delete { width: 36px; height: 36px; padding: 0; border-radius: 10px; background: rgba(255,255,255,.055); border: 1px solid var(--border); color: var(--muted); display: grid; place-items: center; }
.list-delete:hover { background: rgba(255,49,95,.18); color: white; transform: none; }
.list-row.active .list-open { background: rgba(255,49,95,.14); border-color: rgba(255,49,95,.28); color: white; }
.live-channel { width: 100%; text-align: left; display: grid; gap: 5px; background: rgba(255,255,255,.07); border: 1px solid var(--border); color: var(--text); border-radius: 12px; padding: 13px 14px; cursor: pointer; }
.live-channel span { color: var(--muted); font-size: 13px; font-weight: 500; line-height: 1.35; }
.live-channel:hover { background: rgba(255,255,255,.11); transform: translateY(-1px); }
.live-channel.active { background: linear-gradient(135deg, rgba(255,49,95,.28), rgba(76,111,255,.18)); border-color: rgba(255,49,95,.38); }
.live-player-card { background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.04)); border: 1px solid var(--border); border-radius: 18px; padding: 16px; width: 100%; max-width: 980px; animation: fadeUp .25s ease both; }
.live-player-card h2 { font-family: Outfit, Inter, sans-serif; margin: 0 0 6px; }
.radio-player { min-height: 380px; display: grid; place-items: center; text-align: center; gap: 14px; background: radial-gradient(circle at 50% 0%, rgba(255,49,95,.18), rgba(0,0,0,.18) 48%), rgba(0,0,0,.25); border: 1px solid var(--border); border-radius: 14px; padding: 28px; }
.radio-mark { width: 86px; height: 86px; border-radius: 24px; display: grid; place-items: center; background: linear-gradient(135deg, var(--red), var(--blue)); box-shadow: 0 20px 45px rgba(255,49,95,.22); }
.eq { height: 78px; display: flex; align-items: end; gap: 6px; margin: 8px auto 4px; }
.eq span { width: 9px; height: 24px; border-radius: 999px; background: linear-gradient(180deg, #fff, #ff6c8b); animation: equalize 1.1s ease-in-out infinite alternate; opacity: .9; }
.eq span:nth-child(2) { animation-delay: .08s; height: 54px; } .eq span:nth-child(3) { animation-delay: .18s; height: 34px; } .eq span:nth-child(4) { animation-delay: .28s; height: 68px; } .eq span:nth-child(5) { animation-delay: .38s; height: 28px; } .eq span:nth-child(6) { animation-delay: .48s; height: 58px; }
.radio-controls { width: min(560px, 100%); display: grid; gap: 14px; }
.radio-row { display: flex; align-items: center; gap: 12px; justify-content: center; }
.range { accent-color: var(--red); }

.fav-tools { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-bottom: 16px; }
.list-panel { background: rgba(255,255,255,.055); border: 1px solid var(--border); border-radius: 16px; padding: 14px; margin-bottom: 18px; }
.list-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.movie-select { grid-column: 1 / -1; font-size: 12px; padding: 9px 10px; }

.player-screen { min-height: 100vh; background: #05050a; }
.player-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 16px 22px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.52); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); }
.player-top-left { display: flex; justify-content: flex-start; }
.player-top-right { display: flex; justify-content: flex-end; }
.player-logo { justify-self: center; text-align: center; }
.player-shell { width: min(1220px, calc(100vw - 32px)); margin: 22px auto 42px; display: grid; gap: 18px; }
.player-embed { background: #000; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 100px rgba(0,0,0,.55); }
.player-info { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: start; background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.035)); border: 1px solid var(--border); border-radius: 16px; padding: 18px; }
.player-info h1 { font-family: Outfit, Inter, sans-serif; letter-spacing: -.045em; margin: 0 0 8px; }

.netflix-top { background: linear-gradient(180deg, rgba(0,0,0,.88), rgba(0,0,0,.48)); }
.netflix-shell { width: min(1420px, calc(100vw - 28px)); margin-top: 14px; }
.cinema-frame {
  position: relative;
  background: #000;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,.72);
}
.native-player { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.video-el { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.video-gradient {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.82));
}
.big-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(10px);
  transition: transform .18s ease, opacity .18s ease;
}
.big-play .material-symbols-rounded { font-size: 58px; }

.player-status {
  position: absolute;
  left: 50%;
  bottom: 112px;
  z-index: 12;
  transform: translateX(-50%);
  max-width: min(760px, calc(100vw - 36px));
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(15, 16, 28, .92);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.92);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 18px 70px rgba(0,0,0,.4);
  backdrop-filter: blur(12px);
}
.player-status.hidden { display: none; }
.player-status.error { border-color: rgba(245,64,102,.55); color: #fff; background: rgba(54, 13, 25, .94); }
.player-status.warn { border-color: rgba(255,200,90,.4); color: #fff4cf; }
@media (max-width: 700px) {
  .player-status { bottom: 92px; font-size: 12px; padding: 10px 12px; }
}
.big-play:hover { transform: scale(1.06); }
.big-play.hidden { opacity: 0; pointer-events: none; transform: scale(.92); }
.video-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 22px 20px;
  display: grid;
  gap: 10px;
  opacity: 0;
  transform: translateY(12px);
  transition: .18s ease;
}
.native-player:hover .video-controls,
.native-player:focus-within .video-controls { opacity: 1; transform: translateY(0); }
.seek, .volume { accent-color: var(--red); cursor: pointer; }
.seek { width: 100%; height: 5px; }
.controls-row { display: flex; align-items: center; gap: 12px; }
.control-btn {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.14);
}
.control-btn:hover { background: rgba(255,255,255,.2); }
.control-btn.right { margin-left: auto; }
.volume-box { display: flex; align-items: center; gap: 8px; color: white; min-width: 150px; }
.volume-box .volume { width: 110px; padding: 0; }
.timecode { color: rgba(255,255,255,.82); font-size: 13px; font-weight: 700; min-width: 120px; }
.embed-fallback { position: relative; }
.fallback-note {
  position: absolute;
  left: 16px;
  bottom: 16px;
  max-width: 620px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0,0,0,.72);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.85);
  font-size: 13px;
  backdrop-filter: blur(10px);
}
.netflix-info { border-radius: 12px; }
@media (max-width: 700px) {
  .player-top { grid-template-columns: 1fr; }
  .player-top-left, .player-top-right { justify-content: center; }
  .video-controls { padding: 12px; }
  .controls-row { gap: 7px; flex-wrap: wrap; }
  .control-btn { width: 36px; height: 36px; }
  .volume-box { min-width: 120px; }
  .timecode { min-width: auto; font-size: 12px; }
  .big-play { width: 68px; height: 68px; }
  .big-play .material-symbols-rounded { font-size: 44px; }
}


@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes popIn { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: scale(1); } }
@keyframes equalize { from { transform: scaleY(.45); } to { transform: scaleY(1.1); } }

@media (max-width: 920px) {
  .topbar { grid-template-columns: 1fr; }
  .profile { justify-content: flex-start; }
  .layout { display: block; padding: 16px; }
  .sidebar { position: static; width: auto; max-height: none; overflow: visible; margin-bottom: 18px; }
  .live-layout { grid-template-columns: 1fr; }
  .admin-form { grid-template-columns: 1fr; }
  .player-info { grid-template-columns: 1fr; }
}


.disclaimer-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255,49,95,.20), transparent 34%),
    radial-gradient(circle at 84% 18%, rgba(76,111,255,.20), transparent 32%),
    var(--bg);
}
.disclaimer-card {
  width: min(620px, 100%);
  padding: 30px;
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.045));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  animation: popIn .26s ease both;
}
.disclaimer-badge {
  width: 56px;
  height: 56px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: rgba(255,190,70,.14);
  color: #ffd27a;
  border: 1px solid rgba(255,210,122,.18);
}
.disclaimer-badge .material-symbols-rounded { font-size: 30px; }
.disclaimer-card h1 {
  margin: 0 0 14px;
  font-family: Outfit, Inter, sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  letter-spacing: -.05em;
}
.disclaimer-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}
.disclaimer-check {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.84);
  font-size: 14px;
  user-select: none;
  cursor: pointer;
}
.disclaimer-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
}
.disclaimer-actions {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
}
.disclaimer-actions button {
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 900;
}
.profile-menu .pfp-option {
  display: block;
  justify-content: initial;
  align-items: initial;
  text-align: initial;
  gap: 0;
}


/* Landing page + CGU */
.landing-page { min-height: 100vh; }
.landing-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(6,7,16,.68);
  border-bottom: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(18px);
}
.landing-nav nav { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.landing-nav a { color: var(--muted); text-decoration: none; font-weight: 800; font-size: 14px; }
.landing-nav a:hover { color: white; }
.landing-hero {
  width: min(1180px, calc(100vw - 36px));
  min-height: calc(100vh - 86px);
  margin: 0 auto;
  padding: 68px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 42px;
  align-items: center;
}
.landing-copy h1 {
  margin: 0 0 18px;
  max-width: 760px;
  font-family: Outfit, Inter, sans-serif;
  font-size: clamp(44px, 6vw, 82px);
  line-height: .9;
  letter-spacing: -.075em;
}
.landing-copy .muted { max-width: 660px; font-size: 17px; line-height: 1.65; }
.landing-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.landing-actions button { padding: 13px 18px; border-radius: 999px; }
.landing-note {
  margin-top: 16px;
  max-width: 560px;
  color: rgba(255,255,255,.62);
  font-size: 13px;
  font-weight: 700;
}
.landing-preview {
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(145deg, rgba(255,255,255,.095), rgba(255,255,255,.04));
  box-shadow: 0 40px 120px rgba(0,0,0,.45);
  border-radius: 28px;
  padding: 16px;
  transform: rotate(1deg);
}
.preview-top { display: flex; gap: 7px; padding: 4px 4px 14px; }
.preview-top span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.26); }
.preview-player {
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,49,95,.45), transparent 28%),
    linear-gradient(135deg, rgba(255,49,95,.22), rgba(76,111,255,.18)),
    #05050a;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.play-bubble { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.24); backdrop-filter: blur(10px); }
.play-bubble .material-symbols-rounded { font-size: 46px; }
.preview-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.preview-row div { height: 90px; border-radius: 16px; background: linear-gradient(135deg, rgba(255,255,255,.13), rgba(255,255,255,.045)); border: 1px solid rgba(255,255,255,.08); }
.landing-section {
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto;
  padding: 42px 0 78px;
}
.landing-section h2 {
  max-width: 780px;
  margin: 0 0 24px;
  font-family: Outfit, Inter, sans-serif;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -.06em;
}
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feature-grid article {
  background: linear-gradient(145deg, rgba(255,255,255,.085), rgba(255,255,255,.04));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
}
.feature-grid strong { display: flex; align-items: center; gap: 8px; font-family: Outfit, Inter, sans-serif; font-size: 18px; }
.feature-grid p { color: var(--muted); line-height: 1.55; margin: 10px 0 0; }
.landing-footer {
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto 34px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(0,0,0,.25);
  border: 1px solid var(--border);
}
.footer-grid { display: grid; grid-template-columns: .9fr 1.35fr 1.35fr; gap: 24px; align-items: start; }
.footer-grid h3 { margin: 0 0 10px; font-family: Outfit, Inter, sans-serif; letter-spacing: -.03em; }
.footer-grid p { margin: 0 0 10px; color: var(--muted); line-height: 1.55; font-size: 13.5px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--border); margin-top: 16px; padding-top: 16px; color: rgba(255,255,255,.58); font-size: 13px; font-weight: 700; }
.auth-with-legal { align-content: start; gap: 22px; padding-top: 44px; }
.auth-with-legal .auth-card { margin: 0 auto; }
.back-public { margin-bottom: 16px; width: auto; }
.auth-legal-block { width: min(1180px, calc(100vw - 36px)); margin: 0 auto 32px; }
.auth-legal-block .landing-footer { width: 100%; margin-bottom: 0; }
.terms-accept {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.045);
  border-radius: 14px;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  line-height: 1.45;
}
.terms-accept input { width: 18px; min-width: 18px; height: 18px; margin-top: 1px; accent-color: var(--red); }
.terms-accept a { color: white; font-weight: 900; }

@media (max-width: 920px) {
  .landing-nav { align-items: flex-start; flex-direction: column; }
  .landing-nav nav { justify-content: flex-start; }
  .landing-hero { grid-template-columns: 1fr; min-height: auto; padding: 46px 0; }
  .landing-preview { transform: none; }
  .feature-grid, .footer-grid { grid-template-columns: 1fr; }
}

.terms-page {
  min-height: 100vh;
  padding: 32px 18px 42px;
}
.terms-hero {
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto 18px;
  padding: 30px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
  box-shadow: var(--shadow);
}
.terms-hero h1 {
  margin: 12px 0 8px;
  font-size: clamp(30px, 5vw, 56px);
  letter-spacing: -0.06em;
}
.terms-hero .muted {
  max-width: 760px;
  line-height: 1.65;
}
.terms-page .landing-footer {
  margin-top: 0;
}

/* Fullscreen Netflix-like player rework */
.fullscreen-player {
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

.fullscreen-player .player-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  border-bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.78), rgba(0,0,0,.34) 62%, transparent);
  backdrop-filter: none;
  padding: 18px 28px 64px;
  pointer-events: none;
}

.fullscreen-player .player-top button,
.fullscreen-player .player-logo {
  pointer-events: auto;
}

.fullscreen-player .player-shell,
.fullscreen-player .netflix-shell {
  width: 100vw;
  height: 100vh;
  margin: 0;
  display: block;
}

.fullscreen-player .cinema-frame {
  width: 100vw;
  height: 100vh;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #000;
}

.fullscreen-player .native-player,
.fullscreen-player .embed-fallback,
.fullscreen-player .player,
.fullscreen-player .video-el {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
}

.fullscreen-player .video-el {
  object-fit: contain;
}

.fullscreen-player .video-gradient {
  height: 55%;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.12) 35%, rgba(0,0,0,.78) 100%);
}

.player-meta-overlay {
  position: absolute;
  top: 106px;
  left: 42px;
  z-index: 32;
  width: min(560px, calc(100vw - 84px));
  padding: 22px 24px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, rgba(0,0,0,.72), rgba(0,0,0,.38));
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 25px 90px rgba(0,0,0,.38);
  backdrop-filter: blur(14px);
  opacity: 1;
  transform: translateY(0);
  transition: opacity .65s ease, transform .65s ease, filter .65s ease;
  cursor: pointer;
}

.player-meta-overlay::after {
  content: "Click to keep visible";
  display: block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 800;
  color: rgba(255,255,255,.55);
  letter-spacing: .02em;
}

.player-meta-overlay.pinned::after {
  content: "Pinned — click again to auto-hide";
  color: rgba(255,255,255,.75);
}

.player-meta-overlay.faded {
  opacity: 0;
  transform: translateY(-14px);
  pointer-events: none;
  filter: blur(2px);
}

.player-meta-overlay h1 {
  font-family: Outfit, Inter, sans-serif;
  font-size: clamp(34px, 5vw, 72px);
  line-height: .92;
  letter-spacing: -.06em;
  margin: 0 0 14px;
  text-shadow: 0 10px 35px rgba(0,0,0,.75);
}

.player-description {
  margin: 14px 0 0;
  max-width: 62ch;
  color: rgba(255,255,255,.82);
  line-height: 1.52;
  font-weight: 600;
}

.player-reactions {
  margin-top: 18px;
}

.player-info-hotspot {
  position: absolute;
  top: 116px;
  left: 42px;
  z-index: 31;
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  opacity: 0;
  background: rgba(0,0,0,.58);
  border: 1px solid rgba(255,255,255,.16);
  color: white;
  transition: opacity .22s ease, transform .22s ease;
}

.player-meta-overlay.faded + .player-info-hotspot,
.player-info-hotspot:hover {
  opacity: 1;
}

.player-info-hotspot:hover {
  transform: scale(1.06);
}

.fullscreen-player .video-controls {
  z-index: 35;
  padding: 24px 34px 30px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.68));
}

.fullscreen-player .big-play {
  z-index: 30;
}

@media (max-width: 700px) {
  .fullscreen-player .player-top {
    grid-template-columns: auto 1fr auto;
    padding: 14px 12px 54px;
  }

  .fullscreen-player .player-logo {
    font-size: 22px;
  }

  .player-meta-overlay {
    top: 92px;
    left: 14px;
    width: calc(100vw - 28px);
    padding: 16px;
    border-radius: 16px;
  }

  .player-info-hotspot {
    top: 96px;
    left: 16px;
  }

  .player-description {
    font-size: 13px;
    max-height: 120px;
    overflow: auto;
  }

  .fullscreen-player .video-controls {
    padding: 12px;
  }
}

/* Full standalone CGU page */
.compact-footer-grid {
  grid-template-columns: .95fr 1.1fr 1.1fr;
}
.legal-page-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: white;
  text-decoration: none;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  border-radius: 999px;
  padding: 10px 13px;
}
.legal-page-link:hover {
  border-color: rgba(255,49,95,.45);
  background: rgba(255,49,95,.12);
}
.terms-document {
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto 36px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(0,0,0,.28);
  box-shadow: var(--shadow);
}
.terms-doc-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.terms-doc-head h2 {
  margin: 0 0 8px;
  font-family: Outfit, Inter, sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -.055em;
}
.terms-pill {
  flex: 0 0 auto;
  border: 1px solid rgba(255,49,95,.3);
  background: rgba(255,49,95,.12);
  color: white;
  border-radius: 999px;
  padding: 10px 13px;
  font-size: 12px;
  font-weight: 900;
}
.terms-block {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.terms-block:last-child {
  border-bottom: 0;
}
.terms-block h3 {
  margin: 0 0 10px;
  font-family: Outfit, Inter, sans-serif;
  font-size: 22px;
  letter-spacing: -.035em;
}
.terms-block p,
.terms-block li {
  color: var(--muted);
  line-height: 1.72;
  font-size: 15px;
}
.terms-block p {
  margin: 0 0 12px;
}
.terms-block ul {
  margin: 10px 0 0;
  padding-left: 22px;
}
.warning-block {
  margin-bottom: 6px;
  padding: 20px;
  border: 1px solid rgba(255,49,95,.24);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255,49,95,.12), rgba(255,255,255,.035));
}
.final-block {
  margin-top: 6px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  background: rgba(255,255,255,.055);
}
@media (max-width: 920px) {
  .compact-footer-grid,
  .terms-doc-head {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
  .terms-pill { align-self: flex-start; }
}

.donation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin: 0 0 22px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 20%, rgba(255,49,95,.18), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  box-shadow: 0 18px 55px rgba(0,0,0,.22);
  animation: fadeUp .26s ease both;
}
.donation-copy { min-width: 0; }
.donation-copy h2 {
  margin: 0 0 6px;
  font-family: Outfit, Inter, sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -.055em;
  line-height: 1;
}
.donation-copy p { max-width: 720px; line-height: 1.55; margin: 0; }
.donation-action {
  min-width: 210px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.donation-fallback {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: white;
  text-decoration: none;
  font-weight: 900;
  padding: 11px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--red), var(--red2));
  box-shadow: 0 12px 32px rgba(255,49,95,.18);
}

.kofi-donation-link {
  background: linear-gradient(135deg, #d9534f, var(--red));
}
@media (max-width: 760px) {
  .donation { grid-template-columns: 1fr; }
  .donation-action { justify-content: flex-start; min-width: 0; }
}

.auth-code-card h2 {
  margin: 4px 0 10px;
  font-family: Outfit, Inter, sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -.055em;
}
.code-input {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-weight: 900;
  text-align: center;
  font-size: 20px;
}
.trust-device-box {
  align-items: center;
}
.err.ok-msg,
.ok-msg {
  color: #78f0a5 !important;
}
