/* =============================================
   PIXALIS MC — v3 redesign
   ============================================= */

/* --- Variables --- */
:root {
  --primary: #a855f7;
  --primary-dark: #5100fd;
  --primary-glow: rgba(251, 0, 151, 0.35);
  --primary-glow-strong: rgba(81, 0, 253, 0.55);
  --gradient-brand: linear-gradient(135deg, #fb0097 0%, #a855f7 48%, #5100fd 100%);
  --gradient-brand-soft: linear-gradient(135deg, rgba(251, 0, 151, 0.18), rgba(81, 0, 253, 0.18));
  --clr-pink: #fb0097;
  --clr-purple: #5100fd;
  --clr-hy: #00d2ff;
  --clr-discord: #5865F2;
  --clr-mc: #4caf50;
  --clr-err: #ff4444;

  --background: #030304;
  --surface: rgba(12, 12, 18, 0.72);
  --text-primary: #ffffff;
  --text-secondary: #d4d4e8;
  --text-dim: #9494b0;

  --glass-bg: rgba(14, 14, 20, 0.72);
  --glass-bg-hover: rgba(24, 24, 34, 0.82);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: 18px;
  --card-radius: 18px;
  --radius-sm: 12px;
  --nav-offset: 1rem;

  --grid-color: rgba(255, 255, 255, 0.065);
  --grid-size: 40px;
  --hero-dot-color: rgba(255, 255, 255, 0.11);
  --hero-dot-size: 20px;

  --font-main: "Inter", -apple-system, sans-serif;
  --font-display: "Plus Jakarta Sans", var(--font-main);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.55s;

  --shop-gradient: linear-gradient(135deg, #c40078 0%, #8f2ae0 50%, #3800b4 100%);
  --shop-gradient-hover: linear-gradient(135deg, #d90088 0%, #9a38ef 50%, #4210c8 100%);
  --shop-surface:
    radial-gradient(ellipse 110% 75% at 15% 0%, rgba(255, 255, 255, 0.1) 0%, transparent 52%),
    radial-gradient(ellipse 70% 55% at 100% 100%, rgba(81, 0, 253, 0.28) 0%, transparent 58%),
    var(--shop-gradient);
  --shop-surface-hover:
    radial-gradient(ellipse 110% 75% at 15% 0%, rgba(255, 255, 255, 0.14) 0%, transparent 52%),
    radial-gradient(ellipse 70% 55% at 100% 100%, rgba(81, 0, 253, 0.32) 0%, transparent 58%),
    var(--shop-gradient-hover);
  --shop-shadow: 0 6px 22px rgba(81, 0, 253, 0.28), 0 2px 10px rgba(251, 0, 151, 0.18);
  --shop-shadow-hover: 0 8px 28px rgba(81, 0, 253, 0.34), 0 4px 14px rgba(251, 0, 151, 0.26);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

main {
  position: relative;
  z-index: 5;
}

/* --- ANIMATIONS --- */
@keyframes blur-in {
  from { opacity: 0; filter: blur(8px); transform: translateY(12px) scale(0.96); }
  to   { opacity: 1; filter: blur(0);   transform: translateY(0) scale(1); }
}
@keyframes float-orb {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(15px, -20px); }
}
@keyframes float-orb-alt {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-20px, 15px); }
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50%      { opacity: 0.75; transform: scale(1.08); }
}
@keyframes dot-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 8px rgba(76,175,80,0.6); }
  50%      { transform: scale(1.3); box-shadow: 0 0 14px rgba(76,175,80,0.9); }
}
@keyframes card-shine-anim {
  from { transform: translateX(-100%) rotate(15deg); }
  to   { transform: translateX(200%) rotate(15deg); }
}
@keyframes shop-shine-sweep {
  0%, 90% {
    transform: translateX(-120%);
    opacity: 0;
  }
  92% {
    opacity: 1;
  }
  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}
@keyframes shop-shine-once {
  0% {
    transform: translateX(-120%);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}
@keyframes pill-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(152, 105, 255, 0.1), inset 0 0 20px rgba(152, 105, 255, 0.03); }
  50%      { box-shadow: 0 0 30px rgba(152, 105, 255, 0.2), inset 0 0 30px rgba(152, 105, 255, 0.05); }
}

/* --- BACKGROUND --- */
.bg-wrap {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 55% at 15% 20%, rgba(251, 0, 151, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 75%, rgba(81, 0, 253, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 30%, rgba(12, 6, 20, 1) 0%, #030304 72%);
}
.bg-wrap .grid {
  position: absolute;
  inset: 0;
  opacity: 0.62;
  background-size: var(--grid-size) var(--grid-size);
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse 170% 130% at 50% 42%, #000 55%, transparent 99%);
  -webkit-mask-image: radial-gradient(ellipse 170% 130% at 50% 42%, #000 55%, transparent 99%);
}
.bg-wrap .vig {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, transparent 42%, rgba(0, 0, 0, 0.72) 100%);
}
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none; opacity: 0.2;
}
.orb-1 {
  width: 520px; height: 520px; background: var(--clr-pink);
  top: 8%; left: -12%; animation: float-orb 14s ease-in-out infinite; opacity: 0.14;
}
.orb-2 {
  width: 440px; height: 440px; background: var(--clr-purple);
  bottom: 8%; right: -10%; animation: float-orb-alt 17s ease-in-out infinite; opacity: 0.16;
}

/* --- Navbar (floating pill) --- */
.navbar {
  position: fixed;
  top: var(--nav-offset);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 1180px;
  background: var(--surface);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  z-index: 1000;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: background 0.25s ease, padding 0.25s ease, box-shadow 0.25s ease, top 0.25s ease;
}
.navbar.scrolled {
  top: 0.55rem;
  background: rgba(6, 6, 10, 0.94);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55), 0 0 60px rgba(251, 0, 151, 0.05);
}
.nav-container {
  max-width: none;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 0.35rem;
}
.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  min-width: 0;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
}
.logo-img {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 0 6px var(--primary-glow));
  transition: transform 0.25s ease, filter 0.25s ease;
}
.logo-text {
  font: 700 1.15rem var(--font-display);
  color: var(--text-primary);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.logo-link:hover .logo-text {
  color: #fff;
}
.logo-link:hover .logo-img {
  filter: drop-shadow(0 0 10px var(--primary-glow));
  transform: scale(1.04);
}
.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}
.nav-pill {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  padding: 0.28rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  max-width: 100%;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}
.nav-link {
  font: 600 0.78rem var(--font-display);
  text-decoration: none;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  text-shadow: none;
}
.nav-link.active {
  color: #fff;
  background: rgba(123, 47, 242, 0.22);
  box-shadow: inset 0 0 0 1px rgba(152, 105, 255, 0.28);
  text-shadow: none;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

@media (min-width: 1025px) {
  .nav-container {
    position: relative;
    justify-content: center;
  }
  .logo-brand {
    position: absolute;
    left: 0.35rem;
    top: 50%;
    transform: translateY(-50%);
  }
  .nav-actions {
    position: absolute;
    right: 0.35rem;
    top: 50%;
    transform: translateY(-50%);
  }
  .nav-center {
    flex: 0 0 auto;
  }
}

/* Nav dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  font: 600 0.78rem var(--font-display);
  color: var(--text-dim);
  letter-spacing: 0.02em;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-dropdown.active .nav-dropdown-toggle,
.nav-dropdown-toggle:hover,
.nav-dropdown.open .nav-dropdown-toggle {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.nav-dropdown.active .nav-dropdown-toggle {
  background: rgba(123, 47, 242, 0.22);
  box-shadow: inset 0 0 0 1px rgba(152, 105, 255, 0.28);
}
.nav-dropdown-chevron {
  font-size: 0.58rem;
  opacity: 0.75;
  transition: transform 0.25s;
}
.nav-dropdown.open .nav-dropdown-chevron {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 210px;
  background: rgba(12, 12, 18, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 0.4rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  z-index: 1100;
}
.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-item {
  display: block;
  padding: 0.58rem 0.9rem;
  color: var(--text-dim);
  text-decoration: none;
  font: 500 0.84rem var(--font-main);
  border-radius: 10px;
  transition: 0.2s;
}
.nav-dropdown-item:hover,
.nav-dropdown-item.active {
  color: #fff;
  background: rgba(123, 47, 242, 0.16);
}
.nav-btn-sklep {
  padding: 0.5rem 1.1rem !important;
  border-radius: 999px;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  text-shadow: none !important;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease) !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.nav-link.nav-btn-sklep:hover {
  text-shadow: none;
}
.nav-btn-sklep:hover {
  transform: translateY(-1px) !important;
  background: var(--shop-gradient-hover) !important;
  background-image: var(--shop-surface-hover) !important;
  box-shadow: var(--shop-shadow-hover) !important;
  color: #fff !important;
}
.nav-ip-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(251, 0, 151, 0.28);
  background: rgba(251, 0, 151, 0.08);
  color: #fff;
  font: 600 0.76rem var(--font-display);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  letter-spacing: 0.02em;
}
.nav-ip-chip:hover,
.nav-ip-chip.ok {
  background: rgba(46, 204, 113, 0.12);
  border-color: rgba(46, 204, 113, 0.45);
  transform: translateY(-1px);
}
.nav-ip-chip i {
  font-size: 0.82rem;
  opacity: 0.85;
}
.nav-discord-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(88, 101, 242, 0.35);
  background: rgba(88, 101, 242, 0.12);
  color: #9aa8ff;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
  cursor: pointer;
}
.nav-discord-btn:hover {
  background: rgba(88, 101, 242, 0.22);
  border-color: rgba(88, 101, 242, 0.65);
  color: #fff;
  transform: translateY(-1px);
}
@keyframes nav-shop-pulse {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(251, 0, 151, 0.35), inset 0 0 5px rgba(255, 255, 255, 0.1);
  }
  50% {
    box-shadow: 0 8px 22px rgba(251, 0, 151, 0.55), 0 0 12px rgba(81, 0, 253, 0.2), inset 0 0 8px rgba(255, 255, 255, 0.15);
  }
}

/* Legal hub */
.legal-hub-head { text-align: center; margin-bottom: 3rem; }
.legal-hub-sub {
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.legal-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.legal-hub-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  padding: 2rem 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
.legal-hub-card:hover {
  border-color: rgba(152, 105, 255, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.35);
}
.legal-hub-link {
  margin-top: auto;
  padding-top: 1rem;
  color: var(--primary);
  font: 600 0.85rem var(--font-display);
  letter-spacing: 0.5px;
}
.legal-hub-tools {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.legal-tool-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  color: var(--text-secondary);
  text-decoration: none;
  font: 600 0.85rem var(--font-display);
  transition: 0.3s;
}
.legal-tool-link:hover {
  border-color: rgba(152, 105, 255, 0.4);
  color: #fff;
  background: rgba(123, 47, 242, 0.1);
}
.legal-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.legal-breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}
.legal-breadcrumb a:hover { text-decoration: underline; }
.legal-cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  background: rgba(123, 47, 242, 0.08);
  border: 1px solid rgba(123, 47, 242, 0.25);
  border-radius: 12px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.legal-cta-banner a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.legal-cta-banner a:hover { text-decoration: underline; }

/* --- Lista kar (LiteBans) --- */
.lista-kar-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 1.75rem;
  padding: 0.35rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  overflow-x: auto;
}
.lista-kar-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 0.95rem;
  color: var(--text-dim);
  text-decoration: none;
  font: 600 0.8rem var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
  border-radius: 10px;
  transition: 0.2s;
}
.lista-kar-tab:hover {
  color: #fff;
  background: rgba(123, 47, 242, 0.12);
}
.lista-kar-tab.active {
  color: #fff;
  background: rgba(123, 47, 242, 0.22);
  box-shadow: inset 0 0 0 1px rgba(152, 105, 255, 0.35);
}
.lista-kar-tab-count {
  padding: 0.12rem 0.5rem;
  background: rgba(123, 47, 242, 0.3);
  border-radius: 50px;
  font-size: 0.7rem;
  color: #e8d9ff;
}
.lista-kar-start { display: grid; gap: 1.25rem; }
.lista-kar-welcome {
  text-align: center;
  padding: 1.5rem 1.25rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
}
.lista-kar-welcome-lead {
  font: 600 1.05rem var(--font-display);
  color: #fff;
  margin: 0;
}
.lista-kar-welcome-sub { color: var(--text-dim); margin: 0.45rem 0 0; }
.lista-kar-welcome-hint {
  color: var(--text-dim);
  font-size: 0.88rem;
  margin: 0;
  text-align: center;
}
.lista-kar-welcome-hint a { color: var(--primary); }
.lista-kar-start-search,
.lista-kar-check {
  padding: 1.25rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
}
.lista-kar-start-heading {
  font: 600 0.95rem var(--font-display);
  color: #fff;
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.lista-kar-start-heading i { color: var(--primary); }
.lista-kar-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}
.lista-kar-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: 0.2s;
}
.lista-kar-card:hover {
  border-color: rgba(152, 105, 255, 0.45);
  background: rgba(123, 47, 242, 0.08);
  transform: translateY(-1px);
}
.lista-kar-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(123, 47, 242, 0.18);
  color: #d4b8ff;
  flex-shrink: 0;
}
.lista-kar-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
}
.lista-kar-card-label {
  font: 600 0.88rem var(--font-display);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.lista-kar-card-count {
  font: 700 1.35rem var(--font-display);
  color: var(--primary);
  line-height: 1.1;
}
.lista-kar-card-arrow {
  color: var(--text-dim);
  font-size: 0.8rem;
}
.lista-kar-section-title {
  font: 700 1.35rem var(--font-display);
  color: #fff;
  margin-bottom: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}
.lista-kar-check {
  margin-bottom: 1.25rem;
}
.lista-kar-start-search .lista-kar-check {
  margin-bottom: 0;
  padding: 0;
  background: none;
  border: none;
}
.lista-kar-check-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.lista-kar-check-input {
  flex: 1;
  min-width: 180px;
  padding: 0.65rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: #fff;
  font-family: var(--font-main);
}
.lista-kar-check-btn {
  padding: 0.65rem 1.25rem;
  background: var(--primary);
  border: none;
  border-radius: 10px;
  color: #fff;
  font: 600 0.85rem var(--font-display);
  cursor: pointer;
  transition: 0.2s;
}
.lista-kar-check-btn:hover { filter: brightness(1.1); }
.lista-kar-check-output {
  margin-top: 0.75rem;
  color: var(--text-dim);
  font-size: 0.9rem;
}
.lista-kar-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
}
.lista-kar-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.lista-kar-table thead th {
  padding: 0.85rem 0.75rem;
  background: rgba(123, 47, 242, 0.12);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--glass-border);
}
.lista-kar-table tbody td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--text-dim);
  vertical-align: middle;
}
.lista-kar-table tbody tr:hover {
  background: rgba(123, 47, 242, 0.06);
  cursor: pointer;
}
.lista-kar-table a { color: var(--text-secondary); }
.lista-kar-table a:hover { color: #fff; }
.lista-kar-table .avatar { border-radius: 4px; vertical-align: middle; }
.lista-kar-table .avatar-name,
.lista-kar-table .avatar-name-left {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.82rem;
  line-height: 1.2;
  text-align: center;
}
.lista-kar-table .avatar-name-left { align-items: flex-start; text-align: left; }
.lista-kar-info-wrap {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
}
.lista-kar-info-table { margin: 0; }
.lista-kar-info-table tbody th {
  width: 34%;
  padding: 0.85rem 1rem;
  background: rgba(123, 47, 242, 0.08);
  color: var(--text-dim);
  font: 600 0.78rem var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  vertical-align: top;
}
.lista-kar-info-table tbody td {
  padding: 0.85rem 1rem;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  vertical-align: middle;
}
.lista-kar-info-table tbody tr:last-child th,
.lista-kar-info-table tbody tr:last-child td { border-bottom: none; }
.lista-kar-pager,
.litebans-pager-number {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-dim);
}
.litebans-pager { color: var(--primary); font-size: 1.5rem; text-decoration: none; }
.litebans-pager-inactive { visibility: hidden; }
.lista-kar-badges { display: inline-flex; gap: 0.35rem; margin-left: 0.75rem; flex-wrap: wrap; }
.lista-kar-badges .badge,
.litebans-label-info {
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}
.litebans-label-active, .litebans-label-permanent, .litebans-label-ipban { background: #ee5555; color: #fff; }
.litebans-label-inactive { background: #f79720; color: #fff; }
.litebans-label-expired { background: #777; color: #fff; }
.litebans-label-history { font-size: 0.75rem; padding: 0.15rem 0.45rem; border-radius: 4px; color: #fff; }
.litebans-label-ban { background: darkred; }
.litebans-label-mute { background: dimgrey; }
.litebans-label-warn { background: darkorange; }
.litebans-label-kick { background: tomato; }
.lista-kar-back-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}

.server-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  flex-shrink: 0;
}
.server-status span {
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--text-secondary);
  white-space: nowrap;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: 0 0 8px currentColor;
}
.server-status.online .status-dot {
  background-color: #2ecc71;
  color: #2ecc71;
}
.server-status.offline .status-dot {
  background-color: #e74c3c;
  color: #e74c3c;
}

.mobile-toggle {
  display: none;
}

/* --- Sidebar --- */
.social-sidebar {
  position: fixed;
  top: 50%;
  left: 20px;
  z-index: 99;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;

  background: rgba(15, 15, 20, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}
.social-sidebar.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(-20px);
}
.social-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--text-dim);
  transition: 0.3s;
  text-decoration: none !important;
  border: none;
}
.social-icon i {
  font-size: 18px;
  transition: 0.3s;
}
.social-icon:hover i {
  color: #fff;
  transform: scale(1.15);
  filter: drop-shadow(0 0 8px #fff);
}
.social-tooltip {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  padding: 5px 12px;
  background: #000;
  border: 1px solid var(--glass-border);
  color: #fff;
  font-size: 0.8rem;
  border-radius: 6px;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  pointer-events: none;
  white-space: nowrap;
}
.social-icon:hover .social-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(25px);
}

/* Sidebar — przypięty do lewej krawędzi okna */
@media (min-width: 1025px) {
  .social-sidebar {
    left: 1.25rem;
    right: auto;
  }
}

/* --- Hero Landing (pełny ekran startowy) --- */
.hero-landing {
  position: relative;
  min-height: 100dvh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: transparent;
}
.hero-landing::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 75% 35%, rgba(81, 0, 253, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 60% 45% at 20% 60%, rgba(251, 0, 151, 0.12) 0%, transparent 50%),
    linear-gradient(
      180deg,
      rgba(6, 4, 12, 0.48) 0%,
      rgba(3, 3, 4, 0.72) 48%,
      rgba(3, 3, 4, 0.9) 78%,
      rgba(3, 3, 4, 1) 100%
    ),
    url("../assets/bg.jpg");
  background-size: cover;
  background-position: center top;
  pointer-events: none;
}
.hero-landing-dots {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    radial-gradient(circle, var(--hero-dot-color) 1px, transparent 1px),
    radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: var(--hero-dot-size) var(--hero-dot-size), var(--hero-dot-size) var(--hero-dot-size);
  background-position: 0 0, calc(var(--hero-dot-size) / 2) calc(var(--hero-dot-size) / 2);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.55) 52%, transparent 82%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.55) 52%, transparent 82%);
}
.hero-landing::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  z-index: 0;
  background:
    radial-gradient(ellipse 100% 70% at 50% 100%, rgba(81, 0, 253, 0.1) 0%, transparent 65%),
    linear-gradient(to top, rgba(3, 3, 4, 0.55) 0%, transparent 100%);
  pointer-events: none;
}
.hero-landing .hero {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}
.hero-landing .hero-container-grid {
  padding: 5rem 0 2rem;
}
.hero-landing-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
  padding-bottom: 2.5rem;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-landing .stats-ribbon-container {
  background: rgba(10, 10, 15, 0.42);
  border-color: rgba(255, 255, 255, 0.07);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.hero-landing .stats-ribbon {
  margin: 0;
  width: calc(100% - 3rem);
  max-width: 1100px;
}
.scroll-down-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 8, 14, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.35s ease, border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.scroll-down-arrow i {
  display: block;
  line-height: 1;
  font-size: 0.9rem;
  animation: scroll-chevron-bounce 2s ease-in-out infinite;
}
.scroll-down-arrow:hover {
  color: #fff;
  border-color: rgba(251, 0, 151, 0.4);
  background: rgba(251, 0, 151, 0.12);
  transform: translateY(2px);
}
#features {
  scroll-margin-top: 5.5rem;
}

/* --- Hero Section --- */
.hero {
  min-height: 88vh;
  min-height: 88dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: transparent;
}
.hero::after {
  display: none;
}
.hero::before {
  display: none;
}


.hero h1 {
  font: 800 clamp(2.6rem, 7vw, 4rem) var(--font-display);
  margin-bottom: 0.35rem;
  background: var(--gradient-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}
.hero-tagline {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  color: var(--text-dim);
}
.hero-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 0.5rem;
  line-height: 1.75;
}
.hero-subtitle strong {
  color: #fff;
  font-weight: 600;
}


/* --- Content Sections --- */
.features,
.gamemodes,
.gallery,
.wiki-section,
.map-section,
.rules-section,
.faq-section {
  padding: 5.5rem 0 4.5rem;
  background: transparent;
  position: relative;
  z-index: 10;
}
.wiki-section,
.map-section,
.rules-section,
.lista-kar-section {
  padding-top: 6.5rem;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section-title {
  text-align: center;
  font: 700 2.15rem var(--font-display);
  color: #fff;
  margin-bottom: 2.5rem;
  letter-spacing: -0.02em;
}
.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gradient-brand);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* --- Hub-style Section Headings --- */
.section-label {
  display: block;
  width: fit-content;
  margin: 0 auto 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(251, 0, 151, 0.22);
  background: rgba(251, 0, 151, 0.08);
  color: #f0a8d8;
  font: 600 0.72rem var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.8vw, 2.35rem);
  font-weight: 800;
  text-align: center;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 2.25rem;
  line-height: 1.15;
}
.features {
  position: relative;
  background: transparent;
}
.features > .container {
  position: relative;
  z-index: 1;
}
.features .section-heading,
.gamemodes .section-heading,
.gallery .section-heading {
  margin-bottom: 2rem;
}
.section-heading .accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}





/* --- Carousel --- */
.carousel-container {
  position: relative;
  max-width: 960px;
  margin: 1.5rem auto 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--glass-border);
  background: #000;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
.carousel {
  display: flex;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.carousel-slide {
  min-width: 100%;
  height: clamp(240px, 42vw, 420px);
  flex-shrink: 0;
  position: relative;
  cursor: zoom-in;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  z-index: 10;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: 0.3s;
  backdrop-filter: blur(5px);
}
.carousel-nav:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}
.carousel-prev {
  left: 15px;
}
.carousel-next {
  right: 15px;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: 0.3s;
}
.carousel-dot.active {
  background: var(--primary);
  transform: scale(1.3);
  box-shadow: 0 0 10px var(--primary);
}

/* --- Footer (Hub-style centered) --- */
.footer {
  background: linear-gradient(180deg, transparent 0%, rgba(2, 2, 4, 0.95) 24%);
  border-top: 1px solid var(--glass-border);
  padding: 3.5rem 1.5rem 2rem;
  margin-top: 3rem;
  position: relative;
  z-index: 10;
}
.footer-container {
  max-width: 1100px; margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  text-align: left;
  margin-bottom: 2.5rem;
}
.footer-col h4,
.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.footer-brand h3 {
  font-size: 1.1rem;
  text-transform: none;
  letter-spacing: 0.02em;
}
.footer-col p {
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-brand .social-links { justify-content: flex-start; }

.social-links {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.social-link {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  text-decoration: none;
  font-size: 1.1rem;
  transition: 0.3s;
}
.social-link:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--primary-glow);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  text-align: center;
  color: #666;
  font-size: 0.88rem;
  line-height: 1.8;
}
.footer-bottom .company-info {
  font-size: 0.82rem;
  opacity: 0.75;
  color: #888;
  margin-top: 0.3rem;
}
.footer-bottom a {
  color: var(--primary);
  text-decoration: none;
  transition: 0.3s;
}
.footer-bottom a:hover {
  color: #b591ff;
}



/* --- Special Sections --- */
.iframe-container {
  height: 80vh;
  background: #000;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  overflow: hidden;
}
.map-switcher {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 6px;
  width: fit-content;
  backdrop-filter: blur(10px);
}
.map-switcher button {
  background: transparent;
  border: none;
  color: var(--text-dim);
  padding: 10px 25px;
  border-radius: 40px;
  font: 600 0.9rem var(--font-display);
  cursor: pointer;
  transition: 0.3s;
}
.map-switcher button.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.rules-content,
.tariff-content {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  margin-top: 2rem;
}
.rules-content h2,
.tariff-content h2 {
  font: 700 2rem var(--font-display);
  color: #fff;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.last-update {
  display: table;
  width: fit-content;
  margin: -1.5rem auto 3rem auto;
  background: rgba(128, 147, 241, 0.1);
  color: var(--primary);
  border: 1px solid rgba(128, 147, 241, 0.3);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 20px rgba(128, 147, 241, 0.05);
}

/* --- Legal documents (regulaminy) --- */
.container--legal {
  max-width: min(100%, 1440px);
  width: 100%;
  padding-left: clamp(0.4rem, 1.5vw, 1rem);
  padding-right: clamp(0.4rem, 1.5vw, 1rem);
}
.rules-section .section-title::after {
  margin-left: 0;
}
.rules-section .tariff-head {
  align-items: flex-end;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.rules-section .section-title {
  text-align: left;
  margin-bottom: 0;
}
.rules-section .section-title::after {
  display: none;
}
.rules-section .last-update {
  margin: 0.65rem 0 0;
}
.legal-doc-tools {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.legal-doc-search {
  position: relative;
  min-width: min(100%, 260px);
}
.legal-doc-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.78rem;
  color: var(--text-dim);
  pointer-events: none;
}
.legal-doc-search input {
  width: 100%;
  min-width: 220px;
  padding: 10px 15px 10px 2.35rem !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border-radius: 50px !important;
  text-align: left !important;
}
.legal-expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 50px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font: 600 0.8rem var(--font-display);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.legal-expand-btn:hover,
.legal-expand-btn[aria-pressed="true"] {
  border-color: rgba(251, 0, 151, 0.35);
  background: rgba(251, 0, 151, 0.1);
  color: #fff;
  box-shadow: 0 0 20px rgba(251, 0, 151, 0.12);
}
.rules-section .accordion {
  gap: 0.65rem;
}
.rules-section .accordion-item {
  border-radius: 12px;
}
.rules-section .accordion-header {
  padding: 0.95rem 1.35rem;
  font-size: 1rem;
  line-height: 1.35;
}
.rules-section .accordion-content-inner {
  padding: 1.1rem 1.5rem 1.45rem;
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--text-secondary);
}
.rules-section .accordion-content-inner .points p {
  margin-bottom: 0.6rem;
  line-height: 1.8;
}
.rules-section .accordion-content-inner a {
  color: #d4b8ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.rules-section .accordion-content-inner a:hover {
  color: #fff;
}
.rules-section .accordion.is-expanded-all {
  gap: 0;
  padding: 1.75rem 2rem 0.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}
.rules-section .accordion.is-expanded-all .accordion-item {
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.rules-section .accordion.is-expanded-all .accordion-item:hover {
  transform: none;
  background: transparent;
  border-color: transparent;
}
.rules-section .accordion.is-expanded-all .accordion-header {
  padding: 1.35rem 0 0.65rem;
  cursor: default;
  pointer-events: none;
  font-size: 1.12rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.rules-section .accordion.is-expanded-all .accordion-item:first-child .accordion-header {
  padding-top: 0;
}
.rules-section .accordion.is-expanded-all .accordion-icon {
  display: none;
}
.rules-section .accordion.is-expanded-all .accordion-content {
  max-height: none !important;
  overflow: visible;
}
.rules-section .accordion.is-expanded-all .accordion-content-inner {
  padding: 0.85rem 0 1.75rem;
  border-top: none;
  background: transparent;
}

/* --- Accordion --- */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.accordion-item {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));

  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: all 0.3s linear;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.accordion-item:hover {
  background: var(--glass-bg-hover);
  border-color: rgba(128, 147, 241, 0.4);
  transform: translateY(-2px);
}

.accordion-header {
  padding: 1.5rem 2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.85rem;

  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  user-select: none;
}
.accordion-header > span:not(.accordion-icon) {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}

.accordion-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--primary);
  background: rgba(128, 147, 241, 0.1);
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  background: var(--primary);
  color: #fff;
}
.rules-section .accordion-item.active .accordion-icon {
  transform: rotate(90deg);
}

.accordion-multiple .accordion-item.active .accordion-content {
  max-height: none;
  overflow: visible;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-content-inner {
  padding: 2rem;
  border-top: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.2);
  color: var(--text-dim);
}

.accordion-content-inner h3 {
  color: #fff;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
}

.accordion-content-inner h3:first-child {
  padding-top: 0;
  margin-top: 0;
  border-top: none;
}

.accordion-content-inner .points {
  margin-bottom: 0.5rem;
}

.accordion-content-inner .points p {
  margin-bottom: 0.4rem;
  line-height: 1.7;
}

/* --- Taryfikator --- */
.tariff-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.tariff-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background: rgba(0, 0, 0, 0.3);
  padding: 5px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.tariff-tools input {
  background: transparent;
  border: none;
  color: #fff;
  padding: 10px 15px;
  width: 250px;
  font-size: 0.95rem;
}
.tariff-tools input:focus {
  outline: none;
}
.tariff-tools .pill {
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 15px;
  border-radius: 30px;
  font-size: 0.85rem;
  color: #ccc;
  white-space: nowrap;
}
.rule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.rule-item {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}
.rule-item:hover {
  transform: translateY(-3px);
  border-color: rgba(128, 147, 241, 0.3);
}
.rule-item h4 {
  margin: 0 0 0.5rem;
  color: #fff;
  font-family: var(--font-display);
}
.rule-item p {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.5;
}
.table-wrap {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.tariff-table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
}
.tariff-table th {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: var(--font-display);
  padding: 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
  border-right: 1px solid var(--glass-border);
}
.tariff-table td {
  padding: 1.2rem;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-dim);
  border-right: 1px solid var(--glass-border);
}

.tariff-table th:last-child,
.tariff-table td:last-child {
  border-right: none;
}

.tariff-table tbody tr:last-child td {
  border-bottom: none;
}
.tariff-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}
.badge {
  padding: 5px 10px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
  white-space: nowrap;
}
.b-perm {
  background: rgba(255, 68, 68, 0.1);
  color: #ff4444;
  border: 1px solid rgba(255, 68, 68, 0.2);
}
.b-ban {
  background: rgba(128, 147, 241, 0.1);
  color: var(--primary);
  border: 1px solid rgba(128, 147, 241, 0.2);
}
.b-warn {
  background: rgba(255, 200, 0, 0.1);
  color: #ffcc00;
  border: 1px solid rgba(255, 200, 0, 0.2);
}
.b-mute {
  background: rgba(160, 174, 192, 0.15);
  color: #ccc;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.b-default {
  background: rgba(255, 255, 255, 0.05);
  color: #aaa;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-18px) scale(1.02);
  }
}
@keyframes scroll-chevron-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translate(-50%, 0);
  }
  40% {
    transform: translate(-50%, -10px);
  }
  60% {
    transform: translate(-50%, -5px);
  }
}
@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translate3d(-36px, 8px, 0);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-intro > .hero-intro-item,
.hero-intro .hero-cta > .hero-intro-item {
  opacity: 0;
  animation: hero-enter 0.82s var(--ease) both;
}
.hero-intro .hero-logo-mobile { animation-delay: 0.05s; }
.hero-intro h1.hero-intro-item { animation-delay: 0.13s; }
.hero-intro .hero-subtitle { animation-delay: 0.21s; }
.hero-intro .hero-tags { animation-delay: 0.29s; }
.hero-intro .hero-shop { animation-delay: 0.37s; }
.hero-intro .hero-cta-row { animation-delay: 0.45s; }
.hero-landing .stats-ribbon.fade-in {
  opacity: 1;
  transform: none;
  transition: none;
}

/* --- MOBILE --- */
@media (max-width: 1024px) {
  .social-sidebar {
    display: none;
  }
  .nav-container {
    justify-content: space-between;
    width: 100%;
  }
  .nav-actions {
    margin-left: auto;
    flex-shrink: 0;
  }
  .logo-text {
    display: none;
  }
  .nav-ip-chip,
  .nav-discord-btn {
    display: none;
  }
  .logo-brand {
    gap: 0.45rem;
  }
  .logo-brand .server-status {
    padding: 0.28rem 0.55rem;
  }
  .server-status span {
    font-size: 0.72rem;
  }
  .nav-btn-sklep {
    padding: 0.42rem 0.8rem !important;
    font-size: 0.74rem !important;
    gap: 0.35rem;
    min-height: 2.4rem;
    line-height: 1;
  }
  .nav-btn-sklep i {
    font-size: 0.78rem;
    flex-shrink: 0;
    line-height: 1;
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav-btn-sklep span {
    position: relative;
    z-index: 2;
  }
  .hero-right {
    display: none;
  }
  .hero-logo-mobile {
    display: block !important;
    position: relative;
    margin: 0 auto 0.65rem;
    width: 100%;
  }
  .hero-logo-mobile-img {
    display: block;
    position: relative;
    z-index: 2;
    width: clamp(115px, 18vw, 152px);
    height: auto;
    margin: 0 auto;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 0 40px rgba(251, 0, 151, 0.22)) drop-shadow(0 0 55px rgba(81, 0, 253, 0.18)) drop-shadow(0 10px 28px rgba(81, 0, 253, 0.38));
  }
  .hero-logo-mobile::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
    width: clamp(120px, 20vw, 160px);
    height: clamp(120px, 20vw, 160px);
    background: radial-gradient(circle, rgba(251, 0, 151, 0.22) 0%, rgba(81, 0, 253, 0.12) 45%, transparent 72%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: pulse-glow 6s ease-in-out infinite;
  }
  .navbar {
    border-radius: 20px;
    overflow: visible;
  }
  .nav-center {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    flex: none;
    justify-content: stretch;
    display: none;
    padding: 0.7rem;
    background: rgba(6, 6, 10, 0.97);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
  }
  .nav-center.nav-active {
    display: block;
  }
  .nav-pill {
    flex-direction: column;
    align-items: stretch;
    border-radius: 0;
    padding: 0;
    gap: 0.3rem;
    background: transparent;
    border: none;
  }
  .nav-link,
  .nav-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    padding: 0.82rem 1rem;
    font-size: 0.92rem;
    border-radius: 12px;
  }
  .nav-link.active {
    background: rgba(123, 47, 242, 0.22);
    box-shadow: inset 0 0 0 1px rgba(152, 105, 255, 0.24);
  }
  .nav-dropdown {
    width: 100%;
  }
  .nav-dropdown-toggle {
    gap: 0.4rem;
  }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    display: none;
    margin-top: 0.2rem;
    padding: 0.3rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    box-shadow: none;
  }
  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }
  .nav-dropdown-item {
    display: block;
    text-align: center;
    padding: 0.72rem 1rem;
    border-radius: 10px;
    font-size: 0.88rem;
  }
  .mobile-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 1rem;
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease, border-color 0.2s ease;
  }
  .mobile-toggle:hover,
  .nav-center.nav-active ~ .nav-actions .mobile-toggle {
    background: rgba(123, 47, 242, 0.14);
    border-color: rgba(152, 105, 255, 0.28);
  }
}

@media (max-width: 768px) {
  .fade-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .nav-container {
    padding: 0 1.15rem;
  }
  .container {
    padding: 0 1.15rem;
  }
  .logo-text {
    display: none;
  }
  .logo-brand {
    gap: 0.45rem;
  }
  .logo-brand .server-status {
    padding: 0.28rem 0.5rem;
  }
  .server-status span {
    font-size: 0.7rem;
  }
  .nav-ip-chip,
  .nav-discord-btn {
    display: none;
  }
  .navbar {
    top: 0.5rem;
    width: calc(100% - 1rem);
  }
  .legal-hub-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }
  .footer-brand .social-links {
    justify-content: center;
  }
  .social-sidebar {
    display: none;
  }
  .section-heading {
    font-size: 1.4rem;
  }
  .hero-landing {
    position: relative;
    min-height: 100svh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding-bottom: 0;
  }
  .hero-landing::after {
    height: 42%;
  }
  .hero-landing .hero {
    padding: 0;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    min-height: 0;
  }
  .hero-landing .stats-ribbon {
    width: calc(100% - 1.25rem);
    margin-top: 0;
    margin-bottom: 0.4rem;
  }
  .hero-landing-bottom {
    margin-top: auto;
    flex: 0 0 auto;
    width: 100%;
    padding-bottom: max(3.6rem, calc(2.85rem + env(safe-area-inset-bottom)));
    gap: 0;
  }
  .hero-landing .scroll-down-arrow {
    position: absolute;
    left: 50%;
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    z-index: 4;
    margin: 0;
  }
  .scroll-down-arrow {
    width: 34px;
    height: 34px;
  }
  .hero {
    min-height: auto;
    padding: 1rem 0 0;
  }
  .hero-tagline {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
  }
  .nav-btn-sklep {
    padding: 0.38rem 0.7rem !important;
    font-size: 0.7rem !important;
    gap: 4px;
    min-height: 2.35rem;
    box-shadow: 0 2px 10px rgba(251, 0, 151, 0.22) !important;
  }
  .nav-btn-sklep i {
    font-size: 0.72rem;
  }
  .hero-left .hero-subtitle {
    display: none;
  }
  .hero-left h1 {
    font-size: clamp(3.85rem, 20.5vw, 5.2rem) !important;
    margin-bottom: 0.5rem;
    line-height: 0.92;
    text-align: center !important;
    width: 100%;
  }
  .hero-container-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 100%;
    padding: 4.75rem 1rem 0.5rem;
    gap: 0;
  }
  .hero-left {
    width: min(100%, 380px);
    max-width: 380px;
    margin-inline: auto;
    align-self: center;
    align-items: center;
    text-align: center;
  }
  .hero-cta {
    max-width: 100%;
    width: 100%;
    margin-inline: auto;
    align-items: stretch;
  }
  .hero-cta .hero-tags {
    justify-content: center;
    margin-bottom: 0.35rem;
  }
  .hero-logo-mobile {
    display: block !important;
    position: relative;
    margin: 0 auto 0.65rem;
    width: 100%;
  }
  .hero-logo-mobile-img {
    display: block;
    position: relative;
    z-index: 2;
    width: clamp(130px, 35vw, 162px);
    height: auto;
    margin: 0 auto;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 0 40px rgba(251, 0, 151, 0.22)) drop-shadow(0 0 55px rgba(81, 0, 253, 0.18)) drop-shadow(0 10px 28px rgba(81, 0, 253, 0.38));
  }
  .hero-logo-mobile::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
    width: clamp(135px, 36vw, 168px);
    height: clamp(135px, 36vw, 168px);
    background: radial-gradient(circle, rgba(251, 0, 151, 0.22) 0%, rgba(81, 0, 253, 0.12) 45%, transparent 72%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: pulse-glow 6s ease-in-out infinite;
  }
  .hero-cta-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch;
    gap: 0.5rem;
  }
  .hero-cta-row .hero-btn {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    min-height: 48px;
    padding: 0.55rem 0.5rem;
    justify-content: center;
  }
  .hero-cta-row .hero-btn-text {
    align-items: center;
  }
  .hero-cta-row .hero-btn-text .btn-title {
    font-size: 0.72rem !important;
  }
  .hero-left {
    align-items: center;
  }
  .stat-lbl--desktop {
    display: none;
  }
  .stat-lbl--mobile {
    display: block;
  }
  .hero-btn {
    width: 100%;
    min-height: 52px;
    padding: 0.65rem 0.85rem;
    justify-content: center;
  }
  .hero-btn.hero-shop {
    justify-content: center;
    gap: 0.55rem;
  }
  .hero-btn.hero-shop .hero-btn-text {
    align-items: center;
    flex: 0 0 auto;
  }
  .hero-cta-row .hero-btn {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
  }
  .hero-btn-icon {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.85rem;
  }
  .hero-btn-text .btn-title {
    font-size: 0.78rem !important;
  }
  .hero-ip .hero-btn-text .btn-title {
    font-size: 0.78rem !important;
  }
  .stats-ribbon {
    width: calc(100% - 1.25rem);
    max-width: 380px;
    margin: 0 auto;
  }
  .stats-ribbon-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 0.4rem;
    padding: 0.55rem 0.45rem;
    border-radius: 14px;
    background: rgba(10, 10, 15, 0.38);
    overflow: hidden;
    box-sizing: border-box;
  }
  .stat-divider {
    display: none;
  }
  .stat-item {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 0;
    height: auto;
    padding: 0.42rem 0.18rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
  }
  .stat-item-info {
    text-align: center;
    min-width: 0;
    max-width: 100%;
    align-items: center;
    gap: 0;
    overflow: hidden;
  }
  .stat-val {
    font-size: clamp(0.66rem, 2.7vw, 0.78rem);
    line-height: 1.05;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .stat-lbl {
    font-size: clamp(0.4rem, 1.9vw, 0.48rem);
    letter-spacing: 0.01em;
    line-height: 1.15;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .stat-item-icon {
    width: 24px;
    height: 24px;
    font-size: 0.68rem;
    flex-shrink: 0;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    max-width: 100%;
  }
  .feature-card {
    padding: 1rem 1.1rem;
    align-items: flex-start;
  }
  .feature-body h3 {
    font-size: 0.95rem;
  }
  .feature-body p {
    font-size: 0.8rem;
    line-height: 1.5;
  }
  .features,
  .gamemodes,
  .gallery,
  .faq-section {
    padding: 3.5rem 0 3rem;
  }
  .section-heading {
    margin-bottom: 1.5rem;
  }
  .carousel-container {
    margin-top: 1rem;
  }
  .carousel-slide {
    height: clamp(180px, 52vw, 260px);
  }
  .hero-right {
    display: none;
  }
  .gamemode-image {
    height: 175px;
  }
  .gamemode-content {
    padding: 1.1rem 1.2rem 1.25rem;
  }
  .gamemode-grid {
    gap: 1rem;
    max-width: 420px;
    margin-inline: auto;
  }
  .tariff-table thead {
    display: none;
  }
  .gamemode-grid,
  .rule-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
    text-align: center !important;
    margin-bottom: 2rem;
  }
  .tariff-head {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .rules-section .tariff-head {
    align-items: stretch;
  }
  .legal-doc-tools {
    justify-content: stretch;
    width: 100%;
  }
  .legal-doc-search {
    flex: 1;
    min-width: 0;
    width: 100%;
  }
  .legal-doc-search input {
    min-width: 0;
    width: 100%;
  }
  .legal-expand-btn {
    justify-content: center;
    width: 100%;
  }
  .container--legal {
    max-width: 100%;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
  }
  .rules-section .accordion-item {
    border-radius: 14px;
  }
  .rules-section .accordion.is-expanded-all {
    padding: 1rem 0.85rem 0.25rem;
  }
  .rules-section .accordion-header {
    padding: 0.8rem 0.85rem;
    font-size: 0.92rem;
  }
  .rules-section .accordion-content-inner {
    padding: 0.8rem 0.85rem 1.1rem;
    font-size: 0.9rem;
    line-height: 1.7;
  }
  .tariff-tools {
    width: 100%;
  }
  .tariff-tools input {
    width: 100%;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    text-align: center;
  }
  .tariff-table,
  .tariff-table tbody,
  .tariff-table tr,
  .tariff-table td {
    display: block;
    width: 100%;
  }
  .tariff-table tr {
    margin-bottom: 25px;
    background: rgba(20, 20, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }

  .tariff-table td,
  .tariff-table th {
    border-right: none;
  }

  .tariff-table td.td-title {
    background: rgba(128, 147, 241, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0;
  }

  .tariff-table td:not(.td-title):not(.td-desc) {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
    color: var(--text-dim);
  }
  .tariff-table td:not(.td-title):not(.td-desc)::before {
    content: attr(data-label);
    font-weight: 600;
    color: #fff;
  }

  .tariff-table td.td-desc {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 20px;
    margin: 0;
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
  }
}

/* =============================================
   PIXALIS MC — Custom Udoskonalenia (Asymetryczny Layout Premium)
   ============================================= */

/* --- Particles Canvas --- */
.particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* --- Hero Grid Layout (Układ Dwukolumnowy) --- */
.hero-container-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 2.5rem;
  text-align: left;
  width: 100%;
  position: relative;
  z-index: 2;
  padding: 7rem 0 4.5rem;
  box-sizing: border-box;
}
.hero-left,
.hero-right {
  min-width: 0;
  max-width: 100%;
}
@media (min-width: 1025px) {
  .hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-left h1 {
  font: 800 clamp(3rem, 7.5vw, 4.75rem) var(--font-display) !important;
  line-height: 1.02;
  margin-bottom: 0.65rem;
  text-align: left;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.04em;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.hero-cta .hero-tags {
  margin-bottom: 0.15rem;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.85rem 0.38rem 0.65rem;
  border-radius: 999px;
  font: 600 0.72rem var(--font-display);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.hero-left .hero-subtitle {
  text-align: left;
  margin: 0 0 1.35rem 0;
  max-width: 540px;
  font-size: 1.05rem;
  line-height: 1.72;
  color: var(--text-secondary);
}
.hero-tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-tag--version {
  border: 1px solid rgba(0, 210, 255, 0.28);
  background: rgba(0, 210, 255, 0.08);
  color: #b8eeff;
}
.hero-tag--version .hero-tag-dot {
  background: var(--clr-hy);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.65);
}
.hero-tag--access {
  border: 1px solid rgba(251, 0, 151, 0.3);
  background: rgba(251, 0, 151, 0.09);
  color: #f5b0dc;
}
.hero-tag--access .hero-tag-dot {
  background: var(--clr-pink);
  box-shadow: 0 0 10px rgba(251, 0, 151, 0.65);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.85rem 0.38rem 0.65rem;
  margin-bottom: 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font: 600 0.76rem var(--font-display);
  letter-spacing: 0.02em;
}
.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clr-mc);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.7);
  animation: dot-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  width: 100%;
  max-width: 420px;
}
.hero-cta-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0.55rem;
}
.hero-cta-row .hero-btn {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(12, 12, 18, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  min-height: 56px;
  font-family: var(--font-display);
  font-weight: 700;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.hero-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.06);
}
.hero-ip {
  border-color: rgba(251, 0, 151, 0.25);
  background: rgba(251, 0, 151, 0.08);
}
.hero-ip:hover {
  border-color: rgba(251, 0, 151, 0.55);
  box-shadow: 0 8px 28px rgba(251, 0, 151, 0.22), inset 0 0 8px rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
  background: rgba(251, 0, 151, 0.12);
}
/* --- Shop button --- */
.hero-btn.hero-shop,
.nav-btn-sklep,
.play-strip-btn--shop,
.mobile-action-shop {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--shop-gradient) !important;
  background-image: var(--shop-surface) !important;
  background-size: 100% 100% !important;
  border: none !important;
  outline: none !important;
  color: #fff !important;
  box-shadow: var(--shop-shadow) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease) !important;
}
.hero-cta .hero-btn.hero-shop {
  margin-bottom: 0.35rem;
  justify-content: center;
  gap: 0.55rem;
  letter-spacing: 0.02em;
}
.hero-btn.hero-shop::before,
.nav-btn-sklep::before,
.play-strip-btn--shop::before,
.mobile-action-shop::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: repeating-linear-gradient(
    -52deg,
    transparent 0,
    transparent 10px,
    rgba(255, 255, 255, 0.045) 10px,
    rgba(255, 255, 255, 0.045) 11px
  );
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.hero-btn.hero-shop::after,
.nav-btn-sklep::after,
.play-strip-btn--shop::after,
.mobile-action-shop::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  height: 100%;
  opacity: 0;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 42%,
    rgba(255, 255, 255, 0.18) 50%,
    rgba(255, 255, 255, 0.08) 58%,
    transparent 100%
  );
  transform: translateX(-140%);
  pointer-events: none;
  z-index: 1;
  animation: shop-shine-sweep 14s ease-in-out infinite;
  animation-fill-mode: backwards;
}
.hero-btn.hero-shop.shop-shine-flash::after,
.nav-btn-sklep.shop-shine-flash::after,
.play-strip-btn--shop.shop-shine-flash::after,
.mobile-action-shop.shop-shine-flash::after {
  animation: shop-shine-once 1s ease-out backwards !important;
}
.hero-btn.hero-shop:hover,
.nav-btn-sklep:hover,
.play-strip-btn--shop:hover,
.mobile-action-shop:hover {
  transform: translateY(-1px) !important;
  background: var(--shop-gradient-hover) !important;
  background-image: var(--shop-surface-hover) !important;
  box-shadow: var(--shop-shadow-hover) !important;
  border: none !important;
}
.nav-btn-sklep > *,
.play-strip-btn--shop > *,
.hero-btn.hero-shop .hero-btn-icon,
.hero-btn.hero-shop .hero-btn-text {
  position: relative;
  z-index: 2;
}
.hero-shop .hero-btn-icon {
  width: auto;
  height: auto;
  padding: 0;
  background: none !important;
  border: none !important;
  border-radius: 0;
  color: #fff !important;
  font-size: 1.05rem;
  opacity: 0.95;
}
.hero-btn.hero-shop .hero-btn-text {
  flex: 0 0 auto;
}
.hero-btn.hero-shop .hero-btn-text .btn-title {
  font-size: 0.92rem !important;
  letter-spacing: 0.04em;
}
.hero-btn.hero-shop:hover .hero-btn-icon {
  transform: none;
}
.hero-btn-icon {
  font-size: 1rem;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  margin-right: 0;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transition: transform 0.2s;
}
.hero-btn:hover .hero-btn-icon {
  transform: scale(1.1);
}
.hero-dc {
  border-color: rgba(88, 101, 242, 0.35) !important;
  background: rgba(88, 101, 242, 0.08) !important;
}
.hero-dc:hover {
  background: rgba(88, 101, 242, 0.16) !important;
  border-color: rgba(88, 101, 242, 0.65) !important;
  box-shadow: 0 8px 28px rgba(88, 101, 242, 0.28), inset 0 0 8px rgba(255, 255, 255, 0.08) !important;
  transform: translateY(-2px) !important;
}
.hero-dc .hero-btn-icon {
  color: #9aa8ff;
  background: rgba(88, 101, 242, 0.18);
}
.hero-ip .hero-btn-icon {
  color: #ff6ec7;
  background: rgba(251, 0, 151, 0.15);
}

.hero-btn.ok {
  border-color: rgba(46, 204, 113, 0.5);
  background: rgba(46, 204, 113, 0.1);
}
.hero-btn.ok .hero-btn-icon {
  color: #2ecc71;
  background: rgba(46, 204, 113, 0.18);
}

.hero-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  min-width: 0;
}
.hero-btn-text .btn-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: inherit;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.hero-btn-text .btn-sub {
  display: block !important;
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.hero-ip .hero-btn-text .btn-title {
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}
.hero-btn.ok .hero-btn-text .btn-sub {
  color: rgba(46, 204, 113, 0.85);
}

@media (min-width: 1025px) and (max-width: 1400px) {
  .hero-landing .hero {
    padding-left: 4.75rem;
    padding-right: 1.5rem;
    box-sizing: border-box;
  }
  .hero-landing .hero .container.hero-container-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(1rem, 2.5vw, 2rem);
    max-width: min(1200px, 100%);
    margin-inline: auto;
    padding-inline: 1.5rem;
  }
  .hero-landing .stats-ribbon {
    max-width: min(1100px, calc(100% - 3rem));
  }
  .floating-logo {
    max-width: min(100%, clamp(150px, 20vw, 220px));
    margin-inline: auto;
  }
  .logo-glow-effect {
    width: min(220px, 100%);
    height: min(220px, 100%);
  }
  .hero-left .hero-subtitle {
    max-width: 100%;
  }
  .hero-landing-bottom {
    padding-left: 4.75rem;
    padding-right: 1.5rem;
    box-sizing: border-box;
  }
}

/* Mobile hero — must come after base .hero-container-grid / .hero-left */
@media (max-width: 1024px) {
  .hero-right {
    display: none !important;
  }
  .hero-landing .hero-container-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 100%;
    padding: 4.75rem 1rem 0.5rem;
  }
  .hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: min(100%, 380px);
    max-width: 380px;
    margin-inline: auto;
    align-self: center;
  }
  .hero-left h1 {
    text-align: center !important;
    width: 100%;
  }
  .hero-cta {
    margin-inline: auto;
    align-items: stretch;
  }
  .hero-btn {
    justify-content: center;
  }
}

/* Right side Logo */
.hero-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.floating-logo {
  position: relative;
  z-index: 2;
  animation: float 4s ease-in-out infinite;
  max-width: min(100%, 300px);
  height: auto;
  filter: drop-shadow(0 0 60px rgba(251, 0, 151, 0.25)) drop-shadow(0 0 80px rgba(81, 0, 253, 0.2));
}
.logo-glow-effect {
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(251, 0, 151, 0.22) 0%, rgba(81, 0, 253, 0.12) 45%, transparent 72%);
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
  animation: pulse-glow 6s ease-in-out infinite;
}

/* Stats Ribbon */
.stats-ribbon {
  position: relative;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: calc(100% - 3rem);
  max-width: 1100px;
  z-index: 20;
}
.stats-ribbon-container {
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  border-radius: 24px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s ease;
}
.stat-item:hover {
  transform: translateY(-2px);
}
.stat-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(152, 105, 255, 0.1);
  border: 1px solid rgba(152, 105, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.stat-item:hover .stat-item-icon {
  background: rgba(152, 105, 255, 0.18);
  box-shadow: 0 0 16px rgba(152, 105, 255, 0.3);
  transform: scale(1.08);
}
.stat-item-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.stat-val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  color: #fff;
  line-height: 1.1;
}
.stat-lbl {
  color: var(--text-dim);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 1px;
}
.stat-lbl--mobile {
  display: none;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
  .hero-landing .stats-ribbon {
    width: calc(100% - 1.25rem);
    max-width: 380px;
    margin-bottom: 0.4rem;
  }
  .stats-ribbon-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.4rem;
    padding: 0.55rem 0.45rem;
    border-radius: 14px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .stat-divider {
    display: none;
  }
  .stat-item {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 0.42rem 0.18rem;
    border-radius: 10px;
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
  }
  .stat-item-info {
    text-align: center;
    min-width: 0;
    max-width: 100%;
    align-items: center;
    overflow: hidden;
  }
  .stat-val {
    font-size: clamp(0.66rem, 2.7vw, 0.78rem);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .stat-lbl {
    font-size: clamp(0.4rem, 1.9vw, 0.48rem);
    letter-spacing: 0.01em;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .stat-item-icon {
    width: 24px;
    height: 24px;
    font-size: 0.68rem;
    flex-shrink: 0;
  }
  .stat-lbl--desktop {
    display: none;
  }
  .stat-lbl--mobile {
    display: block;
  }
}

/* --- Feature Cards --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 920px;
  margin: 1.5rem auto 0;
  align-items: start;
}
.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.25rem;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.feature-card:hover {
  border-color: rgba(152, 105, 255, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4), 0 0 24px rgba(152, 105, 255, 0.15);
  background: rgba(123, 47, 242, 0.08);
}
.feature-glow {
  position: absolute;
  top: -40px;
  left: 1.25rem;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(152, 105, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.feature-card:hover .feature-glow {
  opacity: 1;
}
.feature-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(152, 105, 255, 0.08);
  border: 1px solid rgba(152, 105, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.feature-card:hover .feature-icon-wrap {
  color: #fff;
  box-shadow: 0 0 24px rgba(123, 47, 242, 0.45), inset 0 0 12px rgba(255, 255, 255, 0.1);
  transform: scale(1.12) rotate(8deg);
}
.feature-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}
.feature-body p {
  color: var(--text-dim);
  font-size: 0.84rem;
  line-height: 1.55;
  margin: 0;
}
.feature-card--pink .feature-icon-wrap {
  background: rgba(251, 0, 151, 0.12);
  border-color: rgba(251, 0, 151, 0.28);
  color: #fb0097;
}
.feature-card--pink:hover .feature-icon-wrap {
  background: #fb0097;
  box-shadow: 0 0 20px rgba(251, 0, 151, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.2);
  color: #fff;
}
.feature-card--green .feature-icon-wrap {
  background: rgba(46, 204, 113, 0.12);
  border-color: rgba(46, 204, 113, 0.28);
  color: #2ecc71;
}
.feature-card--green:hover .feature-icon-wrap {
  background: #2ecc71;
  box-shadow: 0 0 20px rgba(46, 204, 113, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.2);
  color: #fff;
}
.feature-card--blue .feature-icon-wrap {
  background: rgba(0, 210, 255, 0.12);
  border-color: rgba(0, 210, 255, 0.28);
  color: #00d2ff;
}
.feature-card--blue:hover .feature-icon-wrap {
  background: #00d2ff;
  color: #050505;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.6), inset 0 0 10px rgba(0, 0, 0, 0.2);
}
.feature-card--orange .feature-icon-wrap {
  background: rgba(255, 165, 0, 0.12);
  border-color: rgba(255, 165, 0, 0.28);
  color: #ffa500;
}
.feature-card--orange:hover .feature-icon-wrap {
  background: #ffa500;
  color: #050505;
  box-shadow: 0 0 20px rgba(255, 165, 0, 0.5), inset 0 0 10px rgba(0, 0, 0, 0.2);
}

/* --- Gamemodes --- */
.card-shine {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.card-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 30%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
  transform: translateX(-100%) rotate(15deg);
}
.gamemode-card:hover .card-shine::after {
  animation: card-shine-anim 0.8s ease forwards;
}
.gamemode-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
  align-items: start;
}
@media (min-width: 769px) {
  .gamemode-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.gamemode-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.gamemode-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(152, 105, 255, 0.45);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), 0 0 30px rgba(152, 105, 255, 0.2);
}
.gamemode-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  filter: brightness(0.8) saturate(0.95);
  transition: filter 0.45s var(--ease), transform 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}
.gamemode-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 45%;
  background: linear-gradient(to top, rgba(5, 5, 5, 0.85), transparent);
  transition: opacity 0.4s ease;
}
.gamemode-card:hover .gamemode-image {
  filter: brightness(1.05) saturate(1.1);
  transform: scale(1.06);
}
.gamemode-card:hover .gamemode-image::after {
  opacity: 0.85;
}
.gamemode-survival .gamemode-image {
  background-image: url("../assets/royal.jpg");
}
.gamemode-skyblock .gamemode-image {
  background-image: url("../assets/skyblock.jpg");
}
.gamemode-content {
  padding: 1.35rem 1.5rem 1.5rem;
}
.gamemode-content h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.45rem;
}
.gamemode-content p {
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 0.85rem;
}

/* --- Ranks --- */
.ranks-info-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.1rem 1.5rem;
  border-radius: var(--card-radius);
  background: var(--shop-surface);
  box-shadow: var(--shop-shadow);
}
.ranks-info-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
}
.ranks-info-text {
  flex: 1;
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}
.ranks-info-text strong {
  font-weight: 700;
}
.ranks-info-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font: 600 0.85rem var(--font-display);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.ranks-info-btn:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}
@media (max-width: 640px) {
  .ranks-info-bar {
    flex-direction: column;
    text-align: center;
  }
  .ranks-info-btn {
    width: 100%;
    justify-content: center;
  }
}

/* --- FAQ Section --- */
.faq-section .accordion {
  max-width: 800px;
  margin: 0 auto;
}
.faq-section .accordion-item {
  border-radius: var(--card-radius);
  margin-bottom: 1rem;
}
.faq-section .accordion-header {
  padding: 1.3rem 1.8rem;
  font-weight: 700;
  font-size: 1.05rem;
  align-items: flex-start;
}
.faq-section .accordion-header > span:not(.accordion-icon) {
  padding-top: 0.15rem;
}
.faq-section .accordion-icon {
  margin-top: 0.1rem;
}
.faq-section .accordion-content-inner {
  padding: 1.5rem 1.8rem;
  background: rgba(0, 0, 0, 0.15);
}
.faq-section .accordion-content-inner p {
  margin: 0;
  line-height: 1.7;
}
.faq-section .accordion-content-inner a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.faq-section .accordion-content-inner a:hover {
  color: #c084fc;
}

/* --- Gamemode Tags --- */
.gamemode-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.gamemode-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.gamemode-survival .gamemode-tag {
  background: rgba(251, 0, 151, 0.1);
  border: 1px solid rgba(251, 0, 151, 0.25);
  color: #ff57be;
}
.gamemode-skyblock .gamemode-tag {
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.25);
  color: #4ce5ff;
}

/* --- Cursor Glow Effect --- */
.cursor-glow {
  position: relative;
  overflow: hidden;
}
.cursor-glow::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(152, 105, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  transform: translate(-50%, -50%);
  left: var(--glow-x, 50%);
  top: var(--glow-y, 50%);
  z-index: 0;
}
.cursor-glow:hover::after {
  opacity: 1;
}
.cursor-glow > * {
  position: relative;
  z-index: 1;
}

/* --- Staggered Entrance Animations --- */
.fade-in.stagger-1 { transition-delay: 0ms; }
.fade-in.stagger-2 { transition-delay: 100ms; }
.fade-in.stagger-3 { transition-delay: 200ms; }
.fade-in.stagger-4 { transition-delay: 300ms; }
.fade-in.stagger-5 { transition-delay: 400ms; }
.fade-in.stagger-6 { transition-delay: 500ms; }

/* --- Footer Enhancement --- */
.footer {
  border-top: none;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--clr-pink), var(--clr-purple), transparent);
}
.footer-brand h3 {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.3rem;
}

/* --- Stats Counter Animation --- */
.stat-val {
  font-variant-numeric: tabular-nums;
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lightbox-overlay.active {
  display: flex;
  opacity: 1;
}
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.lightbox-overlay.active img {
  transform: scale(1);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: 0.3s;
  z-index: 10001;
}
.lightbox-close:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* --- Responsiveness Overrides --- */
@media (max-width: 1366px) and (min-width: 769px) {
  .hero-left h1 {
    font-size: clamp(2.35rem, 5.5vw, 3.25rem) !important;
  }
  .hero-left .hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 1.35rem;
  }
  .hero-left .hero-tagline {
    font-size: 0.82rem;
  }
  .hero-container-grid {
    gap: 1.75rem;
    padding: 5rem 0 3rem;
  }
  .hero-landing .hero-container-grid {
    padding: 3.75rem 0 0.75rem;
  }
  .floating-logo {
    max-width: 200px;
  }
  .logo-glow-effect {
    width: 200px;
    height: 200px;
  }
  .hero-btn {
    min-height: 50px;
    padding: 0.65rem 1rem;
  }
  .hero-btn-text .btn-title {
    font-size: 0.82rem !important;
  }
  .stats-ribbon-container {
    padding: 1.1rem 1.35rem;
    border-radius: 18px;
  }
  .stat-item-icon {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }
  .stat-val {
    font-size: 1.05rem;
  }
  .stat-lbl {
    font-size: 0.68rem;
  }
  .section-heading {
    font-size: 1.65rem;
    margin-bottom: 1.65rem;
  }
  .section-title {
    font-size: 1.85rem;
  }
  .features,
  .gamemodes,
  .gallery,
  .faq-section,
  .rules-section {
    padding: 4rem 0 3.25rem;
  }
  .rules-section .tariff-head {
    flex-direction: column;
    align-items: stretch;
  }
  .legal-doc-tools {
    justify-content: stretch;
    width: 100%;
  }
  .legal-doc-search {
    flex: 1;
    min-width: 0;
  }
  .legal-doc-search input {
    min-width: 0;
  }
  .legal-expand-btn {
    justify-content: center;
    width: 100%;
  }
  .container--legal {
    max-width: 100%;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
  }
  .rules-section .accordion-item {
    border-radius: 14px;
  }
  .rules-section .accordion.is-expanded-all {
    padding: 1rem 0.85rem 0.25rem;
  }
  .rules-section .accordion-header {
    padding: 0.8rem 0.85rem;
    font-size: 0.92rem;
  }
  .rules-section .accordion-content-inner {
    padding: 0.8rem 0.85rem 1.1rem;
    font-size: 0.9rem;
    line-height: 1.7;
  }
  .accordion-header {
    padding: 1.1rem 1.35rem;
    font-size: 0.98rem;
    gap: 0.75rem;
  }
  .faq-section .accordion-header {
    padding: 1rem 1.1rem;
    font-size: 0.92rem;
  }
  .faq-section .accordion-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
  }
  .accordion-content-inner {
    padding: 1.35rem 1.5rem;
  }
  .gamemode-image {
    height: 170px;
  }
  .gamemode-content h3 {
    font-size: 1.2rem;
  }
  .gamemode-grid {
    gap: 1rem;
    max-width: 420px;
    margin-inline: auto;
  }
  .gamemode-card {
    height: auto;
  }
  .gamemode-content p {
    font-size: 0.84rem;
    line-height: 1.55;
    margin-bottom: 0.75rem;
  }
  .gamemode-tags {
    gap: 5px;
  }
  .gamemode-tag {
    font-size: 0.62rem;
    padding: 3px 9px;
  }
  .feature-body h3 {
    font-size: 0.95rem;
  }
  .carousel-slide {
    height: clamp(200px, 36vw, 340px);
  }
}
@media (max-width: 1024px) and (min-width: 769px) {
  .hero-container-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    padding: 4.5rem 1.25rem 1.5rem;
  }
  .hero-left h1 {
    font-size: clamp(3.25rem, 12vw, 4.5rem) !important;
    text-align: center;
  }
  .hero-left .hero-subtitle {
    display: none;
  }
  .hero-cta {
    max-width: 380px;
    margin: 0 auto;
  }
  .hero-left {
    align-items: center;
    text-align: center;
    width: min(100%, 380px);
    margin-inline: auto;
  }
  .hero-tags {
    justify-content: center;
  }
}
@media (min-width: 1025px) {
  .hero-logo-mobile {
    display: none !important;
  }
}
@media (max-width: 1024px) and (min-width: 769px) {
  .stats-ribbon-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }
  .stat-divider {
    display: none;
  }
}
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .floating-logo {
    max-width: 160px;
  }
}
@media (max-width: 480px) {
  .container--legal {
    max-width: 100%;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
  }
  .hero-cta-row {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.45rem;
  }
  .hero-btn-text .btn-sub {
    display: none !important;
  }
  .hero-left h1 {
    font-size: clamp(4.25rem, 24vw, 5.75rem) !important;
    letter-spacing: -0.03em;
  }
  .stats-ribbon-container {
    padding: 0.5rem 0.4rem;
    gap: 0.35rem;
  }
  .stat-item {
    padding: 0.38rem 0.14rem;
  }
  .stat-val {
    font-size: clamp(0.64rem, 2.6vw, 0.76rem);
  }
  .stat-lbl {
    font-size: clamp(0.38rem, 1.8vw, 0.46rem);
  }
  .stat-item-icon {
    width: 23px;
    height: 23px;
    font-size: 0.64rem;
  }
  .stats-ribbon-container {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

/* --- Play strip (desktop/tablet footer CTA) --- */
.play-strip {
  position: relative;
  z-index: 10;
  padding: 0 1.5rem;
  margin: -1rem auto 0;
  max-width: 1100px;
}
.play-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 1.1rem 1.35rem;
  border-radius: 18px;
  border: 1px solid rgba(251, 0, 151, 0.2);
  background: var(--gradient-brand-soft);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.play-strip-label {
  display: block;
  font: 600 0.72rem var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.2rem;
}
.play-strip-ip {
  font: 800 1.35rem var(--font-display);
  letter-spacing: 0.08em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.play-strip-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.play-strip-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.62rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: rgba(8, 8, 14, 0.65);
  color: #fff;
  font: 700 0.82rem var(--font-display);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.play-strip-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
}
.play-strip-btn--shop:hover {
  transform: translateY(-1px);
  background: var(--shop-gradient-hover) !important;
  background-image: var(--shop-surface-hover) !important;
  box-shadow: var(--shop-shadow-hover) !important;
}
.play-strip-btn--discord {
  border-color: rgba(88, 101, 242, 0.4);
  background: rgba(88, 101, 242, 0.14);
}
.play-strip-btn--ip.ok,
.play-strip-btn--ip:hover {
  border-color: rgba(46, 204, 113, 0.45);
  background: rgba(46, 204, 113, 0.12);
}

/* --- Mobile sticky action bar --- */
.mobile-action-bar {
  display: none;
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: calc(0.65rem + env(safe-area-inset-bottom, 0));
  z-index: 1100;
  padding: 0.35rem;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  background: rgba(8, 8, 14, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
}
.mobile-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-height: 52px;
  padding: 0.4rem 0.35rem;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: #fff;
  font: 700 0.68rem var(--font-display);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.mobile-action-item i {
  font-size: 1rem;
}
.mobile-action-shop {
  box-shadow: var(--shop-shadow) !important;
}
.mobile-action-discord {
  background: rgba(88, 101, 242, 0.16);
  border-color: rgba(88, 101, 242, 0.3);
  color: #c5cdff;
}
.mobile-action-ip {
  background: rgba(251, 0, 151, 0.1);
  border-color: rgba(251, 0, 151, 0.25);
}
.mobile-action-item.ok {
  background: rgba(46, 204, 113, 0.14);
  border-color: rgba(46, 204, 113, 0.35);
}

@media (max-width: 900px) {
  .play-strip {
    display: none;
  }
  /* .mobile-action-bar { display: grid; } */
  /* body { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0)); } */
}

/* =============================================
   PIXEL ACCENTS / HERO SHOWCASE / JOIN STEPS
   ============================================= */
:root {
  --font-pixel: "Pixelify Sans", var(--font-display);
}

.hero-tag {
  font: 500 0.85rem var(--font-pixel);
  letter-spacing: 0.04em;
}
.gamemode-tag {
  font-family: var(--font-pixel);
  font-weight: 500;
  font-size: 0.78rem;
}

/* --- Hero showcase (desktop only, .hero-right) --- */
@keyframes showcase-float-front {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50%      { transform: rotate(-4deg) translateY(-10px); }
}
@keyframes showcase-float-back {
  0%, 100% { transform: rotate(4deg) translateY(0); }
  50%      { transform: rotate(4deg) translateY(-13px); }
}
.hero-showcase {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 5 / 4;
}
.hero-showcase-card {
  position: absolute;
  aspect-ratio: 16 / 10;
  border-radius: var(--card-radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.hero-showcase-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 4, 8, 0.72) 0%, transparent 45%);
  pointer-events: none;
}
.hero-showcase-card--back {
  top: 0;
  right: 0;
  width: 72%;
  opacity: 0.92;
  animation: showcase-float-back 7s ease-in-out infinite;
}
.hero-showcase-card--front {
  bottom: 6%;
  left: 0;
  width: 82%;
  z-index: 2;
  animation: showcase-float-front 5.5s ease-in-out 0.6s infinite;
  box-shadow: 0 22px 60px rgba(81, 0, 253, 0.26), 0 10px 30px rgba(0, 0, 0, 0.5);
}
.hero-showcase-tag {
  position: absolute;
  left: 0.9rem;
  bottom: 0.75rem;
  z-index: 1;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  font: 500 0.85rem var(--font-pixel);
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-showcase-tag--royal {
  background: rgba(251, 0, 151, 0.22);
  border: 1px solid rgba(251, 0, 151, 0.45);
  color: #ffd2ec;
}
.hero-showcase-tag--sky {
  background: rgba(0, 210, 255, 0.18);
  border: 1px solid rgba(0, 210, 255, 0.4);
  color: #d8f7ff;
}
.hero-showcase-logo {
  position: absolute;
  right: 3%;
  bottom: -2%;
  z-index: 3;
  width: clamp(95px, 9vw, 125px);
  height: auto;
  filter: drop-shadow(0 0 30px rgba(251, 0, 151, 0.35)) drop-shadow(0 6px 18px rgba(0, 0, 0, 0.5));
  animation: float 4s ease-in-out infinite;
}

/* --- Join steps --- */
.join-steps {
  padding: 5.5rem 0 4.5rem;
}
.join-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1000px;
  margin: 0 auto;
}
.join-step {
  position: relative;
  padding: 1.6rem 1.5rem 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.join-step:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
}
.join-step-num {
  position: absolute;
  top: 0.35rem;
  right: 0.9rem;
  font: 700 3.4rem var(--font-pixel);
  line-height: 1;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.3;
  pointer-events: none;
}
.join-step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  font-size: 1.15rem;
  margin-bottom: 0.9rem;
}
.join-step-icon--pink {
  background: rgba(251, 0, 151, 0.12);
  border: 1px solid rgba(251, 0, 151, 0.3);
  color: #ff57be;
}
.join-step-icon--blue {
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.28);
  color: #4ce5ff;
}
.join-step-icon--purple {
  background: rgba(168, 85, 247, 0.14);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #c99cff;
}
.join-step h3 {
  font: 700 1.1rem var(--font-display);
  color: #fff;
  margin-bottom: 0.4rem;
}
.join-step p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
.join-step p strong {
  color: #fff;
  font-weight: 600;
}
@media (max-width: 900px) {
  .join-steps-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
  .join-steps {
    padding: 3.5rem 0 3rem;
  }
}

/* --- MC accents: pixel font on stats & IP --- */
.stat-val {
  font-family: var(--font-pixel);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.hero-ip .btn-title,
.nav-ip-text {
  font-family: var(--font-pixel);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* --- MC accents: floating pixel particles in hero --- */
@keyframes pixel-rise {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 0.75; }
  60%  { transform: translateY(-45vh) translateX(10px); opacity: 0.4; }
  100% { transform: translateY(-80vh) translateX(-6px); opacity: 0; }
}
.hero-pixels {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-pixels span {
  position: absolute;
  bottom: -12px;
  width: 8px;
  height: 8px;
  opacity: 0;
  animation: pixel-rise linear infinite;
}
.hero-pixels span:nth-child(1) { left: 8%;  background: var(--clr-pink);   animation-duration: 11s; animation-delay: 0s; }
.hero-pixels span:nth-child(2) { left: 22%; background: var(--primary);    animation-duration: 14s; animation-delay: 3s; width: 6px; height: 6px; }
.hero-pixels span:nth-child(3) { left: 34%; background: var(--clr-hy);     animation-duration: 12s; animation-delay: 6s; width: 5px; height: 5px; }
.hero-pixels span:nth-child(4) { left: 48%; background: var(--clr-purple); animation-duration: 15s; animation-delay: 1.5s; }
.hero-pixels span:nth-child(5) { left: 61%; background: var(--clr-pink);   animation-duration: 13s; animation-delay: 8s; width: 6px; height: 6px; }
.hero-pixels span:nth-child(6) { left: 73%; background: var(--primary);    animation-duration: 10s; animation-delay: 4.5s; width: 5px; height: 5px; }
.hero-pixels span:nth-child(7) { left: 84%; background: var(--clr-hy);     animation-duration: 16s; animation-delay: 2s; }
.hero-pixels span:nth-child(8) { left: 93%; background: var(--clr-purple); animation-duration: 12s; animation-delay: 9s; width: 6px; height: 6px; }

/* --- Browser polish: selection & scrollbar --- */
::selection {
  background: rgba(251, 0, 151, 0.45);
  color: #fff;
}
html {
  scrollbar-color: rgba(168, 85, 247, 0.45) #0a0a10;
}
::-webkit-scrollbar {
  width: 11px;
}
::-webkit-scrollbar-track {
  background: #0a0a10;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(251, 0, 151, 0.45), rgba(81, 0, 253, 0.5));
  border-radius: 8px;
  border: 2px solid #0a0a10;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(251, 0, 151, 0.65), rgba(81, 0, 253, 0.7));
}

/* --- MC accents: pixel font on card titles --- */
.gamemode-content h3,
.join-step h3 {
  font-family: var(--font-pixel);
  font-weight: 600;
  letter-spacing: 0.03em;
}
.gamemode-content h3 {
  font-size: 1.45rem;
}
.join-step h3 {
  font-size: 1.2rem;
}

/* --- Back to top --- */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 10px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #c99cff;
  font-size: 0.95rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
    background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--gradient-brand);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 20px rgba(81, 0, 253, 0.35);
}
@media (max-width: 768px) {
  .back-to-top {
    right: 0.9rem;
    bottom: calc(0.9rem + env(safe-area-inset-bottom, 0));
    width: 40px;
    height: 40px;
  }
}

/* --- MC accents: pixel item icons in stats --- */
.stat-pixel-icon {
  width: 54%;
  height: 54%;
  display: block;
}
.stat-item--accounts .stat-item-icon {
  background: rgba(251, 0, 151, 0.1);
  border-color: rgba(251, 0, 151, 0.28);
}
.stat-item--accounts .stat-pixel-icon {
  filter: brightness(0.86) drop-shadow(0 0 5px rgba(251, 0, 151, 0.35));
}
.stat-item--accounts:hover .stat-item-icon {
  background: rgba(251, 0, 151, 0.18);
  box-shadow: 0 0 16px rgba(251, 0, 151, 0.35);
}
.stat-item--discord .stat-item-icon {
  background: rgba(88, 101, 242, 0.12);
  border-color: rgba(88, 101, 242, 0.3);
}
.stat-item--discord .stat-pixel-icon {
  filter: brightness(0.86) drop-shadow(0 0 5px rgba(88, 101, 242, 0.35));
}
.stat-item--discord:hover .stat-item-icon {
  background: rgba(88, 101, 242, 0.2);
  box-shadow: 0 0 16px rgba(88, 101, 242, 0.35);
}
.stat-item--uptime .stat-item-icon {
  background: rgba(0, 210, 255, 0.09);
  border-color: rgba(0, 210, 255, 0.26);
}
.stat-item--uptime .stat-pixel-icon {
  filter: brightness(0.86) drop-shadow(0 0 5px rgba(0, 210, 255, 0.32));
}
.stat-item--uptime:hover .stat-item-icon {
  background: rgba(0, 210, 255, 0.16);
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.32);
}
.stat-item--online .stat-item-icon {
  background: rgba(168, 85, 247, 0.09);
  border-color: rgba(168, 85, 247, 0.26);
}
.stat-item--online .stat-pixel-icon {
  filter: brightness(0.86) drop-shadow(0 0 5px rgba(168, 85, 247, 0.3));
}
.stat-item--online:hover .stat-item-icon {
  background: rgba(168, 85, 247, 0.15);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.3);
}

/* --- MC accents: splash text at hero title --- */
@keyframes splash-pulse {
  0%, 100% { transform: rotate(-12deg) scale(1); }
  50%      { transform: rotate(-12deg) scale(1.07); }
}
.hero-intro h1 {
  position: relative;
}
.mc-splash {
  position: absolute;
  left: 90%;
  top: -0.3em;
  transform: rotate(-12deg);
  font: 500 clamp(0.8rem, 1.5vw, 1rem) var(--font-pixel);
  letter-spacing: 0.03em;
  color: #ffe14d;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.6);
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
  animation: splash-pulse 0.9s ease-in-out infinite;
  -webkit-text-fill-color: #ffe14d;
}
@media (max-width: 1024px) {
  .mc-splash {
    left: auto;
    right: 0;
    top: -0.55em;
  }
}

/* --- MC accents: achievement toast (IP copied) --- */
.mc-toast {
  position: fixed;
  top: 5rem;
  right: 1.25rem;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 1.2rem 0.7rem 0.85rem;
  background: rgba(16, 16, 22, 0.96);
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55);
  transform: translateX(calc(100% + 2rem));
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
  pointer-events: none;
  max-width: calc(100vw - 1.5rem);
}
.mc-toast.show {
  transform: translateX(0);
  opacity: 1;
}
.mc-toast-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 4px;
}
.mc-toast-title {
  display: block;
  font: 600 0.98rem var(--font-pixel);
  letter-spacing: 0.03em;
  color: #ffe14d;
  line-height: 1.25;
}
.mc-toast-sub {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.35;
}
@media (max-width: 768px) {
  .mc-toast {
    top: 4.4rem;
    right: 0.75rem;
  }
}

/* --- Hero: centered layout (desktop) --- */
@media (min-width: 1025px) {
  .hero-container-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
  }
  .hero-right {
    display: none !important;
  }
  .hero-left {
    align-items: center;
  }
  .hero-left .hero-subtitle {
    text-align: center;
    margin: 0 auto 1.35rem;
  }
  .hero-cta {
    align-items: center;
  }
  .hero-cta .hero-tags {
    justify-content: center;
  }
  .hero-cta .hero-shop,
  .hero-cta .hero-cta-row {
    width: 100%;
  }
  .hero-logo-mobile {
    display: block !important;
    position: relative;
    margin: 0 auto 0.75rem;
    width: 100%;
  }
  .hero-logo-mobile-img {
    display: block;
    position: relative;
    z-index: 2;
    width: clamp(130px, 12vw, 168px);
    height: auto;
    margin: 0 auto;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 0 40px rgba(251, 0, 151, 0.22)) drop-shadow(0 0 55px rgba(81, 0, 253, 0.18)) drop-shadow(0 10px 28px rgba(81, 0, 253, 0.38));
  }
  .hero-logo-mobile::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
    width: clamp(135px, 13vw, 175px);
    height: clamp(135px, 13vw, 175px);
    background: radial-gradient(circle, rgba(251, 0, 151, 0.22) 0%, rgba(81, 0, 253, 0.12) 45%, transparent 72%);
    border-radius: 50%;
    pointer-events: none;
  }
  .mc-splash {
    left: 100%;
    right: auto;
    top: -0.35em;
    margin-left: 0.15em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .floating-logo,
  .hero-logo-mobile-img,
  .hero-logo-mobile::before,
  .hero-intro > .hero-intro-item,
  .hero-intro .hero-cta > .hero-intro-item {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .scroll-down-arrow i,
  .hero-badge-dot {
    animation: none !important;
  }
  .hero-btn.hero-shop::after,
  .nav-btn-sklep::after,
  .play-strip-btn--shop::after,
  .mobile-action-shop::after {
    animation: none !important;
  }
}
