:root {
  --wk-bg: #202322;
  --wk-bg-dark: #191b1a;
  --wk-panel: #343938;
  --wk-panel-2: #2b2f2e;
  --wk-text: #f3f0e8;
  --wk-muted: #c9c4ba;
  --wk-gold: #d0a01c;
  --wk-cyan: #11d6d6;
  --wk-purple: #53306f;
  --wk-red: #c81414;
  --wk-green: #31a66a;
  --wk-max-width: 1170px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--wk-bg-dark);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--wk-text);
  background:
    radial-gradient(circle at 12% 6%, rgba(17, 214, 214, 0.08), transparent 28rem),
    linear-gradient(180deg, var(--wk-bg), var(--wk-bg-dark) 36rem);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--wk-gold);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  width: min(100% - 32px, var(--wk-max-width));
  margin: 0 auto;
  flex: 1 0 auto;
  padding: 34px 0 46px;
}

.container,
.content-wrap {
  width: min(100%, var(--wk-max-width));
  margin-inline: auto;
}

.site-header {
  width: 100%;
  background: linear-gradient(180deg, #353a39, #262a29);
  border-bottom: 4px solid rgba(208, 160, 28, 0.72);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
}

.site-header-inner {
  width: min(100% - 32px, var(--wk-max-width));
  min-height: 104px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--wk-text);
  text-transform: uppercase;
  letter-spacing: 0;
}

.site-logo-mark {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  color: var(--wk-gold);
  font-size: 32px;
  line-height: 1;
  overflow: hidden;
}

.site-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-logo-text {
  font-size: 28px;
  font-weight: 900;
  text-shadow: 3px 3px 0 #0c0d0d;
}

.site-nav {
  min-width: 0;
}

.site-nav-toggle {
  display: none;
  width: 48px;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-direction: column;
  padding: 0;
  color: var(--wk-text);
  background: transparent;
  border: 2px solid rgba(208, 160, 28, 0.72);
  cursor: pointer;
}

.site-nav-toggle span {
  width: 24px;
  height: 3px;
  display: block;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.site-nav-toggle.is-open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.site-nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.site-nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.site-nav ul,
.site-nav-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav li {
  margin: 0;
  padding: 0;
}

.site-nav a,
.site-nav-link {
  display: inline-block;
  color: var(--wk-text);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
  transform: rotate(-6deg);
  transition: color 160ms ease, transform 160ms ease, text-shadow 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav .active > a,
.site-nav a.active,
.site-nav-link:hover,
.site-nav-link:focus-visible,
.site-nav-link.is-active {
  color: var(--wk-gold);
  text-shadow: 2px 2px 0 #111312;
  transform: rotate(-6deg) scale(1.07);
}

.site-footer {
  width: 100%;
  background: linear-gradient(180deg, #282d2c, #171918);
  border-top: 4px solid rgba(17, 214, 214, 0.52);
  padding: 34px 0;
}

.site-footer-inner {
  width: min(100% - 32px, var(--wk-max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.footer-links {
  display: grid;
  gap: 8px;
  color: var(--wk-muted);
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.footer-links-right {
  justify-items: end;
}

.footer-social {
  --social-tile-width: 92px;
  --social-tile-height: 80px;
  display: grid;
  grid-template-columns: repeat(4, var(--social-tile-width));
  grid-auto-rows: calc(var(--social-tile-height) * 0.86);
  gap: 0;
  justify-content: center;
  padding-bottom: calc(var(--social-tile-height) * 0.14);
}

.footer-social-tile {
  width: var(--social-tile-width);
  height: var(--social-tile-height);
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--wk-panel);
  font-size: 34px;
  line-height: 1;
  text-decoration: none;
  transition: filter 160ms ease, transform 160ms ease;
}

.footer-social-tile:nth-child(odd) {
  clip-path: polygon(0 14%, 100% 0, 100% 86%, 0 100%);
}

.footer-social-tile:nth-child(even) {
  clip-path: polygon(0 0, 100% 14%, 100% 100%, 0 86%);
}

.footer-social-tile:nth-child(n + 5) {
  transform: none;
}

.social__twitch {
  background: #5a3a83;
}

.social__discord {
  background: #31427f;
}

.social__youtube,
.social__vod {
  background: #c81414;
}

.social__facebook {
  background: #2d66ad;
}

.social__tiktok {
  background: #050607;
}

.social__kv {
  background: #a2653e;
}

.social__steam {
  background: #2c4758;
}

.footer-social-tile:hover,
.footer-social-tile:focus-visible {
  filter: brightness(1.18);
  color: #fff;
  transform: translateY(-5px);
}

.footer-social-tile:nth-child(n + 5):hover,
.footer-social-tile:nth-child(n + 5):focus-visible {
  transform: translateY(-5px);
}

.home-page,
.content-page {
  width: 100%;
}

.home-content {
  display: grid;
  gap: 42px;
}

.home-hero-slider {
  position: relative;
  width: 100%;
  min-height: 220px;
  overflow: hidden;
  background: #111312;
}

.home-hero-slider img,
.home-hero-slider iframe {
  width: 100%;
  max-width: 100%;
}

.hero-placeholder {
  min-height: 220px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(208, 160, 28, 0.72), transparent 34%),
    linear-gradient(315deg, rgba(17, 214, 214, 0.64), transparent 42%),
    #202322;
}

.hero-placeholder span {
  color: var(--wk-text);
  font-size: clamp(44px, 8vw, 94px);
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 6px 6px 0 #111312;
  transform: rotate(-7deg);
}

.embed-section {
  position: relative;
}

.responsive-iframe,
.video-frame {
  background: #101211;
}

.home-counter-section {
  padding: 8px 0;
}

.home-counter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.home-counter-card {
  position: relative;
  min-height: 268px;
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  align-items: center;
  gap: 0;
  padding: 28px 0 30px;
  overflow: hidden;
  text-align: center;
  background: #383d3b;
  transform: skewY(-6deg);
}

.home-counter-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 47%;
  height: 64px;
  background: #c2941a;
  transform: translateY(-50%);
  z-index: 0;
}

.home-counter-icon,
.home-counter-card span,
.home-counter-card strong {
  position: relative;
  z-index: 1;
}

.home-counter-icon {
  align-self: end;
  color: #d8d2c8;
  font-size: clamp(54px, 6vw, 84px);
  line-height: 1;
  padding-bottom: 20px;
}

.home-counter-card span {
  display: block;
  margin: 0 auto;
  color: #d8d2c8;
  font-size: clamp(42px, 5vw, 58px);
  font-weight: 900;
  line-height: 64px;
  text-shadow: 3px 3px 0 rgba(64, 52, 40, 0.35);
}

.home-counter-card strong {
  display: block;
  align-self: start;
  padding-top: 22px;
  color: #f0ece6;
  font-size: clamp(20px, 2.3vw, 26px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.08em;
}

.home-youtube-section,
.youtube-embed {
  width: 100%;
}

.responsive-iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
}

.twitch-frame {
  aspect-ratio: 19 / 8;
}

.responsive-iframe iframe,
.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.content-title {
  margin: 0 0 24px;
  color: var(--wk-text);
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 5px 5px 0 #111312;
  transform: rotate(-3deg);
  transform-origin: left center;
}

.content-panel {
  padding: clamp(22px, 4vw, 38px);
  background: rgba(52, 57, 56, 0.92);
  border: 2px solid rgba(255, 255, 255, 0.08);
  box-shadow: 10px 12px 0 rgba(0, 0, 0, 0.26);
}

.wysiwyg-content {
  color: var(--wk-text);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

.wysiwyg-content h1,
.wysiwyg-content h2,
.wysiwyg-content h3 {
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

.news-detail-content {
  font-size: 18px;
  line-height: 1.75;
}

.wysiwyg-content a {
  color: var(--wk-gold);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.news-list {
  display: block;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.news-card {
  min-width: 0;
}

.news-card-link {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  color: var(--wk-text);
  background: var(--wk-panel);
  border: 2px solid rgba(255, 255, 255, 0.08);
  box-shadow: 8px 10px 0 rgba(0, 0, 0, 0.28);
  transform: rotate(-1deg);
  transition: transform 160ms ease, border-color 160ms ease;
}

.news-card:nth-child(2n) .news-card-link {
  transform: rotate(1deg);
}

.news-card-link:hover,
.news-card-link:focus-visible {
  color: var(--wk-text);
  border-color: var(--wk-gold);
}

.news-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(17, 214, 214, 0.55), transparent 44%),
    linear-gradient(315deg, rgba(208, 160, 28, 0.6), transparent 50%),
    #111312;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-image span {
  font-size: 78px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 5px 5px 0 #111312;
}

.news-card-body {
  padding: 18px;
}

.news-card-title {
  margin: 0;
  font-size: 26px;
  line-height: 1.08;
  text-transform: uppercase;
}

.news-card-excerpt {
  margin: 12px 0 0;
  color: var(--wk-muted);
  font-family: Arial, sans-serif;
}

.news-card-meta {
  margin: 0 0 8px;
  color: var(--wk-gold);
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.news-detail-cover {
  margin-bottom: 22px;
  overflow: hidden;
  border: 4px solid #111312;
  box-shadow: 8px 10px 0 rgba(0, 0, 0, 0.3);
}

.news-detail-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.news-back {
  margin-top: 24px;
}

.contact-page {
  display: grid;
  gap: 22px;
}

.contact-panel,
.contact-form-placeholder {
  padding: clamp(22px, 4vw, 38px);
  background: var(--wk-panel);
  border-left: 7px solid var(--wk-gold);
  box-shadow: 9px 11px 0 rgba(0, 0, 0, 0.26);
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.form-control {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--wk-text);
  background: #111312;
  border: 2px solid rgba(255, 255, 255, 0.14);
  font: 16px Arial, sans-serif;
}

.form-control:focus {
  outline: 3px solid rgba(17, 214, 214, 0.34);
  border-color: var(--wk-cyan);
}

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  color: #111312;
  background: var(--wk-gold);
  border: 0;
  font: 900 17px Impact, Haettenschweiler, "Arial Narrow Bold", Arial, sans-serif;
  text-transform: uppercase;
  transform: rotate(-3deg);
  cursor: pointer;
}

.button-primary:hover,
.button-primary:focus-visible {
  color: #111312;
  background: var(--wk-cyan);
}

.placeholder {
  color: var(--wk-muted);
  font-family: Arial, sans-serif;
}

.theme-wikingit.is-loaded .site-header {
  animation: wk-header-in 260ms ease-out both;
}

@keyframes wk-header-in {
  from {
    opacity: 0.86;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .site-header-inner,
  .site-footer-inner {
    width: min(100% - 24px, var(--wk-max-width));
  }

  .site-header-inner {
    min-height: 96px;
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
  }

  .site-nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    grid-column: 1 / -1;
    width: 100%;
  }

  .is-loaded .site-nav {
    display: none;
  }

  .is-loaded .site-nav.is-open {
    display: block;
  }

  .site-nav ul,
  .site-nav-list {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
    gap: 8px;
    padding: 10px 0 4px;
  }

  .site-nav a,
  .site-nav-link {
    display: block;
    padding: 10px 0;
    transform: none;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible,
  .site-nav .active > a,
  .site-nav a.active,
  .site-nav-link:hover,
  .site-nav-link:focus-visible,
  .site-nav-link.is-active {
    transform: none;
  }

  .site-footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-links,
  .footer-links-right {
    justify-items: center;
  }

  .home-counter-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-main {
    width: min(100% - 20px, var(--wk-max-width));
    padding: 24px 0 34px;
  }

  .site-logo-mark {
    width: 56px;
    height: 56px;
  }

  .site-logo-text {
    font-size: 24px;
  }

  .site-nav a,
  .site-nav-link {
    font-size: 22px;
    letter-spacing: 0.06em;
  }

  .footer-social {
    --social-tile-width: 72px;
    --social-tile-height: 58px;
  }

  .footer-social-tile {
    font-size: 26px;
  }

  .footer-social-tile:nth-child(n + 5) {
    transform: none;
  }

  .footer-social-tile:nth-child(n + 5):hover,
  .footer-social-tile:nth-child(n + 5):focus-visible {
    transform: translateY(-5px);
  }

  .home-content {
    gap: 30px;
  }

  .home-counter-card {
    min-height: 220px;
  }

  .home-counter-card::before {
    height: 56px;
  }

  .home-counter-icon {
    font-size: 54px;
    padding-bottom: 16px;
  }

  .home-counter-card span {
    line-height: 56px;
  }

  .home-counter-card strong {
    padding-top: 18px;
  }

  .content-title {
    font-size: 36px;
  }

  .content-panel {
    padding: 20px;
  }

  .news-card-title {
    font-size: 23px;
  }
}
