:root {
  --bg: #0a0a0a;
  --bg-alt: #141414;
  --accent: #c8c6c6;
  --accent-strong: #bdbdbd;
  --text: #f7f7f7;
  --muted: #b0b0b0;
  --card: rgba(255, 255, 255, 0.08);
  --glass: rgba(20, 20, 20, 0.65);
  --oil-line: #f5f5f5;
  --oil-line-dim: #e2e2e2;
  --radius: 24px;
  --shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", system-ui, sans-serif;
  color: var(--text);
  background: linear-gradient(120deg, var(--bg-start), var(--bg-mid), var(--bg-end));
  background-size: 200% 200%;
  animation: bgShift 18s ease-in-out infinite;
  overflow-x: hidden;
  scrollbar-width: none;
  position: relative;
  transition: background 0.3s ease;
  --bg-start: #020202;
  --bg-mid: #1a1a1a;
  --bg-end: #050505;
}

html.hero-scroll-lock,
html.hero-scroll-lock body {
  overflow: hidden;
}

html.is-loading,
html.is-loading body {
  overflow: hidden;
}

body.is-mobile {
  animation: none;
  background-size: cover;
}

body.is-mobile .oil-lines {
  display: none;
}

body.is-mobile .section--hero {
  min-height: auto;
  --hero-scale: 1 !important;
  --hero-text: 1 !important;
  --hero-border: 0 !important;
}

body.is-mobile .hero-stage {
  position: relative !important;
  top: auto;
  min-height: auto;
}

body.is-mobile .hero-bands {
  display: none;
}

body.is-mobile .hero-window {
  min-height: auto;
  transform: none !important;
  box-shadow: none;
}

.page-loader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 9999;
  isolation: isolate;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-loader::after {
  content: "loading";
  position: absolute;
  left: 50%;
  bottom: clamp(16px, 3vh, 32px);
  transform: translateX(-50%);
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  animation: loaderPulse 1.1s ease-in-out infinite;
  pointer-events: none;
  z-index: 3;
}

.page-loader__spinner {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-top-color: rgba(255, 255, 255, 0.9);
  animation: loaderSpin 0.9s linear infinite;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.18);
  z-index: 2;
}

.page-loader__cs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.page-loader__cs-fill {
  fill: #000000;
}

.page-loader__cs-letter {
  --cs-shift: 0px;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(6rem, 22vw, 20rem);
  fill: #ffffff;
  transform-box: fill-box;
  transform-origin: center;
  transform: translateX(var(--cs-shift)) scale(0.7);
}

.page-loader__cs-letter--left {
  --cs-shift: calc(-1 * clamp(28px, 4vw, 120px));
}

.page-loader__cs-letter--right {
  --cs-shift: clamp(28px, 4vw, 120px);
}

.page-loader.is-exiting {
  pointer-events: none;
}

.page-loader.is-exiting .page-loader__spinner {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.page-loader.is-exiting .page-loader__cs-letter {
  animation: loaderCSZoom 0.7s ease forwards;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

@keyframes bgShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes loaderSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes loaderCSZoom {
  0% {
    transform: translateX(var(--cs-shift)) scale(0.7);
    fill: #ffffff;
  }
  30% {
    fill: #000000;
  }
  100% {
    transform: translateX(var(--cs-shift)) scale(12);
    fill: #000000;
  }
}

@keyframes loaderPulse {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

@keyframes textHoverGlow {
  0% {
    text-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
  60% {
    text-shadow: 0 0 12px var(--text-glow, rgba(255, 255, 255, 0.45));
  }
  100% {
    text-shadow: 0 0 6px var(--text-glow, rgba(255, 255, 255, 0.45));
  }
}

/* Быстрое меню */
.quick-nav {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 10;
  display: grid;
  gap: 10px;
}

.oil-lines {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.8;
}

.oil-lines__group {
  transform-origin: 50% 50%;
  animation: oilDrift 40s linear infinite, oilWander 18s ease-in-out infinite;
}

.oil-lines__liquid {
  transform-origin: 50% 50%;
  animation: oilFloat 28s ease-in-out infinite, oilWander 13s ease-in-out infinite;
}

.oil-lines path {
  fill: none;
  stroke: var(--oil-line);
  stroke-width: 1.1;
  opacity: 0.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: oilShift 8s ease-in-out infinite, oilWander 16s ease-in-out infinite;
}

.oil-lines path:nth-child(2n) {
  opacity: 0.45;
  stroke-width: 0.9;
  animation-duration: 10s, 14s;
}

.oil-lines path:nth-child(3n) {
  opacity: 0.4;
  stroke-width: 0.8;
  animation-duration: 12s, 18s;
}

.oil-lines__liquid path {
  stroke-width: 3.2;
  opacity: 0.16;
  animation-duration: 7s, 12s;
}

.oil-lines__liquid path:nth-child(2n) {
  opacity: 0.12;
  animation-duration: 9s, 15s;
}

.oil-lines__liquid path:nth-child(3n) {
  opacity: 0.1;
  animation-duration: 11s, 17s;
}

.site-logo {
  position: fixed;
  top: 22px;
  left: 24px;
  width: clamp(54px, 8vw, 90px);
  height: auto;
  z-index: 10;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.4));
  transition: opacity 0.8s ease;
}

.quick-nav__toggle {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(20, 20, 20, 0.7);
  color: var(--text);
  width: 48px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: auto;
}

.quick-nav__icon {
  position: relative;
  width: 22px;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  box-shadow:
    0 -6px 0 rgba(255, 255, 255, 0.85),
    0 6px 0 rgba(255, 255, 255, 0.85);
}

.quick-nav__panel {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.quick-nav__panel.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.quick-nav__link {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  --text-glow: rgba(255, 255, 255, 0.45);
  text-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: background 0.2s ease;
}

.quick-nav__link:hover {
  background: rgba(255, 255, 255, 0.12);
  animation: textHoverGlow 0.45s ease forwards;
}

/* Делаем дым монохромным через фильтр */
@keyframes oilShift {
  0%,
  100% {
    stroke: var(--oil-line);
  }
  50% {
    stroke: var(--oil-line-dim);
  }
}

@keyframes oilDrift {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(1.02);
  }
  50% {
    transform: translate3d(2%, 1%, 0) scale(1.05);
  }
  100% {
    transform: translate3d(-2%, -1%, 0) scale(1.02);
  }
}

@keyframes oilWander {
  0% {
    transform: translate3d(0%, 0%, 0);
  }
  12% {
    transform: translate3d(1.5%, -0.6%, 0);
  }
  28% {
    transform: translate3d(-2.2%, 1.2%, 0);
  }
  46% {
    transform: translate3d(0.8%, 2.4%, 0);
  }
  63% {
    transform: translate3d(-1.6%, -2.1%, 0);
  }
  79% {
    transform: translate3d(2.4%, 0.4%, 0);
  }
  100% {
    transform: translate3d(0%, 0%, 0);
  }
}

@keyframes oilFloat {
  0% {
    transform: translate3d(1.5%, -1%, 0) scale(1.04) rotate(0.2deg);
  }
  50% {
    transform: translate3d(-2%, 1.5%, 0) scale(1.08) rotate(-0.35deg);
  }
  100% {
    transform: translate3d(1.5%, -1%, 0) scale(1.04) rotate(0.2deg);
  }
}

@keyframes heroBandScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* Скроллбар отключен */
*::-webkit-scrollbar {
  width: 0;
  height: 0;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: transparent;
}

main {
  position: relative;
  z-index: 2;
}

.section {
  min-height: 100vh;
  padding: 96px 8vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}

.section__header h2 {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 0 0 12px;
}

.section__header p {
  margin: 0;
  color: var(--muted);
  max-width: 560px;
}

/* Раздел 1.5: переходная сцена */
.section--transition {
  min-height: 160vh;
  position: relative;
  overflow: visible;
  margin-top: -70vh;
  padding-left: 0;
  padding-right: 0;
}

.transition {
  position: sticky;
  top: 94%;
  transform: translateY(0%);
  display: grid;
  place-items: center;
  gap: 24px;
  text-align: center;
  --bars-reveal: 0;
  --bars-rise: 40px;
  width: 100%;
}

.transition__label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  color: var(--muted);
  opacity: var(--bars-reveal);
  transition: opacity 0.2s ease;
  width: 100%;
  text-align: center;
}

.transition__bars {
  display: grid;
  grid-template-columns: repeat(7, minmax(154px, 1fr));
  gap: clamp(12px, 2.6vw, 96px);
  width: min(100%, 1600px);
  padding: 0 2vw;
  margin: 0 auto;
  justify-content: center;
  opacity: var(--bars-reveal);
  transform: translateY(var(--bars-rise));
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.bar {
  --bar-progress: 0;
  --img: none;
  height: clamp(323px, 46.5vw, 581px);
  min-width: 0;
  width: 100%;
  border-radius: 18px;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.75)), var(--img);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat;
  border: none;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: var(--bar-progress);
  transform-origin: center bottom;
  transform: scaleY(calc(0.9 + 0.1 * var(--bar-progress)));
}

.bar__title {
  font-weight: 700;
  pointer-events: none;
  user-select: none;
  cursor: default;
}

/* Раздел 1 */
.section--hero {
  position: relative;
  text-align: center;
  overflow: hidden;
  --hero-scale: 1;
  --hero-text: 1;
  --hero-border: 0;
  --hero-final-scale: 0.6;
  min-height: 120vh;
  padding: 0;
  display: block;
}

.section--hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #0a0a0a;
  opacity: calc(1 - var(--hero-border));
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 0;
}

.hero-stage {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 0;
  z-index: 1;
  isolation: isolate;
}

.hero-bands {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: calc(100vh * var(--hero-final-scale, 0.6));
  transform: translateY(-50%);
  display: grid;
  align-content: space-between;
  gap: clamp(4px, 1.2vh, 10px);
  padding: clamp(18px, 28vh, 140px) 0;
  pointer-events: none;
  opacity: var(--hero-border);
  transition: opacity 0.2s ease;
  overflow: hidden;
  z-index: 0;
}

.hero-band {
  height: clamp(84px, 12vh, 160px);
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-band__track {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  white-space: nowrap;
  will-change: transform;
  animation: heroBandScroll 28s linear infinite;
}

.hero-band--bottom .hero-band__track {
  animation-direction: reverse;
  animation-duration: 34s;
}

.hero-band__text {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(3.72rem, 9.6vw, 5.7rem);
  line-height: 1;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  padding-right: 2.5rem;
}

.hero-window {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 96px 8vw;
  background: #0a0a0a;
  transform-origin: center;
  transform: scale(var(--hero-scale));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: calc(24px * var(--hero-border));
  overflow: hidden;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, var(--hero-border));
  isolation: isolate;
  z-index: 2;
}


.hero-window::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 62%),
    url("images/cs-2-logo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: clamp(390px, 90vw, 930px);
  opacity: 0.78;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.35)) brightness(0.9);
  pointer-events: none;
  z-index: 0;
}

.hero {
  display: grid;
  gap: 20px;
  align-items: center;
  justify-items: center;
  position: relative;
  z-index: 1;
  opacity: var(--hero-text);
  transition: opacity 0.2s ease;
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  color: var(--accent);
  margin: 0;
}

.hero__title {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(3.4rem, 8vw, 7rem);
  margin: 0;
  text-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.hero__tagline {
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  margin: 0;
  color: var(--muted);
}

.hero__glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25), transparent 70%);
  top: 12%;
  right: 10%;
  filter: blur(10px);
  z-index: -1;
  display: none;
}

/* Раздел 2 */
.section--gallery {
  background: transparent;
  min-height: 300vh;
  position: relative;
  z-index: 2;
  overflow: visible;
  padding-top: 56px;
}

.gallery__title {
  margin: 0 auto 28px;
  text-align: center;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  letter-spacing: 0.04em;
  position: sticky;
  top: 18px;
  z-index: 3;
  opacity: var(--title-reveal, 1);
  transition: opacity 0.2s ease;
}

.collage {
  position: relative;
  min-height: 70vh;
  position: sticky;
  top: 50%;
  transform: translateY(-50%);
  overflow: visible;
}

.collage__card {
  --offset: 0px;
  --tilt: 0deg;
  --x: 0px;
  --reveal: 0;
  --img: none;
  position: absolute;
  width: clamp(220px, 28vw, 360px);
  height: clamp(170px, 22vw, 260px);
  border-radius: 18px;
  background-image: var(--img);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: grid;
  place-items: center;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: var(--reveal);
  transform: translate3d(var(--x), var(--offset), 0);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.collage__quote {
  --offset: 0px;
  --x: 0px;
  --reveal: 0;
  position: absolute;
  top: 59%;
  left: 10%;
  max-width: 240px;
  padding: 14px 18px;
  border-radius: 16px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
  opacity: var(--reveal);
  transform: translate3d(var(--x), var(--offset), 0);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.collage__quote-text {
  display: block;
}

.collage__quote--right {
  left: 50%;
  top: 48%;
}

.card__label {
  position: absolute;
  bottom: -26px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.8;
}

.card--label-top .card__label {
  top: -26px;
  bottom: auto;
}

/* Стартовые позиции "разброса" */
.card--one {
  top: 4%;
  left: 50%;
  --tilt: -8deg;
  border: none;
}

.card--two {
  top: -10%;
  left: 130%;
  --tilt: 6deg;
  border: none;
  background: transparent;
  background-image: var(--img);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.card--three {
  top: 58%;
  left: 60%;
  --tilt: 10deg;
}

.card--four {
  top: 52%;
  left: 140%;
  --tilt: -12deg;
}

.card--five {
  top: -10%;
  left: 60%;
  --tilt: -4deg;
}

.card--six {
  top: 12%;
  left: 130%;
  --tilt: 7deg;
}

.card--seven {
  top: 70%;
  left: 80%;
  --tilt: -6deg;
}

/* Раздел 3 */
.section--cta {
  background: transparent;
  text-align: center;
  position: relative;
  z-index: 1;
  min-height: 120vh;
}

.cta {
  display: grid;
  gap: 16px;
  justify-items: center;
  position: sticky;
  top: 50%;
  transform: translateY(-50%);
}

.cta h2 {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0;
}

.cta p {
  margin: 0;
  color: var(--muted);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cta p.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cta__button {
  margin-top: 16px;
  padding: 14px 32px;
  border-radius: 999px;
  border: 1px solid #0a0a0a;
  background: #0a0a0a;
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(12px);
  --text-glow: rgba(255, 255, 255, 0.45);
  text-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.cta__button.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cta__button:hover {
  transform: translateY(-3px) scale(1.02);
  background: #ffffff;
  color: #0a0a0a;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  --text-glow: rgba(0, 0, 0, 0.35);
  animation: textHoverGlow 0.45s ease forwards;
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.75);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.modal.is-open .modal__backdrop {
  opacity: 1;
}

.modal__content {
  position: relative;
  z-index: 1;
  width: min(520px, 90vw);
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(10, 10, 10, 0.92);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.modal.is-open .modal__content {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal__content h3 {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  color: #ffffff;
}

.modal__list {
  margin: 0;
  padding-left: 20px;
  color: #ffffff;
  display: grid;
  gap: 8px;
}

.modal__actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.modal__button {
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(120deg, #f7f7f7, #b9b9b9);
  color: #0a0a0a;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  --text-glow: rgba(0, 0, 0, 0.35);
  text-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.modal__button--ghost {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  --text-glow: rgba(255, 255, 255, 0.45);
}

.modal__button:hover {
  animation: textHoverGlow 0.45s ease forwards;
}

.modal__button--ghost:hover {
  animation: textHoverGlow 0.45s ease forwards;
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
}

/* Раздел 4 */
.section--bracket {
  background: transparent;
}

.section--prize {
  background: transparent;
  text-align: center;
  min-height: 140vh;
}

.prize {
  display: grid;
  gap: 18px;
  justify-items: center;
  position: sticky;
  top: 50%;
  transform: translateY(-50%);
}

.prize__title {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0;
}

.prize__total {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.prize__list {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.prize__item {
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.prize__item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section--links {
  background: transparent;
  text-align: center;
  min-height: 140vh;
}

.links {
  display: grid;
  gap: 18px;
  justify-items: center;
  position: sticky;
  top: 50%;
  transform: translateY(-50%);
}

.links__title {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0;
}

.links__list {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.links__item {
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--text);
  text-decoration: none;
  opacity: 0;
  transform: translateY(16px);
  --text-glow: rgba(255, 255, 255, 0.45);
  text-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.links__item:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  animation: textHoverGlow 0.45s ease forwards;
}

.site-credit {
  text-align: center;
  margin: 24px 0 32px;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
}

.links__item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.bracket--upper {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 56px;
  align-items: start;
}

.round {
  position: relative;
  display: grid;
  gap: 28px;
  padding-top: 36px;
}

.round__title {
  position: absolute;
  top: 0;
  left: 0;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.6);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  height: 28px;
  display: inline-flex;
  align-items: center;
}

.match-group {
  position: relative;
  display: grid;
  gap: 18px;
}

.match-group--final {
  gap: 14px;
  transform: translateY(-10%);
}

.match__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-align: center;
}

.match {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.6);
  min-height: 54px;
}

.match span {
  font-size: 0.9rem;
}

.match span:nth-child(3) {
  border-top: 1px solid rgba(0, 0, 0, 0.6);
  padding-top: 8px;
}

.match span:nth-child(4) {
  padding-top: 8px;
}

.round--quarters {
  gap: 54px;
  padding-top: 36px;
}

.round--semis {
  gap: 72px;
  padding-top: 0;
}

.round--semis .semis-group--top {
  margin-top: 85px;
}

.round--semis .semis-group--bottom {
  margin-top: 65px;
}

.round--final {
  margin-top: 0;
}

.match__score {
  justify-self: end;
  font-weight: 700;
  color: var(--text);
}

.match--final {
  margin-top: 145px;
  border-color: rgba(0, 0, 0, 0.6);
}

.match--winner {
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Адаптивность */
@media (max-width: 768px), (hover: none) and (pointer: coarse) {
  html.is-loading,
  html.is-loading body {
    overflow: auto;
  }

  .page-loader {
    display: none;
  }

  .section--hero {
    min-height: auto;
  }

  .hero-stage {
    position: relative;
    top: auto;
    padding: 0;
    min-height: auto;
  }

  .hero-bands {
    display: none;
  }

  .hero-window {
    padding: 72px 6vw;
    min-height: auto;
    transform: none;
    box-shadow: none;
  }

  .hero-band__text {
    letter-spacing: 0.2em;
  }

  .transition {
    --bars-reveal: 1;
    --bars-rise: 0px;
  }

  .bar {
    --bar-progress: 1;
  }

  .section--gallery {
    display: none;
  }

  .section {
    padding: 72px 6vw;
    min-height: auto;
  }

  .transition__bars {
    grid-template-columns: repeat(3, minmax(90px, 1fr));
    justify-items: center;
    row-gap: 14px;
  }

  .transition__bars .bar:last-child {
    grid-column: 2;
  }

  .section--transition {
    min-height: auto;
    margin-top: 0;
  }

  .transition {
    position: relative;
    top: auto;
  }

  .section--gallery {
    min-height: auto;
    padding-top: 72px;
  }

  .gallery__title {
    position: static;
  }

  .collage {
    min-height: auto;
    position: static;
    transform: none;
    display: grid;
    gap: 16px;
  }

  .collage__card {
    position: relative;
    width: 100%;
    height: 220px;
    transform: none;
    opacity: 1;
    background-size: cover;
  }

  .collage__quote {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    opacity: 1;
    max-width: 100%;
  }

  .cta,
  .prize,
  .links {
    position: relative;
    top: auto;
    transform: none;
    gap: 10px;
  }

  .section--cta,
  .section--prize,
  .section--links {
    min-height: auto;
  }

  .cta p,
  .cta__button,
  .prize__item,
  .links__item {
    opacity: 1;
    transform: none;
  }

  .bracket--upper {
    grid-template-columns: 1fr;
  }

  .round--semis {
    gap: 36px;
    padding-top: 22px;
  }

  .round--semis .semis-group--top,
  .round--semis .semis-group--bottom {
    margin-top: 22px;
  }

  .round--final {
    padding-top: 12px;
  }

  .round--quarters .match-group::before,
  .round--quarters .match-group::after,
  .round--quarters .match::before,
  .round--semis .match::before,
  .round--semis .match-group::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section--hero {
    min-height: 100vh;
  }

  .hero-stage {
    position: relative;
    top: auto;
    padding: 0;
  }

  .hero-window {
    transform: none;
    transition: none;
    box-shadow: none;
  }

  .hero-band__track {
    animation: none;
  }

  .collage__card {
    transition: none;
  }

  .cta__button {
    transition: none;
  }

  .oil-lines__group {
    animation: none;
  }

  .oil-lines__liquid {
    animation: none;
  }

  .oil-lines path {
    animation: none;
  }

  .page-loader__spinner {
    animation: none;
  }

  .page-loader.is-exiting .page-loader__cs-letter {
    animation: none;
  }

  .quick-nav__link:hover,
  .cta__button:hover,
  .modal__button:hover,
  .links__item:hover {
    animation: none;
  }

  .page-loader::after {
    animation: none;
  }
}
  
