/* Experiencia Tech 2026 — skin.css
   Traducido a mano de las clases Tailwind del sitio original (no usamos el
   bundler de Tailwind aquí, así que esto es CSS plano equivalente).
   Los valores de colores/gradientes/animaciones abajo son los EXACTOS del
   sistema de diseño original (sacados de src/styles.css), no aproximados.
   DNN no auto-carga este archivo: se enlaza explícito desde Skin.ascx
   con <%= SkinPath %>skin.css */

:root {
  --et-bg: #0a0d35;
  --et-bg-soft: rgba(11, 17, 61, 0.8);
  --et-bg-marquee: rgba(11, 17, 61, 0.6);
  --et-fg: oklch(0.98 0.01 275);
  --et-muted: oklch(0.75 0.04 275);
  --et-primary: oklch(0.66 0.22 295);
  --et-primary-glow: oklch(0.76 0.20 295);
  --et-secondary: oklch(0.38 0.19 285);
  --et-border: oklch(1 0 0 / 12%);
  --et-border-soft: oklch(1 0 0 / 10%);
  --et-gradient-primary: linear-gradient(135deg, var(--et-primary), var(--et-primary-glow));
  --et-shadow-glow: 0 0 60px -10px oklch(0.66 0.22 295 / 0.55);
}

.et-skin {
  min-height: 100vh;
  background-color: var(--et-bg);
  background-image:
    radial-gradient(ellipse at 20% 0%, oklch(0.38 0.19 285 / 0.55), transparent 60%),
    radial-gradient(ellipse at 80% 100%, oklch(0.66 0.22 295 / 0.35), transparent 55%);
  color: var(--et-fg);
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Arreglo real (no un workaround de navegador) para el panel de "agregar
   módulo" de DNN que se corta/superpone al fondo de la ventana. Copiado
   exactamente del patrón del skin ccma (que sí funciona bien en este
   mismo DNN): el body necesita position:relative + height:100% en modo
   edición, y los Panes vacíos deben ocultarse para visitantes normales
   y solo mostrarse (con su propio tamaño) cuando se está editando —
   DNN ya les agrega la clase DNNEmptyPane automáticamente. */
.dnnEditState {
  height: 100%;
  position: relative;
}

body:not(.dnnEditState) .DNNEmptyPane {
  display: none;
}

body.dnnEditState .DNNEmptyPane {
  display: block;
  min-height: 48px;
}

.et-text-gradient {
  background: var(--et-gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Header ---------- */

.et-header {
  position: relative;
  z-index: 40;
  border-bottom: 1px solid var(--et-border-soft);
}

.et-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
}

@media (min-width: 640px) {
  .et-header__inner { padding: 16px 32px; }
}

.et-header__logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
}

.et-header__logo {
  height: 1.4rem;
  width: auto;
}

@media (min-width: 640px) {
  .et-header__logo { height: 1.6rem; }
}

.et-header__nav {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(245, 245, 255, 0.8);
}

@media (min-width: 1024px) {
  .et-header__nav { display: flex; }
}

.et-header__link {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.et-header__link:hover {
  color: var(--et-fg);
}

.et-header__register-btn {
  white-space: nowrap;
  border-radius: 9999px;
  background: var(--et-gradient-primary);
  color: #fff;
  padding: 10px 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.et-header__register-btn:hover { transform: scale(1.03); }

.et-header__menu-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  width: 36px;
  flex-shrink: 0;
  border-radius: 9999px;
  border: 1px solid var(--et-border);
  background: oklch(1 0 0 / 5%);
  color: var(--et-fg);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

@media (min-width: 1024px) {
  .et-header__menu-btn { display: none; }
}

.et-header__mobile-nav {
  display: none;
  border-top: 1px solid var(--et-border-soft);
  background: rgba(11, 17, 61, 0.95);
  backdrop-filter: blur(20px);
}
.et-header__mobile-nav--open { display: block; }
@media (min-width: 1024px) {
  .et-header__mobile-nav { display: none !important; }
}

.et-header__mobile-nav ul {
  list-style: none;
  margin: 0 auto;
  padding: 8px 16px;
  max-width: 1280px;
}

.et-header__mobile-nav li {
  border-bottom: 1px solid var(--et-border-soft);
}
.et-header__mobile-nav li:last-child {
  border-bottom: none;
  padding: 16px 0;
}

.et-header__mobile-nav a {
  display: block;
  padding: 12px 0;
  color: oklch(0.98 0.01 275 / 0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.et-header__mobile-nav li:last-child a {
  text-align: center;
  border-radius: 9999px;
  background: var(--et-gradient-primary);
  color: #fff;
  padding: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
}

/* ---------- Main / ContentPane wrapper ---------- */

.et-main {
  position: relative;
}

/* ---------- Footer ---------- */

.et-footer {
  border-top: 1px solid var(--et-border);
  background: var(--et-bg-soft);
}

.et-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  gap: 32px;
  padding: 48px 16px;
}

@media (min-width: 640px) {
  .et-footer__inner { padding: 48px 32px; }
}

@media (min-width: 768px) {
  .et-footer__inner { grid-template-columns: repeat(3, 1fr); }
}

.et-footer__title {
  font-size: 18px;
  font-weight: 900;
}

.et-footer__desc {
  margin-top: 8px;
  font-size: 14px;
  color: var(--et-muted);
  line-height: 1.6;
}

.et-footer__heading {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--et-muted);
}

.et-footer__list {
  margin-top: 12px;
  list-style: none;
  padding: 0;
  font-size: 14px;
  line-height: 1.9;
}

.et-footer__list a {
  color: inherit;
  text-decoration: none;
}

.et-footer__list a:hover {
  color: var(--et-primary-glow);
}

/* ---------- Marquee ---------- */

.et-marquee {
  overflow: hidden;
  border-top: 1px solid var(--et-border-soft);
  border-bottom: 1px solid var(--et-border-soft);
  background: var(--et-bg-marquee);
  padding: 16px 0;
}

.et-marquee__track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: et-marquee-scroll 80s linear infinite;
}

.et-marquee--reverse .et-marquee__track {
  animation-direction: reverse;
}

@keyframes et-marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.et-marquee__item {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

@media (min-width: 640px) {
  .et-marquee__item { font-size: 30px; }
}

.et-marquee__phrase-a {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--et-gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.et-marquee__icon {
  height: 24px;
  width: auto;
}

@media (min-width: 640px) {
  .et-marquee__icon { height: 32px; }
}

.et-marquee__star {
  color: var(--et-primary);
}

.et-marquee__star--sm {
  font-size: 18px;
}

@media (min-width: 640px) {
  .et-marquee__star--sm { font-size: 24px; }
}

.et-marquee__phrase-b {
  color: oklch(0.98 0.01 275 / 0.6);
}
