* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface2: #1e1e1e;
  --accent: #e91e8c;
  --accent2: #ff4db8;
  --text: #ffffff;
  --text-muted: #888;
  --border: #2a2a2a;
  --radius: 12px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
}

/* ── LOGIN ── */
.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: radial-gradient(ellipse at center, #1a0a12 0%, #0a0a0a 70%);
}

.login-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px 40px;
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.login-box h1 {
  text-align: center;
  font-size: 1.8rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.login-box input {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: border 0.2s;
}

.login-box input:focus {
  border-color: var(--accent);
}

.login-box input::placeholder {
  color: var(--text-muted);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border: none;
  border-radius: var(--radius);
  padding: 14px;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
}

.btn-primary:hover { opacity: 0.9; }
.btn-primary:active { transform: scale(0.98); }

.error-msg {
  color: #ff4444;
  font-size: 0.85rem;
  text-align: center;
  display: none;
}

/* ── HOME ── */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-brand {
  font-size: 1.3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-logout {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 16px;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.btn-logout:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.profile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 24px 32px;
  gap: 16px;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
}

.profile-name {
  font-size: 1.5rem;
  font-weight: 700;
}

.profile-bio {
  color: var(--text-muted);
  text-align: center;
  max-width: 480px;
  line-height: 1.6;
  font-size: 0.95rem;
}

.profile-stats {
  display: flex;
  gap: 32px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-number {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── TABS ── */
.tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0 24px 24px;
  border-bottom: 1px solid var(--border);
}

.tab {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 8px 20px;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.tab.active, .tab:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

/* ── GRID DE CONTEÚDO ── */
.content-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 2rem;
}

.card-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-info {
  padding: 12px 16px;
}

.card-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── MODAL DE VÍDEO ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: var(--surface);
  border-radius: 16px;
  width: 100%;
  max-width: 860px;
  overflow: hidden;
}

.modal-box video {
  width: 100%;
  max-height: 70vh;
  background: #000;
}

.modal-footer {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-weight: 600;
}

.btn-close {
  background: var(--surface2);
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  color: var(--text);
  cursor: pointer;
}

/* ── COMENTÁRIOS ── */
.comments-section {
  max-width: 700px;
  margin: 0 auto;
  padding: 32px 24px;
}

.comments-section h2 {
  font-size: 1.2rem;
  margin-bottom: 24px;
  color: var(--text-muted);
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.comment-form textarea {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: var(--text);
  font-size: 0.95rem;
  resize: vertical;
  min-height: 80px;
  outline: none;
  font-family: inherit;
  transition: border 0.2s;
}

.comment-form textarea:focus {
  border-color: var(--accent);
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comment-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  gap: 14px;
}

.comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.comment-body {}

.comment-user {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}

.comment-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text);
}

.comment-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ── RESPONSIVO ── */
@media (max-width: 600px) {
  .navbar { padding: 16px 20px; }
  .content-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .login-box { padding: 32px 24px; }
  .profile-stats { gap: 20px; }
}
