/* ============================================
   CineStream - Estilos Principais
   Tema: Cinema Noir - Escuro, Elegante, CinematogrÃƒÂ¡fico
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-primary:    #0a0a0f;
  --bg-secondary:  #111118;
  --bg-card:       #16161f;
  --bg-hover:      #1e1e2a;
  --accent:        #e50914;
  --accent-dark:   #b2070f;
  --accent-glow:   rgba(229, 9, 20, 0.3);
  --gold:          #f5c518;
  --text-primary:  #f0f0f0;
  --text-secondary:#a0a0b0;
  --text-muted:    #606070;
  --border:        rgba(255,255,255,0.07);
  --border-hover:  rgba(255,255,255,0.15);
  --radius:        10px;
  --radius-lg:     16px;
  --shadow:        0 4px 24px rgba(0,0,0,0.5);
  --shadow-lg:     0 8px 48px rgba(0,0,0,0.7);
  --transition:    0.2s ease;
  --font-display:  'Bebas Neue', sans-serif;
  --font-body:     'Inter', sans-serif;
  --header-h:      64px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font-family: inherit; }

/* ======================== SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ======================== LAYOUT */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.grid-movies {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}
@media (max-width: 600px) {
  .grid-movies { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ======================== HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10,10,15,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.header .container {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 2px;
  color: var(--accent);
  white-space: nowrap;
}
.logo span { color: var(--text-primary); }
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav a {
  padding: 6px 14px;
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}
.nav a:hover, .nav a.ativo { color: var(--text-primary); background: var(--bg-hover); }

/* Busca no header */
.header-search {
  position: relative;
  flex: 0 0 280px;
}
.header-search input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 8px 16px 8px 40px;
  border-radius: 20px;
  font-size: 13px;
  transition: var(--transition);
}
.header-search input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.header-search .icon {
  position: absolute;
  left: 13px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.btn-header {
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.btn-login {
  background: transparent;
  border: 1px solid var(--border-hover);
  color: var(--text-primary);
}
.btn-login:hover { background: var(--bg-hover); }
.btn-assinar {
  background: var(--accent);
  color: #fff;
}
.btn-assinar:hover { background: var(--accent-dark); }
.user-menu {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 8px;
  transition: var(--transition);
}
.user-menu:hover { background: var(--bg-hover); }
.user-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
}
.user-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 180px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.user-menu:hover .user-dropdown { display: block; }
.user-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  transition: var(--transition);
}
.user-dropdown a:hover { background: var(--bg-hover); color: var(--text-primary); }
.user-dropdown .divider { border: none; border-top: 1px solid var(--border); margin: 4px 0; }

/* ======================== HERO BANNER */
.hero {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: var(--bg-secondary);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center top;
  filter: brightness(0.4);
  transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1.03); }
.hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,10,15,0.98) 0%,
    rgba(10,10,15,0.7) 40%,
    transparent 70%
  ),
  linear-gradient(to top, rgba(10,10,15,1) 0%, transparent 40%);
}
.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 60px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
  width: fit-content;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 2px;
  max-width: 560px;
  margin-bottom: 14px;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 18px;
}
.hero-meta .nota {
  color: var(--gold);
  font-weight: 700;
}
.hero-desc {
  max-width: 480px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 28px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-actions { display: flex; gap: 12px; }

/* ======================== BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
}
.btn-secondary:hover { background: rgba(255,255,255,0.15); }
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text-primary); border-color: var(--border-hover); }
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }
.btn-danger { background: #c0392b; color: #fff; }
.btn-danger:hover { background: #a93226; }
.btn-success { background: #27ae60; color: #fff; }
.btn-success:hover { background: #219a52; }

/* ======================== SECTION */
.section { padding: 48px 0; }
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 1px;
}
.section-title span { color: var(--accent); }
.section-link {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}
.section-link:hover { color: var(--accent); }

/* ======================== MOVIE CARD */
.movie-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  display: block;
}
.movie-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  z-index: 2;
}
.movie-card-img {
  aspect-ratio: 2/3;
  width: 100%;
  object-fit: cover;
  background: var(--bg-hover);
}
.movie-card-img-placeholder {
  aspect-ratio: 2/3;
  width: 100%;
  background: linear-gradient(135deg, var(--bg-hover) 0%, var(--bg-secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 40px;
}
.movie-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 12px;
}
.movie-card:hover .movie-card-overlay { opacity: 1; }
.movie-card-play {
  width: 40px; height: 40px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  transition: var(--transition);
}
.movie-card:hover .movie-card-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.movie-card-info { padding: 10px 4px 4px; }
.movie-card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.movie-card-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.badge-tipo {
  position: absolute;
  top: 8px; left: 8px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 7px;
  border-radius: 4px;
}
.badge-premium {
  position: absolute;
  top: 8px; right: 8px;
  background: var(--gold);
  color: #000;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
}

/* ======================== FILTROS / CATEGORIAS */
.categorias-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.cat-btn {
  padding: 6px 16px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.cat-btn:hover, .cat-btn.ativo {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ======================== PLAYER PAGE */
.player-section {
  background: #000;
  padding: 0;
}
.player-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #000;
}
.player-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.player-lock {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 20px;
}
.player-lock h3 { font-size: 22px; }
.player-lock p { color: var(--text-secondary); max-width: 400px; }

/* Detalhes do filme */
.movie-detail-header {
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--border);
}
.movie-detail-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 700px) {
  .movie-detail-grid { grid-template-columns: 1fr; }
}
.movie-poster {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.movie-poster-placeholder {
  aspect-ratio: 2/3;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  color: var(--text-muted);
}
.movie-info-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.movie-info-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.movie-info-meta .nota { color: var(--gold); font-weight: 700; font-size: 15px; }
.movie-info-cats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.cat-tag {
  padding: 4px 12px;
  background: var(--bg-hover);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12px;
  color: var(--text-secondary);
  transition: var(--transition);
  text-decoration: none;
}
.cat-tag:hover { border-color: var(--accent); color: var(--accent); }
.movie-info-desc {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 24px;
}
.movie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-favorito { gap: 6px; }
.btn-favorito.ativo { color: var(--accent); border-color: var(--accent); }

/* EpisÃƒÂ³dios */
.episodios-section { padding: 40px 0; }
.season-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.season-tab {
  padding: 8px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.season-tab.ativo { background: var(--accent); border-color: var(--accent); color: #fff; }
.episodios-list { display: flex; flex-direction: column; gap: 8px; }
.episodio-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.episodio-item:hover { border-color: var(--accent); background: var(--bg-hover); }
.episodio-num {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--text-muted);
  min-width: 36px;
  text-align: center;
}
.episodio-title { font-weight: 600; font-size: 14px; }
.episodio-duracao { font-size: 12px; color: var(--text-muted); margin-top: 3px; }
.episodio-thumb {
  width: 100px;
  aspect-ratio: 16/9;
  border-radius: 6px;
  object-fit: cover;
  background: var(--bg-hover);
  flex-shrink: 0;
  margin-left: auto;
}

/* ======================== FORMS */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-control {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 11px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-control::placeholder { color: var(--text-muted); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.form-error { font-size: 12px; color: var(--accent); margin-top: 6px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* Checkbox / Toggle */
.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.form-check input[type=checkbox] {
  width: 18px; height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
}

/* Auth pages */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: radial-gradient(ellipse at 50% 0%, rgba(229,9,20,0.12) 0%, transparent 60%),
              var(--bg-primary);
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.auth-logo {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--accent);
  text-align: center;
  letter-spacing: 3px;
  margin-bottom: 28px;
}
.auth-logo span { color: var(--text-primary); }
.auth-title { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.auth-subtitle { color: var(--text-muted); font-size: 13px; margin-bottom: 28px; }
.auth-divider {
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
  margin: 20px 0;
  position: relative;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: var(--border);
}
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

/* ======================== ALERTS */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.alert-success { background: rgba(39,174,96,0.15); border: 1px solid rgba(39,174,96,0.3); color: #2ecc71; }
.alert-danger  { background: rgba(229,9,20,0.12);  border: 1px solid rgba(229,9,20,0.3);  color: #ff4757; }
.alert-warning { background: rgba(245,197,24,0.1); border: 1px solid rgba(245,197,24,0.3); color: var(--gold); }
.alert-info    { background: rgba(52,152,219,0.1); border: 1px solid rgba(52,152,219,0.3); color: #3498db; }

/* ======================== CARDS GENÃƒâ€°RICOS */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.card-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* ======================== TABLES */
.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
thead tr {
  border-bottom: 2px solid var(--border);
}
thead th {
  padding: 12px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  white-space: nowrap;
}
tbody tr {
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
tbody tr:hover { background: var(--bg-hover); }
tbody td {
  padding: 12px 16px;
  color: var(--text-secondary);
  vertical-align: middle;
}
tbody td:first-child { color: var(--text-primary); font-weight: 500; }

/* ======================== BADGES */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-red    { background: rgba(229,9,20,0.2);  color: #ff4757; }
.badge-green  { background: rgba(39,174,96,0.2); color: #2ecc71; }
.badge-gold   { background: rgba(245,197,24,0.2);color: var(--gold); }
.badge-blue   { background: rgba(52,152,219,0.2);color: #3498db; }
.badge-gray   { background: rgba(255,255,255,0.08); color: var(--text-muted); }

/* ======================== PAGINATION */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 32px 0;
}
.page-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.page-btn:hover { border-color: var(--accent); color: var(--accent); }
.page-btn.ativo { background: var(--accent); border-color: var(--accent); color: #fff; }
.page-btn.disabled { opacity: 0.35; pointer-events: none; }

/* ======================== EMPTY STATE */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}
.empty-state .icon { font-size: 56px; margin-bottom: 16px; }
.empty-state h3 { font-size: 18px; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; }
.empty-state p { font-size: 14px; }

/* ======================== PLANOS */
.planos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.plano-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.plano-card.popular {
  border-color: var(--accent);
  transform: scale(1.03);
}
.plano-popular-tag {
  position: absolute;
  top: 16px; right: -24px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 32px;
  transform: rotate(45deg);
  letter-spacing: 1px;
}
.plano-nome { font-size: 14px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.plano-valor { font-family: var(--font-display); font-size: 48px; color: var(--text-primary); line-height: 1; margin-bottom: 4px; }
.plano-valor small { font-family: var(--font-body); font-size: 14px; color: var(--text-muted); }
.plano-periodo { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.plano-features { list-style: none; text-align: left; margin-bottom: 28px; }
.plano-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.plano-features li:last-child { border: none; }
.plano-features li .check { color: #2ecc71; font-size: 15px; }

/* ======================== ADMIN */
.admin-layout {
  display: flex;
  min-height: 100vh;
}
.admin-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  padding: 24px 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.admin-sidebar .logo {
  padding: 0 20px 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.admin-nav-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  padding: 0 20px;
  margin: 16px 0 6px;
}
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.admin-nav-item:hover, .admin-nav-item.ativo {
  background: var(--bg-hover);
  color: var(--text-primary);
  border-left-color: var(--accent);
}
.admin-main { flex: 1; overflow: hidden; }
.admin-topbar {
  height: 56px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 28px;
  gap: 16px;
}
.admin-topbar h1 { font-size: 18px; font-weight: 700; }
.admin-content { padding: 28px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.stat-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.stat-icon.red   { background: rgba(229,9,20,0.15); }
.stat-icon.blue  { background: rgba(52,152,219,0.15); }
.stat-icon.green { background: rgba(39,174,96,0.15); }
.stat-icon.gold  { background: rgba(245,197,24,0.15); }
.stat-val { font-family: var(--font-display); font-size: 28px; line-height: 1; }
.stat-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ======================== FOOTER */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-logo { font-family: var(--font-display); font-size: 26px; color: var(--accent); letter-spacing: 2px; margin-bottom: 12px; }
.footer-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 14px; }
.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
  gap: 12px;
  flex-wrap: wrap;
}

/* ======================== UTILITIES */
.text-accent { color: var(--accent); }
.text-gold   { color: var(--gold); }
.text-muted  { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.w-100 { width: 100%; }
.hidden { display: none !important; }

/* ======================== MOBILE NAV */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}
@media (max-width: 768px) {
  .nav, .header-search { display: none; }
  .mobile-menu-btn { display: block; }
  .admin-sidebar { display: none; }
}

/* ======================== LOADING SPINNER */
.spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 40px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ======================== MODAL */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.modal-backdrop.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.2s;
}
.modal-backdrop.open .modal { transform: translateY(0); }
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.modal-title { font-size: 18px; font-weight: 700; }
.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
  transition: color var(--transition);
}
.modal-close:hover { color: var(--text-primary); }

/* ======================== PIX PAYMENT */
.pix-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.pix-qrcode {
  max-width: 200px;
  margin: 0 auto 16px;
  border-radius: 8px;
  overflow: hidden;
}
.pix-code {
  background: var(--bg-hover);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 12px;
  font-family: monospace;
  word-break: break-all;
  color: var(--text-secondary);
  text-align: left;
  margin-bottom: 12px;
}

/* ======================== SEARCH RESULTS */
.search-header {
  padding: 32px 0 0;
}
.search-query { font-family: var(--font-display); font-size: 32px; }
.search-query span { color: var(--accent); }
.search-count { font-size: 14px; color: var(--text-muted); margin-top: 4px; }

/* ======================== HEADER / PERFIS OVERRIDES ======================== */
.header {
  height: auto;
  min-height: var(--header-h);
  display: block;
}
.header-bar {
  min-height: var(--header-h);
  width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.header .container {
  width: 100%;
}
.desktop-search {
  display: block;
}
.profile-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
}
.profile-chip-avatar,
.profile-switch-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.profile-chip-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.profile-chip-text strong {
  font-size: 13px;
}
.profile-chip-text span {
  font-size: 11px;
  color: var(--text-muted);
}
.user-menu {
  padding: 0;
}
.user-menu-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
}
.user-menu:hover .user-menu-trigger {
  background: var(--bg-hover);
}
.user-dropdown {
  min-width: 240px;
}
.user-dropdown-section {
  padding: 12px;
}
.user-dropdown-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.profile-switch-form {
  margin: 0 0 8px;
}
.profile-switch-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}
.profile-switch-btn:hover,
.profile-switch-btn.ativo {
  border-color: var(--accent);
  color: var(--text-primary);
  background: rgba(229,9,20,0.08);
}
.profile-switch-initial {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent) 0%, #ff7a18 100%);
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}
.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: rgba(10,10,15,0.98);
}
.mobile-menu.open {
  display: block;
}
.mobile-menu-inner {
  padding-top: 16px;
  padding-bottom: 18px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  color: var(--text-primary);
}
.mobile-search {
  display: none;
  margin-bottom: 14px;
}
.mobile-profile-box {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
}
.mobile-profile-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.mobile-profile-list {
  display: grid;
  gap: 8px;
}
.mobile-auth-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.mobile-auth-actions .btn {
  flex: 1 1 150px;
  justify-content: center;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 100%;
}
.hero-actions .btn {
  max-width: 100%;
}
.btn {
  max-width: 100%;
}
.account-layout {
  display: grid;
  gap: 24px;
}
.account-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}
.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.profile-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(8,8,12,0.98) 100%);
}
.profile-card-cover {
  height: 110px;
  background: linear-gradient(135deg, rgba(229,9,20,0.9) 0%, rgba(255,122,24,0.7) 100%);
  background-size: cover;
  background-position: center;
}
.profile-card-body {
  padding: 0 18px 18px;
}
.profile-card-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  margin-top: -34px;
  border: 3px solid rgba(10,10,15,0.95);
  background: rgba(255,255,255,0.08);
}
.profile-card-avatar--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, #ff7a18 100%);
}
.profile-card h3 {
  margin: 14px 0 6px;
  font-size: 18px;
}
.profile-card p {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 13px;
}
.profile-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 12px;
}
.option-tile {
  position: relative;
}
.option-tile input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.option-tile span {
  display: block;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  cursor: pointer;
}
.option-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.option-tile--cover img {
  aspect-ratio: 16 / 9;
}
.option-tile strong {
  display: block;
  padding: 8px;
  font-size: 11px;
  text-align: center;
  color: var(--text-secondary);
}
.option-tile input:checked + span {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(229,9,20,0.15);
}
.account-note {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}
@media (max-width: 980px) {
  .profile-chip {
    display: none;
  }
}
@media (max-width: 768px) {
  body.mobile-menu-open {
    overflow: hidden;
  }
  .header-bar {
    gap: 12px;
  }
  .nav,
  .desktop-search,
  .header-actions {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
    margin-left: auto;
  }
  .mobile-menu .header-search,
  .mobile-search {
    display: block;
  }
  .hero {
    height: auto;
    min-height: 520px;
  }
  .hero-content {
    padding-top: 130px;
    padding-bottom: 42px;
  }
  .hero-meta {
    flex-wrap: wrap;
    gap: 10px;
  }
  .hero-actions {
    width: min(100%, 320px);
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }
  .account-card {
    padding: 22px 18px;
  }
  .profile-grid {
    grid-template-columns: 1fr;
  }
}

/* PROFILE MENU OVERRIDES */
.profile-menu {
  position: relative;
}
.profile-menu summary {
  list-style: none;
}
.profile-menu summary::-webkit-details-marker {
  display: none;
}
.profile-chip {
  cursor: pointer;
  min-height: 48px;
}
.profile-chip-text {
  min-width: 0;
}
.profile-chip-text span {
  display: none;
}
.profile-chip-caret {
  font-size: 10px;
  color: var(--text-muted);
}
.profile-menu[open] .profile-chip {
  border-color: var(--accent);
  background: rgba(229,9,20,0.08);
}
.profile-menu .user-dropdown {
  display: none;
  min-width: 280px;
}
.profile-menu[open] .user-dropdown {
  display: block;
}
.user-dropdown-section a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 13px;
  color: var(--text-secondary);
  transition: var(--transition);
}
.user-dropdown-section a:hover {
  color: var(--text-primary);
}
.profile-switch-form:last-child {
  margin-bottom: 0;
}
.hero-actions {
  max-width: 460px;
}

/* PROFILE PICKER PAGE */
.profiles-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(229,9,20,0.18), transparent 30%),
    #141414;
}
.profiles-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 56px;
}
.profiles-brand {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 40px);
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 44px;
}
.profiles-brand span {
  color: #fff;
}
.profiles-stage {
  width: min(100%, 1120px);
  text-align: center;
}
.profiles-copy h1 {
  font-size: clamp(34px, 6vw, 68px);
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: 12px;
}
.profiles-copy p {
  max-width: 720px;
  margin: 0 auto 42px;
  color: var(--text-secondary);
}
.profiles-grid-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 22px;
  justify-items: center;
}
.profile-picker-form {
  width: 100%;
  max-width: 190px;
}
.profile-picker-card {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: transform .2s ease, color .2s ease;
}
.profile-picker-card:hover,
.profile-picker-card.ativo {
  color: var(--text-primary);
  transform: translateY(-4px);
}
.profile-picker-card.ativo .profile-picker-media {
  outline: 3px solid rgba(255,255,255,0.75);
  outline-offset: 4px;
}
.profile-picker-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent), #ff7a18);
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-picker-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-picker-fallback {
  font-size: 54px;
  font-weight: 700;
  color: #fff;
}
.profile-picker-name {
  display: block;
  margin-top: 14px;
  font-size: 16px;
}
.profiles-actions {
  margin-top: 46px;
}
.profiles-manage-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 14px 28px;
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--text-secondary);
  transition: var(--transition);
}
.profiles-manage-btn:hover {
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.7);
}

@media (max-width: 980px) {
  .profile-chip {
    display: flex;
  }
}

@media (max-width: 768px) {
  .header {
    height: auto;
  }
  .header-bar {
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .nav,
  .desktop-search {
    display: none;
  }
  .header-actions {
    display: flex;
    margin-left: auto;
    width: auto;
    gap: 8px;
  }
  .btn-header {
    padding: 8px 12px;
    font-size: 12px;
  }
  .profile-menu {
    margin-left: auto;
  }
  .profile-menu .user-dropdown {
    right: 0;
    left: auto;
    width: min(92vw, 320px);
  }
  .hero-content {
    padding-top: 104px;
    padding-bottom: 34px;
  }
  .hero-actions {
    width: min(100%, 250px);
    gap: 10px;
  }
  .hero-actions .btn {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
  }
  .profiles-shell {
    padding-top: 28px;
    justify-content: flex-start;
  }
  .profiles-grid-picker {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 18px;
  }
  .profile-picker-form {
    max-width: none;
  }
  .profiles-manage-btn {
    width: 100%;
    max-width: 320px;
  }
}
.account-page-shell {
  padding: 40px 20px 60px;
  max-width: 1100px;
}
.account-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.account-page-intro {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 680px;
}
.account-active-chip {
  padding: 10px 14px;
  border-radius: 16px;
}
.account-inline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.account-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.account-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.03);
  font-size: 13px;
}
.account-profile-grid {
  margin-bottom: 24px;
}
.account-profile-card--selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(229,9,20,0.25);
}
.account-manage-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
}
.account-table-wrap {
  overflow-x: auto;
}
.profile-editor-form {
  display: grid;
  gap: 18px;
}
.profile-editor-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.profile-delete-form {
  margin-top: 16px;
}
.profile-delete-form .btn {
  width: auto;
}
@media (max-width: 768px) {
  .account-page-shell {
    padding: 24px 14px 42px;
  }
  .account-page-header {
    margin-bottom: 22px;
  }
  .account-page-header .btn,
  .account-manage-cta .btn,
  .profile-card-actions .btn,
  .profile-card-actions form,
  .profile-editor-actions .btn,
  .profile-delete-form .btn {
    width: 100%;
  }
  .account-card {
    padding: 18px 14px;
    border-radius: 14px;
  }
  .account-section-head {
    margin-bottom: 16px;
  }
  .account-badge {
    width: 100%;
    justify-content: center;
  }
  .account-inline-row,
  .account-manage-cta,
  .profile-editor-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .account-table-wrap table {
    min-width: 560px;
  }
  .profile-card-body {
    padding: 0 14px 16px;
  }
  .profile-card-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .profile-card-actions form {
    width: 100%;
  }
  .option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}
@media (max-width: 480px) {
  .account-page-shell {
    padding-left: 12px;
    padding-right: 12px;
  }
  .option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .option-tile strong {
    font-size: 10px;
    padding: 7px 6px;
  }
}
.profiles-manage-page {
  background:
    radial-gradient(circle at top, rgba(229,9,20,0.18), transparent 28%),
    #141414;
}
.profiles-manage-shell {
  justify-content: flex-start;
  padding-top: 56px;
}
.profiles-feedback {
  max-width: 760px;
  margin: 0 auto 28px;
}
.profiles-grid-manage {
  margin-bottom: 44px;
}
.profile-picker-link {
  display: block;
  text-decoration: none;
}
.profile-picker-subtitle {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-muted);
}
.profile-picker-add .profile-picker-name,
.profile-picker-add .profile-picker-subtitle {
  color: var(--text-secondary);
}
.profile-picker-media-add {
  font-size: 64px;
  font-weight: 300;
  color: #fff;
}
.profile-manager-panel {
  width: min(100%, 960px);
  margin: 0 auto 28px;
  padding: 30px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  background: rgba(7,7,11,0.78);
  backdrop-filter: blur(14px);
  text-align: left;
}
.profile-manager-header {
  margin-bottom: 24px;
}
.profile-manager-header h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 8px;
}
.profile-manager-header p,
.profile-manager-note {
  color: var(--text-secondary);
}
.profile-manager-form {
  display: grid;
  gap: 20px;
}
.profile-manager-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.profiles-manage-btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.profiles-manage-btn--primary:hover {
  border-color: #ff4d5a;
  background: #ff2432;
}
@media (max-width: 768px) {
  .profiles-manage-shell {
    padding-top: 28px;
  }
  .profile-manager-panel {
    padding: 20px 16px;
    border-radius: 22px;
  }
  .profile-manager-actions {
    flex-direction: column;
  }
  .profile-manager-actions .profiles-manage-btn,
  .profile-manager-actions button {
    width: 100%;
  }
}
.profiles-manage-page .profiles-stage {
  width: min(100%, 920px);
}
.profiles-manage-page .profiles-copy p {
  max-width: 620px;
  margin-bottom: 30px;
}
.profiles-grid-manage {
  grid-template-columns: repeat(auto-fit, minmax(150px, 180px));
  justify-content: center;
  gap: 20px;
  margin-bottom: 34px;
}
.profiles-grid-manage .profile-picker-name {
  margin-top: 12px;
}
.profile-manager-panel {
  width: min(100%, 760px);
  margin-bottom: 22px;
  padding: 24px;
}
.profile-manager-header {
  margin-bottom: 18px;
}
.profile-manager-header h2 {
  font-size: clamp(22px, 2.4vw, 30px);
}
.profile-manager-form {
  gap: 16px;
}
.profile-manager-form .form-group {
  margin-bottom: 0;
}
.profile-manager-panel .option-grid--avatar {
  grid-template-columns: repeat(auto-fill, minmax(120px, 120px));
  justify-content: flex-start;
  gap: 12px;
}
.profile-manager-panel .option-grid--cover {
  grid-template-columns: repeat(auto-fill, minmax(210px, 210px));
  justify-content: flex-start;
  gap: 14px;
}
.profile-manager-panel .option-tile span {
  border-radius: 12px;
}
.profile-manager-panel .option-grid--avatar .option-tile img {
  aspect-ratio: 1 / 1;
  height: 120px;
}
.profile-manager-panel .option-grid--cover .option-tile img {
  aspect-ratio: 16 / 9;
  height: 118px;
}
.profile-manager-panel .option-tile strong {
  padding: 7px 8px;
}
.profile-manager-actions {
  margin-top: 18px;
}
.profiles-manage-page .profiles-manage-btn {
  min-width: 170px;
  padding: 12px 18px;
}
@media (min-width: 1200px) {
  .profiles-manage-shell {
    padding-top: 40px;
  }
}
@media (max-width: 768px) {
  .profiles-manage-page .profiles-stage {
    width: 100%;
  }
  .profiles-grid-manage {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 16px;
  }
  .profile-manager-panel {
    width: 100%;
    padding: 18px 14px;
  }
  .profile-manager-panel .option-grid--avatar,
  .profile-manager-panel .option-grid--cover {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .profile-manager-panel .option-grid--avatar .option-tile img,
  .profile-manager-panel .option-grid--cover .option-tile img {
    width: 100%;
    height: auto;
  }
}
@media (min-width: 769px) {
  .profiles-stage {
    width: min(100%, 880px);
  }
  .profiles-grid-picker {
    grid-template-columns: repeat(auto-fit, minmax(150px, 190px));
    justify-content: center;
  }
}
.eu-page {
  background:
    radial-gradient(circle at top, rgba(229,9,20,0.18), transparent 26%),
    linear-gradient(180deg, #111117 0%, #0c0c12 100%);
}
.eu-shell {
  padding: 34px 20px 64px;
}
.eu-hero {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  margin-bottom: 26px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 30px;
  background:
    linear-gradient(120deg, rgba(229,9,20,0.24), rgba(255,122,24,0.14)),
    #15151d;
  background-size: cover;
  background-position: center;
}
.eu-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,8,12,0.88) 0%, rgba(8,8,12,0.58) 48%, rgba(8,8,12,0.8) 100%);
}
.eu-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  align-items: end;
  min-height: 360px;
  padding: 34px;
}
.eu-avatar-wrap {
  display: flex;
  align-items: flex-end;
}
.eu-avatar {
  width: 180px;
  height: 180px;
  border-radius: 28px;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.2);
  box-shadow: 0 20px 45px rgba(0,0,0,0.35);
}
.eu-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), #ff7a18);
  color: #fff;
  font-size: 76px;
  font-weight: 800;
}
.eu-copy {
  max-width: 640px;
}
.eu-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.eu-copy h1 {
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.95;
  margin-bottom: 14px;
}
.eu-copy p {
  max-width: 620px;
  color: var(--text-secondary);
  font-size: 15px;
}
.eu-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.eu-badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: var(--text-secondary);
  font-size: 13px;
}
.eu-badge.is-active {
  border-color: rgba(82, 201, 122, 0.4);
  color: #d7ffe0;
}
.eu-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.eu-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}
.eu-stat-card,
.eu-panel {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  background: rgba(10,10,15,0.9);
  padding: 24px;
}
.eu-stat-label {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.eu-stat-card strong {
  display: block;
  font-size: 28px;
  margin-bottom: 10px;
}
.eu-stat-card p {
  color: var(--text-secondary);
  font-size: 14px;
}
.eu-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 22px;
}
.eu-panel-featured {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015)),
    rgba(10,10,15,0.9);
}
.eu-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.eu-panel-head h2 {
  font-size: 24px;
  margin-bottom: 6px;
}
.eu-panel-head p {
  color: var(--text-secondary);
}
.eu-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.eu-shortcut-card {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-primary);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.eu-shortcut-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
}
.eu-shortcut-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
}
.eu-shortcut-card span {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}
.eu-recent-list {
  display: grid;
  gap: 12px;
}
.eu-recent-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--text-primary);
}
.eu-recent-item:hover {
  border-color: rgba(255,255,255,0.18);
}
.eu-recent-thumb {
  display: block;
  width: 84px;
  aspect-ratio: 2 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent), #ff7a18);
}
.eu-recent-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.eu-recent-fallback {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}
.eu-recent-copy {
  min-width: 0;
}
.eu-recent-copy strong,
.eu-recent-copy small {
  display: block;
}
.eu-recent-copy strong {
  margin-bottom: 6px;
  font-size: 16px;
}
.eu-recent-copy small {
  color: var(--text-muted);
  line-height: 1.5;
}
.eu-empty-state {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}
.eu-empty-state strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}
.eu-empty-state p {
  color: var(--text-secondary);
  margin-bottom: 14px;
}
@media (max-width: 980px) {
  .eu-stats-grid,
  .eu-grid {
    grid-template-columns: 1fr;
  }
  .eu-shortcuts {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .eu-shell {
    padding: 20px 14px 42px;
  }
  .eu-hero {
    min-height: auto;
    border-radius: 24px;
  }
  .eu-hero-content {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: auto;
    padding: 20px;
  }
  .eu-avatar {
    width: 120px;
    height: 120px;
    border-radius: 22px;
  }
  .eu-copy h1 {
    font-size: 36px;
  }
  .eu-actions,
  .eu-badges {
    flex-direction: column;
    align-items: stretch;
  }
  .eu-actions .btn,
  .eu-shortcuts,
  .eu-shortcut-card,
  .eu-recent-item {
    width: 100%;
  }
  .eu-shortcuts {
    grid-template-columns: 1fr;
  }
  .eu-recent-item {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .eu-recent-thumb {
    width: 72px;
  }
}
.hero {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: var(--bg-secondary);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center top;
  filter: brightness(0.4);
  transition: transform 8s ease, opacity .45s ease;
}
.hero:hover .hero-bg { transform: scale(1.03); }
.hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000;
  /* Oculto até o player estar pronto */
  opacity: 0;
  transition: opacity .6s ease;
}
.hero-video-wrap.trailer-ready {
  opacity: 1;
}
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  /* PC: zoom generoso para cobrir o hero sem bordas */
  width: 177.78vh; /* 16/9 da altura */
  height: 114vh;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
  opacity: 1;
  transition: opacity .4s ease;
}
.hero.hero-has-trailer .hero-bg {
  opacity: 0;
}
.hero.hero-trailer-ended .hero-video-wrap {
  opacity: 0;
}
.hero.hero-trailer-ended .hero-bg {
  opacity: 1;
}
@media (max-width: 768px) {
  .hero-video {
    /* Mobile: zoom ainda maior para cobrir tela vertical */
    width: 300vw;
    height: 168.75vw;
    min-width: 300vw;
    min-height: 100%;
  }
}

