/* Modal login flotante Abad */
.auth-modal[hidden] { display: none !important; }
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  animation: authFade 0.25s ease;
}
.auth-modal-panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  background: linear-gradient(165deg, #161616 0%, #0c0c0c 100%);
  border: 1px solid #333;
  border-radius: 18px;
  padding: 1.35rem 1.4rem 1.5rem;
  box-shadow: 0 24px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(220,38,38,0.15);
  animation: authRise 0.32s cubic-bezier(.2,.8,.2,1);
}
.auth-modal-x {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  color: #aaa;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.auth-modal-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Syne, "Source Sans 3", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 1rem;
}
.auth-modal-brand span { color: #dc2626; }
.auth-modal-brand img { border-radius: 10px; }
.auth-modal-tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1rem;
  background: #0a0a0a;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid #2a2a2a;
}
.auth-modal-tabs button {
  flex: 1;
  border: none;
  background: transparent;
  color: #aaa;
  font-weight: 700;
  font: inherit;
  padding: 0.5rem;
  border-radius: 999px;
  cursor: pointer;
}
.auth-modal-tabs button.is-active {
  background: #dc2626;
  color: #fff;
}
.auth-modal-form h2 {
  margin: 0 0 0.35rem;
  font-family: Syne, sans-serif;
  font-size: 1.25rem;
  color: #fff;
}
.auth-modal-form .muted { color: #a3a3a3; margin: 0 0 0.85rem; font-size: 0.92rem; }
.auth-modal-form label {
  display: block;
  margin: 0.55rem 0;
  font-size: 0.88rem;
  color: #cfcfcf;
}
.auth-modal-form input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 0.3rem;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  border: 1px solid #333;
  background: #111;
  color: #eee;
  font: inherit;
}
.auth-modal-btn {
  width: 100%;
  margin-top: 0.9rem;
  padding: 0.85rem 1rem;
  border: none;
  border-radius: 10px;
  background: #dc2626;
  color: #fff;
  font-weight: 700;
  font: inherit;
  cursor: pointer;
}
.auth-modal-btn:disabled { opacity: 0.6; cursor: wait; }
.auth-modal-error {
  color: #fecaca;
  background: rgba(220,38,38,0.15);
  border: 1px solid rgba(220,38,38,0.4);
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  font-size: 0.88rem;
  margin: 0.5rem 0 0;
}
@keyframes authFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes authRise {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

/* Showcase públicos */
.fx-body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 45% at 85% 0%, rgba(220,38,38,0.22), transparent 55%),
    linear-gradient(165deg, #000 0%, #121212 50%, #0a0a0a 100%);
  color: #f5f5f5;
  font-family: "Source Sans 3", system-ui, sans-serif;
}
.fx-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: #000;
  border-bottom: 1px solid #2a2a2a;
  position: sticky;
  top: 0;
  z-index: 20;
}
.fx-brand {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-family: Syne, sans-serif;
  font-weight: 700;
}
.fx-brand span { color: #dc2626; }
.fx-top nav a {
  color: #ddd;
  margin-left: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
.fx-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(2rem, 6vh, 4rem) 1.25rem;
}
.fx-hero h1 {
  font-family: Syne, sans-serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.05;
  margin: 0 0 0.75rem;
}
.fx-hero h1 em { font-style: normal; color: #dc2626; }
.fx-hero p { color: #bdbdbd; font-size: 1.08rem; max-width: 38ch; margin: 0 0 1.25rem; }
.fx-cta { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.fx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  border: 1.5px solid transparent;
  background: #dc2626;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}
.fx-btn.ghost {
  background: transparent;
  border-color: #444;
  color: #eee;
}
.fx-visual {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #2a2a2a;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
  aspect-ratio: 16/10;
  background: #111;
}
.fx-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fx-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.fx-card {
  background: #161616;
  border: 1px solid #2a2a2a;
  border-radius: 16px;
  padding: 1.1rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.fx-card:hover {
  transform: translateY(-4px);
  border-color: #dc2626;
}
.fx-card h3 {
  font-family: Syne, sans-serif;
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}
.fx-card p { margin: 0; color: #a3a3a3; font-size: 0.92rem; }
.fx-card .fx-ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 0.75rem;
  border: 1px solid #333;
}
.fx-kicker {
  display: inline-block;
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f87171;
}
.fx-visual-float {
  animation: fxFloat 5.5s ease-in-out infinite;
}
@keyframes fxFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.fx-demo {
  max-width: 1100px;
  margin: 0 auto 2rem;
  padding: 0 1.25rem;
  display: grid;
  gap: 0.85rem;
}
.fx-demo-post {
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 14px;
  padding: 1rem 1.1rem;
  animation: authRise 0.5s ease both;
}
.fx-demo-post:nth-child(2) { animation-delay: 0.08s; }
.fx-demo-post header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
  font-size: 0.9rem;
}
.fx-demo-post header img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}
.fx-demo-post header span { color: #888; margin-left: auto; font-size: 0.8rem; }
.fx-demo-post p { margin: 0 0 0.55rem; color: #ddd; }
.fx-demo-post footer { display: flex; gap: 1rem; color: #888; font-size: 0.82rem; }
.fx-demo-files { grid-template-columns: repeat(3, 1fr); }
.fx-file {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 14px;
  padding: 1rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.fx-file:hover { border-color: #dc2626; transform: translateY(-3px); }
.fx-file img { width: 40px; height: 40px; border-radius: 10px; }
.fx-file span { font-weight: 700; font-size: 0.92rem; }
.fx-file em { font-style: normal; color: #888; font-size: 0.82rem; }
.fx-demo-profile {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 16px;
  padding: 1.15rem 1.25rem;
}
.fx-demo-avatar {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid #333;
}
.fx-demo-profile p { margin: 0.25rem 0 0.75rem; color: #a3a3a3; }
.fx-demo-tiles {
  grid-template-columns: repeat(4, 1fr);
}
.fx-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: #eee;
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 16px;
  padding: 1.1rem 0.75rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.fx-tile:hover { transform: translateY(-4px); border-color: #dc2626; }
.fx-tile img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; }
.fx-tile span { font-weight: 700; font-size: 0.9rem; }
.fx-demo-meet {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 16px;
  padding: 1rem 1.15rem;
}
.fx-meet-stage {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 220px;
}
.fx-meet-stage img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
}
.fx-meet-stage span { color: #bdbdbd; font-size: 0.95rem; }
@media (max-width: 860px) {
  .fx-hero { grid-template-columns: 1fr; }
  .fx-grid { grid-template-columns: 1fr; }
  .fx-demo-files, .fx-demo-tiles { grid-template-columns: 1fr; }
  .fx-top { flex-wrap: wrap; gap: 0.5rem; }
}
