:root {
  --base: #0a101b;
  --panel: #101b2d;
  --text: #f4f7ff;
  --soft: #b9c9df;
  --line: #263952;
  --blue: #73aaff;
  --wrap: min(1200px, calc(100% - 96px));
  color-scheme: dark;
  font-family: Inter, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; isolation: isolate; color: var(--text); background: var(--base); }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
img { display: block; max-width: 100%; }
.wrap { width: var(--wrap); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 2; background: var(--base); border-bottom: 1px solid var(--line); }
.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 30px;
}
.brand img { width: 176px; height: auto; }
.site-nav { display: flex; gap: 27px; font-size: 15px; color: var(--soft); }
.site-nav a:hover { color: var(--text); }
.header-meta { display: flex; align-items: center; gap: 20px; }
.shot-counter { padding: 7px 10px; border: 1px solid var(--line); border-radius: 5px; color: var(--soft); font-size: 13px; white-space: nowrap; }
.shot-counter strong { display: inline-block; min-width: 2ch; margin-left: 3px; color: var(--blue); text-align: right; font-variant-numeric: tabular-nums; }
.city { display: flex; align-items: center; gap: 9px; white-space: nowrap; color: var(--soft); font-size: 14px; }
.city i { width: 7px; height: 7px; background: var(--blue); border-radius: 50%; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: #080e1a; }
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: clamp(490px, 47vw, 690px);
  padding-block: 44px 52px;
}
.hero-copy { padding-block: 24px; }
.eyebrow {
  margin: 0 0 24px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .085em;
  text-transform: uppercase;
}
h1 {
  margin: 0 0 22px;
  font-size: clamp(69px, 8.4vw, 124px);
  font-weight: 800;
  line-height: .99;
  letter-spacing: -.036em;
}
h1 span { color: var(--blue); }
.hero h1 span {
  display: block;
  width: fit-content;
  padding-inline-end: .07em;
  background: linear-gradient(110deg, #b5d9ff 1%, #6caeff 47%, #317deb 96%);
  background-clip: text;
  color: transparent;
}
.lead { max-width: 410px; margin: 0 0 27px; color: var(--soft); font-size: clamp(17px, 1.55vw, 21px); line-height: 1.55; }
.lead strong { color: var(--text); }
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 51px;
  padding: 11px 17px;
  border: 1px solid #4a84fa;
  border-radius: 6px;
  background: #2361d4;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}
.primary:hover { background: #2b6ce4; }
.primary span { font-size: 20px; line-height: 1; }
.arena-frame {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 max(38%, calc(50% - 170px));
  margin: 0;
}
.arena-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #080e1a 0%, #080e1a94 11%, transparent 25%),
    linear-gradient(0deg, #080e1a 0%, transparent 24%);
  pointer-events: none;
}
.arena-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }

.shot {
  position: fixed;
  z-index: 3;
  top: 0;
  left: 0;
  width: 44px;
  aspect-ratio: 1;
  pointer-events: none;
  filter: drop-shadow(0 0 6px #5b9dff) drop-shadow(0 0 2px #061020);
  animation: shot-flash 360ms ease-out both;
}
.shot::before, .shot::after,
.ambient-sight::before, .ambient-sight::after { content: ""; position: absolute; }
.shot::before, .ambient-sight::before {
  inset: 0;
  background: var(--sight-color, #67a7ff);
  mask: url(reticle.webp) center / contain no-repeat;
}
.shot::after, .ambient-sight::after { inset: 44%; background: #fff; transform: rotate(45deg); }
@keyframes shot-flash {
  from { opacity: 1; transform: translate(-50%, -50%) scale(1.22); }
  30% { opacity: 1; transform: translate(-50%, -50%) scale(.87); }
  to { opacity: 0; transform: translate(-50%, -50%) scale(1.08); }
}


.shot--headshot {
  --sight-color: #ffc46b;
  filter: drop-shadow(0 0 9px #ffc46b) drop-shadow(0 0 2px #201103);
}

.shot-label {
  --shot-label-offset: calc(-100% - 19px);
  --shot-label-drift: -17px;
  position: fixed;
  z-index: 4;
  display: grid;
  justify-items: center;
  gap: 4px;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  animation: shot-label-rise 760ms ease-out both;
}
.shot-label--below {
  --shot-label-offset: 20px;
  --shot-label-drift: 12px;
}
.shot-point,
.shot-headshot {
  padding: 3px 8px;
  border: 1px solid #68a7ff;
  border-radius: 5px;
  background: #0a1527;
  color: #c1e2ff;
  font-weight: 900;
  line-height: 1.1;
}
.shot-point { font-size: 20px; box-shadow: 0 0 14px #4c97ff55; }
.shot-headshot {
  border-color: #f1b455;
  background: #2a1b0b;
  color: #ffd894;
  font-size: 10px;
  letter-spacing: .09em;
  box-shadow: 0 0 14px #eaa34b55;
}
@keyframes shot-label-rise {
  0% { opacity: 0; transform: translate(-50%, var(--shot-label-offset)) scale(.8); }
  14%, 66% { opacity: 1; }
  20% { transform: translate(-50%, var(--shot-label-offset)); }
  100% { opacity: 0; transform: translate(-50%, calc(var(--shot-label-offset) + var(--shot-label-drift))); }
}
@keyframes shot-label-fade {
  0%, 75% { opacity: 1; transform: translate(-50%, var(--shot-label-offset)); }
  100% { opacity: 0; transform: translate(-50%, var(--shot-label-offset)); }
}

.ambient-sight {
  --sight-color: #2878ef;
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  width: clamp(33px, 5vw, 68px);
  aspect-ratio: 1;
  pointer-events: none;
  filter: drop-shadow(0 0 10px #2878ef88);
  animation: ambient-sight-lock 1550ms cubic-bezier(.2,.65,.3,1) both;
}
.hero .ambient-sight { position: absolute; z-index: 0; }
@keyframes ambient-sight-lock {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(-48deg) scale(1.65); }
  20% { opacity: .47; transform: translate(-50%, -50%) rotate(8deg) scale(.86); }
  37%, 61% { opacity: .36; transform: translate(-50%, -50%) rotate(0deg) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) rotate(22deg) scale(1.35); }
}

.games { padding-block: 26px 55px; border-top: 1px solid var(--line); }
.section-title { margin-bottom: 19px; }
h2 { margin: 0; font-size: clamp(26px, 3.8vw, 41px); line-height: 1.16; letter-spacing: -.024em; }
.games-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; align-items: start; }
.game { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.game summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 23px;
  cursor: pointer;
  border-radius: 8px;
}
.game summary::-webkit-details-marker { display: none; }
.game summary:hover { background: #73aaff13; }
.game-main span { font-size: 14px; color: var(--soft); }
.game h3 { font-size: clamp(21px, 2.7vw, 33px); line-height: 1.1; letter-spacing: -.022em; margin: 7px 0 0; }
.game-arrow {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 22px;
  color: var(--blue);
}
.game[open] .game-arrow { transform: rotate(45deg); }
.game-info { padding: 0 23px 22px; font-size: 15px; line-height: 1.55; color: var(--soft); }
.game-info p { margin: 0; }
.about { border-top: 1px solid var(--line); display: flex; gap: 24px; align-items: center; padding: 42px 0 52px; }
.about img { width: clamp(65px, 10vw, 104px); height: auto; }
.about p { max-width: 620px; margin: 12px 0 0; line-height: 1.6; color: var(--soft); }
.footer {
  padding-block: 23px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--soft);
  font-size: 13px;
}
.footer img { width: 120px; height: auto; }

@media (max-width: 920px) {
  :root { --wrap: calc(100% - 48px); }
  .header-meta { gap: 12px; }
  .site-nav { gap: 17px; }
  h1 { font-size: clamp(61px, 9.2vw, 85px); }
}

@media (max-width: 700px) {
  :root { --wrap: calc(100% - 32px); }
  .header-inner { min-height: 62px; }
  .brand img { width: 137px; }
  .site-nav { display: none; }
  html { scroll-padding-top: 78px; }
  .city { display: none; }
  .hero-inner { display: block; min-height: 0; padding-block: 27px 23px; }
  .arena-frame { position: relative; z-index: auto; inset: auto; width: var(--wrap); aspect-ratio: 4 / 3; margin-inline: auto; }
  .arena-frame::after { content: none; }
  .hero { padding-bottom: 26px; }
  .hero-copy { padding: 0; }
  .eyebrow { margin-bottom: 13px; font-size: 12px; }
  h1 { font-size: clamp(56px, 14vw, 80px); margin-bottom: 13px; }
  .lead { margin-bottom: 17px; }
  .games { padding-block: 25px 36px; }
  .games-grid { grid-template-columns: 1fr; }
  .game summary { padding: 16px; }
  .game-info { padding: 0 16px 16px; }
  .about { padding: 30px 0 36px; gap: 14px; align-items: start; }
  .about p { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shot { animation: shot-fade 140ms linear both; }
  .shot-label { animation: shot-label-fade 650ms linear both; }
  .ambient-sight { animation-duration: 1ms; visibility: hidden; }
}
@keyframes shot-fade {
  from { opacity: 1; transform: translate(-50%, -50%); }
  to { opacity: 0; transform: translate(-50%, -50%); }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
}
.hero-actions a, .text-link { white-space: nowrap; }
.secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 51px;
  padding: 10px 14px;
  border: 1px solid #3b5273;
  border-radius: 6px;
  background: #10192a;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
}
.secondary:hover { background: #182945; }
.secondary span { color: var(--blue); font-size: 18px; }
.request-hint { margin: 11px 0 0; color: var(--soft); font-size: 13px; line-height: 1.45; }

.news { padding-block: 28px 48px; border-top: 1px solid var(--line); }
.news-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 20px;
  margin-bottom: 20px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a9ccff;
  font-size: 14px;
  font-weight: 700;
}
.text-link:hover { color: white; text-decoration: underline; text-underline-offset: 4px; }
.text-link span { font-size: 17px; }
.news-grid { display: grid; grid-template-columns: 1.22fr 1fr; gap: 14px; }
.news-card {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: end;
  overflow: hidden;
  min-height: 268px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.news-feature { background: radial-gradient(ellipse at 100% 0%, #234982, #101d32 68%); }
.news-feature::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -41px;
  right: -36px;
  width: 254px;
  height: 254px;
  transform: rotate(-12deg);
  background: #457ac8;
  opacity: .28;
  mask: url(reticle.webp) center / contain no-repeat;
}
.news-plans { background: linear-gradient(135deg, #10192a, #14253d); }
.news-plans img {
  position: absolute;
  z-index: -1;
  right: 20px;
  top: 19px;
  width: 82px;
  height: auto;
  opacity: .7;
}
.news-card-content { max-width: 425px; }
.news-topic {
  margin: 0 0 11px;
  color: #a3c8ff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.news-card h3 { margin: 0; font-size: clamp(25px, 3vw, 37px); line-height: 1.1; letter-spacing: -.024em; }
.news-card-content > p:not(.news-topic) { margin: 10px 0 16px; color: var(--soft); font-size: 15px; line-height: 1.55; }
@media (max-width: 820px) {
  .news-plans img { width: 58px; top: 12px; right: 12px; }
}
@media (max-width: 700px) {
  .news { padding-block: 24px 33px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-heading { margin-bottom: 16px; }
  .news-card { min-height: 0; padding: 20px; }
  .news-feature::before { width: 181px; height: 181px; }
  .news-plans img { top: auto; bottom: 12px; opacity: .25; }
}

.vk-share { margin-top: 5px; max-width: 300px; }
.vk-copy {
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: #a9ccff;
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.vk-copy:hover { color: white; }
.vk-copy-status { margin: 4px 0; color: var(--soft); font-size: 13px; line-height: 1.45; }
.vk-copy-status:empty { display: none; }
.vk-address {
  width: 100%;
  margin-top: 4px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--panel);
  color: var(--text);
  font: inherit;
  font-size: 16px;
}

.site-section { padding-block: 28px 46px; border-top: 1px solid var(--line); }
.site-section > h2 { margin-bottom: 20px; }
.event-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: clamp(20px, 3vw, 34px);
  background: linear-gradient(115deg, #14243c, var(--panel));
}
#tournaments .event-card {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
}
.event-card h3 { margin: 0 0 8px; font-size: clamp(23px, 3.6vw, 38px); letter-spacing: -.023em; }
.event-meta, .event-note { margin: 8px 0 0; color: var(--soft); line-height: 1.5; }
.event-meta strong { color: #b8d6ff; }
.event-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.archive-grid, .action-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.archive-empty p, .action-card > p:not(.news-topic) { margin: 0; color: var(--soft); line-height: 1.6; }
.action-card h2 { font-size: clamp(23px, 3vw, 32px); margin: 0 0 10px; }
.action-card > a { margin-top: 18px; }
.archive-card dl { display: grid; gap: 8px; margin: 13px 0; }
.archive-card dl div { display: flex; flex-wrap: wrap; gap: 5px 12px; }
.archive-card dt { color: var(--soft); }
.archive-card dd { margin: 0; overflow-wrap: anywhere; }
.event-card .text-link { white-space: normal; }
@media (max-width: 700px) {
  .site-section { padding-block: 24px 33px; }
  .archive-grid, .action-grid { grid-template-columns: 1fr; }
}

.participation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.participation-grid .event-card { display: flex; align-items: start; flex-direction: column; }
.participation-grid h3 { font-size: clamp(20px, 2.5vw, 27px); }
.participation-grid p { margin: 0 0 14px; color: var(--soft); line-height: 1.55; }
.participation-grid a { margin-top: auto; }
.news-card:has(.news-photo) { display: flex; align-items: start; flex-direction: column; padding: 0; }
.news-card:has(.news-photo) .news-card-content { max-width: none; padding: 22px 26px 26px; }
.news-card .news-photo {
  position: static;
  z-index: auto;
  width: 100%;
  max-height: 300px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 1;
}
.news-copy { white-space: pre-line; overflow-wrap: anywhere; }
.tournament-page { padding-block: 32px 55px; }
.tournament-detail { margin-bottom: 20px; }
.tournament-detail h1 { margin: 0 0 23px; font-size: clamp(29px, 6vw, 65px); line-height: 1.08; overflow-wrap: anywhere; }
.tournament-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 23px; }
.tournament-facts div { border: 1px solid var(--line); border-radius: 6px; padding: 12px; }
.tournament-facts dt { font-size: 13px; color: var(--soft); }
.tournament-facts dd { margin: 5px 0 0; overflow-wrap: anywhere; }
.archive-card > a { margin-right: 15px; }
@media (max-width: 700px) {
  .participation-grid, .tournament-facts { grid-template-columns: 1fr; }
}

#tournaments .event-poster {
  --poster-accent: #95c6ff;
  --poster-bg: #162b48;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0,1fr);
  align-items: center;
  min-height: clamp(260px, 35vw, 360px);
  overflow: hidden;
  padding: clamp(23px, 5vw, 52px);
  background: radial-gradient(ellipse at 85% 25%, var(--poster-bg), #0c1422 69%);
}
#tournaments .event-poster--cs2 { --poster-accent: #ffbf72; --poster-bg: #512e18; }
#tournaments .event-poster--dota { --poster-accent: #ff9894; --poster-bg: #551d2a; }
.event-poster-art {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 30%;
  overflow: hidden;
  display: grid;
  place-items: center end;
  padding-inline: 5%;
  background:
    linear-gradient(90deg, #0c1422, transparent 50%),
    repeating-linear-gradient(126deg, transparent 0 28px, #ffffff09 29px 31px),
    radial-gradient(ellipse at 95% 80%, var(--poster-bg), transparent 72%);
}
.event-poster-art::before {
  content: "";
  position: absolute;
  inset: 12% 4% 12% 27%;
  opacity: .13;
  background: var(--poster-accent);
  mask: url(reticle.webp) center / contain no-repeat;
  transform: rotate(-12deg);
}
.event-poster-art span {
  color: var(--poster-accent);
  opacity: .22;
  font-size: clamp(60px, 12vw, 165px);
  letter-spacing: -.07em;
  line-height: .87;
  font-weight: 900;
  white-space: nowrap;
}
.event-poster-content { width: min(100%, 700px); }
.event-poster-content .news-topic { color: var(--poster-accent); }
#tournaments .event-poster h3 { max-width: 600px; margin: 0; font-size: clamp(30px, 6.8vw, 70px); line-height: 1; overflow-wrap: anywhere; }
.event-poster-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 18px 0 22px; color: var(--soft); }
.event-poster-meta strong { color: var(--poster-accent); }
.event-poster-meta span { overflow-wrap: anywhere; }
.archive-card { padding: 0; overflow: hidden; }
.archive-card-title { position: relative; isolation: isolate; padding: 22px clamp(20px, 3vw, 34px) 4px; overflow: hidden; }
.archive-card-title .news-topic:empty { display: none; }
.archive-card-title h3 { overflow-wrap: anywhere; }
.archive-card--photo .archive-card-title {
  display: flex;
  align-items: end;
  min-height: clamp(210px, 24vw, 290px);
  color: #fff;
  background: #14233b;
  padding-bottom: 20px;
}
.archive-card--photo .archive-card-title::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, #060d19f5, #060d1999 40%, transparent 85%);
}
.archive-card-title img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.archive-result { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin: 8px 0 0; }
.archive-result span { padding: 2px 7px; border: 1px solid #637892; border-radius: 4px; font-variant-numeric: tabular-nums; }
.archive-card-body { padding: 4px clamp(20px, 3vw, 34px) 22px; }
.archive-card--photo .archive-card-body { padding-top: 15px; }
.archive-card-body > .event-note { margin: 0 0 12px; }
@media (max-width: 650px) {
  .event-poster-art { inset-inline-start: 18%; opacity: .56; }
}
