:root {
  --bg: #090514;
  --text: #f5efff;
  --muted: #c3b4e6;
  --accent: #a855f7;
  --accent-2: #d8b4fe;
  --glow: rgba(168, 85, 247, .5);
  --glass: rgba(255, 255, 255, .07);
  --glass-strong: rgba(255, 255, 255, .12);
  --glass-line: rgba(255, 255, 255, .16);
  --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* POZADIE CELEJ STRANKY */
.page-bg {
  position: fixed; inset: 0; z-index: -2;
  background: radial-gradient(circle at 70% 20%, #5b21b6 0%, #2a1260 40%, #090514 100%);
  background-size: cover; background-position: center;
}
.page-shade {
  position: fixed; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(9,5,20,.25) 0%, rgba(9,5,20,.55) 60%, rgba(9,5,20,.8) 100%);
}

.skip { position: absolute; left: -999px; }
.skip:focus { left: 10px; top: 10px; background: var(--accent); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }

/* GLASS */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .12);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

/* HORNA LISTA */
.nav-wrap { position: fixed; top: 16px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding: 0 16px; }
.nav {
  display: flex; align-items: center; gap: 34px;
  padding: 10px 14px 10px 24px; border-radius: 999px;
}
.brand { font-weight: 800; font-size: 1.15rem; letter-spacing: .5px; color: var(--accent-2); text-shadow: 0 0 18px var(--glow); }
.nav nav { display: flex; gap: 6px; }
.nav nav a { color: var(--muted); font-weight: 600; font-size: .95rem; padding: 6px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav nav a:hover { color: #fff; background: var(--glass-strong); }
.nav-cta {
  font-weight: 700; font-size: .92rem; padding: 8px 20px; border-radius: 999px;
  background: var(--glass-strong); border: 1px solid var(--glass-line);
  transition: background .2s, box-shadow .2s;
}
.nav-cta:hover { background: rgba(168, 85, 247, .45); box-shadow: 0 0 20px var(--glow); }

/* PREPINAC JAZYKA */
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid var(--glass-line); }
.lang-btn {
  border: 0; background: transparent; color: var(--muted); cursor: pointer; font: inherit; font-size: .8rem; font-weight: 800;
  padding: 5px 11px; border-radius: 999px; transition: background .2s, color .2s;
}
.lang-btn:hover { color: #fff; }
.lang-btn.active { background: linear-gradient(135deg, var(--accent), #7c3aed); color: #fff; box-shadow: 0 0 14px rgba(168,85,247,.5); }

/* BANER */
.hero { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.hero-content { padding: 120px 20px 80px; }
/* Nadpis ako sklo: priesvitná výplň, svetlý obrys a jemná žiara */
.hero h1 {
  font-size: clamp(3.4rem, 12vw, 7.5rem); font-weight: 900; letter-spacing: -2px; line-height: 1.05;
  color: rgba(255, 255, 255, .22);
  background: linear-gradient(180deg, rgba(255,255,255,.85) 0%, rgba(255,255,255,.28) 48%, rgba(216,180,254,.14) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .55);
  filter: drop-shadow(0 0 22px rgba(168, 85, 247, .55)) drop-shadow(0 6px 22px rgba(0, 0, 0, .45));
}
.tagline { color: #e6d9ff; font-size: 1.25rem; letter-spacing: 3px; text-transform: uppercase; font-weight: 600; margin: 10px 0 34px; text-shadow: 0 2px 12px rgba(0,0,0,.8); }

.action-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; align-items: center; }

/* IP PILL */
.ip-pill {
  display: inline-flex; align-items: center; gap: 14px; cursor: pointer;
  padding: 8px 8px 8px 24px; border-radius: 999px;
  color: #fff; font-size: 1.1rem; font-weight: 800; border: 1px solid rgba(255,255,255,.3);
  background: linear-gradient(135deg, rgba(168,85,247,.9), rgba(124,58,237,.85));
  box-shadow: 0 0 28px rgba(168, 85, 247, .45), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .15s, box-shadow .2s;
}
.ip-pill:hover { transform: translateY(-1px); box-shadow: 0 0 40px var(--glow), inset 0 1px 0 rgba(255,255,255,.4); }
.ip-copy {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.2); border-radius: 999px; padding: 8px 16px;
  font-size: .85rem; font-weight: 700;
}
.ip-pill.big { font-size: 1.35rem; padding: 10px 10px 10px 28px; margin-top: 18px; }

/* GLASS TLACIDLO */
.glass-btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; color: #fff;
  background: var(--glass); border: 1px solid var(--glass-line);
  box-shadow: 0 8px 28px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.14);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.glass-btn:hover { background: var(--glass-strong); transform: translateY(-1px); box-shadow: 0 0 24px rgba(168,85,247,.35); }

/* SOCIALNE SIETE */
.socials { display: flex; gap: 10px; }
.social {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  transition: transform .15s, background .2s, box-shadow .2s;
}
.social:hover { transform: translateY(-2px); background: rgba(168,85,247,.4); box-shadow: 0 0 22px var(--glow); }

.hero-meta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; cursor: pointer;
  color: #f1e8ff; font: inherit; font-size: .98rem; padding: 9px 18px; border-radius: 999px;
  transition: background .2s, box-shadow .2s;
}
.hero-meta:hover { background: var(--glass-strong); box-shadow: 0 0 22px rgba(168,85,247,.35); }
.hero-meta .sep { opacity: .5; }
.hero-meta .chev { opacity: .7; transition: transform .2s; }
.hero-meta[aria-expanded="true"] .chev { transform: rotate(180deg); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 10px #4ade80; }
.dot.off { background: #9ca3af; box-shadow: none; }

/* PANEL S MENAMI HRACOV */
.players-panel {
  width: min(420px, 100%); margin: 14px auto 0; padding: 18px 20px; border-radius: var(--radius); text-align: left;
}
.players-panel[hidden] { display: none; }
.pp-title { font-weight: 700; margin-bottom: 10px; }
.pp-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.pp-list li {
  display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 10px;
  background: var(--glass); border: 1px solid var(--glass-line); font-weight: 600; font-size: .92rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pp-list img { width: 24px; height: 24px; border-radius: 6px; image-rendering: pixelated; flex: none; }
.pp-note { color: var(--muted); font-size: .9rem; margin-top: 8px; }
.pp-note:empty { display: none; }

/* SEKCIE */
.section { padding: 80px 0; }
.section h2 { font-size: 2rem; margin-bottom: 6px; text-shadow: 0 2px 14px rgba(0,0,0,.6); }
.lead { color: var(--muted); margin-bottom: 28px; }

/* PRESKUMAJ */
.tiles { margin-top: 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.tile {
  display: flex; flex-direction: column; gap: 6px; border-radius: var(--radius); padding: 28px;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.tile:hover { transform: translateY(-4px); background: var(--glass-strong); box-shadow: 0 14px 40px rgba(168,85,247,.28), inset 0 1px 0 rgba(255,255,255,.18); }
.tile-icon { font-size: 1.8rem; }
.tile-title { font-size: 1.2rem; font-weight: 700; }
.tile-title i { font-style: normal; color: var(--accent-2); margin-left: 4px; }
.tile-text { color: var(--muted); font-size: .95rem; }

/* GALERIA */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.shot {
  position: relative; aspect-ratio: 16 / 10; cursor: pointer; border-radius: var(--radius); overflow: hidden;
  background: var(--glass); border: 1px solid var(--glass-line);
  box-shadow: 0 8px 28px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
  transition: transform .2s, box-shadow .2s;
}
.shot:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(168,85,247,.35); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot .cap {
  position: absolute; left: 12px; bottom: 12px; padding: 5px 14px; border-radius: 999px;
  font-size: .85rem; font-weight: 700; color: #fff; pointer-events: none;
}
.shot.empty { display: grid; place-items: center; color: var(--muted); cursor: default; }
.shot.empty:hover { transform: none; }

/* PRIPOJ SA */
.join-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.join-card { border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.join-card h3 { font-size: 1.3rem; }
.join-card p { color: var(--muted); }
.join-card strong { color: var(--text); }
.join-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.join-links .glass-btn { padding: 10px 20px; }

/* FOOTER */
.footer { padding: 30px 0 40px; color: var(--muted); font-size: .9rem; }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; border-radius: var(--radius); max-width: 1060px; }

/* LIGHTBOX */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5, 2, 12, .94); display: grid; place-items: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; border-radius: 12px; box-shadow: 0 0 60px var(--glow); }
.lightbox-close { position: absolute; top: 14px; right: 20px; font-size: 2.4rem; color: #fff; background: none; border: 0; cursor: pointer; }

/* TOAST */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px);
  background: var(--accent); color: #fff; font-weight: 700;
  padding: 10px 20px; border-radius: 999px; opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s; z-index: 120;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 820px) {
  .nav { gap: 12px; padding: 8px 10px 8px 16px; }
  .nav nav a { padding: 6px 9px; font-size: .85rem; }
  .nav nav a:nth-child(2), .nav-cta { display: none; }
  .section { padding: 56px 0; }
}
@media (max-width: 520px) {
  .nav nav a:nth-child(5), .nav nav a:nth-child(1) { display: none; }
  .nav { max-width: 100%; gap: 8px; padding: 8px 8px 8px 14px; }
  .nav nav { gap: 2px; }
  .nav nav a { padding: 6px 8px; font-size: .8rem; white-space: nowrap; }
  .brand { font-size: 1rem; }
  .action-row { gap: 10px; }
}
