/* Dopracowanie wersji produkcyjnej */
.skipLink {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: #16090d;
  font-weight: 800;
  text-decoration: none;
}

.skipLink:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid #ff7187;
  outline-offset: 3px;
}

.online strong {
  color: #d8ffe8;
  font-size: 12px;
}

.cardAction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 10px;
  padding: 12px 17px;
  border: 1px solid #ff5c74;
  border-radius: 8px;
  background: #df1839;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.cardAction.muted {
  cursor: not-allowed;
  border-color: #2f2722;
  background: #211b17;
  color: #665d57;
}

.applicationGrid article[hidden] {
  display: none;
}

.filterbar button[aria-pressed="true"] {
  border-color: #c82745;
  background: #260d14;
  color: #fff;
}

.filterbar {
  position: relative;
  gap: 9px;
  margin-bottom: 25px;
  padding: 8px;
  width: max-content;
  max-width: 100%;
  border: 1px solid #34131c;
  border-radius: 13px;
  background: rgba(18, 8, 11, .72);
}

.filterbar button {
  border-color: transparent;
  border-radius: 9px;
  padding: 10px 15px;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.applicationGrid {
  gap: 18px;
}

.applicationGrid .applicationCard {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 385px;
  flex-direction: column;
  overflow: hidden;
  padding: 24px;
  border-color: #3e1721;
  background:
    radial-gradient(circle at 100% 0, rgba(239, 51, 79, .13), transparent 36%),
    linear-gradient(155deg, #190c11, #0e080a 72%);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .2);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.applicationGrid .applicationCard::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -75px;
  bottom: -90px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(239, 51, 79, .1);
  filter: blur(32px);
  pointer-events: none;
}

.applicationGrid .applicationCard--biznesy::after {
  background: rgba(255, 160, 72, .11);
}

.applicationGrid .applicationCard--administracja::after {
  background: rgba(106, 116, 255, .13);
}

.applicationGrid .applicationCard--crime::after {
  background: rgba(202, 34, 73, .18);
}

.applicationGrid .applicationCard:hover {
  transform: translateY(-5px);
  border-color: #8d2c43;
  box-shadow: 0 27px 65px rgba(0, 0, 0, .38), 0 0 28px rgba(239, 51, 79, .08);
}

.applicationGrid .applicationCardTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.applicationGrid .applicationMark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid #79243a;
  border-radius: 15px;
  background: linear-gradient(145deg, #641429, #260b14);
  box-shadow: inset 0 1px rgba(255, 255, 255, .1), 0 12px 25px rgba(0, 0, 0, .3);
  color: #ffced6;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.applicationGrid .applicationStatus {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(62, 227, 141, .18);
  border-radius: 999px;
  background: rgba(62, 227, 141, .07);
  color: #56e99c;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.applicationStatus i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3ee38d;
  box-shadow: 0 0 10px rgba(62, 227, 141, .8);
}

.applicationGrid .applicationCard > small {
  color: #ef536b;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .15em;
}

.applicationGrid .applicationCard h3 {
  min-height: 52px;
  margin: 9px 0 9px;
  font-size: 21px;
  line-height: 1.25;
}

.applicationGrid .applicationCard p {
  margin: 0 0 24px;
  color: #ad9097;
  line-height: 1.7;
}

.applicationGrid .applicationAction {
  justify-content: space-between;
  margin-top: auto;
  border-color: #f04461;
  background: linear-gradient(135deg, #ed1f43, #b80f2d);
  box-shadow: 0 12px 28px rgba(213, 19, 52, .2);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.applicationGrid .applicationAction span {
  color: inherit;
  font-size: 18px;
  transition: transform 160ms ease;
}

.applicationGrid .applicationAction:hover {
  filter: brightness(1.08);
  box-shadow: 0 16px 35px rgba(213, 19, 52, .32);
}

.applicationGrid .applicationAction:hover span {
  transform: translateX(4px);
}

.rulesEmpty {
  padding: 18px;
  border: 1px dashed #5a2634;
  border-radius: 10px;
  color: #a98b92;
  text-align: center;
}

.teamGrid {
  perspective: 1200px;
}

.teamGrid .teamCard {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --shine-x: 50%;
  --shine-y: 50%;
  position: relative;
  isolation: isolate;
  min-height: 320px;
  overflow: hidden;
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  border-color: #4a1b28;
  background:
    linear-gradient(145deg, rgba(39, 13, 21, .96), rgba(12, 7, 9, .98)),
    #12090c;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .25);
  will-change: transform;
}

.teamGrid .teamCard::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -2px;
  background:
    radial-gradient(circle at var(--shine-x) var(--shine-y), rgba(255, 103, 127, .25), transparent 32%),
    linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .08) 47%, transparent 63%);
  opacity: .4;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.teamGrid .teamCard::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 1px solid rgba(255, 117, 139, .15);
  border-radius: inherit;
  pointer-events: none;
}

.teamGrid .teamCard.is-tilting {
  border-color: #9b3048;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .48), 0 0 34px rgba(239, 51, 79, .13);
}

.teamGrid .teamCard.is-tilting::before {
  opacity: 1;
}

.teamCard > * {
  position: relative;
  z-index: 1;
  transform: translateZ(24px);
}

.teamCard .teamCardGlow {
  position: absolute;
  z-index: 0;
  right: -70px;
  bottom: -95px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(239, 51, 79, .16);
  filter: blur(38px);
  transform: translateZ(0);
  pointer-events: none;
}

.teamCard .teamIndex {
  position: absolute;
  top: 18px;
  right: 18px;
  color: rgba(255, 113, 135, .16);
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
}

.teamCard .teamAvatar {
  position: relative;
  width: 78px;
  height: 78px;
  border: 1px solid #8f2b43;
  border-radius: 22px;
  background: linear-gradient(145deg, #7a1730, #220a12);
  box-shadow: 0 13px 30px rgba(0, 0, 0, .38), inset 0 1px rgba(255, 255, 255, .13);
  color: #ffdce2;
  letter-spacing: .08em;
}

.teamCard .teamAvatar i {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 17px;
  height: 17px;
  border: 4px solid #16090d;
  border-radius: 50%;
  background: #3ee38d;
}

.teamCard h3 {
  margin: 8px 0 5px;
  font-size: 22px;
}

.teamCard .teamDiscord {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 28px;
  color: #bda1a8;
}

.teamCard .teamDiscord i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #ef334f;
  box-shadow: 0 0 10px rgba(239, 51, 79, .75);
}

.teamCard .teamCardFooter {
  position: absolute;
  right: 25px;
  bottom: 23px;
  left: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.teamCardFooter b,
.teamCardFooter span {
  font-size: 9px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.teamCardFooter b {
  color: #cab0b6;
}

.teamCardFooter span {
  color: #ef536b;
  font-weight: 900;
}

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

@media (hover: none), (pointer: coarse) {
  .teamGrid .teamCard {
    transform: none;
  }
}

@media (max-width: 620px) {
  .filterbar {
    width: 100%;
  }

  .applicationGrid .applicationCard {
    min-height: 350px;
  }
}
