/* CZSK SMP — varianta ve stylu 2
   Tmavý portál s novinkovým feedem a barevným sidebarem. */

:root {
  --bg: #121322;
  --bg-2: #141627;
  --panel: #1c1f37;
  --panel-2: #191c30;
  --line: #2a2e4a;
  --line-soft: #232641;
  --text: #e6e8f2;
  --muted: #9aa0bd;
  --muted-2: #6f76a0;

  --purple: #5a28f3;
  --purple-2: #a855f7;
  --green: #10b981;
  --blue: #0d6efd;
  --orange: #f97316;
  --pink: #e0348b;

  --font-h: "Montserrat", "Segoe UI", sans-serif;
  --font-b: "Inter", "Segoe UI", sans-serif;

  --r: 14px;
  --maxw: 1320px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-h);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #fff;
}

p {
  margin: 0;
}

b,
strong {
  color: #fff;
}

::selection {
  background: var(--purple-2);
  color: #0b0c16;
}

:focus-visible {
  outline: 2px solid var(--purple-2);
  outline-offset: 3px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.9);
  flex: none;
}

/* ---------- tlačítka ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: var(--font-b);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.16s var(--ease), filter 0.16s ease, background 0.16s ease,
    border-color 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.btn--sm {
  padding: 9px 16px;
  font-size: 0.78rem;
}

.btn--block {
  display: flex;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.76rem;
}

.btn--block:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
}

.btn--ghost:hover {
  border-color: var(--purple-2);
  color: #fff;
}

.btn--pink {
  background: linear-gradient(90deg, #c026d3, var(--pink));
  border-color: transparent;
}

/* ---------- horní lišta ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 70;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(13, 15, 29, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 26px;
  width: min(var(--maxw), 94%);
  margin-inline: auto;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-h);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand svg {
  width: 26px;
  height: 26px;
}

.brand b {
  color: #ffd166;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: 8px;
}

.nav a {
  position: relative;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #cfd3e6;
  white-space: nowrap;
  transition: color 0.16s ease;
}

.nav a:hover {
  color: #fff;
}

.nav a.is-active {
  color: var(--purple-2);
}

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--purple-2);
  box-shadow: 0 0 12px var(--purple-2);
}

.nav__pill {
  padding: 8px 18px;
  border-radius: 8px;
  background: linear-gradient(180deg, #7c3aed, var(--purple));
  color: #fff !important;
  box-shadow: 0 8px 20px -12px var(--purple-2);
}

.nav__pill::after {
  display: none;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.ipchip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.ipchip:hover {
  border-color: var(--green);
  background: rgba(16, 185, 129, 0.1);
}

.burger {
  display: none;
  position: relative;
}

.burger summary {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  list-style: none;
}

.burger summary::-webkit-details-marker {
  display: none;
}

.burger summary span,
.burger summary span::before,
.burger summary span::after {
  display: block;
  width: 15px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.18s var(--ease), opacity 0.18s ease;
}

.burger summary span::before,
.burger summary span::after {
  content: "";
  margin-top: 5px;
}

.burger[open] summary span {
  transform: translateY(7px) rotate(45deg);
}

.burger[open] summary span::before {
  opacity: 0;
}

.burger[open] summary span::after {
  transform: translateY(-7px) rotate(-90deg);
}

.burger nav {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  display: grid;
  gap: 2px;
  min-width: 200px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #16182b;
  box-shadow: 0 26px 50px -24px #000;
}

.burger nav a {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #cfd3e6;
}

.burger nav a:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* ---------- hero ---------- */

.hero-wrap {
  position: relative;
  padding: 26px 0 0;
  overflow: hidden;
}

.hero-wrap__blur {
  position: absolute;
  inset: -40px -10% auto;
  height: 520px;
  background: url("../img/hero.webp") center / cover no-repeat;
  filter: blur(38px) saturate(1.3);
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
}

.hero {
  position: relative;
  width: min(var(--maxw), 94%);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r);
  background: var(--panel-2);
  box-shadow: 0 40px 80px -50px #000;
}

.hero img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  opacity: 0.9;
}

.hero__logo {
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-h);
  font-size: clamp(40px, 6.6vw, 96px);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.8), 0 0 60px rgba(120, 160, 255, 0.35);
  white-space: nowrap;
}

.hero__logo span {
  color: #ffd166;
}

.hero__strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 24px;
  background: linear-gradient(180deg, rgba(12, 14, 26, 0.2), rgba(12, 14, 26, 0.9));
  text-align: center;
}

.hero__strip p {
  font-size: 0.95rem;
  font-style: italic;
  color: #e9ebf6;
}

/* ---------- CTA dvojice ---------- */

.cta-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: min(var(--maxw), 94%);
  margin: 20px auto 0;
}

.cta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 24px 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r);
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s ease;
}

.cta:hover {
  transform: translateY(-3px);
}

.cta__title {
  font-family: var(--font-h);
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
}

.cta__sub {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.cta__btn {
  margin-top: 14px;
  padding: 9px 20px;
  border-radius: 8px;
  background: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a1330;
}

.cta--discord {
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(168, 85, 247, 0.85), transparent 60%),
    linear-gradient(135deg, #5a28f3, #3b1bb0);
  box-shadow: 0 24px 50px -34px var(--purple-2);
}

.cta--discord::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -30px;
  width: 190px;
  height: 190px;
  background: url("../img/discord-img.webp") center / contain no-repeat;
  opacity: 0.5;
  pointer-events: none;
}

.cta--minecraft {
  background:
    linear-gradient(135deg, rgba(16, 185, 129, 0.92), rgba(6, 95, 70, 0.95)),
    url("../img/gallery-2.webp") center / cover;
  box-shadow: 0 24px 50px -34px var(--green);
}

.cta--minecraft b {
  color: #fff;
}

/* ---------- layout ---------- */

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 372px;
  gap: 22px;
  width: min(var(--maxw), 94%);
  margin: 22px auto 0;
  align-items: start;
}

/* ---------- feed ---------- */

.feed {
  display: grid;
  gap: 22px;
}

.post {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  background: var(--panel-2);
}

.post__hero {
  position: relative;
}

.post__hero img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.post__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 24, 0.15) 20%, rgba(10, 12, 24, 0.85));
}

.post__overlay {
  position: absolute;
  left: 26px;
  bottom: 22px;
  z-index: 2;
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.85);
}

.post__badge {
  position: absolute;
  left: 26px;
  top: 20px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(12, 14, 26, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.post__body {
  display: grid;
  gap: 10px;
  padding: 20px 26px 4px;
  font-size: 0.88rem;
  color: var(--muted);
}

.post__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding: 16px 26px;
  border-top: 1px solid var(--line-soft);
}

.post__date {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 16px;
  border-right: 1px solid var(--line-soft);
  font-family: var(--font-h);
  line-height: 1;
}

.post__date b {
  font-size: 1.5rem;
  font-weight: 800;
}

.post__date span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.post__info {
  min-width: 0;
}

.post__info h3 {
  font-size: 1rem;
  font-weight: 700;
}

.post__info > span {
  display: block;
  margin-top: 3px;
  font-size: 0.74rem;
  color: var(--muted-2);
}

.post__info i {
  font-style: normal;
  margin-inline: 6px;
}

.like {
  color: #f87171;
}

.post__meta .btn {
  margin-left: auto;
}

.pager {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.pager__btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--panel);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.pager__btn:hover {
  color: #fff;
  border-color: var(--purple-2);
}

.pager__btn.is-active {
  background: linear-gradient(180deg, #7c3aed, var(--purple));
  border-color: transparent;
  color: #fff;
}

/* ---------- sidebar ---------- */

.side {
  display: grid;
  gap: 18px;
}

.card {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  background: var(--panel-2);
}

.card__head {
  padding: 14px 18px;
  color: #fff;
}

.card__head h2 {
  font-size: 1.15rem;
  font-weight: 800;
}

.card__head p {
  margin-top: 2px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

.card--blue .card__head {
  background: linear-gradient(135deg, #0d6efd, #0a4bb5);
}

.card--purple .card__head {
  background: linear-gradient(135deg, #a855f7, #5a28f3);
}

.card--orange .card__head {
  background: linear-gradient(135deg, #fb923c, #ea580c);
}

.card--pink .card__head {
  background: linear-gradient(135deg, #e0348b, #c026d3);
}

.card--faq .card__head {
  background: linear-gradient(135deg, #334155, #1e293b);
}

.kv {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 10px 16px;
  list-style: none;
}

.kv li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.8rem;
}

.kv li:last-child {
  border-bottom: 0;
}

.kv span {
  color: var(--muted-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kv b {
  font-size: 0.82rem;
  text-align: right;
}

.rules {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 14px 16px;
  list-style: none;
}

.rules li {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-left: 2px solid var(--purple-2);
  border-radius: 0 8px 8px 0;
  background: rgba(168, 85, 247, 0.08);
}

.rules b {
  font-size: 0.82rem;
}

.rules span {
  font-size: 0.76rem;
  color: var(--muted);
}

.card__note {
  padding: 0 16px 14px;
  font-size: 0.74rem;
  color: var(--muted-2);
}

.mini-steps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 14px 16px 14px 32px;
  font-size: 0.8rem;
  color: var(--muted);
}

.mini-steps li::marker {
  color: var(--orange);
  font-weight: 700;
}

.card > .btn {
  width: calc(100% - 32px);
  margin: 0 16px 16px;
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 12px 16px 0;
}

.thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.2s var(--ease), filter 0.2s ease;
}

.thumbs img:hover {
  transform: scale(1.04);
  filter: brightness(1.1);
}

.card details {
  border-top: 1px solid var(--line-soft);
}

.card details:last-child {
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 4px;
}

.card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #dfe3f2;
  cursor: pointer;
  list-style: none;
  transition: color 0.16s ease;
}

.card summary::-webkit-details-marker {
  display: none;
}

.card summary::after {
  content: "+";
  font-size: 1rem;
  color: var(--purple-2);
  transition: transform 0.18s var(--ease);
}

.card summary:hover {
  color: #fff;
}

.card details[open] summary::after {
  transform: rotate(45deg);
}

.card details > p {
  padding: 0 18px 14px;
  font-size: 0.78rem;
  color: var(--muted);
}

.card a {
  color: var(--purple-2);
}

/* ---------- patička ---------- */

.foot {
  margin-top: 40px;
  padding: 40px 0 24px;
  border-top: 1px solid var(--line-soft);
  background: #0f1120;
}

.foot__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  width: min(var(--maxw), 94%);
  margin-inline: auto;
}

.foot__col h3 {
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.foot__col p {
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--muted-2);
}

.foot__col a {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--muted);
  transition: color 0.16s ease;
}

.foot__col a:hover {
  color: #fff;
}

.socials {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #7c3aed, var(--purple));
  color: #fff;
}

.socials a:nth-child(2) {
  background: linear-gradient(135deg, #f43f5e, #b91c1c);
}

.socials a:nth-child(3) {
  background: linear-gradient(135deg, #22d3ee, #2563eb);
}

.socials svg {
  width: 16px;
  height: 16px;
}

.foot__note {
  width: min(var(--maxw), 94%);
  margin: 26px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.74rem;
  color: var(--muted-2);
}

/* ---------- modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(6, 7, 16, 0.84);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.modal[hidden] {
  display: none;
}

.modal__box {
  position: relative;
  width: min(560px, 100%);
  max-height: 82vh;
  overflow-y: auto;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  animation: pop 0.2s var(--ease);
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.99);
  }
}

.modal__box h2 {
  font-size: 1.3rem;
  padding-right: 30px;
}

.modal__meta {
  margin-top: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple-2);
}

.modal__box p + p {
  margin-top: 10px;
}

.modal__box p {
  font-size: 0.86rem;
  color: var(--muted);
}

.modal__box a {
  color: var(--purple-2);
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.modal__close:hover {
  border-color: var(--purple-2);
  color: #fff;
}

/* ---------- cookies + toast ---------- */

.cookies {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 100;
  width: min(360px, calc(100% - 32px));
  transform: translateX(-50%);
  padding: 16px;
  border: 1px solid #2b2f45;
  border-radius: 12px;
  background: #0d0f1d;
  box-shadow: 0 20px 50px -20px #000;
  text-align: center;
}

.cookies[hidden] {
  display: none;
}

.cookies p {
  margin-bottom: 12px;
  font-size: 0.76rem;
  color: var(--muted);
}

.cookies .btn {
  background: linear-gradient(180deg, #7c3aed, var(--purple));
  border-color: transparent;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 130;
  padding: 11px 20px;
  border: 1px solid var(--green);
  border-radius: 10px;
  background: #0d0f1d;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- responzivita ---------- */

@media (max-width: 1180px) {
  .layout {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .nav {
    gap: 14px;
  }

  .nav a {
    font-size: 0.72rem;
  }
}

@media (max-width: 1000px) {
  .nav {
    display: none;
  }

  .burger {
    display: block;
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .foot__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .hero img {
    height: 300px;
  }

  .hero__strip p {
    font-size: 0.84rem;
  }

  .cta-row {
    grid-template-columns: 1fr;
  }

  .post__hero img {
    height: 240px;
  }

  .post__overlay {
    left: 18px;
    bottom: 16px;
  }

  .post__badge {
    left: 18px;
    top: 16px;
  }

  .post__body {
    padding: 16px 18px 0;
  }

  .post__meta {
    flex-wrap: wrap;
    padding: 14px 18px;
  }

  .post__meta .btn {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .side {
    grid-template-columns: 1fr;
  }

  .cta {
    padding: 20px 96px 20px 20px;
  }

  .cta--discord::after {
    right: -18px;
    bottom: -28px;
    width: 130px;
    height: 130px;
    opacity: 0.38;
  }

  .cta__title {
    font-size: 1.45rem;
  }

  .cta__sub {
    font-size: 0.68rem;
  }

  .ipchip {
    display: none;
  }

  .foot__grid {
    grid-template-columns: 1fr;
  }

  .hero__logo {
    font-size: clamp(32px, 11vw, 52px);
  }

  .post__date b {
    font-size: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}

/* ---------- oznámení + odpočet ---------- */

.notice {
  border-bottom: 1px solid rgba(168, 85, 247, 0.35);
  background: linear-gradient(90deg, #3b1bb0, #6d28d9 45%, #a21caf);
}

.notice__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  width: min(var(--maxw), 94%);
  margin-inline: auto;
  padding: 9px 0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.notice__inner b {
  color: #ffe27a;
}

.notice a {
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.9;
}

.notice a:hover {
  opacity: 1;
}

.countdown {
  display: inline-flex;
  gap: 6px;
  font-variant-numeric: tabular-nums;
}

.countdown span {
  min-width: 30px;
  padding: 3px 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.28);
  text-align: center;
  letter-spacing: 0.02em;
}

.countdown em {
  font-style: normal;
  opacity: 0.75;
  font-size: 0.72em;
  align-self: center;
}

/* velký odpočet */

.countdown--big {
  gap: 10px;
  margin-top: 22px;
}

.countdown--big span {
  min-width: 74px;
  padding: 12px 10px;
  border-radius: 10px;
  background: rgba(12, 14, 26, 0.72);
  border: 1px solid rgba(168, 85, 247, 0.45);
  font-family: var(--font-h);
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 800;
  color: #fff;
}

.countdown--big em {
  font-size: 0.6em;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* ---------- hlavička podstránky ---------- */

.pagehead {
  position: relative;
  width: min(var(--maxw), 94%);
  margin: 24px auto 0;
  padding: 34px 32px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(90, 40, 243, 0.35), transparent 55%),
    var(--panel-2);
}

.pagehead__crumb {
  display: flex;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.pagehead__crumb a:hover {
  color: #fff;
}

.pagehead h1 {
  margin-top: 10px;
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.pagehead p {
  max-width: 68ch;
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- obecné sekce ---------- */

.block {
  width: min(var(--maxw), 94%);
  margin: 26px auto 0;
}

.block__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.block__head h2 {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.block__head a,
.block__head span {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.block__head a:hover {
  color: var(--purple-2);
}

.panel {
  padding: 24px 26px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  background: var(--panel-2);
}

.panel h3 {
  font-size: 1.02rem;
  font-weight: 700;
}

.panel p {
  margin-top: 8px;
  font-size: 0.86rem;
  color: var(--muted);
}

.panel p + p {
  margin-top: 10px;
}

.panel--accent {
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(168, 85, 247, 0.3), transparent 60%),
    var(--panel);
  border-color: rgba(168, 85, 247, 0.35);
}

/* mřížky */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

/* feature karty */

.feature {
  position: relative;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  background: var(--panel-2);
  transition: transform 0.18s var(--ease), border-color 0.18s ease;
}

.feature:hover {
  transform: translateY(-3px);
  border-color: rgba(168, 85, 247, 0.5);
}

.feature img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.55));
}

.feature h3 {
  margin-top: 14px;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.feature p {
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--muted);
}

.feature .tagline {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.14);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4ade80;
}

.feature .tagline--stop {
  background: rgba(239, 68, 68, 0.14);
  color: #f87171;
}

/* statistiky */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat {
  padding: 18px 20px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  background: var(--panel-2);
}

.stat b {
  display: block;
  font-family: var(--font-h);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.stat span {
  display: block;
  margin-top: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* tabulka */

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.table th,
.table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}

.table th {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.table td:first-child {
  width: 34%;
  font-weight: 700;
  color: #fff;
}

.table tr:last-child th,
.table tr:last-child td {
  border-bottom: 0;
}

.table--wrap {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  background: var(--panel-2);
}

/* seznamy s ✓ / ✗ */

.checks {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--muted);
}

.checks li {
  position: relative;
  padding-left: 28px;
}

.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  font-weight: 800;
  color: #4ade80;
}

.checks li.no::before {
  content: "✗";
  color: #f87171;
}

.checks b {
  display: block;
  color: #fff;
}

/* timeline */

.timeline {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0 0 0 22px;
  list-style: none;
  border-left: 2px solid rgba(168, 85, 247, 0.35);
}

.timeline li {
  position: relative;
  padding: 0 0 20px 20px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--purple-2);
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.18);
}

.timeline b {
  display: block;
  font-size: 0.9rem;
  color: #fff;
}

.timeline span {
  display: block;
  margin-top: 2px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple-2);
}

.timeline p {
  margin-top: 6px;
  font-size: 0.83rem;
  color: var(--muted);
}

/* filtry */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.filters button {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.filters button:hover {
  color: #fff;
  border-color: var(--purple-2);
}

.filters button.is-active {
  background: linear-gradient(180deg, #7c3aed, var(--purple));
  border-color: transparent;
  color: #fff;
}

/* krok za krokem */

.howto {
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.howto__item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 20px 22px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  background: var(--panel-2);
}

.howto__item::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(180deg, #7c3aed, var(--purple));
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.howto__item h3 {
  font-size: 1rem;
  font-weight: 700;
}

.howto__item p {
  margin-top: 6px;
  font-size: 0.84rem;
  color: var(--muted);
}

/* callout */

.callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 26px 28px;
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--r);
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(16, 185, 129, 0.25), transparent 60%),
    var(--panel);
}

.callout h2 {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 800;
}

.callout p {
  margin-top: 6px;
  font-size: 0.86rem;
  color: var(--muted);
}

.callout .btn {
  background: linear-gradient(180deg, #34d399, #059669);
  border-color: transparent;
  color: #06251a;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* galerie */

.gal {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.gal button {
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: none;
  cursor: zoom-in;
}

.gal img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.25s var(--ease), filter 0.25s ease;
}

.gal button:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 7, 16, 0.92);
  cursor: zoom-out;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1100px, 96vw);
  max-height: 88vh;
  border-radius: 12px;
  border: 1px solid var(--line);
}

/* úzký hero pro podstránky bez obrázku */

.hero--compact img {
  height: 220px;
}

.hero--compact .hero__logo {
  font-size: clamp(26px, 4vw, 54px);
}

/* responzivita nových bloků */

@media (max-width: 1000px) {
  .grid-4,
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .stats {
    grid-template-columns: 1fr;
  }

  .gal {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .callout {
    grid-template-columns: 1fr;
  }

  .pagehead {
    padding: 24px 20px;
  }

  .howto__item {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }

  .howto__item::before {
    width: 44px;
    height: 44px;
    font-size: 0.95rem;
  }

  .countdown--big span {
    min-width: 58px;
    padding: 10px 8px;
  }

  .notice__inner {
    font-size: 0.68rem;
  }
}

/* ---------- sezónní panel a IP box ---------- */

.panel--season {
  padding: 34px 28px;
  text-align: center;
  background:
    radial-gradient(120% 160% at 50% -20%, rgba(168, 85, 247, 0.35), transparent 62%),
    var(--panel);
  border-color: rgba(168, 85, 247, 0.4);
}

.panel--season h2 {
  margin-top: 10px;
  font-size: clamp(20px, 2.8vw, 32px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.panel--season p {
  max-width: 62ch;
  margin: 10px auto 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.panel--season .countdown--big {
  justify-content: center;
}

.tagline-big {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.18);
  border: 1px solid rgba(168, 85, 247, 0.45);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d8b4fe;
}

.btn--season {
  margin-top: 22px;
  padding: 12px 26px;
  background: linear-gradient(180deg, #a855f7, #6d28d9);
  border-color: transparent;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 16px 34px -22px var(--purple-2);
}

.ipbox {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.ipbox code {
  flex: 1 1 240px;
  padding: 13px 18px;
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 10px;
  background: rgba(8, 9, 18, 0.75);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.ipbox .btn {
  margin-top: 0;
}

.panel > details {
  margin-top: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.panel > details:first-of-type {
  margin-top: 16px;
}

.panel > details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #dfe3f2;
  cursor: pointer;
  list-style: none;
}

.panel > details summary::-webkit-details-marker {
  display: none;
}

.panel > details summary::after {
  content: "+";
  color: var(--purple-2);
  transition: transform 0.18s var(--ease);
}

.panel > details[open] summary::after {
  transform: rotate(45deg);
}

.panel > details > p {
  padding: 0 16px 14px;
  font-size: 0.8rem;
  color: var(--muted);
}

.panel a {
  color: var(--purple-2);
}

.feature {
  text-decoration: none;
}

/* feed v mřížce na stránce novinek */

[data-feed] .post.is-hidden {
  display: none;
}

@media (max-width: 720px) {
  .panel--season {
    padding: 26px 20px;
  }

  .ipbox code {
    flex: 1 1 100%;
  }

  .ipbox .btn {
    width: 100%;
  }
}

/* ---------- doladění ---------- */

.panel--season > .btn {
  display: inline-flex;
  margin-top: 24px;
}

.panel--season .countdown--big {
  display: flex;
  flex-wrap: wrap;
}

.card details:last-of-type {
  margin-bottom: 6px;
}

@media (max-width: 480px) {
  .countdown--big {
    gap: 6px;
  }

  .countdown--big span {
    min-width: 46px;
    padding: 8px 6px;
    font-size: 1.15rem;
  }

  .countdown--big em {
    font-size: 0.5em;
    letter-spacing: 0.06em;
  }

  .notice__inner {
    gap: 6px 12px;
    font-size: 0.62rem;
  }

  .notice .countdown span {
    min-width: 24px;
    padding: 2px 4px;
  }
}

/* větší tap cíle v mobilním menu */
@media (max-width: 1000px) {
  .burger nav {
    min-width: 240px;
    padding: 12px;
  }

  .burger nav a {
    padding: 13px 14px;
    font-size: 0.86rem;
  }
}
