﻿/* Invicta PHP site — utilities + ported styles */

.text-main { color: var(--main); }
.text-muted, .muted { color: var(--muted); }
.text-white { color: #fff; }
.font-black { font-weight: 900; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }

.site-wrap { position: relative; z-index: 1; min-height: 100vh; }

.site-header {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 50;
}
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 84px;
  width: 100%;
  padding: 0 1rem;
}
@media (min-width: 768px) {
  .nav-inner { padding: 0 1.5rem; }
}
.nav-logo { justify-self: start; padding-left: 0.5rem; }
.nav-logo img { height: 48px; width: auto; object-fit: contain; }
@media (min-width: 768px) {
  .nav-logo img { height: 56px; }
}
.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 1280px) {
  .nav-links { display: flex; }
}
.nav-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.5rem;
}
.nav-user { display: none; align-items: center; gap: 0.65rem; min-width: 0; }
.nav-user img {
  height: 36px; width: 36px; border-radius: 999px;
  background: rgba(78,204,163,0.12); object-fit: contain; padding: 4px;
}
.nav-user-name { margin: 0; font-size: 14px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px; }
.nav-user-sub { margin: 0; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px; }
.nav-user-name.muted { color: var(--muted); }
.nav-btns { display: none; align-items: center; gap: 0.5rem; }
.nav-btns .btn-nav,
.nav-btns .btn-nav-ghost { gap: 0.45rem; }
.nav-user-text { min-width: 0; text-align: right; }
@media (min-width: 640px) {
  .nav-user { display: flex; }
  .nav-btns { display: flex; }
}
.nav-burger { display: inline-flex; }
@media (min-width: 1280px) {
  .nav-burger { display: none !important; }
}
.nav-mobile {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 1rem 1.25rem;
}
.nav-mobile .nav-link { display: block; padding: 0.4rem 0; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 7rem 1.25rem 2.5rem;
}
@media (min-width: 768px) {
  .hero { padding: 8rem 2rem 4rem; }
}
.hero-inner {
  position: relative;
  margin: 0 auto;
  max-width: 1100px;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 768px) {
  .hero-inner { min-height: 700px; }
}
.hero-float {
  position: relative;
  z-index: 10;
  margin-top: 0.5rem;
  height: 460px;
  width: 100%;
  max-width: 860px;
}
@media (min-width: 768px) {
  .hero-float { height: 620px; }
}
.hero-float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.hero-copy { position: relative; z-index: 10; margin-top: 0.5rem; width: 100%; text-align: center; }
.hero-copy h1 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .hero-copy h1 { font-size: 1.25rem; }
}
.hero-ctas {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.hero-tag {
  margin: 1.5rem auto 0;
  max-width: 36rem;
  font-size: 0.875rem;
  line-height: 1.6;
}
@media (min-width: 768px) {
  .hero-tag { font-size: 15px; }
}

/* Footer */
.site-footer { margin-top: 2rem; }
.footer-socials {
  margin: 0 auto;
  max-width: 1280px;
  padding: 0 1.25rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .footer-socials { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .footer-socials { padding: 0 2rem; }
}
.footer-main {
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.footer-grid {
  margin: 0 auto;
  max-width: 1280px;
  padding: 3rem 1.25rem;
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; padding: 3rem 2rem; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}
.footer-logo { height: 48px; width: auto; object-fit: contain; }
.footer-disclaimer { margin-top: 1rem; max-width: 20rem; font-size: 12px; line-height: 1.6; }
.footer-grid h3 { margin: 0; font-size: 14px; font-weight: 700; color: #fff; }
.footer-grid ul { margin: 1rem 0 0; padding: 0; list-style: none; }
.footer-grid li { margin: 0.5rem 0; font-size: 14px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--main); }

/* Play / red page */
.play-page { padding: 7rem 1.25rem 4rem; max-width: 1100px; margin: 0 auto; }
.play-breadcrumb { color: var(--muted); font-size: 13px; margin-bottom: 0.5rem; }
.play-title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
}
.play-sub { color: var(--muted); margin-top: 0.75rem; max-width: 40rem; line-height: 1.6; }

.queue-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .queue-grid { grid-template-columns: 1.4fr 0.8fr; }
}
.panel-card {
  background: var(--btn);
  border-radius: 16px;
  padding: 1.5rem;
}
.panel-card h2 { margin: 0 0 1rem; font-size: 1.1rem; font-weight: 800; font-style: italic; text-transform: uppercase; }
.queue-steps { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 1rem 0; }
.queue-step {
  flex: 1;
  min-width: 120px;
  padding: 0.75rem;
  border-radius: 10px;
  background: rgba(255,251,239,0.04);
  font-size: 12px;
  color: var(--muted);
}
.queue-step.done { color: var(--main); border: 1px solid rgba(78,204,163,0.35); }
.queue-step.active { color: #fff; border: 1px solid var(--main); }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(78,204,163,0.12);
  color: var(--main);
  font-size: 12px;
  font-weight: 700;
}
.status-pill.off { background: rgba(255,80,80,0.12); color: #ff8a8a; }
.msg-box {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: rgba(255,180,60,0.1);
  color: #ffd78a;
  font-size: 14px;
}
.ready-modal {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(0,0,0,0.72);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.ready-modal[hidden] { display: none !important; }
.ready-box {
  background: var(--btn);
  border-radius: 16px;
  padding: 1.75rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
}
.timer-big {
  font-size: 3rem;
  font-weight: 900;
  font-style: italic;
  color: var(--main);
  margin: 0.5rem 0 1rem;
}

/* Pravila */
.rules-page { padding: 7rem 1.25rem 4rem; max-width: 1000px; margin: 0 auto; }
.rules-title {
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  margin: 0;
}
.rules-title span { color: var(--main); }
.rules-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0; }
.rules-chip {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--btn);
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.rules-chip:hover { color: #fff; }
.glossary-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .glossary-grid { grid-template-columns: 1fr 1fr; }
}
.glossary-card {
  background: var(--btn);
  border-radius: 12px;
  padding: 1rem;
}
.glossary-card strong { color: var(--main); display: block; margin-bottom: 0.35rem; }
.glossary-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.rule-section { margin-top: 2.5rem; }
.rule-section h2 {
  font-size: 1.5rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.rule-card {
  background: var(--btn);
  border-radius: 14px;
  padding: 1.25rem;
  margin-bottom: 0.85rem;
}
.rule-num {
  color: var(--main);
  font-weight: 900;
  font-style: italic;
  font-size: 13px;
}
.rule-card h3 { margin: 0.35rem 0 0.5rem; font-size: 1rem; }
.rule-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.rule-punish { margin-top: 0.6rem; color: #ffb4b4; font-size: 13px; font-weight: 600; }

.shop-page { padding: 7rem 1.25rem 4rem; max-width: 1000px; margin: 0 auto; }
.shop-donate-note {
  margin: 1.35rem 0 0;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(78, 204, 163, 0.28);
  background: rgba(78, 204, 163, 0.08);
  color: var(--main);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
}
.shop-grid {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .shop-grid { grid-template-columns: 1fr 1fr; }
}
.shop-card {
  background: var(--btn);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.shop-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  background: #0e1013;
  overflow: hidden;
}
.shop-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.shop-card-media-contain img {
  object-fit: contain;
  padding: 0.55rem 0.7rem;
}
.shop-card-body {
  display: block;
  padding: 1.15rem 1.25rem 1.3rem;
}
.shop-card-icon {
  display: inline-flex;
  color: var(--main);
  margin-bottom: 0.75rem;
}
.shop-card h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  color: #fff;
}
.shop-card p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.shop-cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}
a.shop-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
a.shop-card-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px rgba(78, 204, 163, 0.45);
}
.shop-card-meta {
  margin: 0.7rem 0 0;
  color: var(--main);
  font-size: 13px;
  font-weight: 800;
}
.play-breadcrumb a {
  color: inherit;
  text-decoration: none;
}
.play-breadcrumb a:hover { color: var(--main); }
.shop-page-wide { max-width: 1180px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.shop-search-wrap { display: block; margin: 1.4rem 0 0; }
.shop-search {
  width: 100%;
  max-width: 420px;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #16181c;
  color: var(--text);
  font: inherit;
}
.shop-search:focus {
  outline: none;
  border-color: rgba(78, 204, 163, 0.55);
}
.shop-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 0.9rem;
  margin-top: 1.35rem;
}
.shop-product-card[hidden] { display: none !important; }
.shop-product-card img,
.shop-product-placeholder {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  background: #1a1d22;
}
.shop-product-meta { padding: 0.85rem 0.95rem 1rem; }
.shop-product-meta h2 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}
.shop-price {
  margin: 0.35rem 0 0;
  color: var(--main);
  font-weight: 800;
  font-size: 14px;
}
.shop-empty {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 14px;
}
.shop-priority-grid {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .shop-priority-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.shop-priority-card {
  background: var(--btn);
  border-radius: 16px;
  padding: 1.45rem 1.25rem 1.5rem;
  border-top: 4px solid var(--main);
}
.shop-priority-label {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.shop-priority-card h2 {
  margin: 0.45rem 0 0.65rem;
  font-size: 2rem;
  font-weight: 900;
  font-style: italic;
  color: #fff;
}
.shop-priority-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.shop-priority-bronze { border-top-color: #cd7f32; }
.shop-priority-silver { border-top-color: #c0c7d1; }
.shop-priority-gold { border-top-color: #e4b84a; }
.shop-priority-bronze .shop-priority-label { color: #cd7f32; }
.shop-priority-silver .shop-priority-label { color: #c0c7d1; }
.shop-priority-gold .shop-priority-label { color: #e4b84a; }

/* Admin */
.admin-page { padding: 7rem 1.25rem 4rem; max-width: 900px; margin: 0 auto; }
.admin-form { display: grid; gap: 0.75rem; }
.admin-form input, .admin-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #16181c;
  color: var(--text);
  font: inherit;
}
.ban-list { margin-top: 1.5rem; display: grid; gap: 0.75rem; }
.ban-item {
  background: var(--btn);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}
.ban-item p { margin: 0.2rem 0; font-size: 13px; color: var(--muted); }

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.admin-tab {
  border: 1px solid rgba(255, 251, 239, 0.12);
  background: transparent;
  color: rgba(255, 251, 239, 0.7);
  font-weight: 700;
  font-style: italic;
  font-size: 13px;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 4px;
  cursor: pointer;
}
.admin-tab.is-active {
  background: var(--main);
  color: #121417;
  border-color: transparent;
}
.admin-site-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
}
.admin-site-state { margin: 0; color: var(--text); }
.admin-log-list { margin-top: 1.1rem; display: grid; gap: 0.55rem; }
.admin-log-item {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
}
.admin-log-item strong { color: #fff; }
.admin-yes { color: var(--main); font-weight: 700; }
.admin-no { color: rgba(255, 138, 138, 0.9); font-weight: 700; }
@media (max-width: 640px) {
  .admin-log-item { grid-template-columns: 1fr; gap: 0.35rem; }
}

/* Cookie / ban overlays */
.cookie-gate, .ban-gate {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(8,10,12,0.92);
  display: flex; align-items: center; justify-content: center;
  padding: 1.25rem;
}
.cookie-gate[hidden], .ban-gate[hidden] { display: none !important; }
.gate-box {
  background: var(--btn);
  border-radius: 16px;
  padding: 1.75rem;
  max-width: 440px;
  width: 100%;
}
.gate-box h2 { margin: 0 0 0.75rem; font-style: italic; text-transform: uppercase; }
.gate-box p { color: var(--muted); line-height: 1.55; }

@font-face {
  font-family: "Gotham Pro";
  src: url("/assets/GothamPro.LBta34XB.woff2") format("woff2"),
       url("/assets/GothamPro.C6-Ys8Kv.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gotham Pro";
  src: url("/assets/GothamPro-Light.BOHO2zOF.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gotham Pro";
  src: url("/assets/GothamPro-Medium.7YFYfHpO.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gotham Pro";
  src: url("/assets/GothamPro-Bold.D2lYR0kj.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gotham Pro";
  src: url("/assets/GothamPro-BoldItalic.CPaolb2_.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Gotham Pro";
  src: url("/assets/GothamPro-Black.Dx9YS9hZ.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gotham Pro";
  src: url("/assets/GothamPro-BlackItalic.DntJxBHN.woff2") format("woff2");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #121417;
  --btn: #1d1f24;
  --main: #4ecca3;
  --text: #fffbef;
  --muted: rgba(255, 251, 239, 0.65);
  --line: rgba(255, 251, 239, 0.12);
  --card: #1d1f24;
  --font-gotham: "Gotham Pro", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-gotham);
  -webkit-font-smoothing: antialiased;
  background-color: #121417;
  background-image:
    url("/assets/pattern.svg"),
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(78, 204, 163, 0.08), transparent 55%);
  background-repeat: no-repeat, no-repeat;
  background-position: center top, center top;
  background-size: min(1440px, 120%) auto, 100% 100%;
  background-attachment: scroll, scroll;
}

::selection {
  background: var(--main);
  color: #121417;
}

body::-webkit-scrollbar { width: 8px; }
body::-webkit-scrollbar-track { background: #161616; }
body::-webkit-scrollbar-thumb {
  background-color: var(--main);
  border-radius: 5px;
}

.page-bg {
  background: transparent;
}

.bg-fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  contain: strict;
}

.bg-fx-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 40% at 50% -5%, rgba(78, 204, 163, 0.08), transparent 60%),
    radial-gradient(ellipse 40% 30% at 80% 70%, rgba(78, 204, 163, 0.03), transparent 55%);
}

.bg-fx-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .bg-fx-canvas {
    display: none;
  }
}

/* Scroll reveal â€” visible by default; hide only after JS marks body.fx-on */
[data-reveal] {
  opacity: 1;
  transform: none;
}
body.fx-on [data-reveal]:not(.is-revealed) {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
body.fx-on [data-reveal="left"]:not(.is-revealed) {
  transform: translateX(-24px);
}
body.fx-on [data-reveal="right"]:not(.is-revealed) {
  transform: translateX(24px);
}
body.fx-on [data-reveal="scale"]:not(.is-revealed) {
  transform: scale(0.96);
}
body.fx-on [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  body.fx-on [data-reveal],
  body.fx-on [data-reveal].is-revealed,
  body.fx-on [data-reveal]:not(.is-revealed) {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .social-card,
  .hero-float,
  .nav-enter,
  .cookie-consent-enter,
  .page-fade {
    animation: none !important;
    opacity: 1;
  }
}

.btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 220px;
  padding: 14px 28px;
  border: none;
  border-radius: 4px;
  background: var(--main);
  color: #121417;
  font-weight: 900;
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.35s ease,
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s ease;
}
.btn-main:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(78, 204, 163, 0.22);
}
.btn-main:active {
  transform: translateY(0);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 4px;
  border: none;
  background: var(--btn);
  color: var(--text);
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-icon:hover {
  background: #262a31;
  transform: translateY(-2px) scale(1.04);
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 4px;
  background: var(--main);
  color: #121417;
  font-weight: 700;
  font-style: italic;
  font-size: 14px;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color 0.35s ease,
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s ease;
}
.btn-nav:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(78, 204, 163, 0.18);
}

.btn-nav-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 4px;
  border: 1px solid rgba(255, 251, 239, 0.12);
  background: transparent;
  color: rgba(255, 251, 239, 0.75);
  font-weight: 700;
  font-style: italic;
  font-size: 13px;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.btn-nav-ghost:hover {
  color: #fff;
  border-color: rgba(255, 251, 239, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.nav-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--main);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-link:hover {
  color: #fff;
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}
.nav-link.active {
  color: #fff;
}

.nav-enter {
  animation: nav-enter-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes nav-enter-in {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-fade {
  animation: page-fade-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes page-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.hero-float {
  animation: hero-float 6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero-float {
    animation: none;
  }
}

.path-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(29, 31, 36, 0.85);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.path-arrow:hover { border-color: var(--main); }

.news-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.news-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 2px;
  background: var(--btn);
}
.news-date {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--main);
  color: #121417;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 84px;
  padding: 1rem 1.15rem;
  background: var(--btn);
  border: none;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  opacity: 0;
  transform: translateY(0);
  animation: social-card-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transition:
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}
.social-card:nth-child(1) {
  animation-delay: 0.05s;
}
.social-card:nth-child(2) {
  animation-delay: 0.16s;
}
.social-card:hover {
  transform: translateY(-4px);
  background: #22252c;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}
.social-card:hover .social-card-icon {
  background: rgba(78, 204, 163, 0.14);
  color: var(--main);
  transform: scale(1.08);
}
.social-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 251, 239, 0.06);
  color: #fff;
  flex-shrink: 0;
  transition:
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.25s ease,
    color 0.25s ease;
}

@keyframes social-card-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.pay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 28px;
  padding: 0 0.5rem;
  border-radius: 4px;
  background: #1d1f24;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.join-title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
}

.panel {
  background: var(--btn);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.btn-lime, .btn-cream {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 12px 22px;
  border-radius: 4px;
  border: none;
  font-weight: 700;
  font-style: italic;
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.btn-lime { background: var(--main); color: #121417; }
.btn-cream { background: var(--btn); color: var(--text); border: 1px solid var(--line); }
.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
}
.section-title .accent, .section-title .lime { color: var(--main); }
.text-lime { color: var(--main); }
.bg-lime { background: var(--main); }
.border-line { border-color: var(--line); }
.text-text-dim, .text-muted { color: var(--muted); }
.bg-card { background: var(--card); }
.text-main { color: var(--main); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.2rem 0;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }

@media (max-width: 768px) {
  .btn-main { width: 100%; }
}

/* ===== Install / How to play (1:1 rage-style layout) ===== */
.install-section {
  background: transparent;
  padding: 4rem 1.25rem;
}
@media (min-width: 768px) {
  .install-section { padding: 6rem 2rem; }
}
.install-inner { max-width: 1200px; margin: 0 auto; }

.install-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .install-grid {
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.7fr);
    gap: 1.5rem;
    align-items: stretch;
  }
}

.install-card {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  min-height: 280px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.install-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.install-card-light {
  background: #f4f6f4;
  color: #121417;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.25rem 2rem;
}

.install-title-light {
  margin: 0;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.install-legacy {
  font-size: 0.85em;
  font-weight: 500;
  font-style: italic;
}

.install-sub-light {
  margin: 1rem 0 1.75rem;
  font-size: 0.95rem;
  color: rgba(18, 20, 23, 0.7);
}

.install-card-dark {
  background: #141414;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 300px;
}

@media (min-width: 900px) {
  .install-card-dark {
    grid-template-columns: 1fr 1.05fr;
    min-height: 320px;
  }
}

.install-card-dark::before {
  content: "";
  position: absolute;
  inset: 0 0 0 42%;
  background:
    radial-gradient(ellipse 80% 90% at 85% 50%, rgba(78, 204, 163, 0.95), transparent 70%),
    linear-gradient(105deg, transparent 0%, rgba(78, 204, 163, 0.55) 45%, #4ecca3 100%);
  pointer-events: none;
}

.install-dark-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.25rem 2rem;
}

.install-title-dark {
  margin: 0;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.install-sub-dark {
  margin: 0.85rem 0 1.75rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.55);
}

.install-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: fit-content;
  min-width: 140px;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(90deg, #4ecca3 0%, #7ee0c0 100%);
  color: #121417;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.install-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.install-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #121417;
  color: #fff;
}

.install-laptop {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 1.5rem 1.25rem 1.75rem;
  transform: rotate(-6deg) translateY(8px);
}

.install-laptop-lid {
  width: min(100%, 340px);
  aspect-ratio: 16 / 10;
  padding: 10px 10px 6px;
  border-radius: 14px 14px 4px 4px;
  background: linear-gradient(160deg, #2a2a2a, #111);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.install-laptop-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 6px;
  background: #f15a24;
}
.install-laptop-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 1.5rem;
}

.install-laptop-base {
  width: min(108%, 370px);
  height: 12px;
  margin-top: -2px;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(180deg, #3a3a3a, #1a1a1a);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.install-help {
  margin: 1.75rem 0 0;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}
.install-help a {
  color: var(--main);
  font-weight: 700;
  text-decoration: none;
}
.install-help a:hover {
  text-decoration: underline;
}

/* ===== Play / Zapocni igru dashboard ===== */
.play-shell {
  width: 100%;
}

.play-profile,
.play-server-card {
  border: none;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.play-profile:hover,
.play-server-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.play-profile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 1.6rem;
}

.play-avatar,
.play-avatar-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
}

.play-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(78, 204, 163, 0.15);
  color: var(--main);
  font-size: 1.15rem;
  font-weight: 700;
}

.play-avatar-img {
  object-fit: contain;
  background: rgba(78, 204, 163, 0.1);
  padding: 6px;
}

.play-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  margin-left: 0.25rem;
  min-width: min(100%, 560px);
  flex: 1;
}

@media (max-width: 900px) {
  .play-meta-grid {
    width: 100%;
    margin-left: 0;
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}

.play-meta-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 251, 239, 0.4);
  text-transform: none;
}

.play-meta-value {
  margin-top: 0.25rem;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 251, 239, 0.88);
  word-break: break-all;
}

.admin-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 12px;
  color: rgba(255, 251, 239, 0.45);
}

.admin-field input {
  min-height: 44px;
  border: 1px solid rgba(255, 251, 239, 0.1);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  padding: 0.7rem 0.9rem;
  font-size: 14px;
  outline: none;
}

.admin-field input:focus {
  border-color: rgba(78, 204, 163, 0.55);
}

.admin-ban-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.22);
}

.queue-accept-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(8, 10, 12, 0.72);
  backdrop-filter: blur(6px);
}

.queue-accept-card {
  width: min(100%, 420px);
  border-radius: 24px;
  background: #1d1f24;
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.queue-accept-timer {
  margin: 1.35rem auto 0;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 3px solid rgba(78, 204, 163, 0.45);
  color: var(--main);
  font-size: 2.4rem;
  font-weight: 900;
  font-style: italic;
}

.joining-feed {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.55rem;
}

.joining-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: rgba(78, 204, 163, 0.08);
  color: rgba(255, 251, 239, 0.78);
  font-size: 0.9rem;
}

.joining-row strong {
  color: #fff;
  font-weight: 700;
}

.joining-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--main);
  box-shadow: 0 0 0 0 rgba(78, 204, 163, 0.55);
  animation: joining-pulse 1.4s ease-out infinite;
  flex-shrink: 0;
}

@keyframes joining-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(78, 204, 163, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(78, 204, 163, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(78, 204, 163, 0);
  }
}

.play-gate-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.play-gate-step {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 251, 239, 0.45);
  font-size: 0.85rem;
  font-weight: 600;
}

.play-gate-step span {
  display: inline-flex;
  width: 1.5rem;
  height: 1.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
}

.play-gate-step.is-active {
  color: rgba(255, 251, 239, 0.92);
  background: rgba(78, 204, 163, 0.1);
}

.play-gate-step.is-active span {
  background: var(--main);
  color: #0b0d0f;
}

@media (max-width: 700px) {
  .play-gate-steps {
    grid-template-columns: 1fr;
  }
}

.play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.7rem 1.35rem;
  border: none;
  border-radius: 999px;
  background: var(--main);
  color: #121417;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition:
    filter 0.2s ease,
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s ease;
}
.play-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(78, 204, 163, 0.2);
}

.play-ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.play-ghost-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.play-server-card {
  width: 100%;
  max-width: none;
  padding: 1.15rem 1.4rem 1.35rem;
}

.play-server-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 0.5rem;
}

.play-server-center {
  margin-top: 0.15rem;
  text-align: center;
}

.play-server-count {
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff;
}

.play-server-count span {
  font-size: 0.45em;
  font-weight: 600;
  color: rgba(255, 251, 239, 0.4);
  margin-left: 0.08em;
}

.play-server-count-label {
  margin-top: 0.35rem;
  font-size: 0.95rem;
  color: rgba(255, 251, 239, 0.45);
}

.play-bridge-hint {
  margin: 0.75rem auto 0;
  max-width: 36rem;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.1);
  padding: 0.7rem 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgb(253 230 138);
}

.play-server-actions {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.play-stat-pills {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 150px;
}

.play-stat-pills-row {
  flex-direction: row;
  flex-wrap: wrap;
  min-width: 0;
  justify-content: flex-end;
}

.play-stat-pills-row .play-pill {
  min-width: 7.5rem;
}

.play-pill {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
}
.play-pill span {
  font-size: 11px;
  color: rgba(255, 251, 239, 0.4);
}
.play-pill strong {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.play-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #666;
}
.play-status-dot.is-online {
  background: var(--main);
}
.play-status-dot.is-offline {
  background: #ef4444;
}

.site-guard-toast {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  z-index: 200;
  width: min(92vw, 22rem);
  transform: translateX(-50%);
  pointer-events: none;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(22, 24, 28, 0.92);
  border: 1px solid rgba(255, 251, 239, 0.08);
  backdrop-filter: blur(12px);
  animation: site-guard-in 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-guard-toast-inner {
  padding: 0.9rem 1.1rem 0.85rem;
}

.site-guard-toast-label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--main);
}

.site-guard-toast-text {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255, 251, 239, 0.88);
}

.site-guard-toast-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: rgba(78, 204, 163, 0.25);
  transform-origin: left center;
  animation: site-guard-bar 2.2s linear forwards;
}

.site-guard-lock {
  position: fixed;
  inset: 0;
  z-index: 190;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(10, 11, 13, 0.92);
  backdrop-filter: blur(10px);
}

.site-guard-lock-card {
  width: min(100%, 22rem);
  border-radius: 14px;
  border: 1px solid rgba(255, 251, 239, 0.08);
  background: rgba(22, 24, 28, 0.98);
  padding: 1.35rem 1.3rem 1.4rem;
  text-align: left;
}

.site-guard-lock-title {
  margin: 0.15rem 0 0.45rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.site-guard-lock-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 251, 239, 0.62);
}

.site-guard-lock-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 0.75rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.site-guard-lock-list li {
  border-radius: 8px;
  background: rgba(255, 251, 239, 0.04);
  padding: 0.45rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 251, 239, 0.72);
}

.cookie-consent-card {
  width: min(100%, 26rem);
  border-radius: 18px;
  border: none;
  background: rgba(22, 24, 28, 0.96);
  padding: 1.6rem 1.5rem 1.5rem;
  text-align: center;
}

.cookie-consent-label {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--main);
}

.cookie-consent-title {
  margin: 0.45rem 0 0;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.cookie-consent-text {
  margin: 0.7rem 0 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 251, 239, 0.62);
}

.cookie-consent-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
}

.cookie-consent-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.55rem 1.15rem;
  border: none;
  border-radius: 999px;
  background: var(--main);
  color: #121417;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.cookie-consent-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.cookie-consent-enter {
  animation: cookie-consent-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.consent-gate {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.25rem;
  background-color: rgba(18, 20, 23, 0.97);
}

.consent-gate[hidden] {
  display: none;
}

body.consent-pending {
  overflow: hidden;
}

.consent-error {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: #f87171;
}

@keyframes cookie-consent-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes site-guard-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes site-guard-bar {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

@media (max-width: 899px) {
  .install-card-dark::before {
    inset: 55% 0 0 0;
    background: linear-gradient(180deg, transparent, rgba(78, 204, 163, 0.75));
  }
  .install-laptop {
    transform: rotate(-4deg);
    padding-top: 0;
  }
}


/* ===== Layout / gates (ne blokira pocetni prikaz) ===== */
.site-app {
  position: relative;
  z-index: 1;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(78, 204, 163, 0.35);
  background: #1a1d22;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.cookie-banner p {
  margin: 0;
  color: rgba(255, 251, 239, 0.8);
  font-size: 0.9rem;
}
.cookie-banner[hidden],
.ban-overlay[hidden],
.site-guard-toast[hidden] { display: none !important; }

.ban-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(8, 10, 12, 0.9);
}

/* Reveal uvek vidljiv — bez crnog ekrana */
[data-reveal],
body.fx-on [data-reveal],
body.fx-on [data-reveal]:not(.is-revealed) {
  opacity: 1 !important;
  transform: none !important;
}

.social-card {
  opacity: 1 !important;
}

.banned-screen {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}
.banned-card {
  width: 100%;
  max-width: 32rem;
  border-radius: 24px;
  background: rgba(255,255,255,0.04);
  padding: 2rem 1.75rem;
  text-align: center;
}
.banned-logo {
  margin: 0 auto;
  height: 64px;
  width: auto;
  object-fit: contain;
  display: block;
}
.banned-label {
  margin-top: 1.5rem;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ff6b6b;
}
.banned-title {
  margin: 0.5rem 0 0;
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
}
.banned-text {
  margin-top: 1rem;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}
.banned-meta {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
  text-align: left;
}
.banned-meta > div {
  border-radius: 16px;
  background: rgba(0,0,0,0.2);
  padding: 0.85rem 1rem;
}
.construction-card {
  background: transparent;
  border: none;
  box-shadow: none;
}
.construction-card .banned-label { color: var(--main); }
.construction-card .banned-logo {
  animation: construction-logo-pulse 2.4s ease-in-out infinite;
  filter:
    drop-shadow(0 0 6px rgba(78, 204, 163, 0.35))
    drop-shadow(0 0 14px rgba(78, 204, 163, 0.18));
}
@keyframes construction-logo-pulse {
  0%, 100% {
    transform: scale(1);
    filter:
      drop-shadow(0 0 6px rgba(78, 204, 163, 0.28))
      drop-shadow(0 0 12px rgba(78, 204, 163, 0.12));
  }
  50% {
    transform: scale(1.08);
    filter:
      drop-shadow(0 0 10px rgba(78, 204, 163, 0.5))
      drop-shadow(0 0 22px rgba(78, 204, 163, 0.28));
  }
}
.construction-discord {
  margin-top: 1.75rem;
  gap: 0.5rem;
}

html.site-protected img {
  -webkit-user-drag: none;
}

