/* ============================================================
 CSS RESET & VARIABLES
 ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-main: #0c0b0f;
  --surface-lowest: #0e0e12;
  --surface-low: #15141b;
  --surface-mid: #1d1c24;
  --surface-high: #26252f;
  --surface-variant: #35343f;
  --surface-glass: rgba(19, 18, 24, 0.75);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(157, 78, 221, 0.35);

  --primary: #e0b6ff;
  --primary-container: #9d4edd;
  --primary-glow: rgba(157, 78, 221, 0.45);
  --secondary: #c9a0f0;
  --secondary-container: #8b3fe0;
  --tertiary: #b47aff;
  --tertiary-container: #5b21b6;

  --text-white: #ffffff;
  --text-main: #e4e1e8;
  --text-muted: #9d9aa6;
  --text-dim: #716f7c;

  --font-headline: "Outfit", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;
  --container-max: 1600px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  font-family: var(--font-body);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
  overscroll-behavior: none;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

.material-symbols-outlined {
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
  vertical-align: middle;
  display: inline-block;
  line-height: 1;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ============================================================
 HEADER NAV
 ============================================================ */
.cintra-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  z-index: 100;
  background-color: rgba(14, 14, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.brand-logo-wrap:hover .brand-logo {
  transform: scale(1.05);
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.nav-item {
  font-family: var(--font-headline);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  transition: color 0.2s ease;
}

.nav-item:hover {
  color: var(--primary);
}

.nav-item.active {
  color: var(--primary);
  position: relative;
}

.nav-item.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: var(--radius-full);
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary-glow);
}

.btn-discord-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(157, 78, 221, 0.45);
  background: rgba(157, 78, 221, 0.15);
  color: #fff;
  font-family: var(--font-headline);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 0 16px rgba(157, 78, 221, 0.2);
  transition: all 0.25s ease;
}

.btn-discord-nav:hover {
  background: rgba(157, 78, 221, 0.35);
  color: #f2daff;
  box-shadow: 0 0 24px rgba(157, 78, 221, 0.45);
  border-color: var(--primary);
}

.icon-svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ============================================================
 HERO SECTION
 ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: 72px;
  padding-bottom: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* ---- Aurora + grid background (all-violet) ---- */
.hero-mesh-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--bg-main);
}

.hero-mesh-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Perspective grid floor */
.hero-grid-floor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10%;
  height: 65%;
  background-image:
    linear-gradient(rgba(157, 78, 221, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 78, 221, 0.35) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(500px) rotateX(62deg);
  transform-origin: bottom;
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 75%);
  -webkit-mask-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    transparent 75%
  );
  animation: gridScroll 8s linear infinite;
}

@keyframes gridScroll {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 60px;
  }
}

/* Aurora waves */
.aurora-wave {
  position: absolute;
  left: -20%;
  width: 140%;
  height: 420px;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.aurora-wave-1 {
  top: -220px;
  background: radial-gradient(
    ellipse at center,
    rgba(157, 78, 221, 0.5) 0%,
    rgba(157, 78, 221, 0) 70%
  );
  animation: auroraSway1 14s ease-in-out infinite;
}

.aurora-wave-2 {
  top: -140px;
  background: radial-gradient(
    ellipse at center,
    rgba(224, 182, 255, 0.3) 0%,
    rgba(224, 182, 255, 0) 70%
  );
  animation: auroraSway2 18s ease-in-out infinite;
}

.aurora-wave-3 {
  top: -60px;
  background: radial-gradient(
    ellipse at center,
    rgba(91, 33, 182, 0.4) 0%,
    rgba(91, 33, 182, 0) 70%
  );
  animation: auroraSway3 22s ease-in-out infinite;
}

@keyframes auroraSway1 {
  0%,
  100% {
    transform: translateX(-4%) scaleY(1);
  }
  50% {
    transform: translateX(4%) scaleY(1.15);
  }
}

@keyframes auroraSway2 {
  0%,
  100% {
    transform: translateX(3%) scaleY(1.05);
  }
  50% {
    transform: translateX(-5%) scaleY(0.9);
  }
}

@keyframes auroraSway3 {
  0%,
  100% {
    transform: translateX(-2%) scaleY(0.95);
  }
  50% {
    transform: translateX(6%) scaleY(1.1);
  }
}

/* Soft vignette so content stays readable */
.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 40%,
    rgba(12, 11, 15, 0) 0%,
    rgba(12, 11, 15, 0.55) 60%,
    rgba(12, 11, 15, 0.95) 100%
  );
}

@media (prefers-reduced-motion: reduce) {
  .hero-grid-floor,
  .aurora-wave {
    animation: none !important;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.telemetry-pills-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  background-color: rgba(31, 31, 38, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  text-transform: uppercase;
}

.pulse-dot {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--tertiary);
}

.hero-title {
  font-family: var(--font-headline);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #e0b6ff 0%, #c9a0f0 50%, #b47aff 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.08;
  filter: drop-shadow(0 0 35px rgba(157, 78, 221, 0.4));
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  font-family: var(--font-headline);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 500;
  font-style: italic;
  color: var(--secondary);
  max-width: 650px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}

.btn-primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(157, 78, 221, 0.5);
  background: rgba(157, 78, 221, 0.15);
  color: #fff;
  font-family: var(--font-headline);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 0 25px rgba(157, 78, 221, 0.4);
  transition: all 0.25s ease;
}

.btn-primary-action:hover {
  background: rgba(157, 78, 221, 0.35);
  color: #f2daff;
  border-color: var(--primary);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 38px rgba(157, 78, 221, 0.65);
}

.btn-primary-action .icon-svg {
  width: 20px;
  height: 20px;
}

.btn-secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-sm);
  background: var(--surface-high);
  color: var(--tertiary);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-headline);
  font-size: 0.95rem;
  font-weight: 700;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.btn-secondary-action:hover {
  background: var(--surface-variant);
  transform: translateY(-2px);
}

.ip-snippet-bar {
  margin-top: 2.2rem;
  width: 100%;
  max-width: 620px;
  background: rgba(22, 21, 28, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.ip-details {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ip-text {
  font-family: monospace;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
}

.ip-stats {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.players-count {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.btn-copy-ip {
  background: var(--surface-high);
  color: var(--tertiary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.btn-feature {
  background: var(--surface-high);
  color: var(--tertiary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.btn-copy-ip:hover {
  background: var(--primary);
  color: #000;
}

/* ============================================================
 SECTION COMMON STYLES
 ============================================================ */
.section-spacing {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-darker {
  /* background-color: var(--surface-lowest); */
  background: linear-gradient(
    to bottom,
    #0c0b0f 0%,
    #0e0e12 30%,
    #0e0e12 70%,
    #0c0b0f 100%
  );
}

.section-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 2.5rem;
}

.section-header.row-between {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.eyebrow-tag {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.text-cyan {
  color: var(--tertiary);
}
.text-pink {
  color: var(--secondary);
}
.text-purple {
  color: var(--primary);
}

.section-title {
  font-family: var(--font-headline);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.section-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.35rem;
}

.see-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  transition: color 0.2s;
}

.see-more-link:hover {
  color: var(--secondary);
}

.section-header-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.see-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  background: var(--surface-high);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.see-more-btn:hover {
  background: var(--surface-variant);
  border-color: var(--primary-container);
  color: #fff;
}

/* ============================================================
 TABLÓN DE LA COMUNIDAD (NOTICIAS / EVENTOS)
 ============================================================ */
.board-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 992px) {
  .board-layout {
    grid-template-columns: 8fr 4fr;
    align-items: start;
  }
}

.board-hero-card {
  background: var(--surface-low);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.board-hero-image-wrap {
  position: relative;
  height: 320px;
  width: 100%;
  overflow: hidden;
  transition: height 0.25s ease;
}

.board-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.board-hero-card:hover .board-hero-img {
  transform: scale(1.03);
}

.board-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--surface-low) 0%,
    rgba(21, 20, 27, 0.4) 50%,
    transparent 100%
  );
}

.hero-card-tags {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.5rem;
}

.tag-bubble {
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tag-pink {
  background: var(--secondary-container);
  color: #fff;
}

.tag-blur {
  background: rgba(14, 14, 18, 0.85);
  backdrop-filter: blur(8px);
  color: var(--tertiary);
}

.board-hero-body {
  padding: 0rem 1.75rem 1.75rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-card-title {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.hero-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.hero-card-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn-download-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  background: var(--primary-container);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-headline);
  transition: background 0.2s;
}

.btn-download-hero:hover {
  background: var(--primary);
  color: #000;
}

.btn-rules-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  background: var(--surface-high);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-headline);
  transition: background 0.2s;
}

.btn-rules-hero:hover {
  background: var(--surface-variant);
}

.board-side-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.compact-news-card {
  background: var(--surface-low);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease;
}

.compact-news-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-accent);
}

.compact-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}

.small-tag {
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  background: var(--surface-high);
}

.timestamp {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.compact-card-title {
  font-family: var(--font-headline);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.compact-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.compact-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

.compact-news-card[hidden] {
  display: none;
}

.board-more-row {
  grid-column: 1 / -1;
}

.board-more-row[hidden] {
  display: none;
}

.btn-more-news {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.15rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 2px dashed var(--border-accent);
  background: transparent;
  color: var(--text-main);
  font-family: var(--font-headline);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.btn-more-news:hover {
  background: var(--surface-low);
  border-color: var(--primary-container);
  color: #fff;
}

/* ============================================================
 LISTADO COMPLETO DE NOTICIAS (VISTA FORO)
 ============================================================ */
.btn-back-news {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.3rem;
  border-radius: var(--radius-sm);
  background: var(--surface-high);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-family: var(--font-headline);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.btn-back-news:hover {
  background: var(--surface-variant);
  border-color: var(--primary-container);
}

.news-thread-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.news-thread {
  background: var(--surface-low);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition:
    border-color 0.2s,
    transform 0.2s ease;
}

.news-thread:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.news-thread-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}

.news-thread-title {
  font-family: var(--font-headline);
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}

.news-thread-body {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.news-thread-body p + p {
  margin-top: 0.85rem;
}

.news-thread-body ul {
  margin: 0.85rem 0 0 1.15rem;
}

.news-thread-body li {
  margin-bottom: 0.35rem;
}

.news-thread-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

/* ============================================================
 ¿QUÉ SE JUEGA EN CINTRA? (SHOWCASE CAROUSEL BANNER)
 ============================================================ */
.carousel-controls-wrap {
  display: flex;
  gap: 0.5rem;
}

.carousel-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--surface-low);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.carousel-nav-btn:hover {
  background: var(--surface-high);
  border-color: var(--primary);
}

.showcase-viewport {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background-color: var(--surface-lowest);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.showcase-slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.showcase-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.showcase-slide.active-slide {
  opacity: 1;
  pointer-events: auto;
  z-index: 5;
}

.slide-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide-gradient-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 9, 13, 0.95) 0%,
    rgba(10, 9, 13, 0.5) 45%,
    rgba(10, 9, 13, 0.1) 100%
  );
  z-index: 1;
}

.slide-caption-box {
  position: relative;
  z-index: 2;
  padding: 2.5rem;
  max-width: 700px;
}

.genre-badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: #fff;
}

.slide-game-title {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.35rem;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
}

.slide-game-phrase {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.btn-slide-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-headline);
  color: #fff;
  transition: transform 0.2s;
}

.btn-slide-action:hover {
  transform: translateY(-2px);
}

.carousel-dots-bar {
  position: absolute;
  bottom: 1.5rem;
  right: 2rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dot-pill {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot-pill.active-dot {
  background: var(--primary);
  width: 26px;
  border-radius: var(--radius-full);
}

/* ============================================================
 CINE & CLIPS DE LA COMUNIDAD
 ============================================================ */
.clips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.clip-card {
  background: var(--surface-low);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.clip-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-accent);
}

.clip-thumb-wrap {
  position: relative;
  height: 300px;
  cursor: pointer;
  overflow: hidden;
}

.clip-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.clip-thumb-wrap:hover .clip-thumb-img {
  transform: scale(1.06);
}

.clip-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.clip-thumb-wrap:hover .clip-play-overlay {
  background: rgba(0, 0, 0, 0.15);
}

.play-button-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  transition: transform 0.25s ease;
}

.play-purple {
  background: var(--primary-container);
  box-shadow: 0 0 20px rgba(157, 78, 221, 0.6);
}
.play-pink {
  background: var(--secondary-container);
  box-shadow: 0 0 20px rgba(139, 63, 224, 0.6);
}
.play-cyan {
  background: var(--tertiary-container);
  box-shadow: 0 0 20px rgba(180, 122, 255, 0.6);
}

.clip-thumb-wrap:hover .play-button-circle {
  transform: scale(1.15);
}

.clip-duration-tag {
  position: absolute;
  bottom: 0.6rem;
  right: 0.6rem;
  background: rgba(14, 14, 18, 0.9);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-family: monospace;
  color: #fff;
}

.clip-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.clip-author-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.author-avatar-chip {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-avatar-chip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.clip-title {
  font-family: var(--font-headline);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.clip-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Modal */
.video-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 9, 13, 0.9);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.video-modal-backdrop.open {
  display: flex;
}

.video-modal-window {
  background: var(--surface-low);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 720px;
  padding: 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.modal-mock-screen {
  aspect-ratio: 16 / 9;
  background: var(--surface-lowest);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

/* ============================================================
 ZONA DE DESCARGAS (RECURSOS & MODPACKS)
 ============================================================ */
.downloads-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 500px;
}

.search-input-box {
  position: relative;
  flex: 1;
  min-width: 220px;
}

.search-icon-pos {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 1.15rem;
}

.downloads-search-input {
  width: 100%;
  padding: 0.65rem 0.85rem 0.65rem 2.5rem;
  background: var(--surface-low);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
}

.downloads-search-input:focus {
  border-color: var(--tertiary);
}

.downloads-select-filter {
  padding: 0.65rem 1rem;
  background: var(--surface-low);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  outline: none;
}

.downloads-table {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.download-row {
  background: var(--surface-low);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition:
    transform 0.2s,
    background 0.2s;
}

@media (min-width: 900px) {
  .download-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.download-row:hover {
  background: var(--surface-mid);
}

.download-row.is-hidden {
  display: none;
}

.download-item-main {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.download-item-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.download-meta-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.download-row-title {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.download-row-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.download-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-shrink: 0;
}

.download-size-col {
  text-align: right;
}

.size-number {
  font-family: monospace;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.clean-tag {
  font-size: 0.72rem;
  color: var(--tertiary);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  justify-content: flex-end;
}

.btn-download-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-headline);
  transition: all 0.2s ease;
}

.btn-trigger-purple {
  background: var(--primary-container);
  color: #fff;
}

.btn-trigger-purple:hover {
  background: var(--primary);
  color: #000;
}

.btn-trigger-dark {
  background: var(--surface-high);
  color: #fff;
  border: 1px solid var(--border-subtle);
}

.btn-trigger-dark:hover {
  background: var(--secondary-container);
}

/* Accordion FAQ */
.faq-accordion-box {
  margin-top: 2rem;
  background: var(--surface-low);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.faq-toggle-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.faq-toggle-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.faq-toggle-title {
  font-family: var(--font-headline);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.faq-toggle-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.faq-content-drawer {
  display: none;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.faq-content-drawer.open {
  display: block;
}

.faq-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.faq-step-card {
  background: var(--surface-lowest);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.step-number-bubble {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #fff;
}

/* ============================================================
 BANNER CTA FINAL DISCORD
 ============================================================ */
.discord-banner-cta {
  background: linear-gradient(
    135deg,
    var(--surface-high) 0%,
    var(--surface-low) 50%,
    var(--surface-lowest) 100%
  );
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
  .discord-banner-cta {
    flex-direction: row;
  }
}

.cta-text-area {
  max-width: 600px;
}

.cta-headline {
  font-family: var(--font-headline);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.btn-cta-discord {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(157, 78, 221, 0.5);
  background: rgba(157, 78, 221, 0.15);
  color: #fff;
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 0 30px rgba(157, 78, 221, 0.4);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-cta-discord:hover {
  background: rgba(157, 78, 221, 0.35);
  color: #f2daff;
  border-color: var(--primary);
  transform: scale(1.05);
  box-shadow: 0 0 42px rgba(157, 78, 221, 0.65);
}

.btn-cta-discord .icon-svg {
  width: 22px;
  height: 22px;
}

/* ============================================================
 FOOTER
 ============================================================ */
.cintra-footer {
  background: var(--surface-lowest);
  border-top: 1px solid var(--border-subtle);
  padding-top: 4rem;
  padding-bottom: 2.5rem;
  margin-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 6fr 3fr 3fr;
  }
}

.footer-brand-title {
  font-family: var(--font-headline);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-motto {
  font-size: 1rem;
  font-style: italic;
  color: var(--secondary);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.footer-bio {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 450px;
}

.footer-col-title {
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link {
  color: var(--text-muted);
  font-size: 0.88rem;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}

.footer-link span {
  transition: color 0.2s;
}
.footer-link:hover span {
  color: var(--primary);
}

.footer-bottom-bar {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 0.8rem;
}

@media (min-width: 640px) {
  .footer-bottom-bar {
    flex-direction: row;
  }
}

/* Responsive navigation helper */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
}

/* ============================================================
 DETALLE DE NOTICIA (noticias.html?n=<slug>)
 ============================================================ */
/* El listado y el detalle viven en la misma página (noticias.html): la
   clase .view-noticia la pone un script en el <head> cuando la URL trae
   ?n=<slug>, para que la vista correcta se pinte de entrada. */
.news-detail-section {
  display: none;
}

html.view-noticia .news-list-section {
  display: none;
}

html.view-noticia .news-detail-section {
  display: block;
}

.news-detail {
  display: none;
}

.news-detail.is-active {
  display: block;
}

/* Acciones agrupadas al pie de cada noticia del listado */
.news-thread-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.news-detail-card {
  background: var(--surface-low);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.news-detail-image-wrap {
  position: relative;
  width: 100%;
  height: 340px;
  overflow: hidden;
}

.news-detail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-detail-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--surface-low) 0%,
    rgba(21, 20, 27, 0.4) 50%,
    transparent 100%
  );
}

.news-detail-tags {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.news-detail-body {
  padding: 1.75rem;
}

.news-detail-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}

.news-detail-title {
  font-family: var(--font-headline);
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.9rem;
}

.news-detail-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.news-detail-text p + p {
  margin-top: 0.85rem;
}

.news-detail-text ul {
  margin: 0.85rem 0 0 1.15rem;
}

.news-detail-text li {
  margin-bottom: 0.35rem;
}

.news-detail-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

@media (max-width: 768px) {
  .news-detail-image-wrap {
    height: 220px;
  }

  .news-detail-title {
    font-size: 1.45rem;
  }

  .news-detail-body {
    padding: 1.25rem;
  }
}

/* Botón "Leer noticia" (cards del tablón y items del listado) */
.btn-read-news {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--surface-high);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-family: var(--font-headline);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.btn-read-news:hover {
  background: var(--surface-variant);
  border-color: var(--primary-container);
}
