@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

/* ========================================
   POLÍTICAS DE LA COMUNIDAD — NOWDII
   Tema oscuro profesional
   ======================================== */

:root {
  --amarillo: #FFE600;
  --amarillo-hover: #fff34d;
  --negro: #0a0a0a;
  --negro-card: #141414;
  --negro-hover: #1e1e1e;
  --gris: #b3b3b3;
  --gris-oscuro: #535353;
  --verde: #2ecc71;
  --rojo: #e74c3c;
  --naranja: #f39c12;
  --radius: 16px;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--negro);
  color: #e0e0e0;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

/* ========================================
   HEADER
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.2rem;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 230, 0, 0.08);
}

.header-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.header-btn:active {
  background: rgba(255, 255, 255, 0.15);
}

.header-title {
  font-weight: 700;
  font-size: 1rem;
  color: white;
  letter-spacing: -0.01em;
}

/* ========================================
   CONTENIDO PRINCIPAL
   ======================================== */
.page-content {
  padding: 80px 1rem 2rem;
  max-width: 640px;
  margin: 0 auto;
}

/* ========================================
   INTRO
   ======================================== */
.pol-intro {
  text-align: center;
  padding: 2rem 0.5rem 1.5rem;
}

.pol-intro-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 230, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.6rem;
  color: var(--amarillo);
}

.pol-intro h1 {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.6rem;
}

.pol-intro p {
  font-size: 0.92rem;
  color: var(--gris);
  line-height: 1.6;
}

.pol-updated {
  margin-top: 0.8rem;
  font-size: 0.78rem;
  color: var(--gris-oscuro);
}

/* ========================================
   SECCIONES
   ======================================== */
.pol-section {
  margin-bottom: 1.5rem;
}

.pol-section-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
  padding: 0 0.2rem;
}

.pol-section-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background: rgba(255, 230, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--amarillo);
}

.pol-section-icon.warn {
  background: rgba(243, 156, 18, 0.12);
  color: var(--naranja);
}

.pol-section-header h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
}

/* ========================================
   CARDS
   ======================================== */
.pol-card {
  background: var(--negro-card);
  border-radius: var(--radius);
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ========================================
   LISTAS
   ======================================== */
.pol-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.pol-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #ccc;
}

.pol-list li i {
  margin-top: 3px;
  font-size: 0.8rem;
  min-width: 16px;
  text-align: center;
}

.pol-list li i.ok {
  color: var(--verde);
}

.pol-list li i.mal {
  color: var(--rojo);
}

/* ========================================
   SUBTÍTULOS (PERMITIDO / PROHIBIDO)
   ======================================== */
.pol-subtitle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.pol-subtitle.permitido {
  color: var(--verde);
}

.pol-subtitle.prohibido {
  color: var(--rojo);
  margin-top: 1.2rem;
}

.pol-subtitle i {
  font-size: 0.85rem;
}

/* ========================================
   TEXTO DESCRIPTIVO
   ======================================== */
.pol-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--gris);
  margin-bottom: 1rem;
}

/* ========================================
   SANCIONES
   ======================================== */
.pol-sancion {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.8rem 0;
}

.pol-sancion + .pol-sancion {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pol-sancion-nivel {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: white;
}

.pol-sancion-nivel.nivel-1 {
  background: rgba(46, 204, 113, 0.2);
  color: var(--verde);
}

.pol-sancion-nivel.nivel-2 {
  background: rgba(243, 156, 18, 0.2);
  color: var(--naranja);
}

.pol-sancion-nivel.nivel-3 {
  background: rgba(231, 76, 60, 0.2);
  color: var(--rojo);
}

.pol-sancion strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.2rem;
}

.pol-sancion p {
  font-size: 0.82rem;
  color: var(--gris);
  line-height: 1.5;
}

/* ========================================
   CONTACTO
   ======================================== */
.pol-contacto {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.pol-contacto a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--amarillo);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  background: rgba(255, 230, 0, 0.06);
  transition: background 0.2s;
}

.pol-contacto a:active {
  background: rgba(255, 230, 0, 0.12);
}

.pol-contacto a i {
  font-size: 1rem;
}

/* ========================================
   FOOTER
   ======================================== */
.pol-footer {
  text-align: center;
  padding: 1.5rem 0 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 1rem;
}

.pol-footer a {
  color: var(--gris);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
}

.pol-footer a:active {
  color: var(--amarillo);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (min-width: 480px) {
  .page-content {
    padding-top: 90px;
  }

  .pol-intro h1 {
    font-size: 1.7rem;
  }

  .pol-card {
    padding: 1.5rem;
  }
}
