:root {
  --bg: #071221;
  --bg-deep: #030a13;
  --panel: #0b1c31;
  --panel-strong: #102844;
  --line: rgba(158, 229, 255, 0.15);
  --line-strong: rgba(122, 220, 255, 0.35);
  --text: #f3fbff;
  --muted: #a9c4d5;
  --cyan: #53d5ff;
  --cyan-strong: #15bff8;
  --cyan-soft: #bdeeff;
  --navy: #06213f;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 75% -10%, rgba(22, 168, 255, 0.18), transparent 35rem),
    radial-gradient(circle at 0% 30%, rgba(33, 124, 214, 0.10), transparent 32rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(174, 229, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(174, 229, 255, 0.03) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, black, transparent 48%);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(790px, 100%); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 1000; padding: 10px 14px; background: white; color: #05203e; border-radius: 10px; font-weight: 800; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(160, 230, 255, 0.10); background: rgba(4, 13, 25, 0.72); backdrop-filter: blur(18px); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; letter-spacing: -0.8px; }
.brand b { color: var(--cyan); }
.brand-logo { width: 49px; height: 49px; flex: 0 0 auto; object-fit: contain; filter: drop-shadow(0 7px 9px rgba(8, 181, 247, 0.30)); transform: scale(1.08); transform-origin: center; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a { padding: 10px 12px; color: var(--muted); border-radius: 10px; font-size: 14px; font-weight: 700; transition: 0.2s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--text); background: rgba(122, 220, 255, 0.09); }
.main-nav .nav-discord { margin-left: 5px; padding-inline: 16px; color: #eafaff; background: linear-gradient(135deg, #266bba, #4557b9); box-shadow: 0 10px 24px rgba(26, 85, 160, 0.25); }
.main-nav .nav-discord:hover { transform: translateY(-1px); background: linear-gradient(135deg, #3180d5, #5166d8); }
.menu-toggle { display: none; width: 44px; height: 42px; border: 1px solid var(--line); border-radius: 11px; background: transparent; color: white; cursor: pointer; }
.menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after { position: relative; display: block; width: 20px; height: 2px; margin: auto; background: var(--cyan-soft); border-radius: 3px; transition: 0.2s ease; }
.menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -6px; }.menu-toggle-bars::after { top: 6px; }

.promotion-banner {
  position: relative;
  z-index: 5;
  overflow: hidden;
  border-bottom: 1px solid rgba(108, 232, 189, 0.20);
  background:
    radial-gradient(circle at 22% 0%, rgba(31, 223, 169, 0.15), transparent 35%),
    linear-gradient(90deg, rgba(8, 49, 61, 0.96), rgba(6, 29, 48, 0.96));
}
.promotion-banner[hidden] { display: none !important; }
.promotion-banner-inner { display: flex; align-items: center; gap: 14px; min-height: 62px; padding: 10px 0; }
.promotion-banner-kicker {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid rgba(109, 249, 196, 0.30);
  border-radius: 999px;
  color: #b2ffe0;
  background: rgba(21, 205, 147, 0.13);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.09em;
}
.promotion-banner-copy { display: grid; min-width: 0; gap: 1px; }
.promotion-banner-copy strong { color: #effff8; font-size: 14px; line-height: 1.25; }
.promotion-banner-copy span { overflow: hidden; color: #b5dace; font-size: 12px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.promotion-banner-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  margin-left: auto;
  padding: 9px 12px;
  border: 1px solid rgba(123, 235, 255, 0.32);
  border-radius: 10px;
  color: #e2faff;
  background: rgba(43, 154, 196, 0.13);
  font-size: 12px;
  font-weight: 900;
  transition: transform .2s ease, background .2s ease;
}
.promotion-banner-link:hover { transform: translateY(-1px); background: rgba(43, 154, 196, 0.25); }

.hero { position: relative; overflow: hidden; min-height: 655px; display: grid; align-items: center; isolation: isolate; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; z-index: -1; height: 220px; background: linear-gradient(to bottom, transparent, var(--bg)); }
.hero-orb { position: absolute; z-index: -2; width: 550px; height: 550px; border-radius: 50%; filter: blur(8px); opacity: 0.52; }
.hero-orb-left { top: 38px; left: -250px; background: radial-gradient(circle, rgba(24, 136, 241, 0.34), transparent 66%); }
.hero-orb-right { top: -170px; right: -140px; background: radial-gradient(circle, rgba(36, 203, 255, 0.24), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 30px; padding-block: 70px 90px; }
.eyebrow { margin: 0 0 13px; color: var(--cyan); font-size: 12px; font-weight: 900; letter-spacing: 0.15em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: #54f1b6; box-shadow: 0 0 0 4px rgba(84, 241, 182, 0.12), 0 0 16px #54f1b6; }
h1, h2, h3 { margin-top: 0; line-height: 1.12; letter-spacing: -0.045em; }
h1 { margin-bottom: 22px; font-size: clamp(44px, 6vw, 76px); max-width: 680px; }
h1 span { color: var(--cyan); text-shadow: 0 0 24px rgba(83, 213, 255, 0.22); }
h2 { margin-bottom: 18px; font-size: clamp(32px, 4.3vw, 50px); }
h3 { margin-bottom: 9px; font-size: 21px; }
.hero-text { max-width: 610px; margin: 0; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border: 1px solid transparent; border-radius: 13px; font-size: 15px; font-weight: 850; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(135deg, #67e2ff, #19b9f2); color: #04203b; box-shadow: 0 14px 30px rgba(20, 174, 235, 0.28); }
.button-primary:hover { box-shadow: 0 18px 38px rgba(20, 174, 235, 0.4); }
.button-secondary { color: var(--cyan-soft); border-color: var(--line-strong); background: rgba(7, 32, 57, 0.58); }
.button-secondary:hover { background: rgba(31, 110, 162, 0.22); }
.button-discord { color: #f7f8ff; background: linear-gradient(135deg, #5865f2, #37409c); box-shadow: 0 14px 32px rgba(52, 64, 161, 0.25); }
.copy-hint { margin: 12px 0 0; color: #7da6bc; font-size: 13px; }
.hero-logo-wrap { position: relative; display: grid; place-items: center; min-height: 410px; }
.hero-logo { position: relative; z-index: 2; width: min(610px, 115%); filter: drop-shadow(0 32px 30px rgba(0, 0, 0, 0.38)); animation: float 6.2s ease-in-out infinite; }
.logo-glow { position: absolute; z-index: 1; width: 78%; height: 52%; border-radius: 50%; background: radial-gradient(ellipse, rgba(68, 211, 255, 0.42), rgba(44, 148, 255, 0.10) 46%, transparent 70%); filter: blur(16px); }
@keyframes float { 50% { transform: translateY(-12px); } }

.server-bar { position: relative; z-index: 3; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(4, 18, 33, 0.82); }
.server-bar-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.server-bar-item { display: flex; align-items: center; gap: 13px; min-height: 92px; padding: 14px 24px; border-right: 1px solid var(--line); }
.server-bar-item:last-child { border-right: 0; }.server-bar-icon { color: var(--cyan); font-size: 25px; }.label { display: block; color: #7da6bc; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }.server-bar-item strong { font-size: 15px; }

.section { padding: 112px 0; }.section-alt { background: linear-gradient(180deg, rgba(9, 30, 52, 0.72), rgba(5, 16, 29, 0.66)); border-block: 1px solid rgba(158, 229, 255, 0.08); }
.split-section { display: grid; grid-template-columns: 1fr 0.94fr; gap: 90px; align-items: start; }.section-copy { max-width: 570px; }.section-copy p { margin-top: 0; color: var(--muted); font-size: 17px; }.text-link { display: inline-flex; gap: 8px; margin-top: 10px; color: var(--cyan); font-weight: 850; }.text-link:hover { color: white; }.center { margin-inline: auto; max-width: 730px; text-align: center; }.section-heading.center > p:last-child { margin: -2px auto 0; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 50px; }.feature-card, .store-card { min-height: 260px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, rgba(16, 46, 78, 0.68), rgba(7, 20, 36, 0.76)); box-shadow: inset 0 1px 0 rgba(213, 248, 255, 0.04); transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease; }.feature-card:hover, .store-card:hover { transform: translateY(-5px); border-color: var(--line-strong); background: linear-gradient(160deg, rgba(22, 65, 104, 0.78), rgba(8, 27, 47, 0.82)); }.feature-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 23px; border: 1px solid rgba(112, 221, 255, 0.32); border-radius: 16px; background: linear-gradient(145deg, rgba(42, 195, 255, 0.20), rgba(13, 83, 145, 0.14)); color: var(--cyan); font-size: 25px; }.feature-card p, .store-card p { margin: 0; color: var(--muted); font-size: 15px; }

.shop-section { padding-block: 70px; }.shop-panel { display: grid; grid-template-columns: 1.25fr auto; gap: 45px; align-items: center; padding: 42px; overflow: hidden; border: 1px solid rgba(117, 220, 255, 0.27); border-radius: 25px; background: linear-gradient(115deg, rgba(9, 35, 61, 0.94), rgba(15, 71, 118, 0.66)); box-shadow: var(--shadow); }.shop-panel h2 { margin-bottom: 13px; font-size: clamp(28px, 3vw, 40px); }.shop-panel p:not(.eyebrow) { max-width: 680px; margin: 0; color: #bee0ef; }.shop-panel-actions { min-width: 205px; text-align: center; }.shop-panel-actions .button { width: 100%; }.shop-panel-actions p { margin-top: 11px !important; color: #9ac7dc !important; font-size: 12px; }

.community-section { position: relative; overflow: hidden; }.community-section::after { content: ""; position: absolute; right: -220px; bottom: -300px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(45, 145, 241, 0.17), transparent 66%); pointer-events: none; }.community-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 0.95fr 1.05fr; align-items: center; gap: 80px; }.community-copy p:not(.eyebrow) { max-width: 530px; margin-bottom: 28px; color: var(--muted); font-size: 17px; }.contact-list { display: grid; gap: 15px; }.contact-card { display: flex; gap: 18px; align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(9, 30, 52, 0.65); }.avatar { width: 52px; height: 52px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(124, 232, 255, 0.45); border-radius: 50%; background: linear-gradient(145deg, #1cd2ff, #075aa0); color: #ecfbff; font-weight: 900; font-size: 22px; }.avatar-alt { background: linear-gradient(145deg, #9c6ef1, #4c2e9d); border-color: rgba(210, 176, 255, 0.55); }.contact-card h3 { margin-bottom: 3px; }.contact-role { margin: 0 0 3px; color: var(--cyan); font-size: 11px; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }.contact-card a, .contact-detail { display: block; width: fit-content; color: var(--muted); font-size: 14px; }.contact-card a:hover { color: var(--cyan); }

.cta-section { padding: 25px 0 100px; }.cta-panel { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 35px 42px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(135deg, rgba(7, 37, 64, 0.9), rgba(5, 19, 37, 0.85)); }.cta-panel h2 { max-width: 680px; margin: 0; font-size: clamp(26px, 3vw, 38px); }

.site-footer { border-top: 1px solid var(--line); background: #030b15; }.footer-grid { display: flex; justify-content: space-between; gap: 30px; padding-block: 45px; }.footer-brand { margin-bottom: 12px; }.site-footer p { margin: 0; color: #779bb1; font-size: 14px; }.footer-links { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: flex-end; gap: 7px 18px; }.footer-links a { color: var(--muted); font-size: 14px; font-weight: 750; }.footer-links a:hover { color: var(--cyan); }.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-top: 1px solid rgba(158, 229, 255, 0.08); color: #668498; font-size: 12px; }

.page-hero { padding: 112px 0 82px; text-align: center; background: radial-gradient(ellipse at top, rgba(27, 142, 233, 0.18), transparent 65%); }.page-hero h1 { margin-inline: auto; }.page-hero > .container > p:not(.eyebrow):not(.last-updated) { max-width: 720px; margin: 0 auto; color: var(--muted); font-size: 18px; }.last-updated { margin: 21px 0 0; color: #7da6bc; font-size: 13px; }.legal-section { padding: 60px 0 110px; }.legal-layout { display: grid; grid-template-columns: 235px minmax(0, 1fr); gap: 58px; align-items: start; }.legal-toc { position: sticky; top: 106px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(8, 25, 43, 0.7); }.legal-toc p { margin: 0 0 10px; color: var(--cyan); font-size: 12px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }.legal-toc a { display: block; padding: 6px 0; color: var(--muted); font-size: 13px; }.legal-toc a:hover { color: var(--cyan); }.legal-content { max-width: 780px; }.legal-content section { margin-bottom: 46px; scroll-margin-top: 110px; }.legal-content h2 { margin-bottom: 15px; font-size: 28px; }.legal-content ol { margin: 0; padding-left: 23px; color: var(--muted); }.legal-content li { margin-bottom: 12px; padding-left: 5px; }.legal-content a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }

.store-hero { padding-bottom: 95px; }.store-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 45px; }.store-card { min-height: 230px; }.coming-soon { display: inline-block; margin-top: 22px; padding: 4px 10px; border: 1px solid rgba(112, 221, 255, 0.28); border-radius: 999px; color: var(--cyan); background: rgba(63, 196, 246, 0.09); font-size: 12px; font-weight: 850; }.info-banner { display: flex; gap: 20px; align-items: flex-start; max-width: 850px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: rgba(8, 30, 51, 0.62); }.info-banner-icon { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: rgba(84, 241, 182, 0.15); color: #6bf4c3; font-weight: 950; }.info-banner h2 { margin-bottom: 8px; font-size: 23px; }.info-banner p { margin: 0; color: var(--muted); }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 500; max-width: calc(100% - 32px); padding: 12px 16px; border: 1px solid rgba(129, 229, 255, 0.35); border-radius: 12px; background: rgba(7, 28, 48, 0.94); box-shadow: var(--shadow); color: #e8faff; font-size: 14px; font-weight: 750; pointer-events: none; opacity: 0; transform: translate(-50%, 16px); transition: 0.25s ease; }.toast.show { opacity: 1; transform: translate(-50%, 0); }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.65s ease, transform 0.65s ease; }.reveal.visible { opacity: 1; transform: translateY(0); }.delay-1 { transition-delay: 0.1s; }.delay-2 { transition-delay: 0.2s; }.delay-3 { transition-delay: 0.3s; }

@media (max-width: 690px) {
  .promotion-banner-inner { align-items: flex-start; flex-wrap: wrap; gap: 8px 10px; min-height: 0; padding: 11px 0; }
  .promotion-banner-copy { flex: 1 1 calc(100% - 120px); }
  .promotion-banner-copy span { white-space: normal; }
  .promotion-banner-link { margin-left: auto; }
}

@media (max-width: 900px) {
  .main-nav { gap: 0; }.main-nav a { padding-inline: 8px; font-size: 13px; }.hero { min-height: auto; }.hero-grid { grid-template-columns: 1fr; padding-block: 68px 65px; text-align: center; }.hero-copy { display: flex; flex-direction: column; align-items: center; }.hero-logo-wrap { order: -1; min-height: 230px; }.hero-logo { width: min(525px, 100%); }.hero-text { font-size: 17px; }.server-bar-grid { grid-template-columns: 1fr; }.server-bar-item { min-height: 74px; border-right: 0; border-bottom: 1px solid var(--line); }.server-bar-item:last-child { border-bottom: 0; }.split-section, .community-grid { grid-template-columns: 1fr; gap: 35px; }.feature-grid { grid-template-columns: repeat(2, 1fr); }.shop-panel { grid-template-columns: 1fr; }.shop-panel-actions { min-width: 0; text-align: left; }.shop-panel-actions .button { width: auto; }.legal-layout { grid-template-columns: 1fr; gap: 25px; }.legal-toc { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }.legal-toc p { grid-column: 1/-1; }.store-grid { grid-template-columns: 1fr; }.footer-bottom { flex-direction: column; }
}

@media (max-width: 690px) {
  .container { width: min(100% - 28px, 1160px); }.nav-wrap { min-height: 69px; }.menu-toggle { display: block; }.main-nav { position: absolute; top: calc(100% + 1px); left: 0; right: 0; display: none; padding: 10px 14px 14px; border-bottom: 1px solid var(--line); background: rgba(4, 13, 25, 0.97); }.main-nav.open { display: grid; }.main-nav a, .main-nav .nav-discord { margin: 0; padding: 12px 13px; }.hero-grid { padding-top: 45px; }.hero-logo-wrap { min-height: 155px; }.hero-logo { width: min(400px, 105%); }.hero h1 { font-size: clamp(42px, 13vw, 57px); }.hero-actions { width: 100%; flex-direction: column; }.hero-actions .button { width: 100%; }.section { padding: 75px 0; }.feature-grid { grid-template-columns: 1fr; margin-top: 34px; }.feature-card { min-height: 0; }.shop-panel, .cta-panel { padding: 28px 22px; }.cta-panel { flex-direction: column; align-items: flex-start; }.cta-panel .button { width: 100%; }.footer-grid { flex-direction: column; }.footer-links { justify-content: flex-start; }.legal-toc { grid-template-columns: 1fr; }.legal-content h2 { font-size: 25px; }.page-hero { padding: 75px 0 55px; }.legal-section { padding-block: 40px 75px; }.contact-card { align-items: flex-start; }.brand { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }

/* =========================================================
   REGULAMIN - dopracowany widok zasad SkyRift
   ========================================================= */
.rules-hero {
  position: relative;
  overflow: hidden;
  padding: 126px 0 84px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(39, 178, 255, 0.24), transparent 58%),
    radial-gradient(ellipse at 88% 35%, rgba(43, 113, 239, 0.14), transparent 44%);
}
.rules-hero::before,
.rules-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(113, 219, 255, 0.12);
  border-radius: 50%;
}
.rules-hero::before { width: 470px; height: 470px; top: -285px; left: 8%; }
.rules-hero::after { width: 660px; height: 660px; top: -455px; right: -105px; }
.rules-hero h1 { margin-bottom: 16px; }
.rules-hero h1 span { color: var(--cyan); }
.rules-hero .rules-hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 27px;
}
.rules-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid rgba(129, 229, 255, 0.16);
  border-radius: 999px;
  color: #a7cfe3;
  background: rgba(3, 22, 40, 0.36);
  font-size: 12px;
  font-weight: 750;
}
.rules-hero-meta i { color: var(--cyan); font-style: normal; }
.rules-principles {
  position: relative;
  z-index: 4;
  margin-top: 0;
  padding: 0 0 6px;
}
.rules-principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}
.principle-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  min-height: 116px;
  padding: 20px 21px;
  border: 1px solid rgba(133, 226, 255, 0.19);
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(15, 49, 81, 0.95), rgba(5, 22, 39, 0.95));
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(233, 252, 255, 0.05);
}
.principle-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 37px;
  height: 37px;
  border: 1px solid rgba(108, 227, 255, 0.31);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(77, 209, 255, 0.22), rgba(4, 88, 143, 0.22));
  color: var(--cyan);
  font-size: 17px;
  font-weight: 900;
}
.principle-card strong { display: block; margin-top: 1px; font-size: 15px; }
.principle-card p { margin: 4px 0 0; color: #9dc1d4; font-size: 13px; line-height: 1.45; }
.rules-section { padding-top: 67px; }
.rules-layout { gap: 64px; }
.rules-toc {
  padding: 16px 13px 13px;
  overflow: hidden;
  border-color: rgba(130, 229, 255, 0.17);
  background: linear-gradient(180deg, rgba(10, 32, 55, 0.93), rgba(5, 20, 35, 0.84));
  box-shadow: inset 0 1px 0 rgba(224, 250, 255, 0.035);
}
.toc-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 7px 10px;
}
.toc-heading-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  color: var(--cyan);
  background: rgba(80, 209, 255, 0.12);
  font-size: 17px;
  line-height: 1;
}
.rules-toc .toc-heading p { margin: 0; }
.rules-toc > a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 1px 0;
  padding: 7px 8px;
  border-radius: 9px;
  color: #9db9ca;
  font-size: 12.5px;
  font-weight: 680;
  line-height: 1.24;
  transition: color 0.18s ease, background 0.18s ease;
}
.rules-toc > a span {
  width: 20px;
  color: #62879c;
  font-size: 10px;
  font-weight: 900;
}
.rules-toc > a:hover,
.rules-toc > a.active {
  color: #e4faff;
  background: rgba(86, 212, 255, 0.105);
}
.rules-toc > a:hover span,
.rules-toc > a.active span { color: var(--cyan); }
.toc-help {
  margin-top: 15px;
  padding: 15px 12px 12px;
  border-top: 1px solid rgba(133, 226, 255, 0.12);
}
.toc-help .toc-help-title { margin: 0 0 3px; color: #e9faff; font-size: 12px; font-weight: 850; }
.toc-help p:not(.toc-help-title) { margin: 0; color: #759bad; font-size: 11.5px; line-height: 1.45; }
.toc-discord {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  margin-top: 10px !important;
  padding: 0 !important;
  color: var(--cyan) !important;
  font-size: 11.5px !important;
  font-weight: 850 !important;
}
.rules-content { max-width: 800px; }
.legal-callout {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 48px;
  padding: 18px 19px;
  border: 1px solid rgba(110, 222, 255, 0.23);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(19, 70, 109, 0.38), rgba(9, 31, 52, 0.64));
}
.legal-callout-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  color: #042541;
  background: var(--cyan);
  font-family: Georgia, serif;
  font-size: 17px;
  font-style: italic;
  font-weight: 900;
}
.legal-callout strong { display: block; margin: 0 0 4px; color: #eafaff; font-size: 14px; }
.legal-callout p { margin: 0; color: #aac9d8; font-size: 13.5px; line-height: 1.55; }
.rules-content .rule-section {
  position: relative;
  margin: 0 0 18px;
  padding: 29px 31px 27px;
  overflow: hidden;
  border: 1px solid rgba(151, 228, 255, 0.13);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(12, 38, 64, 0.48), rgba(5, 19, 34, 0.68));
  scroll-margin-top: 104px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.rules-content .rule-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  opacity: 0;
  background: linear-gradient(to bottom, #70e3ff, #1971df);
  transition: opacity 0.2s ease;
}
.rules-content .rule-section:hover { border-color: rgba(130, 229, 255, 0.26); background: linear-gradient(145deg, rgba(14, 47, 79, 0.65), rgba(5, 21, 37, 0.78)); }
.rules-content .rule-section:hover::after { opacity: 1; }
.rule-section-heading { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 19px; }
.rule-number {
  flex: 0 0 auto;
  min-width: 43px;
  padding-top: 2px;
  color: rgba(87, 211, 255, 0.74);
  font-size: 25px;
  font-weight: 950;
  letter-spacing: -0.08em;
  line-height: 1;
}
.rule-kicker { margin: 0 0 4px; color: #6ca7c2; font-size: 10.5px; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
.rules-content h2 { margin: 0; font-size: 25px; letter-spacing: -0.035em; }
.rule-list { margin: 0; padding: 0; list-style: none; counter-reset: rules; }
.rule-list > li {
  position: relative;
  margin: 0;
  padding: 10px 0 10px 37px;
  color: #b5cedc;
  font-size: 14px;
  line-height: 1.62;
}
.rule-list > li + li { border-top: 1px solid rgba(151, 228, 255, 0.08); }
.rule-list > li::before {
  content: counter(rules);
  counter-increment: rules;
  position: absolute;
  top: 10px;
  left: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(104, 223, 255, 0.18);
  border-radius: 8px;
  color: #85ddf7;
  background: rgba(69, 191, 239, 0.08);
  font-size: 10px;
  font-weight: 900;
}
.rule-note {
  margin: 17px 0 0 37px;
  padding: 12px 14px;
  border-left: 2px solid var(--cyan);
  border-radius: 0 10px 10px 0;
  background: rgba(39, 144, 202, 0.10);
}
.rule-note strong { display: block; margin-bottom: 2px; color: #d6f6ff; font-size: 13px; }
.rule-note p { margin: 0; color: #99bdcf; font-size: 12.5px; }
.legal-end-card {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 34px;
  padding: 24px 25px;
  border: 1px solid rgba(121, 227, 255, 0.24);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(14, 69, 109, 0.66), rgba(8, 28, 50, 0.87));
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.16);
}
.legal-end-card > span { color: var(--cyan); font-size: 24px; }
.legal-end-card strong { display: block; color: #e9faff; font-size: 15px; }
.legal-end-card p { margin: 3px 0 0; color: #acd0df; font-size: 13px; }
.legal-end-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 9px 12px;
  border: 1px solid rgba(142, 232, 255, 0.23);
  border-radius: 10px;
  color: #d9f8ff;
  background: rgba(2, 26, 47, 0.35);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}
.legal-end-card a:hover { border-color: rgba(142, 232, 255, 0.50); background: rgba(37, 151, 211, 0.2); }

@media (max-width: 900px) {
  .rules-principles-grid { grid-template-columns: 1fr; }
  .principle-card { min-height: 0; }
  .rules-toc { display: block; }
  .rules-toc > a { display: flex; }
  .rules-content { max-width: none; }
}

@media (max-width: 690px) {
  .rules-hero { padding: 88px 0 66px; }
  .rules-hero .rules-hero-meta { flex-direction: column; align-items: center; }
  .rules-principles { margin-top: 0; }
  .rules-principles-grid { gap: 9px; }
  .principle-card { padding: 16px; }
  .rules-section { padding-top: 46px; }
  .rules-content .rule-section { margin-bottom: 12px; padding: 23px 18px 19px; border-radius: 15px; }
  .rule-section-heading { gap: 11px; margin-bottom: 14px; }
  .rule-number { min-width: 35px; font-size: 21px; }
  .rules-content h2 { font-size: 21px; }
  .rule-kicker { font-size: 9px; letter-spacing: 0.10em; }
  .rule-list > li { padding: 9px 0 9px 31px; font-size: 13.2px; }
  .rule-list > li::before { top: 10px; width: 20px; height: 20px; border-radius: 7px; }
  .rule-note { margin-left: 31px; }
  .legal-callout { margin-bottom: 28px; padding: 15px; }
  .legal-end-card { align-items: flex-start; flex-wrap: wrap; padding: 19px; }
  .legal-end-card a { margin-left: 38px; }
}

/* Regulamin v1.0 - karty szybkiej pomocy, przykłady i słownik */
.rules-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
  margin: -20px 0 35px;
}
.rules-guide-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 104px;
  padding: 14px;
  border: 1px solid rgba(129, 229, 255, 0.14);
  border-radius: 14px;
  background: rgba(7, 30, 52, 0.48);
}
.rules-guide-card > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  color: var(--cyan);
  background: rgba(83, 213, 255, 0.11);
  font-size: 14px;
  font-weight: 900;
}
.rules-guide-card strong { display: block; margin: 0 0 2px; color: #e6f9ff; font-size: 12.5px; }
.rules-guide-card p { margin: 0; color: #92b8ca; font-size: 11.5px; line-height: 1.48; }
.rule-pills { display: flex; flex-wrap: wrap; gap: 7px; margin: 15px 0 0 37px; }
.rule-pill {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 4px 9px;
  border: 1px solid rgba(135, 224, 255, 0.16);
  border-radius: 999px;
  color: #b6d4df;
  background: rgba(4, 29, 49, 0.48);
  font-size: 11.5px;
  font-weight: 750;
}
.rule-pill-ok { border-color: rgba(84, 241, 182, 0.25); color: #9aefd0; background: rgba(48, 186, 129, 0.07); }
.rule-pill-no { border-color: rgba(255, 135, 146, 0.22); color: #ffb8bf; background: rgba(225, 77, 92, 0.07); }
.rule-pill-ask { border-color: rgba(83, 213, 255, 0.22); color: #aeeafd; background: rgba(42, 173, 220, 0.08); }
.definition-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.definition-card {
  padding: 15px;
  border: 1px solid rgba(145, 227, 255, 0.13);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(12, 48, 79, 0.54), rgba(7, 23, 40, 0.68));
}
.definition-card strong { display: block; margin-bottom: 4px; color: #e5f9ff; font-size: 12.5px; }
.definition-card p { margin: 0; color: #9cc0d0; font-size: 12px; line-height: 1.5; }

@media (max-width: 900px) {
  .rules-guide-grid { grid-template-columns: 1fr; }
  .rules-guide-card { min-height: 0; }
}

@media (max-width: 690px) {
  .rules-guide-grid { margin: -6px 0 25px; gap: 8px; }
  .rules-guide-card { padding: 13px; }
  .rule-pills { margin-left: 31px; }
  .definition-grid { grid-template-columns: 1fr; }
}


/* Status serwera, rankingi, FAQ i wyszukiwarka regulaminu */
.status-dot.is-checking {
  background: #74dfff;
  box-shadow: 0 0 0 4px rgba(116, 223, 255, 0.12), 0 0 16px rgba(116, 223, 255, 0.82);
  animation: statusPulse 1.25s ease-in-out infinite;
}
.status-dot.is-online {
  background: #54f1b6;
  box-shadow: 0 0 0 4px rgba(84, 241, 182, 0.12), 0 0 16px #54f1b6;
}
.status-dot.is-offline {
  background: #ff7b89;
  box-shadow: 0 0 0 4px rgba(255, 123, 137, 0.12), 0 0 16px rgba(255, 123, 137, 0.75);
}
.status-dot.is-unavailable {
  background: #8ab8cc;
  box-shadow: 0 0 0 4px rgba(138, 184, 204, 0.10), 0 0 16px rgba(138, 184, 204, 0.52);
}
@keyframes statusPulse {
  50% { opacity: 0.52; transform: scale(0.9); }
}
.server-bar-grid.server-bar-grid-four { grid-template-columns: repeat(4, 1fr); }
.server-bar-item [data-server-status-label] { color: #c8f6ff; }

.ranking-preview-section {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(158, 229, 255, 0.08);
  background:
    radial-gradient(circle at 92% 0%, rgba(28, 162, 234, 0.17), transparent 28rem),
    linear-gradient(180deg, rgba(7, 28, 49, 0.52), rgba(4, 16, 29, 0.15));
}
.ranking-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 58px;
  align-items: center;
}
.ranking-preview-copy p:not(.eyebrow) { max-width: 550px; margin: 0 0 24px; color: var(--muted); font-size: 17px; }
.ranking-preview-cards { display: grid; gap: 12px; }
.ranking-preview-card {
  display: grid;
  grid-template-columns: 43px 1fr;
  column-gap: 13px;
  align-items: center;
  min-height: 90px;
  padding: 16px 18px;
  border: 1px solid rgba(135, 226, 255, 0.16);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(15, 49, 81, 0.74), rgba(5, 22, 39, 0.88));
}
.ranking-preview-card > span {
  display: grid;
  grid-row: 1 / span 2;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(109, 224, 255, 0.24);
  border-radius: 12px;
  color: var(--cyan);
  background: rgba(76, 202, 255, 0.10);
  font-size: 18px;
}
.ranking-preview-card strong { color: #ebfbff; font-size: 14px; }
.ranking-preview-card p { margin: 1px 0 0; color: #99c1d4; font-size: 12.5px; }

.faq-section { position: relative; }
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.73fr) minmax(0, 1.27fr); gap: 70px; align-items: start; }
.faq-copy { position: sticky; top: 112px; }
.faq-copy p:not(.eyebrow) { max-width: 390px; margin: 0; color: var(--muted); font-size: 16px; }
.faq-list { display: grid; gap: 10px; }
.faq-item {
  overflow: hidden;
  border: 1px solid rgba(147, 228, 255, 0.14);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(12, 39, 65, 0.62), rgba(6, 21, 37, 0.72));
  transition: border-color 0.2s ease, background 0.2s ease;
}
.faq-item:hover, .faq-item.open { border-color: rgba(121, 226, 255, 0.31); background: linear-gradient(145deg, rgba(15, 52, 86, 0.78), rgba(7, 25, 43, 0.88)); }
.faq-item h3 { margin: 0; font-size: inherit; }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 20px;
  border: 0;
  color: #ebfbff;
  background: transparent;
  text-align: left;
  font-size: 15px;
  font-weight: 850;
  cursor: pointer;
}
.faq-plus {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(112, 223, 255, 0.22);
  border-radius: 9px;
  color: var(--cyan);
  background: rgba(82, 205, 255, 0.08);
  font-size: 0;
  line-height: 0;
  transition: background 0.2s ease;
}
.faq-plus::before,
.faq-plus::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.5px;
  border-radius: 99px;
  background: currentColor;
  transform-origin: center;
}
.faq-plus::before { transform: translate(-50%, -50%); }
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-plus { background: rgba(82, 205, 255, 0.17); }
.faq-item.open .faq-plus::before { transform: translate(-50%, -50%) rotate(45deg); }
.faq-item.open .faq-plus::after { transform: translate(-50%, -50%) rotate(-45deg); }
.faq-answer { padding: 0 20px 19px; }
.faq-answer p { margin: 0; padding-top: 15px; border-top: 1px solid rgba(143, 225, 255, 0.10); color: #a9c8d8; font-size: 14px; line-height: 1.62; }
.faq-answer strong { color: #e9fbff; }

.rules-search-section {
  position: relative;
  z-index: 5;
  margin-top: -50px;
  padding: 0 0 20px;
}
.rules-search-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: center;
  padding: 24px 26px;
  border: 1px solid rgba(131, 226, 255, 0.22);
  border-radius: 19px;
  background: linear-gradient(130deg, rgba(13, 50, 84, 0.97), rgba(6, 24, 42, 0.96));
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.19), inset 0 1px 0 rgba(238, 255, 255, 0.05);
}
.rules-search-panel .eyebrow { margin-bottom: 5px; }
.rules-search-panel h2 { margin: 0; font-size: 23px; }
.rules-search-panel > div:first-child > p:not(.eyebrow) { margin: 5px 0 0; color: #9cc1d5; font-size: 13px; }
.rules-search-form { position: relative; }
.rules-search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 51px;
  padding: 0 14px;
  border: 1px solid rgba(134, 225, 255, 0.20);
  border-radius: 13px;
  background: rgba(2, 17, 31, 0.54);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.rules-search-field:focus-within { border-color: rgba(113, 224, 255, 0.62); box-shadow: 0 0 0 4px rgba(78, 201, 255, 0.10); }
.rules-search-field > span { color: var(--cyan); font-size: 23px; line-height: 1; }
.rules-search-go { display: grid; place-items: center; flex: 0 0 auto; width: 27px; height: 27px; border-radius: 8px; cursor: pointer; transition: color .18s ease, background .18s ease, transform .18s ease; }
.rules-search-go:hover, .rules-search-go:focus-visible { color: #effcff; background: rgba(73, 203, 248, .16); outline: 1px solid rgba(113, 224, 255, .38); transform: translateY(-1px); }
.rules-search-field input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: #ecfbff;
  background: transparent;
  font-size: 14px;
  font-weight: 650;
}
.rules-search-field input::placeholder { color: #7199af; }
.rules-search-clear {
  position: absolute;
  right: 10px;
  top: 10px;
  min-height: 31px;
  padding: 4px 9px;
  border: 1px solid rgba(126, 225, 255, 0.21);
  border-radius: 8px;
  color: #c7effa;
  background: rgba(42, 147, 200, 0.14);
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}
.rules-search-result { min-height: 18px; margin: 8px 2px 0; color: #8eb7ca; font-size: 12px; }
.rules-search-empty {
  margin: 0 0 28px;
  padding: 15px 17px;
  border: 1px solid rgba(133, 226, 255, 0.18);
  border-radius: 13px;
  color: #b9dbea;
  background: rgba(12, 46, 76, 0.48);
  font-size: 13px;
}
.rules-toc > a[hidden] { display: none; }
.rules-content .rule-section[hidden] { display: none; }

.rankings-hero {
  position: relative;
  overflow: hidden;
  padding: 122px 0 82px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(38, 182, 255, 0.25), transparent 58%),
    radial-gradient(ellipse at 18% 40%, rgba(50, 100, 241, 0.13), transparent 42%);
}
.rankings-hero::before {
  content: "";
  position: absolute;
  top: -260px;
  right: 10%;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(121, 224, 255, 0.14);
  border-radius: 50%;
}
.rankings-section { padding-top: 74px; }
.ranking-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}
.ranking-toolbar h2 { margin-bottom: 9px; }
.ranking-toolbar p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 15px; }
.ranking-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.ranking-tab {
  min-height: 41px;
  padding: 9px 13px;
  border: 1px solid rgba(139, 226, 255, 0.15);
  border-radius: 11px;
  color: #a8cada;
  background: rgba(4, 24, 42, 0.54);
  font-size: 12.5px;
  font-weight: 850;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.ranking-tab:hover { transform: translateY(-1px); color: #e6faff; border-color: rgba(133, 227, 255, 0.32); }
.ranking-tab.active { border-color: rgba(105, 224, 255, 0.48); color: #e9fbff; background: linear-gradient(135deg, rgba(41, 173, 223, 0.35), rgba(14, 72, 127, 0.36)); }
.ranking-panel {
  overflow: hidden;
  border: 1px solid rgba(139, 226, 255, 0.17);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(13, 47, 79, 0.68), rgba(5, 19, 34, 0.88));
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.19), inset 0 1px 0 rgba(238, 255, 255, 0.04);
}
.ranking-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 105px;
  padding: 23px 26px;
  border-bottom: 1px solid rgba(140, 226, 255, 0.12);
  background: linear-gradient(100deg, rgba(13, 59, 98, 0.54), rgba(5, 24, 43, 0.40));
}
.ranking-panel-head > div { display: flex; align-items: center; gap: 13px; }
.ranking-category-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border: 1px solid rgba(110, 223, 255, 0.28);
  border-radius: 14px;
  color: var(--cyan);
  background: rgba(74, 203, 255, 0.11);
  font-size: 21px;
}
.ranking-panel-kicker { margin: 0 0 2px; color: #7eafc7; font-size: 10px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.ranking-panel h3 { margin: 0; color: #ecfbff; font-size: 20px; }
.ranking-updated { margin: 0; color: #8bb2c5; font-size: 12px; text-align: right; }
.ranking-list { padding: 9px 16px 16px; }
.ranking-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 10px 11px;
  border-bottom: 1px solid rgba(140, 226, 255, 0.08);
}
.ranking-row:last-child { border-bottom: 0; }
.ranking-row:hover { border-radius: 12px; background: rgba(52, 169, 220, 0.08); }
.ranking-position {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 10px;
  color: #b8dce8;
  background: rgba(85, 188, 229, 0.09);
  font-size: 12px;
  font-weight: 900;
}
.rank-top-1 .ranking-position { color: #ecfbff; background: rgba(82, 207, 255, 0.31); box-shadow: 0 0 0 1px rgba(151, 238, 255, 0.25); }
.rank-top-2 .ranking-position { color: #d4eaf3; background: rgba(113, 169, 196, 0.21); }
.rank-top-3 .ranking-position { color: #c5e0ea; background: rgba(52, 132, 179, 0.22); }
.ranking-player { display: flex; align-items: center; min-width: 0; gap: 10px; }
.ranking-avatar { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border: 1px solid rgba(126, 224, 255, 0.20); border-radius: 11px; color: var(--cyan); background: rgba(61, 175, 226, 0.11); font-size: 13px; font-weight: 900; }
.ranking-player strong { display: block; overflow: hidden; color: #e7faff; font-size: 13.5px; text-overflow: ellipsis; white-space: nowrap; }
.ranking-player p { margin: 1px 0 0; overflow: hidden; color: #83aabd; font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }
.ranking-value { color: #a8ebff; font-size: 13px; font-weight: 900; white-space: nowrap; }
.ranking-loading, .ranking-empty {
  display: grid;
  place-items: center;
  min-height: 238px;
  padding: 32px;
  color: #9dc1d1;
  text-align: center;
}
.ranking-loading { display: flex; gap: 10px; font-size: 14px; }
.ranking-loading > span { color: var(--cyan); animation: statusPulse 1.1s ease-in-out infinite; }
.ranking-empty > span { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 12px; border: 1px solid rgba(119, 225, 255, 0.22); border-radius: 13px; color: var(--cyan); background: rgba(64, 180, 230, 0.10); font-size: 19px; }
.ranking-empty strong { color: #e5f9ff; font-size: 15px; }
.ranking-empty p { max-width: 470px; margin: 6px 0 0; color: #8fb5c7; font-size: 13px; }
.ranking-info { display: flex; gap: 12px; align-items: flex-start; max-width: 900px; margin: 20px auto 0; padding: 16px 18px; border: 1px solid rgba(136, 225, 255, 0.15); border-radius: 14px; background: rgba(10, 39, 64, 0.44); }
.ranking-info > span { display: grid; place-items: center; flex: 0 0 auto; width: 23px; height: 23px; border-radius: 50%; color: #05233c; background: var(--cyan); font-family: Georgia, serif; font-style: italic; font-weight: 900; }
.ranking-info p { margin: 0; color: #9dc3d4; font-size: 13px; line-height: 1.55; }

@media (max-width: 900px) {
  .server-bar-grid.server-bar-grid-four { grid-template-columns: 1fr; }
  .ranking-preview-grid, .faq-layout { grid-template-columns: 1fr; gap: 34px; }
  .faq-copy { position: static; }
  .ranking-toolbar { align-items: flex-start; flex-direction: column; }
  .ranking-tabs { justify-content: flex-start; }
  .rules-search-panel { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 690px) {
  .ranking-preview-section { padding-block: 65px; }
  .ranking-preview-card { grid-template-columns: 39px 1fr; min-height: 78px; padding: 14px; }
  .ranking-preview-card > span { width: 36px; height: 36px; border-radius: 11px; }
  .faq-question { padding: 16px; font-size: 13.5px; }
  .faq-answer { padding: 0 16px 16px; }
  .rules-search-section { margin-top: -10px; padding-bottom: 5px; }
  .rules-search-panel { padding: 20px 17px; border-radius: 16px; }
  .rules-search-panel h2 { font-size: 21px; }
  .rules-search-field { min-height: 48px; }
  .rankings-hero { padding: 84px 0 64px; }
  .rankings-section { padding-top: 52px; }
  .ranking-toolbar { margin-bottom: 21px; }
  .ranking-tabs { width: 100%; display: grid; grid-template-columns: 1fr; }
  .ranking-tab { width: 100%; }
  .ranking-panel-head { align-items: flex-start; flex-direction: column; min-height: 0; padding: 19px; }
  .ranking-updated { text-align: left; }
  .ranking-list { padding: 6px 9px 9px; }
  .ranking-row { grid-template-columns: 34px minmax(0, 1fr); gap: 10px; min-height: 66px; padding: 10px 6px; }
  .ranking-value { grid-column: 2; margin-top: -5px; font-size: 12px; }
  .ranking-info { padding: 15px; }
  
}
.store-rank-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.store-rank {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 10px;
  border: 1px solid rgba(121, 224, 255, 0.22);
  border-radius: 9px;
  background: rgba(3, 19, 34, 0.62);
}

.store-rank-text {
  display: inline-block;
  font-size: 16px;
  font-weight: 950;
  letter-spacing: 0.03em;
  line-height: 1;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.rank-vip {
  background-image: linear-gradient(90deg, #fff85a, #d9ed38, #9dbd2e);
}

.rank-vip-plus {
  background-image: linear-gradient(90deg, #ff9d18, #ffe131, #b9ef4b);
}

.rank-mvip {
  background-image: linear-gradient(90deg, #ffb1f0, #ed61ff, #c93de6);
}

.rank-mvip-plus {
  background-image: linear-gradient(90deg, #d500e5, #ff62df, #b8ef48);
}

.rank-sponsor {
  background-image: linear-gradient(90deg, #ffffff, #e9ffff, #55e5ff, #a7ed4d, #ffffff);
}

/* Regulamin - podpunkty oraz krótkie wprowadzenia sekcji. */
.rule-section-intro {
  margin: 0 0 15px 37px;
  color: #c2deea;
  font-size: 13px;
  font-weight: 800;
}
.rule-sublist {
  display: grid;
  gap: 8px;
  margin: 12px 0 4px;
  padding: 0;
  list-style: none;
}
.rule-list > li .rule-sublist > li {
  position: relative;
  margin: 0;
  padding: 1px 0 1px 25px;
  border: 0;
  color: #b5cedc;
  font-size: inherit;
  line-height: 1.62;
}
.rule-list > li .rule-sublist > li::before {
  content: "";
  position: absolute;
  top: 0.79em;
  left: 3px;
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(78, 201, 255, 0.10);
  transform: translateY(-50%);
}
.rule-section code {
  padding: 1px 4px;
  border: 1px solid rgba(122, 224, 255, 0.18);
  border-radius: 5px;
  color: #c8f5ff;
  background: rgba(74, 188, 230, 0.09);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}

@media (max-width: 690px) {
  .rule-section-intro { margin-left: 31px; font-size: 12.5px; }
}


/* Regulamin - obszary oraz wyniki wyszukiwania pojedynczych punktów. */
.rules-toc-group-label { margin: 18px 10px 7px; color: #78cfe9; font-size: 10px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.rules-toc-group-label:first-of-type { margin-top: 0; }
.rules-toc-group-label-details { margin-top: 18px; }
.rules-toc > a.rules-toc-topic { color: #dff8ff; background: rgba(58, 184, 228, .07); }
.rules-toc > a.rules-toc-topic span { font-size: 14px; }
.rules-topic-nav { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 27px; }
.rules-topic-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid rgba(121, 225, 255, .20); border-radius: 10px; color: #bee7f3; background: rgba(17, 59, 89, .46); font-size: 12px; font-weight: 900; text-decoration: none; transition: border-color .18s ease, transform .18s ease, color .18s ease; }
.rules-topic-nav a:hover { transform: translateY(-1px); border-color: rgba(111, 226, 255, .48); color: #f2fcff; }
.rules-topic-nav span { color: var(--cyan); font-size: 15px; }
.rules-topic-heading { display: flex; align-items: center; gap: 15px; margin: 35px 0 16px; padding: 17px 19px; border: 1px solid rgba(120, 223, 255, .18); border-radius: 15px; background: linear-gradient(135deg, rgba(17, 65, 99, .53), rgba(6, 29, 49, .67)); }
.rules-topic-heading:first-of-type { margin-top: 0; }
.rules-topic-icon { display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; border: 1px solid rgba(119, 226, 255, .28); border-radius: 12px; color: var(--cyan); background: rgba(68, 194, 233, .10); font-size: 19px; font-weight: 900; }
.rules-topic-heading p { margin: 0 0 2px; color: #88bed1; font-size: 10px; font-weight: 900; letter-spacing: .10em; text-transform: uppercase; }
.rules-topic-heading h2 { margin: 0; color: #ebfbff; font-size: 21px; }
.rules-topic-heading span:not(.rules-topic-icon) { display: block; margin-top: 3px; color: #a2c6d6; font-size: 12.5px; }
.rules-search-results { display: grid; gap: 9px; margin: 0 0 28px; }
.rules-search-match { display: grid; gap: 5px; width: 100%; padding: 14px 16px; border: 1px solid rgba(129, 225, 255, .18); border-radius: 12px; color: #dff8ff; background: rgba(11, 42, 69, .49); text-align: left; font: inherit; cursor: pointer; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.rules-search-match:hover { transform: translateY(-1px); border-color: rgba(121, 226, 255, .49); background: rgba(16, 59, 91, .62); }
.rules-search-match-context { color: #83cfe7; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.rules-search-match-text { color: #c4e0ec; font-size: 13px; line-height: 1.58; }
.rules-search-match mark { padding: 0 2px; border-radius: 3px; color: #05202e; background: #8ce8ff; font-weight: 900; }
.rule-search-focus { outline: 2px solid rgba(112, 225, 255, .88); outline-offset: 5px; border-radius: 8px; transition: outline-color .35s ease; }
@media (max-width: 690px) {
  .rules-topic-heading { align-items: flex-start; padding: 15px; }
  .rules-topic-heading h2 { font-size: 19px; }
  .rules-topic-heading span:not(.rules-topic-icon) { font-size: 12px; }
  .rules-search-match { padding: 13px; }
}


/* 0.3.1 - Regulamin: oddzielne widoki obszarów, jak zakładki rankingów. */
.rules-topic-nav button,
.rules-toc > button.rules-toc-topic {
  appearance: none;
  font: inherit;
  cursor: pointer;
}
.rules-topic-nav button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(121, 225, 255, .20);
  border-radius: 10px;
  color: #bee7f3;
  background: rgba(17, 59, 89, .46);
  font-size: 12px;
  font-weight: 900;
  transition: border-color .18s ease, transform .18s ease, color .18s ease, background .18s ease;
}
.rules-topic-nav button:hover { transform: translateY(-1px); border-color: rgba(111, 226, 255, .48); color: #f2fcff; }
.rules-topic-nav button.active { color: #effcff; border-color: rgba(104, 225, 255, .56); background: linear-gradient(135deg, rgba(48, 174, 221, .36), rgba(12, 67, 112, .43)); }
.rules-topic-nav button span { color: var(--cyan); font-size: 15px; }
.rules-toc > button.rules-toc-topic {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 9px;
  margin: 2px 0;
  padding: 10px 11px;
  border: 1px solid rgba(121, 224, 255, .09);
  border-radius: 9px;
  color: #ccecf7;
  background: rgba(58, 184, 228, .07);
  text-align: left;
  font-size: 12px;
  font-weight: 850;
}
.rules-toc > button.rules-toc-topic:hover,
.rules-toc > button.rules-toc-topic.active { border-color: rgba(121, 225, 255, .34); background: rgba(41, 141, 189, .19); color: #f0fcff; }
.rules-toc > button.rules-toc-topic span { color: var(--cyan); font-size: 14px; }
.rules-topic-panel[hidden] { display: none; }
.rules-topic-panel > .rules-topic-heading { margin-top: 0; }
.rules-content > .rules-topic-panel + .rules-topic-panel { margin-top: 0; }
@media (max-width: 690px) {
  .rules-topic-nav { display: grid; grid-template-columns: 1fr; }
  .rules-topic-nav button { width: 100%; justify-content: center; }
}


/* Faktyczne główki Minecraft - obraz pochodzi z hasha tekstury lub nicku gracza. */
.minecraft-head {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(145deg, #1cd2ff, #075aa0);
}
.minecraft-head img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

/* Status serwera i karta Discord na stronie głównej. */
.server-bar-icon.status-dot {
  width: 10px;
  height: 10px;
  margin-right: 0;
  flex: 0 0 10px;
  font-size: 0;
}

.discord-live-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  max-width: 530px;
  margin-top: 25px;
  padding: 13px 14px;
  border: 1px solid rgba(120, 198, 255, 0.20);
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(31, 48, 119, 0.36), rgba(8, 27, 52, 0.72));
  box-shadow: inset 0 1px 0 rgba(230, 249, 255, 0.04);
}
.discord-live-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(146, 157, 255, 0.32);
  border-radius: 13px;
  color: #e3e8ff;
  background: linear-gradient(145deg, rgba(88, 101, 242, 0.72), rgba(53, 65, 164, 0.76));
  font-size: 18px;
  font-weight: 900;
}
.discord-live-copy { display: grid; min-width: 0; gap: 2px; }
.discord-live-kicker { display: inline-flex; align-items: center; gap: 7px; color: #aebee7; font-size: 10px; font-weight: 900; letter-spacing: 0.09em; text-transform: uppercase; }
.discord-status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #9cb0c6; }
.discord-status-dot.is-checking { background: #74dfff; box-shadow: 0 0 0 3px rgba(116, 223, 255, 0.12), 0 0 12px rgba(116, 223, 255, 0.72); animation: statusPulse 1.25s ease-in-out infinite; }
.discord-status-dot.is-online { background: #54f1b6; box-shadow: 0 0 0 3px rgba(84, 241, 182, 0.11), 0 0 12px rgba(84, 241, 182, 0.68); }
.discord-status-dot.is-unavailable { background: #8ab8cc; box-shadow: 0 0 0 3px rgba(138, 184, 204, 0.10); }
.discord-live-copy > strong { overflow: hidden; color: #eff4ff; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.discord-live-copy > span:last-child { overflow: hidden; color: #96accd; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.discord-live-button { min-height: 37px; padding: 8px 13px; border-radius: 10px; font-size: 12px; white-space: nowrap; }

@media (max-width: 690px) {
  .discord-live-card { grid-template-columns: 40px minmax(0, 1fr); gap: 11px; padding: 13px; }
  .discord-live-icon { width: 40px; height: 40px; }
  .discord-live-button { grid-column: 1 / -1; width: 100%; margin-top: 2px; text-align: center; }
}


/* =========================================================
   HOTFIX 0.3.9 - stabilne centrowanie logo w hero na telefonach
   ========================================================= */
@media (max-width: 690px) {
  .hero-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    overflow: visible;
  }

  .hero-logo {
    width: min(390px, 100%);
    max-width: 100%;
    margin-inline: auto;
    flex: 0 0 auto;
  }
}


/* 0.4.0 - Regulaminy: pięć pełnych dokumentów i dwa taryfikatory. */
.rules-topic-nav {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
}
.rules-topic-nav button:nth-child(-n+3) { grid-column: span 2; }
.rules-topic-nav button:nth-child(n+4) { grid-column: span 3; }
.rules-topic-nav button { justify-content: center; min-height: 43px; }
.rules-document-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: -2px 0 24px;
  padding: 13px 15px;
  border: 1px solid rgba(121, 225, 255, .13);
  border-radius: 12px;
  color: #9fc8d8;
  background: rgba(8, 38, 63, .43);
  font-size: 12px;
  line-height: 1.45;
}
.rules-document-meta span { display: inline-flex; align-items: baseline; gap: 4px; }
.rules-document-meta strong { color: #dff8ff; }
.rules-document-meta a { color: var(--cyan); text-decoration: none; }
.rules-document-meta a:hover { text-decoration: underline; }
.rule-subheading {
  margin: 20px 0 10px 31px;
  color: #def7ff;
  font-size: 15px;
  line-height: 1.35;
}
.rule-code-block {
  overflow-x: auto;
  margin: 15px 0 15px 31px;
  padding: 14px 16px;
  border: 1px solid rgba(121, 225, 255, .16);
  border-radius: 11px;
  color: #c9edf7;
  background: rgba(3, 22, 38, .72);
  font: 12px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.rule-section a { color: var(--cyan); text-decoration: none; }
.rule-section a:hover { text-decoration: underline; }

@media (max-width: 820px) {
  .rules-topic-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rules-topic-nav button:nth-child(n) { grid-column: span 1; }
  .rules-topic-nav button:last-child { grid-column: 1 / -1; }
}
@media (max-width: 690px) {
  .rules-topic-nav { grid-template-columns: 1fr; }
  .rules-topic-nav button:nth-child(n),
  .rules-topic-nav button:last-child { grid-column: 1; }
  .rules-document-meta { display: grid; gap: 6px; }
  .rule-subheading,
  .rule-code-block { margin-left: 0; }
}


/* 0.4.1 - sześć dokumentów i niezależnie przewijany spis treści. */
@media (min-width: 901px) {
  .rules-toc {
    max-height: calc(100vh - 124px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: rgba(93, 205, 239, .52) rgba(5, 24, 40, .34);
  }
  .rules-toc::-webkit-scrollbar { width: 8px; }
  .rules-toc::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(5, 24, 40, .34);
  }
  .rules-toc::-webkit-scrollbar-thumb {
    border: 2px solid rgba(5, 24, 40, .34);
    border-radius: 999px;
    background: rgba(93, 205, 239, .52);
  }
  .rules-toc::-webkit-scrollbar-thumb:hover { background: rgba(113, 225, 255, .72); }
  .rules-toc .toc-heading {
    position: sticky;
    top: -16px;
    z-index: 4;
    margin: 0 -4px;
    padding: 16px 11px 10px;
    background: linear-gradient(180deg, #0a2037 72%, rgba(10, 32, 55, .92) 88%, rgba(10, 32, 55, 0));
  }
}

@media (max-width: 900px) {
  .rules-toc {
    max-height: none;
    overflow: visible;
    overscroll-behavior: auto;
  }
  .rules-toc .toc-heading { position: static; }
}


/* 1.2 - poprawne numerowanie list z podpunktami. */
.rule-list > li { counter-increment: rules; }
.rule-list > li::before {
  content: counter(rules);
  counter-increment: none;
}
.rule-list .rule-sublist > li { counter-increment: none; }


/* 1.3 - większe, czytelne podpunkty z wyraźnym odstępem po kropce. */
.rule-list > li .rule-sublist > li {
  position: relative;
}

/* 0.9.20 - linki zapisane w Markdown regulaminów. */
.rules-content .rule-section a {
  color: var(--cyan);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.rules-content .rule-section a:hover { color: #e8fbff; }

/* SkyRift 0.9.22 - metadane dokumentu w nagłówku i równy spis treści. */
.rules-topic-heading.rules-document-heading {
  display: block;
  margin: 0 0 22px;
  padding: 25px 28px;
  text-align: center;
}
.rules-document-title h2 {
  max-width: 760px;
  margin: 0 auto;
  color: #effcff;
  font-size: clamp(23px, 3vw, 32px);
  line-height: 1.18;
  text-align: center;
}
.rules-document-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(560px, 100%);
  margin: 20px auto 0;
}
.rules-document-facts > div {
  min-width: 0;
  padding: 12px 16px;
  border: 1px solid rgba(121, 224, 255, .14);
  border-radius: 12px;
  background: rgba(3, 25, 42, .42);
  text-align: center;
}
.rules-document-facts span,
.rules-document-facts strong {
  display: block;
}
.rules-document-facts span {
  color: #82b8cb;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.rules-document-facts strong {
  margin-top: 4px;
  overflow-wrap: anywhere;
  color: #e8fbff;
  font-size: 14px;
}
.rules-document-summary {
  width: min(760px, 100%);
  margin: 18px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(121, 224, 255, .12);
  text-align: left;
}
.rules-document-summary .rule-section-intro {
  margin: 7px 0 0;
  color: #a7c9d7;
  font-size: 12.5px;
  line-height: 1.6;
}
.rules-document-summary .rule-list,
.rules-document-summary .rule-sublist {
  margin-top: 8px;
}
@media (max-width: 620px) {
  .rules-topic-heading.rules-document-heading { padding: 21px 16px; }
  .rules-document-facts { grid-template-columns: 1fr; gap: 8px; margin-top: 16px; }
}
.rules-document-alert {
  margin: 10px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 190, 92, .24);
  border-radius: 11px;
  color: #ffe0a6;
  background: rgba(116, 75, 19, .22);
  font-size: 12px;
  line-height: 1.55;
}
