/* Poker home layout (preview) */

@font-face {
  font-family: "Klapt Cyrillic Bold";
  src: url("./fonts/klapt-cyrillic-bold.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

:root {
  --pk-surface-dark: #000;
  --pk-surface-middle: #161616;
  --pk-surface-light: #252836;
  --pk-surface-input: #161616;
  --pk-grey-500: #9ca3af;
  --pk-orange: #d70022;
  --pk-orange-hover: #ff1a3d;
  --pk-green: #3ecf8e;
  --pk-odds-accent: #ff6b7a;
  --pk-header-h: 96px;
  --pk-radius-xs: 4px;
  --pk-radius-sm: 8px;
  --pk-radius-md: 12px;
  --pk-radius-lg: 16px;
  --pk-radius-pill: 999px;
  --pk-radius-round: 50%;
}

/* Header */
.pk-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.pk-broadcast {
  display: block;
  width: 100%;
}

.pk-broadcast__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
  height: 40px;
  background: #242424;
}

.pk-broadcast__brand {
  text-decoration: none;
  transition: opacity 0.15s;
}

.pk-broadcast__brand:hover .pk-brand__name {
  color: var(--pk-orange);
}

.pk-brand__name {
  display: block;
  color: #fff;
  font-family: "Klapt Cyrillic Bold", sans-serif;
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pk-header-nav {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 56px;
  box-sizing: border-box;
  width: max-content;
  max-width: calc(100% - 30px);
  margin: 15px auto 15px;
  background: rgba(28, 28, 28, 0.45);
  border: 1px solid rgba(251, 251, 251, 0.15);
  backdrop-filter: blur(5px);
  border-radius: 8px;
  padding: 0 9px;
}

.pk-header-nav__burger {
  flex-shrink: 0;
  justify-self: start;
  grid-column: 1;
  grid-row: 1;
}

.pk-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  min-width: 0;
}

.pk-nav {
  display: none;
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  min-width: 0;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.pk-nav::-webkit-scrollbar {
  display: none;
}

@media (min-width: 900px) {
  .pk-header-nav__burger {
    display: none;
  }

  .pk-nav {
    display: flex;
  }
}

.pk-nav__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  height: 44px;
  padding: 12px 30px;
  box-sizing: border-box;
  border: none;
  border-radius: 8px;
  background: #242424;
  color: #84858a;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  opacity: 1;
  transition: background 0.25s ease-in-out, color 0.25s ease-in-out, box-shadow 0.25s ease-in-out, opacity 0.2s;
}

.pk-nav__item img {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: block;
}

.pk-nav__item:hover {
  background: #2f323c;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.pk-nav__item--accent {
  color: #f5f5f5;
  box-shadow: inset 0 0 0 1px #d70022;
}

.pk-nav__item--accent:hover {
  background: #2f323c;
  color: #fff;
  box-shadow:
    inset 0 0 0 1px #d70022,
    0 4px 16px rgba(215, 0, 34, 0.18);
}

.pk-auth {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
  grid-column: 2;
  grid-row: 1;
  flex-shrink: 0;
  min-width: 0;
}

.pk-auth__login {
  padding: 8px 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--pk-radius-sm);
  transition: background 0.15s;
}

.pk-auth__login:hover {
  background: var(--pk-surface-light);
  color: #fff;
}

.pk-auth__register {
  padding: 8px 16px;
  background: var(--pk-orange);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--pk-radius-sm);
  transition: background 0.15s;
}

.pk-auth__register--cta {
  text-transform: uppercase;
}

.pk-auth__register:hover {
  background: var(--pk-orange-hover);
  color: #fff;
}

.pk-lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--pk-radius-sm);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.pk-lang:hover {
  background: var(--pk-surface-light);
  border-color: rgba(255, 255, 255, 0.35);
}

.pk-lang img {
  width: 22px;
  height: 15px;
  display: block;
  border-radius: 2px;
}

@media (max-width: 899px) {
  .pk-header-nav {
    gap: 8px;
    padding: 0 10px;
  }

  .pk-auth__login {
    display: none;
  }

  .pk-auth {
    gap: 6px;
  }

  .pk-auth__register {
    padding: 8px 12px;
    font-size: 13px;
  }

  .pk-lang {
    width: 32px;
    height: 30px;
  }

  .pk-brand__name {
    font-size: 15px;
  }
}

@media (max-width: 360px) {
  .pk-header-nav {
    gap: 6px;
    padding: 0 8px;
  }

  .pk-auth__register {
    padding: 7px 10px;
    font-size: 12px;
  }

  .pk-brand__name {
    font-size: 14px;
  }
}

/* Sections */
.pk-section {
  padding: 16px 8px;
  max-width: var(--pk-max);
  margin: 0 auto;
}

.pk-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 0 8px;
}

.pk-section-head__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.pk-section-head__link {
  padding: 4px 12px;
  background: var(--pk-surface-input);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--pk-radius-md);
  transition: background 0.15s;
}

.pk-section-head__link:hover {
  background: var(--pk-surface-light);
  color: #fff;
}

/* Carousel */
.pk-index-banners {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 24px;
  padding: 0;
  overflow: visible;
}

.pk-index-banners__left .pk-carousel__track {
  display: block;
  overflow: hidden;
  position: relative;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.pk-index-banners__left .pk-carousel__slide {
  position: absolute;
  inset: 0;
  height: 100%;
  flex: none;
  min-width: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s ease;
  scroll-snap-align: none;
}

.pk-index-banners__left .pk-carousel__slide--active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.pk-index-banners__left {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.pk-index-banners__left .pk-carousel,
.pk-index-banners__left .pk-carousel__bullets {
  pointer-events: auto;
}

.pk-index-banners__left .pk-carousel {
  height: 100%;
  border-radius: 0;
}

.pk-index-banners__left .pk-carousel__track {
  height: 100%;
  min-height: clamp(220px, 32vw, 400px);
}

.pk-index-banners .pk-carousel__bullets {
  left: 16px;
  right: auto;
  bottom: 16px;
  transform: none;
}

.pk-index-banners__right {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  justify-self: end;
  width: auto;
  margin-right: max(20px, calc((100vw - min(100vw, var(--pk-max))) / 2 + 20px));
  padding: 16px 0;
  box-sizing: border-box;
  min-height: clamp(220px, 32vw, 400px);
  pointer-events: none;
}

.pk-index-banners__right .pk-signup-card {
  pointer-events: auto;
  width: 340px;
  max-width: 100%;
  flex-shrink: 0;
}

.pk-signup-card {
  height: auto;
  background: var(--pk-surface-input);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px;
  display: grid;
  gap: 8px;
}

.pk-signup-card__title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.pk-signup-card__restore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  border-radius: 8px;
  background: var(--pk-surface-light);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.15s;
}

.pk-signup-card__restore:hover {
  background: var(--pk-surface-light);
  color: #fff;
}

.pk-signup-card__sep {
  color: var(--pk-grey-500);
  font-size: 12px;
  text-align: center;
}

.pk-signup-card__input {
  width: 100%;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: var(--pk-surface-input);
  color: #fff;
  padding: 0 10px;
}

.pk-signup-card__agree {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: #b8bcc6;
  font-size: 11px;
  line-height: 1.35;
}

.pk-signup-card__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  border-radius: 8px;
  background: var(--pk-orange);
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  transition: background 0.15s;
}

.pk-signup-card__submit:hover {
  background: var(--pk-orange-hover);
  color: #fff;
}

.pk-carousel-wrap {
  padding: 0;
  max-width: none;
  width: calc(100% + 20px);
  margin-inline: -10px;
}

.pk-carousel {
  position: relative;
  overflow: hidden;
  background: var(--pk-surface-dark);
  height: 100%;
}

.pk-carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, transparent 14%, transparent 86%, rgba(0, 0, 0, 0.9) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 16%, transparent 78%, rgba(0, 0, 0, 0.82) 100%);
}

.pk-carousel__track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-snap-stop: always;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.pk-carousel__track::-webkit-scrollbar {
  display: none;
}

.pk-carousel__slide {
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: center;
  height: 100%;
}

.pk-carousel__slide a {
  display: block;
  height: 100%;
}

.pk-carousel__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.pk-carousel__bullets {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 10px;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  padding: 7px 10px;
  background: rgba(28, 28, 28, 0.72);
  backdrop-filter: blur(4px);
  border-radius: var(--pk-radius-pill);
}

.pk-carousel__bullet {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: var(--pk-radius-round);
  padding: 0;
  background: #fff;
  opacity: 0.45;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.2s, transform 0.2s, background 0.2s;
}

.pk-carousel__bullet:hover {
  opacity: 0.85;
}

.pk-carousel__bullet--active {
  background: var(--pk-orange);
  opacity: 1;
  transform: scale(1.15);
}

.pk-carousel__bullet--active:hover {
  opacity: 1;
}

@media (min-width: 640px) {
  .pk-carousel-wrap {
    width: calc(100% + 32px);
    margin-inline: -16px;
  }
}

@media (min-width: 768px) {
  .pk-carousel-wrap {
    width: calc(100% + 40px);
    margin-inline: -20px;
  }

  .pk-carousel__bullets {
    left: auto;
    right: 16px;
    bottom: 16px;
    transform: none;
    background: rgba(28, 28, 28, 0.85);
    border-radius: var(--pk-radius-sm);
  }

  .pk-carousel__bullet {
    width: 8px;
    height: 8px;
  }
}

@media (min-width: 1024px) {
  .pk-index-banners__right .pk-signup-card {
    width: 360px;
  }

  .pk-index-banners__left .pk-carousel__track {
    min-height: 500px;
  }

  .pk-index-banners__right {
    min-height: 500px;
  }

  .pk-carousel-wrap {
    width: 100%;
    margin-inline: 0;
  }

  .pk-carousel {
    border-radius: var(--pk-radius-md);
  }
}

@media (max-width: 1023px) {
  .pk-index-banners__right {
    align-items: flex-end;
    padding: 12px 0;
    min-height: clamp(280px, 68vw, 440px);
  }
}

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

  .pk-carousel__bullet {
    transition: none;
  }
}

/* Quick nav */
.pk-quick-nav-wrap {
  position: relative;
  padding: 12px 0 16px;
  overflow: hidden;
}

.pk-quick-nav-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: 48px;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(270deg, var(--pk-surface-dark) 0%, transparent 100%);
}

.pk-quick-nav {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 8px 8px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.pk-quick-nav::-webkit-scrollbar {
  display: none;
}

.pk-quick-nav__item {
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 76px;
  padding: 4px 0;
  text-decoration: none;
  color: #fff;
  scroll-snap-align: start;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.pk-quick-nav__item:hover {
  transform: translateY(-2px);
}

.pk-quick-nav__item:active {
  transform: translateY(0);
  opacity: 0.85;
}

.pk-quick-nav__item:focus-visible {
  outline: 2px solid var(--pk-orange);
  outline-offset: 4px;
  border-radius: var(--pk-radius-md);
}

.pk-quick-nav__img {
  display: block;
  width: 56px;
  height: 56px;
  padding: 8px;
  object-fit: contain;
  box-sizing: border-box;
  background: var(--pk-surface-middle);
  border: 1px solid transparent;
  border-radius: var(--pk-radius-md);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.pk-quick-nav__item:hover .pk-quick-nav__img {
  background: var(--pk-surface-light);
  transform: scale(1.04);
}

.pk-quick-nav__item.orange .pk-quick-nav__img {
  background: linear-gradient(180deg, rgba(215, 0, 34, 0.22) 0%, var(--pk-surface-middle) 100%);
  border-color: rgba(215, 0, 34, 0.35);
  box-shadow: 0 0 0 1px rgba(215, 0, 34, 0.12);
}

.pk-quick-nav__item.orange:hover .pk-quick-nav__img {
  background: linear-gradient(180deg, rgba(215, 0, 34, 0.32) 0%, var(--pk-surface-light) 100%);
  border-color: rgba(215, 0, 34, 0.55);
  box-shadow: 0 4px 16px rgba(215, 0, 34, 0.18);
}

.pk-quick-nav__text {
  width: 100%;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  color: #fff;
  transition: color 0.2s ease;
}

.pk-quick-nav__item:hover .pk-quick-nav__text {
  color: #fff;
}

.pk-quick-nav__item.orange .pk-quick-nav__text {
  color: var(--pk-orange);
}

.pk-quick-nav__item.orange:hover .pk-quick-nav__text {
  color: var(--pk-orange-hover);
}

.pk-quick-nav__chip {
  position: absolute;
  top: 2px;
  right: 6px;
  z-index: 2;
  min-width: 28px;
  padding: 2px 6px 3px;
  background: var(--pk-orange);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
  border-radius: var(--pk-radius-xs);
  box-shadow: 0 2px 8px rgba(215, 0, 34, 0.45);
}

@media (min-width: 640px) {
  .pk-quick-nav-wrap {
    padding-top: 16px;
    padding-bottom: 20px;
  }

  .pk-quick-nav {
    gap: 20px;
    padding-inline: 16px;
    scroll-padding-inline: 16px;
  }

  .pk-quick-nav-wrap::after {
    width: 72px;
  }

  .pk-quick-nav__item {
    width: 84px;
    gap: 10px;
  }

  .pk-quick-nav__img {
    width: 64px;
    height: 64px;
    padding: 10px;
  }

  .pk-quick-nav__text {
    font-size: 13px;
  }

  .pk-quick-nav__chip {
    top: 0;
    right: 8px;
    font-size: 10px;
    padding: 3px 7px 4px;
  }
}

@media (min-width: 1024px) {
  .pk-quick-nav-wrap::after {
    display: none;
  }

  .pk-quick-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    overflow: visible;
    scroll-snap-type: none;
  }
}

/* Games scroll */
.pk-games-scroll,
.pk-providers-scroll,
.pk-promo-scroll,
.pk-matches-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 0 8px 8px;
  scrollbar-width: none;
}

.pk-games-scroll::-webkit-scrollbar,
.pk-providers-scroll::-webkit-scrollbar,
.pk-promo-scroll::-webkit-scrollbar,
.pk-matches-scroll::-webkit-scrollbar {
  display: none;
}

.pk-game-card {
  flex-shrink: 0;
  width: 160px;
}

.pk-game-card__img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--pk-radius-sm);
  background: var(--pk-surface-middle);
}

.pk-game-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.pk-game-card:hover .pk-game-card__img-wrap img {
  transform: scale(1.05);
}

.pk-game-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s;
}

.pk-game-card:hover .pk-game-card__overlay {
  opacity: 1;
}

.pk-game-card__play {
  width: 100%;
  padding: 8px;
  background: var(--pk-orange);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  text-transform: capitalize;
  border-radius: var(--pk-radius-sm);
}

.pk-game-card__demo {
  width: 100%;
  padding: 8px;
  color: #fff;
  font-size: 12px;
  text-align: center;
  text-decoration: none;
  border-radius: var(--pk-radius-sm);
}

.pk-game-card__title {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pk-game-card__provider {
  font-size: 12px;
  color: var(--pk-grey-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Providers */
.pk-provider {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 44px;
  padding: 4px 8px;
  background: var(--pk-surface-light);
  border-radius: var(--pk-radius-sm);
  transition: background 0.15s;
}

.pk-provider:hover {
  background: var(--pk-surface-input);
}

.pk-provider img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Match cards */
.pk-match-card {
  flex-shrink: 0;
  width: min(400px, 85vw);
  background: var(--pk-surface-middle);
  border-radius: var(--pk-radius-sm);
  overflow: hidden;
}

.pk-match-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}

.pk-match-card__link:hover {
  color: inherit;
  background: rgba(255, 255, 255, 0.03);
}

.pk-match-card__tournament {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--pk-surface-middle);
  border-bottom: 1px solid var(--pk-surface-dark);
  font-size: 14px;
  color: #fff;
}

.pk-match-card__tournament img {
  border-radius: var(--pk-radius-xs);
}

.pk-match-card__body {
  padding: 16px 16px 0;
}

.pk-match-card__odds {
  display: flex;
  gap: 4px;
  padding: 16px;
}

.pk-match-card__status {
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--pk-grey-500);
}

.pk-match-card__live {
  color: var(--pk-green);
  font-weight: 600;
}

.pk-match-card__teams {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.pk-match-card__teams--center {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.pk-match-card__team,
.pk-match-card__team-col {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #fff;
}

.pk-match-card__team-col {
  flex-direction: column;
  text-align: center;
  flex: 1;
}

.pk-match-card__team-col img,
.pk-match-card__team img {
  width: 32px;
  height: 32px;
  border-radius: var(--pk-radius-round);
  object-fit: contain;
  background: var(--pk-surface-light);
}

.pk-match-card__team-col img {
  width: 40px;
  height: 40px;
}

.pk-match-card__vs {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-align: center;
}

.pk-odd {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 8px;
  background: var(--pk-surface-light);
  border: none;
  border-radius: var(--pk-radius-sm);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
}

.pk-odd:hover {
  background: var(--pk-surface-dark);
}

.pk-odd span {
  font-size: 12px;
  color: #fff;
}

.pk-odd strong {
  font-size: 14px;
  color: var(--pk-odds-accent);
  font-weight: 600;
}

/* Promo */
.pk-boosters .pk-section-head {
  margin-bottom: 10px;
}

.pk-booster-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex-shrink: 0;
  width: 440px;
  height: 200px;
  padding: 22px 24px;
  box-sizing: border-box;
  border-radius: var(--pk-radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: var(--pk-surface-middle);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: border-color 0.2s, transform 0.2s;
}

.pk-booster-card:hover {
  border-color: rgba(215, 0, 34, 0.45);
  transform: translateY(-2px);
}

.pk-booster-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.35) 48%, rgba(0, 0, 0, 0.1) 100%);
  pointer-events: none;
  transition: background 0.2s;
}

.pk-booster-card:hover::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.3) 48%, rgba(0, 0, 0, 0.05) 100%);
}

.pk-booster-card__title {
  position: relative;
  z-index: 1;
  margin: 0 0 6px;
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.pk-booster-card__sub {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  color: #c8c8c8;
  font-size: 14px;
  line-height: 1.35;
}

.pk-booster-card__cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin: 0;
  padding: 10px 18px;
  border-radius: var(--pk-radius-sm);
  background: var(--pk-orange);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}

.pk-booster-card:hover .pk-booster-card__cta {
  background: var(--pk-orange-hover);
  color: #fff;
}

@media (max-width: 767px) {
  .pk-booster-card {
    width: min(440px, calc(100vw - 32px));
    height: 200px;
    padding: 18px 20px;
  }

  .pk-booster-card__title {
    font-size: 24px;
  }

  .pk-booster-card__sub {
    font-size: 13px;
  }
}

.pk-tabs {
  display: flex;
  gap: 4px;
}

.pk-tabs__item {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: var(--pk-surface-input);
  border: none;
  border-radius: var(--pk-radius-lg);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.pk-tabs__item:hover {
  background: var(--pk-surface-light);
}

.pk-tabs__item--active {
  background: rgba(215, 0, 34, 0.1);
  color: var(--pk-orange);
}

.pk-tabs__item--active:hover {
  background: rgba(215, 0, 34, 0.16);
}

.pk-tabs__item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--pk-surface-light);
  font-size: 11px;
  border-radius: var(--pk-radius-round);
}

.pk-tabs__item--active span {
  background: var(--pk-orange);
  color: #fff;
}

.pk-promo-card {
  flex-shrink: 0;
  width: 308px;
  padding: 16px;
  border-radius: var(--pk-radius-md);
  background: var(--pk-surface-middle);
}

.pk-promo-card--signup {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.pk-promo-card__motivation {
  display: block;
  width: 160px;
  height: 80px;
  margin: 12px auto 8px;
  object-fit: cover;
}

.pk-promo-card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}

.pk-promo-card__title strong {
  color: var(--pk-orange);
}

.pk-promo-card--tournament {
  background: linear-gradient(180deg, #4a2c22 0%, #1f1f1e 70%);
  border: 1px solid var(--pk-orange);
}

.pk-promo-card__timer {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  border-radius: var(--pk-radius-lg);
}

.pk-promo-card__name {
  margin: 8px 0;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.pk-promo-card__img {
  width: 100%;
  height: 48px;
  object-fit: cover;
  border-radius: var(--pk-radius-xs);
  margin-bottom: 8px;
}

.pk-promo-card__prize {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--pk-orange);
}

.pk-promo-card__prize strong {
  display: block;
  font-size: 20px;
  color: #fff;
  text-transform: uppercase;
}

.pk-promo-card__cta {
  display: block;
  padding: 8px 16px;
  background: var(--pk-orange);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: var(--pk-radius-sm);
  transition: background 0.15s;
}

.pk-promo-card__cta:hover {
  background: var(--pk-orange-hover);
  color: #fff;
}

.pk-promo-card__secondary {
  display: block;
  padding: 8px 16px;
  background: var(--pk-surface-light);
  color: #fff;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  border-radius: var(--pk-radius-sm);
}

/* League */
.pk-league-block {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  overflow: hidden;
  background: var(--pk-surface-middle);
  border-radius: var(--pk-radius-md);
}

.pk-league-block__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  z-index: 0;
}

.pk-league-block__intro,
.pk-league-features {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .pk-league-block {
    flex-direction: row;
  }
}

.pk-league-block__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

@media (min-width: 768px) {
  .pk-league-block__intro {
    flex-direction: row;
    text-align: left;
    max-width: 35%;
  }
}

.pk-league-block__intro h3 {
  margin: 0 0 4px;
  font-size: 18px;
  color: #fff;
}

.pk-league-block__intro p {
  margin: 0;
  font-size: 14px;
  color: var(--pk-grey-500);
}

.pk-league-block__cta {
  display: inline-block;
  margin-top: 12px;
  width: auto;
}

.pk-league-features {
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

@media (min-width: 768px) {
  .pk-league-features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pk-league-features li {
  padding: 12px;
  background: rgba(42, 42, 42, 0.6);
  border: 1px solid var(--pk-surface-light);
  border-radius: var(--pk-radius-sm);
}

.pk-league-features strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  color: #fff;
}

.pk-league-features span {
  display: none;
  font-size: 12px;
  color: var(--pk-grey-500);
}

@media (min-width: 768px) {
  .pk-league-features span {
    display: block;
  }
}

/* App banner */
.pk-app-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px 16px;
  border-radius: var(--pk-radius-md);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.pk-app-banner__title {
  margin: 0;
  font-family: "Klapt Cyrillic Bold", sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
}

.pk-app-banner__title span {
  color: var(--pk-orange);
}

.pk-app-banner__phones {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.pk-app-banner__phones img {
  max-height: 120px;
  width: auto;
}

.pk-app-banner__stores {
  display: flex;
  gap: 12px;
}

.pk-app-banner__stores img {
  height: 40px;
  width: auto;
}

/* Instruction */
.pk-instruction {
  padding-top: 8px;
}

.pk-instruction > .pk-section-head__title {
  margin-bottom: 4px;
}

.pk-instruction__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.pk-instruction__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 100%;
  padding: 20px 12px 16px;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
  transition: transform 0.25s ease;
}

.pk-instruction__item:hover {
  transform: translateY(-4px);
}

.pk-instruction__step {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  margin: 0 0 18px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff1a3d 0%, #d70022 55%, #a8001a 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  box-shadow:
    0 0 0 4px rgba(215, 0, 34, 0.14),
    0 10px 24px rgba(215, 0, 34, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pk-instruction__item:hover .pk-instruction__step {
  transform: scale(1.06);
  box-shadow:
    0 0 0 5px rgba(215, 0, 34, 0.18),
    0 14px 28px rgba(215, 0, 34, 0.34);
}

.pk-instruction__title {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #fff;
}

.pk-instruction__text {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #a8adb8;
  font-size: 12px;
  line-height: 1.55;
  max-width: 34ch;
}

.pk-instruction__text b {
  color: #f3f4f6;
  font-weight: 700;
}

@media (min-width: 768px) {
  .pk-instruction__list {
    gap: 20px;
  }

  .pk-instruction__list::before {
    content: "";
    position: absolute;
    left: 12%;
    right: 12%;
    top: 50px;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(215, 0, 34, 0.45) 18%,
      rgba(215, 0, 34, 0.45) 82%,
      transparent 100%
    );
    pointer-events: none;
    z-index: 0;
  }
}

@media (max-width: 767px) {
  .pk-instruction__list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .pk-instruction__list::before {
    display: none;
  }

  .pk-instruction__item {
    padding: 16px 8px 12px;
  }

  .pk-instruction__step {
    width: 52px;
    height: 52px;
    font-size: 22px;
  }

  .pk-instruction__title {
    font-size: 19px;
  }

  .pk-instruction__text {
    max-width: none;
    font-size: 11px;
  }
}

/* Categories */
.pk-categories.pk-section {
  padding: 24px 16px 28px;
  border-radius: var(--pk-radius-lg);
  background: var(--pk-surface-middle);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
}

.pk-categories__grid {
  display: grid;
  gap: 16px;
}

.pk-categories__content {
  display: grid;
  gap: 16px;
}

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

.pk-categories__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 220px;
  padding: 16px 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: var(--pk-surface-input);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.pk-categories__tab-label {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.pk-categories__tab:hover {
  background: var(--pk-surface-light);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.pk-categories__tab--active {
  border-color: var(--pk-orange);
  box-shadow: inset 0 0 0 1px rgba(215, 0, 34, 0.35);
}

.pk-categories__tab--active:hover {
  border-color: var(--pk-orange-hover);
}

.pk-categories__tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.pk-categories__tab-icon img {
  width: 152px;
  height: 152px;
  object-fit: cover;
}

.pk-categories__text {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--pk-radius-md);
  background: var(--pk-surface-middle);
}

.pk-categories__text-panel[hidden] {
  display: none;
}

.pk-categories__title {
  margin: 0 0 8px;
  font-size: 20px;
}

.pk-categories__body p {
  margin: 0 0 10px;
  color: #b8b8b8;
  font-size: 14px;
  line-height: 1.5;
}

.pk-categories__body ul {
  margin: 0 0 10px;
  padding-left: 1.1rem;
  color: #b8b8b8;
  font-size: 14px;
  line-height: 1.5;
}

.pk-categories__body li + li {
  margin-top: 6px;
}

.pk-categories__visual {
  position: relative;
  border-radius: var(--pk-radius-md);
  overflow: hidden;
  min-height: 260px;
  background: var(--pk-surface-middle);
}

.pk-categories__bg,
.pk-categories__main,
.pk-categories__cloud {
  position: absolute;
  display: block;
  max-width: 100%;
}

.pk-categories__bg {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pk-categories__main {
  left: 50%;
  bottom: 0;
  width: min(86%, 420px);
  transform: translateX(-50%);
}

.pk-categories__cloud {
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
}

@media (min-width: 960px) {
  .pk-categories__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
  }
}

@media (max-width: 767px) {
  .pk-categories.pk-section {
    padding: 20px 12px 24px;
  }

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

  .pk-categories__tab {
    min-height: 180px;
    padding: 14px 8px 12px;
    gap: 10px;
  }

  .pk-categories__tab-label {
    font-size: 14px;
  }

  .pk-categories__tab-icon img {
    width: 96px;
    height: 96px;
  }
}

/* Why us */
.pk-why {
  --sunpillar-1: hsl(2, 100%, 73%);
  --sunpillar-2: hsl(53, 100%, 69%);
  --sunpillar-3: hsl(93, 100%, 69%);
  --sunpillar-4: hsl(176, 100%, 76%);
  --sunpillar-5: hsl(228, 100%, 74%);
  --sunpillar-6: hsl(283, 100%, 73%);
}

.pk-why__grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.pk-why-card {
  position: relative;
  min-height: 240px;
  border: 0;
  background: transparent;
  padding: 0;
  border-radius: var(--pk-radius-md);
  overflow: hidden;
}

@media (min-width: 960px) {
  .pk-why__grid {
    grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(260px, 1fr));
    align-items: stretch;
  }

  .pk-why-card {
    min-height: 0;
    height: 100%;
  }

  .pk-why-card:first-child {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .pk-why-card:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .pk-why-card:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
  }

  .pk-why-card:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
  }

  .pk-why-card:nth-child(5) {
    grid-column: 3;
    grid-row: 2;
  }
}

@media (min-width: 640px) and (max-width: 959px) {
  .pk-why__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(220px, auto);
  }

  .pk-why-card:first-child {
    grid-column: 1 / -1;
    min-height: 320px;
  }
}

.pk-why-card__front {
  --why-x: 50%;
  --why-y: 50%;
  --why-angle: 0deg;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--pk-surface-middle);
  transition: border-color 0.35s ease;
}

.pk-why-card__front::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  background: conic-gradient(
    from var(--why-angle) at var(--why-x) var(--why-y),
    var(--sunpillar-1) 0deg,
    var(--sunpillar-2) 60deg,
    var(--sunpillar-3) 120deg,
    var(--sunpillar-4) 180deg,
    var(--sunpillar-5) 240deg,
    var(--sunpillar-6) 300deg,
    var(--sunpillar-1) 360deg
  );
  transition: opacity 0.35s ease;
  pointer-events: none;
  mix-blend-mode: soft-light;
}

.pk-why-card:hover .pk-why-card__front::after,
.pk-why-card:focus-within .pk-why-card__front::after {
  opacity: 0.72;
}

.pk-why-card:hover .pk-why-card__front,
.pk-why-card:focus-within .pk-why-card__front {
  border-color: rgba(255, 255, 255, 0.22);
}

.pk-why-card__front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pk-why-card__title {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.pk-why-card:first-child .pk-why-card__title {
  font-size: 22px;
}

/* Social */
.pk-social.pk-section {
  padding-top: 24px;
  padding-bottom: 32px;
}

.pk-social__inner {
  padding: 40px 24px 48px;
  text-align: center;
}

.pk-social .pk-section-head__title {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.2;
}

.pk-social__lead {
  margin: 0 0 28px;
  color: #c4cad8;
  font-size: 17px;
  line-height: 1.5;
  max-width: 52ch;
  margin-inline: auto;
}

.pk-social__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.pk-social__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--pk-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--pk-surface-input);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.pk-social__link:hover {
  border-color: rgba(215, 0, 34, 0.45);
  background: #242424;
  color: #fff;
}

.pk-social__link img {
  display: block;
  width: 28px;
  height: 28px;
  filter: invert(1);
}

@media (max-width: 767px) {
  .pk-social__inner {
    padding: 28px 12px 36px;
  }

  .pk-social .pk-section-head__title {
    font-size: 22px;
  }

  .pk-social__lead {
    margin-bottom: 22px;
    font-size: 15px;
  }

  .pk-social__link {
    padding: 12px 18px;
    font-size: 14px;
  }

  .pk-social__link img {
    width: 24px;
    height: 24px;
  }
}

/* Footer */
.pk-footer-wrap {
  position: relative;
  padding: 0 20px 32px;
  box-sizing: border-box;
}

.pk-back-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 120;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.92);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, background 0.2s;
}

.pk-back-top--visible {
  opacity: 1;
  pointer-events: auto;
}

.pk-back-top:hover {
  background: var(--pk-orange);
}

.pk-footer {
  max-width: var(--pk-max);
  margin: 0 auto;
  padding: 32px 24px 40px;
  border-radius: var(--pk-radius-lg);
  background: var(--pk-surface-middle);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  font-family: "Roboto", var(--pk-font);
}

.pk-footer__inner {
  max-width: none;
  margin: 0;
}

.pk-footer__top {
  display: grid;
  gap: 24px;
}

@media (min-width: 1100px) {
  .pk-footer__top {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
}

.pk-footer__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .pk-footer__cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pk-footer__cols {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pk-footer__heading {
  display: block;
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.pk-footer__links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pk-footer__link-item a {
  display: inline-block;
  padding: 3px 0;
  color: #c4cad8;
  font-size: 13px;
  text-decoration: none;
}

.pk-footer__link-item a:hover {
  color: var(--pk-orange);
}

.pk-footer__aside {
  display: grid;
  gap: 20px;
}

.pk-footer__contact-title,
.pk-footer__join-title {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.pk-footer__contact-lead {
  display: block;
  margin-bottom: 8px;
  color: #c4cad8;
  font-size: 13px;
}

.pk-footer__contact-email {
  color: var(--pk-orange);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s;
}

.pk-footer__contact-email:hover {
  color: var(--pk-orange-hover);
}

.pk-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.pk-footer__social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, box-shadow 0.15s;
}

.pk-footer__social-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.pk-footer__social-btn img {
  width: 22px;
  height: 22px;
}

.pk-footer__marquee {
  overflow: hidden;
  margin: 28px 0 20px;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0;
}

.pk-footer__marquee-track {
  display: flex;
  width: max-content;
  gap: 28px;
  animation: pk-footer-marquee 24s linear infinite;
}

.pk-footer__marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.pk-footer__marquee-item img {
  width: 22px;
  height: 22px;
}

@keyframes pk-footer-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.pk-footer__bottom {
  display: grid;
  gap: 20px;
}

@media (min-width: 900px) {
  .pk-footer__bottom {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
}

.pk-footer__legal p {
  margin: 0 0 10px;
  font-size: 11px;
  line-height: 1.55;
  color: #9ca3af;
}

.pk-footer__legal a {
  color: #c4cad8;
  text-decoration: underline;
  transition: color 0.15s;
}

.pk-footer__legal a:hover {
  color: var(--pk-orange);
}

.pk-footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.pk-footer__badges img {
  height: 36px;
  width: auto;
}

@media (max-width: 767px) {
  .pk-footer-wrap {
    padding: 0 16px 24px;
  }

  .pk-footer {
    padding: 24px 16px 32px;
    border-radius: var(--pk-radius-md);
  }
}

/* Hide old header when pk-header present */
.pk-header ~ .pk-legacy-header {
  display: none;
}

body:has(.pk-header) {
  --pk-header-h: 96px;
}

body:has(.pk-header) .pk-shell {
  padding-top: 0;
  overflow-x: clip;
}

body:has(.pk-header) .pk-main {
  background: var(--pk-surface-dark);
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
}

body:has(.pk-header) .pk-main > .pk-section,
body:has(.pk-header) .pk-main > section:not(.pk-index-banners) {
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

body:has(.pk-header) .pk-section .pk-content,
body:has(.pk-header) .pk-section .pk-faq,
body:has(.pk-header) .pk-section .pk-reviews {
  color: #fff;
}

body:has(.pk-header) .pk-section .pk-content h1,
body:has(.pk-header) .pk-section .pk-content h2,
body:has(.pk-header) .pk-section .pk-content p,
body:has(.pk-header) .pk-section .pk-content li {
  color: inherit;
}
