:root {
  --bg: #05070f;
  --bg-2: #090d18;
  --panel: rgba(11, 16, 30, 0.82);
  --line: rgba(0, 229, 255, 0.18);
  --cyan: #00e5ff;
  --pink: #ff2e88;
  --amber: #ffb703;
  --text: #e8f1ff;
  --muted: #8fa3c8;
  --font-display: "Share Tech Mono", "Courier New", monospace;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(0, 229, 255, 0.16), transparent 60%),
    radial-gradient(ellipse 60% 40% at 85% 25%, rgba(255, 46, 136, 0.09), transparent 60%),
    linear-gradient(180deg, #05070f 0%, #070b15 55%, #05070f 100%);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.018) 0,
    rgba(255, 255, 255, 0.018) 1px,
    transparent 1px,
    transparent 4px
  );
  mix-blend-mode: soft-light;
}

a { color: inherit; }

.cz-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(5, 7, 15, 0.82);
  border-bottom: 1px solid var(--line);
}

.cz-nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
}

.cz-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  text-decoration: none;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  font-size: 1.05rem;
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(0, 229, 255, 0.55);
  white-space: nowrap;
}

.cz-brand span { color: var(--pink); font-size: 0.78rem; }

.cz-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  justify-content: center;
}

.cz-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.cz-links a:hover,
.cz-links a.active { color: var(--cyan); }

.cz-langs {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 999px;
  background: rgba(8, 13, 24, 0.8);
}

.cz-langs button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 700 0.68rem/1 var(--font-body);
  padding: 6px 7px;
  border-radius: 999px;
  cursor: pointer;
}

.cz-langs button:hover,
.cz-langs button.active {
  color: #041018;
  background: var(--cyan);
}

main { position: relative; z-index: 1; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  padding: 80px 0 56px;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(0, 229, 255, 0.35);
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.06);
  color: var(--cyan);
  font: 700 0.7rem/1.2 var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #39ff88;
  box-shadow: 0 0 12px #39ff88;
}

.hero h1 {
  margin: 20px auto 14px;
  max-width: 1000px;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 7vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-shadow: 0 0 30px rgba(0, 229, 255, 0.25);
}

.hero h1 em {
  color: var(--cyan);
  font-style: normal;
}

.hero p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(0.98rem, 2vw, 1.12rem);
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  font: 700 0.78rem/1 var(--font-display);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), #4f8cff);
  color: #03101c;
  box-shadow: 0 0 26px rgba(0, 229, 255, 0.35);
}

.btn-ghost {
  border-color: rgba(255, 46, 136, 0.45);
  color: #ff9cc1;
  background: rgba(255, 46, 136, 0.06);
}

.stats {
  display: flex;
  justify-content: center;
  gap: 34px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--cyan);
}

.stat span {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding: 54px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 80px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.kicker {
  display: inline-block;
  color: var(--pink);
  font: 700 0.7rem/1 var(--font-display);
  letter-spacing: 0.2em;
  margin-bottom: 10px;
}

.section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.section-head p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.games {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.game-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, 0.16);
  border-radius: 10px;
  background: var(--panel);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 24px rgba(0, 229, 255, 0.08);
}

.game-cover {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  position: relative;
}

.game-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(5, 7, 15, 0.9) 100%);
}

.game-year {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 4px 8px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 4px;
  background: rgba(5, 7, 15, 0.75);
  color: var(--cyan);
  font: 700 0.62rem/1 var(--font-display);
  letter-spacing: 0.08em;
}

.game-body { padding: 14px 14px 16px; }

.game-body h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.15;
}

.game-body p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.play {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cyan);
  text-decoration: none;
  font: 700 0.72rem/1 var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.play:hover { color: #fff; }

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.panel {
  border: 1px solid rgba(0, 229, 255, 0.16);
  border-radius: 10px;
  background: var(--panel);
  padding: 22px;
}

.story {
  border-left: 3px solid var(--pink);
}

.story h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
}

.story p {
  margin: 0 0 12px;
  color: #c4d2ea;
  font-size: 0.94rem;
}

.story .muted { color: var(--muted); font-size: 0.8rem; }

.admin-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.admin-avatar {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 183, 3, 0.5);
  border-radius: 8px;
  background: repeating-linear-gradient(135deg, rgba(255, 183, 3, 0.16) 0 6px, transparent 6px 12px);
  color: var(--amber);
  font: 700 0.62rem/1.1 var(--font-display);
  text-align: center;
  letter-spacing: 0.06em;
}

.admin-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.admin-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(255, 183, 3, 0.12);
  color: var(--amber);
  font: 700 0.62rem/1 var(--font-display);
  letter-spacing: 0.08em;
}

.poll {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.poll button {
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 6px;
  background: rgba(0, 229, 255, 0.04);
  color: var(--text);
  padding: 9px 12px;
  cursor: pointer;
  font: 700 0.76rem/1 var(--font-body);
  transition: all 0.15s ease;
}

.poll button:hover,
.poll button.selected {
  border-color: var(--cyan);
  background: rgba(0, 229, 255, 0.14);
  color: var(--cyan);
}

.poll-note {
  min-height: 1.4em;
  color: var(--muted);
  font-size: 0.8rem;
}

.news {
  display: grid;
  gap: 10px;
}

.news-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 229, 255, 0.12);
  border-radius: 8px;
  background: rgba(9, 13, 24, 0.55);
}

.news-item b {
  color: var(--cyan);
  font: 700 0.68rem/1.4 var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-item span {
  color: #c4d2ea;
  font-size: 0.88rem;
}

.footer {
  padding: 36px 0 50px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer a { color: var(--cyan); text-decoration: none; }

.footer a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .section-head p { margin-top: 10px; }
}

@media (max-width: 700px) {
  .cz-nav { flex-wrap: wrap; gap: 10px; padding: 10px 14px; }
  .cz-links { order: 3; width: 100%; justify-content: flex-start; gap: 14px; overflow-x: auto; padding-bottom: 2px; }
  .cz-langs { margin-left: auto; }
  .cz-langs button { padding: 5px 6px; font-size: 0.62rem; }
  .hero { padding: 52px 0 38px; }
  .stats { gap: 20px; }
  .games { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 4px; }
  .wrap { width: min(var(--max), calc(100% - 28px)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* Conversion bar + more button */
body { padding-bottom: 78px; }

.more-games { text-align: center; margin-top: 20px; }

.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(0, 229, 255, 0.35);
  border-radius: 12px;
  background: rgba(5, 7, 15, 0.88);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55), 0 0 24px rgba(0, 229, 255, 0.10);
  backdrop-filter: blur(12px);
  max-width: calc(100% - 24px);
}

.sticky-cta a,
.sticky-cta button {
  border: 0;
  border-radius: 8px;
  padding: 11px 15px;
  color: var(--text);
  background: transparent;
  text-decoration: none;
  font: 700 0.74rem/1 var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}

.sticky-cta a:first-child {
  color: #041018;
  background: linear-gradient(135deg, var(--cyan), #4f8cff);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.30);
}

.sticky-cta button { color: var(--amber); }
.sticky-cta a:last-child { color: #ff9cc1; }

.sticky-cta a:hover,
.sticky-cta button:hover { filter: brightness(1.18); }

@media (max-width: 520px) {
  .sticky-cta { width: calc(100% - 20px); justify-content: space-between; }
  .sticky-cta a,
  .sticky-cta button { padding: 10px 9px; font-size: 0.66rem; }
}

/* Salas */
.rooms { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.room {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 16px; border: 1px solid rgba(0,229,255,.25);
  border-radius: 999px; background: rgba(0,229,255,.04);
  color: var(--text); text-decoration: none;
  font: 700 .78rem/1 var(--font-display); letter-spacing: .04em;
  transition: border-color .2s ease, color .2s ease, background .2s ease, transform .15s ease;
}
.room:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(0,229,255,.10); transform: translateY(-2px); }
