:root {
  --bg-main: #f4f6f9;
  --bg-card: #ffffff;
  --text-main: #1a1a1a;
  --text-muted: #666666;
  --primary-red: #c8102e; /* Vermelho Notícia G1/YouTube */
  --primary-dark: #900018;
  --accent-blue: #0056b3;
  --border-color: #e2e8f0;
  --header-bg: #111111;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

.container {
  max-width: 1050px;
  margin: 0 auto;
  padding: 20px;
}

/* Header Estilo Portal de Notícias SP News */
header {
  background-color: var(--header-bg);
  border-bottom: 4px solid var(--primary-red);
  padding: 18px 0;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header h1 {
  margin: 0;
  color: #ffffff;
  text-align: center;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

header h1 span {
  color: var(--primary-red);
}

/* Cards & Containers */
.card {
  background-color: var(--bg-card);
  border-radius: 6px;
  padding: 25px;
  margin-bottom: 25px;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Botões Profissionais */
.btn {
  background-color: var(--primary-red);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.2s ease;
}

.btn:hover {
  background-color: var(--primary-dark);
}

.btn-cyan {
  background-color: #2b303a;
  color: #fff;
}

.btn-cyan:hover {
  background-color: #1a1d24;
}

/* Formulários */
form label {
  display: block;
  margin-top: 15px;
  font-weight: 700;
  color: #333333;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

input[type="text"], input[type="password"], input[type="number"], select, textarea {
  width: 100%;
  padding: 11px;
  margin-top: 6px;
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 4px;
  color: #222;
  box-sizing: border-box;
  font-size: 1rem;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.15);
}

/* Modais / Ads */
.popup-ad-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: flex; justify-content: center; align-items: center;
  z-index: 99999;
}

.popup-ad-content {
  background: var(--bg-card);
  padding: 20px;
  border-radius: 6px;
  position: relative;
  max-width: 90%;
  border-top: 4px solid var(--primary-red);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.close-popup {
  position: absolute;
  top: -12px; right: -12px;
  background: #222;
  color: white;
  border: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  font-weight: bold;
  cursor: pointer;
}

/* Player de Vídeo Responsivo */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 6px;
  background-color: #000;
  margin-top: 15px;
}

.video-container iframe {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%; border: 0;
}