/* Guardián de la Conciencia - Styles */
/* CSS Variables */
:root {
  --bg-color: #1a1a1a;
  --bg-card: #242424;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --accent-color: #d4af37;
  /* Premium Metallic Gold */
  --accent-hover: #b8962e;
  --accent-secondary: #00ff66;
  /* Neon green for sponsor/secondary accents */
  --border-color: #333333;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 600px;
  /* Mobile-first optimized width */
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center {
  text-align: center;
}

.text-accent {
  color: var(--accent-color);
}

.text-muted {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 2rem;
}

/* Typography */
h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary {
  background-color: var(--accent-color);
  color: #000;
  box-shadow: 0 4px 14px rgba(242, 185, 13, 0.4);
}

.btn-primary:active {
  transform: scale(0.98);
  background-color: var(--accent-hover);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-outline:active {
  background-color: var(--bg-card);
}

/* Base Sections */
section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-color);
}

/* Custom Modules */
.hero-section {
  padding-top: 5rem;
  padding-bottom: 3rem;
  text-align: center;
}

.hero-subheadline {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.social-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
  padding: 2rem 0;
}

.metric-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.metric-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

/* Cards */
.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: border-color 0.2s;
}

.card:hover {
  border-color: var(--accent-color);
}

.card-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Sponsor Cards */
.sponsor-card {
  background: linear-gradient(145deg, #1a2a1a, #111);
  border-left: 4px solid var(--accent-secondary);
}

.sponsor-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-secondary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

/* Lists */
.benefits-list {
  list-style: none;
}

.benefits-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.benefits-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-color);
  font-weight: bold;
}

/* Newsletter Snippet style helpers */
.newsletter-placeholder {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.input-base {
  width: 100%;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: #111;
  color: white;
  font-family: inherit;
  font-size: 1rem;
}

.input-base:focus {
  outline: none;
  border-color: var(--accent-color);
}

/* FAQ */
.faq-item {
  margin-bottom: 1.5rem;
}

.faq-question {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

/* Footer */
footer {
  padding: 3rem 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text-primary);
}

/* --- MONETIZATION & NOTEBOOK OPTIMIZATIONS --- */

/* Breaking News Bar */
.breaking-news-bar {
  background-color: #d32f2f;
  /* Dark red for urgency */
  color: white;
  text-align: center;
  padding: 0.5rem 1rem;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: fixed;
  /* Sticky top */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  animation: pulse-bg 2s infinite;
}

@keyframes pulse-bg {
  0% {
    background-color: #d32f2f;
  }

  50% {
    background-color: #b71c1c;
  }

  100% {
    background-color: #d32f2f;
  }
}

.breaking-news-bar span.badge {
  background: black;
  color: #fff;
  padding: 0.1rem 0.5rem;
  border-radius: 4px;
}

/* Dashboard / Termómetro del Colapso */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.dashboard-widget {
  background: #111;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.dashboard-widget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-color);
}

.widget-title {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.widget-value {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: monospace;
}

.widget-trend {
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 0.25rem;
}

.trend-up {
  color: #00ff66;
}

.trend-down {
  color: #ff3333;
}

/* Sticky Sidebar Ad Container (For Desktop) */
.layout-with-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.main-content {
  flex: 1;
}

.sidebar {
  width: 100%;
}

@media (min-width: 900px) {
  .layout-with-sidebar {
    flex-direction: row;
  }

  .sidebar {
    width: 300px;
    flex-shrink: 0;
  }

  .sticky-ad {
    position: sticky;
    top: 5rem;
    /* Below breaking news bar */
  }
}

/* Native Ad styling */
.native-ad {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1rem;
  border-radius: 8px;
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: 1.5rem 0;
}

.native-ad-img {
  width: 80px;
  height: 80px;
  background: #333;
  border-radius: 4px;
}

.native-ad-content {
  flex: 1;
}

.native-ad-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--accent-color);
}

.native-ad-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Animations for supplied images */
.hero-image-container {
  margin-bottom: 2rem;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  border: 1px solid var(--border-color);
}

.hero-image-container img {
  width: 100%;
  display: block;
  transform: scale(1.05);
  /* initial slight zoom */
  transition: transform 10s ease-in-out;
}

.hero-image-container:hover img {
  transform: scale(1);
}

/* Glow effect underneath image */
.hero-image-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, var(--bg-color), transparent);
  pointer-events: none;
}

/* =========================================
   Fase 7: Estandarización Global
   Barra de Navegación Unificada
   ========================================= */
.navbar {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-primary, #1a1a1a);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  /* Evita que se rompa en celulares */
  gap: 1rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar-brand img {
  height: 30px;
}

.navbar-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.navbar-nav .nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent-color);
}

@media (max-width: 600px) {
  .navbar .container {
    flex-direction: column;
    justify-content: center;
  }
}

/* =========================================
   Espacio Reservado para AdSense (Desarrollo)
   ========================================= */
.ad-placeholder {
  width: 100%;
  min-height: 90px;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: monospace;
}

.widget-trend {
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 0.25rem;
}

.trend-up {
  color: #00ff66;
}

.trend-down {
  color: #ff3333;
}

/* Sticky Sidebar Ad Container (For Desktop) */
.layout-with-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.main-content {
  flex: 1;
}

.sidebar {
  width: 100%;
}

@media (min-width: 900px) {
  .layout-with-sidebar {
    flex-direction: row;
  }

  .sidebar {
    width: 300px;
    flex-shrink: 0;
  }

  .sticky-ad {
    position: sticky;
    top: 5rem;
    /* Below breaking news bar */
  }
}

/* Native Ad styling */
.native-ad {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1rem;
  border-radius: 8px;
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: 1.5rem 0;
}

.native-ad-img {
  width: 80px;
  height: 80px;
  background: #333;
  border-radius: 4px;
}

.native-ad-content {
  flex: 1;
}

.native-ad-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--accent-color);
}

.native-ad-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Animations for supplied images */
.hero-image-container {
  margin-bottom: 2rem;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  border: 1px solid var(--border-color);
}

.hero-image-container img {
  width: 100%;
  display: block;
  transform: scale(1.05);
  /* initial slight zoom */
  transition: transform 10s ease-in-out;
}

.hero-image-container:hover img {
  transform: scale(1);
}

/* Glow effect underneath image */
.hero-image-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, var(--bg-color), transparent);
  pointer-events: none;
}

/* =========================================
   Fase 7: Estandarización Global
   Barra de Navegación Unificada
   ========================================= */
.navbar {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-primary, #1a1a1a);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  /* Evita que se rompa en celulares */
  gap: 1rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar-brand img {
  height: 30px;
}

.navbar-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.navbar-nav .nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent-color);
}

@media (max-width: 600px) {
  .navbar .container {
    flex-direction: column;
    justify-content: center;
  }
}

/* =========================================
   Espacio Reservado para AdSense (Desarrollo)
   ========================================= */
.ad-placeholder {
  width: 100%;
  min-height: 90px;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--font-mono, monospace);
  font-size: 0.8rem;
  text-align: center;
  margin: 1.5rem 0;
  border-radius: 4px;
}

/* FORCED SEPARATION ADS */
div[id*="monetag"], iframe[src*="nap5k"] {
    margin-top: 150px !important;
    z-index: 999998 !important;
}
div[id*="adsterra"], div[class*="socialbar"] {
    z-index: 999999 !important;
    top: 10px !important;
}