/* ============================================================
   TEMA OMEGANETICS — sistema de diseño unificado (estilo Discord)
   Se carga después de styles.css + site-extra.css.
   Parte 1: páginas principales (Inicio, Actividad, Login).
   ============================================================ */

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

:root {
  /* Acentos estilo Discord (blurple) */
  --accent: #5865F2;
  --accent-2: #7c5cff;
  --accent-soft: rgba(88, 101, 242, 0.16);

  /* Superficies un pelín más cálidas/profundas que el negro plano */
  --surface: #15161d;
  --surface-muted: #1b1c25;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

/* Tipografía consistente en todo el sitio */
* { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }

body {
  background:
    radial-gradient(1100px 620px at 50% -12%, #191a26 0%, rgba(25, 26, 38, 0) 60%),
    var(--bg);
}

/* Títulos un poco más marcados */
h1, h2, h3 { letter-spacing: -0.01em; }

/* --- Botón principal estilo Discord --- */
.btn {
  background: var(--accent) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--radius) !important;
  font-weight: 700 !important;
  box-shadow: 0 12px 26px rgba(88, 101, 242, 0.32);
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(88, 101, 242, 0.42);
}

/* Kickers/etiquetas de sección con tono de acento */
.hero-kicker, .section-kicker, .team-eyebrow {
  color: #aab2ff !important;
  background: var(--accent-soft);
  border: 1px solid rgba(115, 138, 255, 0.28);
  padding: 6px 12px;
  border-radius: 999px;
  display: inline-block;
}

/* Tarjetas y superficies más coherentes (showcases, dropdown de equipo) */
.showcase-carousel,
.team-dropdown-inner {
  border-radius: var(--radius-lg) !important;
  border: 1px solid var(--border) !important;
  background: var(--surface) !important;
}

/* Enlaces de acento */
.showcase-link, .showcase-cta { color: #aab2ff !important; }

/* Footer un poco más limpio */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.site-footer-contact a:hover { color: #aab2ff; }

/* ============================================================
   Colores característicos por sección (unidad + identidad)
   ============================================================ */
:root {
  --accent-wiki: #43d17a;   /* verde Wiki */
  --accent-realm: #c0445a;  /* guindo Realm */
}

/* Badges del nav con borde característico, pero sobrios y consistentes */
.nav-badge-wiki {
  border-color: rgba(67, 209, 122, 0.50) !important;
  background: rgba(67, 209, 122, 0.10) !important;
  color: #cdeedd !important;
}
.nav-badge-wiki:hover, .nav-badge-wiki:focus-visible {
  border-color: rgba(67, 209, 122, 0.85) !important;
  background: rgba(67, 209, 122, 0.18) !important;
  color: #eafff3 !important;
}
.nav-badge-realm {
  border-color: rgba(192, 68, 90, 0.55) !important;
  background: rgba(192, 68, 90, 0.14) !important;
  color: #f4ccd4 !important;
}
.nav-badge-realm:hover, .nav-badge-realm:focus-visible {
  border-color: rgba(192, 68, 90, 0.85) !important;
  background: rgba(192, 68, 90, 0.22) !important;
  color: #ffe1e7 !important;
}

/* ============================================================
   Pulido profesional de las tarjetas del Inicio
   ============================================================ */
.showcase-carousel {
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.showcase-carousel:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.showcase-media img {
  border-radius: 12px;
  transition: transform 0.4s ease;
}
.showcase-carousel:hover .showcase-media img { transform: scale(1.03); }
.showcase-body h3 { font-weight: 700; }
.showcase-kicker { color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.08em; font-size: 11px; }
.showcase-meta { color: var(--text-soft); }

/* Tag y enlaces de cada showcase con su color característico */
.showcase-carousel-wiki { border-color: rgba(67, 209, 122, 0.30) !important; }
.showcase-carousel-wiki .showcase-tag {
  background: rgba(67, 209, 122, 0.14); border: 1px solid rgba(67, 209, 122, 0.40);
  color: #9cf0c2; border-radius: 999px; padding: 4px 12px;
}
.showcase-carousel-wiki .showcase-link, .showcase-carousel-wiki .showcase-cta { color: #9cf0c2 !important; }

.showcase-carousel-store { border-color: rgba(192, 68, 90, 0.30) !important; }
.showcase-carousel-store .showcase-tag {
  background: rgba(192, 68, 90, 0.16); border: 1px solid rgba(192, 68, 90, 0.42);
  color: #f1a8b4; border-radius: 999px; padding: 4px 12px;
}
.showcase-carousel-store .showcase-link, .showcase-carousel-store .showcase-cta { color: #f1a8b4 !important; }

/* Tarjetas de integrantes (¿Quiénes somos?) */
.team-dropdown-grid > * {
  border-radius: var(--radius) !important;
  border: 1px solid var(--border) !important;
  background: var(--surface-muted) !important;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.team-dropdown-grid > *:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong) !important;
}

/* Imágenes destacadas dentro de las secciones */
.section-inline-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* Puntos de carrusel con color de acento */
.carousel-dot.is-active { background: var(--accent) !important; }

/* Sección CTA de creadores en el inicio */
.creadores-cta {
  max-width: 820px;
  margin: 40px auto;
  padding: 40px 28px;
  text-align: center;
  background: linear-gradient(180deg, rgba(88,101,242,.12), rgba(124,92,255,.06));
  border: 1px solid rgba(115,138,255,.25);
  border-radius: var(--radius-lg);
}
.creadores-cta h2 { margin: 12px 0; font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
.creadores-cta p { color: var(--text-soft); max-width: 600px; margin: 0 auto 22px; }

/* Encuadre de fotos de perfil: anclar arriba para que se vea la cara */
.member-card-image,
.team-dropdown-avatar { object-position: center top !important; }

/* Foto grande del perfil: mostrar la imagen COMPLETA desde arriba (sin recortar la cabeza) */
.resume-hero-image {
  object-fit: contain !important;
  object-position: center top !important;
  background: #0b0c10;
}
