*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
}
a {
  text-decoration: none;
  color: inherit;
}
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  margin: 0;
}
button {
  cursor: pointer;
  background: none;
  border: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
@font-face {
  font-family: "Dharma";
  src: url("/assets/fonts/dharmagothice_bold_r.otf") format("opentype");
  font-display: swap;
  font-weight: bold;
  font-style: normal;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  position: relative;
}
.main__bg {
  background: url(/assets/image/main/main-bg.webp) center center;
  opacity: 0.3;
  height: 100%;
  width: 100%;
  position: absolute;
  z-index: -1;
}
@media (max-width: 1024px) {
  .main__bg {
    background: url(/assets/image/main/main-bg.webp) center center / contain;
  }
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  border: none;
  cursor: pointer;
  font-family: inherit;
  background: none;
  color: inherit;
}
ul,
ol {
  list-style: none;
}

:root {
  /* Topmatch — офіційна палітра */
  --bg: #021E28;
  --bg-2: #022B38;
  --surface: #073848;
  --surface-2: #0B5467;
  --lime: #C7E914;
  --lime-hover: #D4F53A;
  --on-lime: #0b0b0b;
  --orange: #F04E23;
  --orange-hover: #FF6A3D;
  --text: #F0EFE7;
  --muted: #9FB6BD;
  --line: rgba(240, 239, 231, 0.12);
  --card-bg: linear-gradient(160deg, #0B5467 0%, #073848 42%, #022B38 100%);
  --radius-btn: 16px;
  --radius-card: 12px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
  /* сумісність зі змінними шаблону */
  --color-primary: #F04E23;
  --color-bg: #021E28;
  --color-black: #021E28;
  --color-white: #F0EFE7;
  --color-gray: #9FB6BD;
  --header-h: 72px;
  --header-h-mob: 56px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 1000;
  background: transparent;
  transition: background 0.35s ease;
}
.header--scrolled {
  background: rgba(2, 43, 56, 0.96);
}
.header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}

.header__logo {
  flex-shrink: 0;
}
.header__logo-link {
  display: inline-flex;
  align-items: center;
}
.header__logo-svg {
  height: 28px;
  width: auto;
  display: block;
}

.header__nav {
  display: flex;
  align-items: center;
  margin-left: 40px;
}
.header__nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-white);
  transition: color 0.25s ease;
}
.header__nav-link:hover {
  color: var(--color-primary);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.header__menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 0;
  transition: opacity 0.25s;
}
.header__menu-btn:hover {
  opacity: 0.7;
}
.header__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 24px;
  height: 24px;
}
.header__burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-white);
  border-radius: 2px;
}
.header__menu-label {
  display: inline;
}

.header__lang {
  position: relative;
}
.header__lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 4px;
  transition: opacity 0.25s;
}
.header__lang-btn:hover {
  opacity: 0.7;
}
.header__lang-arrow {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform 0.25s;
}
.header__lang--open .header__lang-arrow {
  transform: rotate(-135deg);
  margin-top: 3px;
}
.header__lang-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 4px 0;
  min-width: 64px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s,
    transform 0.2s,
    visibility 0.2s;
}
.header__lang--open .header__lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.header__lang-option {
  display: block;
  width: 100%;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-gray);
  text-align: center;
  transition: color 0.2s;
}
.header__lang-option:hover {
  color: var(--color-white);
}
.header__lang-option--active {
  color: var(--color-primary);
}

.header__auth {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-btn);
  white-space: nowrap;
  transition: box-shadow 0.2s;
  color: var(--color-black);
  background: var(--color-primary);
}
.header__btn:hover {
  box-shadow: 0 4px 16px rgba(199, 233, 20, 0.35);
}

.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-black);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s,
    visibility 0.4s;
  overflow-y: auto;
}
.menu--open {
  opacity: 1;
  visibility: visible;
}

.menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 48px;
  flex-shrink: 0;
}
.menu__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  position: relative;
}
.menu__close::before,
.menu__close::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
}
.menu__close::before {
  transform: rotate(45deg);
}
.menu__close::after {
  transform: rotate(-45deg);
}

.menu__body {
  flex: 1;
  display: flex;
  padding: 0 48px;
  padding-top: 24px;
}

.menu__info {
  width: 320px;
  flex-shrink: 0;
  padding-right: 48px;
}
.menu__info-label {
  font-size: 13px;
  color: var(--color-gray);
  margin-bottom: 16px;
}
.menu__info-link {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-white);
  padding: 5px 0;
  transition: color 0.2s;
}
.menu__info-link:hover {
  color: var(--color-primary);
}
.menu__info-block {
  margin-bottom: 32px;
}

.menu__nav {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
  align-content: start;
}
.menu__nav-item {
  border-bottom: 1px solid var(--line);
  display: flex;
}
.menu__nav-link {
  display: flex;
  align-items: end;
  gap: 0;
  padding: 18px 0;
  transition: color 0.2s;
  position: relative;
}
.menu__nav-link:hover .menu__nav-text {
  color: var(--color-primary);
}
.menu__nav-num {
  font-weight: 700;
  font-size: 45px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  font-family: "Dharma", var(--font);
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-color: var(--color-primary);
  -webkit-text-stroke-width: 1px;
  padding-right: 10px;
}
.menu__nav-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
  transition: color 0.2s;
  position: relative;
  z-index: 1;
  font-family: "Dharma", var(--font);
}

.menu__footer {
  display: none;
  padding: 20px 48px;
  gap: 8px;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .header__inner {
    padding: 0 32px;
  }
  .header__nav {
    display: none;
  }
  .menu__header {
    padding: 0 32px;
  }
  .menu__body {
    padding: 0 32px;
    flex-direction: column;
  }
  .menu__info {
    width: 100%;
    padding-right: 0;
    display: flex;
    flex-direction: row;
    gap: 48px;
    margin-bottom: 32px;
  }
  .menu__nav {
    gap: 0 40px;
  }
  .menu__nav-num {
    font-size: 44px;
  }
  .menu__nav-text {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .header {
    height: var(--header-h-mob);
  }
  .header__inner {
    padding: 0 16px;
  }
  .header__logo-svg {
    height: 22px;
  }
  .header__nav {
    display: none;
  }
  .header__menu-label {
    display: none;
  }
  .header__auth {
    display: none;
  }
  .header__lang-btn {
    font-size: 13px;
  }

  .menu__header {
    height: var(--header-h-mob);
    padding: 0 16px;
  }
  .menu__body {
    padding: 0 16px;
    flex-direction: column;
  }
  .menu__info {
    display: none;
  }
  .menu__nav {
    grid-template-columns: 1fr;
  }
  .menu__nav-link {
    padding: 14px 0;
    justify-content: start;
  }
  .menu__nav-num {
    font-size: 36px;
  }
  .menu__nav-text {
    font-size: 20px;
  }

  .menu__footer {
    display: flex;
    padding: 16px;
  }
  .menu__footer .header__btn {
    flex: 1;
    justify-content: center;
  }
}

.intro {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: var(--bg);
}

.intro__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
  pointer-events: none;
}

.intro__wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1440px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 48px;
}

.intro__title-front,
.intro__title-back {
  position: absolute;
  left: 48px;
  bottom: 28%;
  width: 45%;
  max-width: 650px;
  height: auto;
}

.intro__title-back {
  z-index: 1;
}

.intro__title-front {
  z-index: 3;
}

.intro__figure {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 90%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: right bottom;
  z-index: 2;
}

.intro__cta {
  position: absolute;
  left: 30%;
  bottom: 15%;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 48px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font);
  color: var(--color-black);
  background: var(--color-primary);
  border-radius: var(--radius-btn);
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
  white-space: nowrap;
}

.intro__cta:hover {
  box-shadow: 0 8px 32px rgba(240, 78, 35, 0.35);
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .intro {
    min-height: 70vh;
  }

  .intro__wrapper {
    padding: 0 32px;
    min-height: 70vh;
  }

  .intro__title-front,
  .intro__title-back {
    left: 32px;
    bottom: 25%;
    width: 50%;
  }

  .intro__cta {
    left: 30%;
    bottom: 12%;
  }

  .intro__figure {
    max-width: 100%;
    height: 85%;
  }
}

@media (max-width: 768px) {
  .intro {
    min-height: auto;
    overflow: visible;
  }

  .intro__wrapper {
    padding: 0;
    min-height: auto;
    height: auto;
    position: relative;
    aspect-ratio: 12 / 10;
    overflow: hidden;
  }

  .intro__wrapper picture {
    display: block;
    line-height: 0;
  }

  .intro__figure {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
  }

  .intro__title-front,
  .intro__title-back {
    left: 16px;
    bottom: 20%;
    width: 65%;
    max-width: none;
  }

  .intro__title-back {
    z-index: 1;
  }

  .intro__title-front {
    z-index: 3;
  }

  .intro__cta {
    position: relative;
    left: auto;
    right: auto;
    bottom: 25px;
    display: flex;
    width: calc(100% - 32px);
    height: 48px;
    padding: 0 32px;
    font-size: 14px;
    margin: -56px auto 16px;
    z-index: 5;
  }
}

@media (max-width: 480px) {
  .intro {
    min-height: auto;
  }

  .intro__wrapper {
    aspect-ratio: 4 / 3;
    overflow: hidden;
  }

  .intro__title-front,
  .intro__title-back {
    left: 16px;
    bottom: 35%;
    width: 70%;
  }

  .intro__figure {
    right: -40%;
    height: auto;
  }
}

.page-offset {
  padding-top: 0;
}
@media (max-width: 768px) {
  .page-offset {
    padding-top: 0;
  }
}

.information {
  position: relative;
  z-index: 5;
  padding: 0;
  margin-top: -80px;
}

.information__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px 80px;
}

.information__hero {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 48px;
  margin-bottom: 16px;
}

.information__title {
  font-family: "Dharma", var(--font);
  font-size: 72px;
  font-weight: 700;
  line-height: 0.95;
  color: var(--color-white);
  margin-bottom: 32px;
}

.information__title-accent {
  color: var(--color-primary);
}

.information__desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-gray);
  max-width: 820px;
}

.information__cta-wrap {
  text-align: center;
  margin: 32px 0;
}

.information__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 64px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font);
  color: var(--color-black);
  background: var(--color-primary);
  border-radius: var(--radius-btn);
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.information__cta:hover {
  box-shadow: 0 8px 32px rgba(240, 78, 35, 0.35);
  transform: translateY(-2px);
}

.information__block {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 40px 48px;
  margin-bottom: 16px;
  border: none;
}

.information__block-title {
  font-family: "Dharma", var(--font);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
}

.information__block-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-gray);
}

.information__block-bold {
  font-weight: 700;
  color: var(--color-white);
}

.information__read-more {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
  padding: 0;
  margin-top: 4px;
  transition: opacity 0.2s;
}

.information__read-more:hover {
  opacity: 0.7;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 3000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s,
    visibility 0.35s;
  overflow-y: auto;
  padding: 80px 0;
}

.modal--open {
  opacity: 1;
  visibility: visible;
}

.modal__inner {
  width: 100%;
  max-width: 960px;
  padding: 48px;
  position: relative;
  background: var(--card-bg);
  border-radius: var(--radius-card);
}

.modal__close {
  position: absolute;
  top: 0;
  right: 0;
  width: 32px;
  height: 32px;
}

.modal__close::before,
.modal__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--color-white);
  border-radius: 1px;
}

.modal__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.modal__title {
  font-family: "Dharma", var(--font);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: 40px;
  padding-right: 48px;
}

.modal__title-accent {
  color: var(--color-primary);
}

.modal__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
}

.modal__col p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-gray);
}

@media (max-width: 1024px) {
  .information__inner {
    padding: 0 32px 60px;
  }

  .information {
    margin-top: -30px;
  }

  .information__title {
    font-size: 56px;
  }

  .modal__inner {
    padding: 40px 32px;
  }
}

@media (max-width: 768px) {
  .information {
    margin-top: -16px;
  }

  .information__inner {
    padding: 0 8px 24px;
  }

  .information__title {
    font-size: 36px;
  }

  .information__desc {
    font-size: 13px;
  }

  .information__cta {
    width: 100%;
    height: 48px;
    padding: 0 32px;
    font-size: 14px;
  }

  .information__block-title {
    font-size: 24px;
  }

  .information__block-text {
    font-size: 13px;
  }

  .information__hero {
    padding: 24px 16px;
  }

  .information__block {
    padding: 24px 16px;
  }

  .modal {
    padding: 40px 0;
  }

  .modal__inner {
    padding: 32px 16px;
  }

  .modal__title {
    font-size: 28px;
  }

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

  .modal__col p {
    font-size: 14px;
  }
}

.features {
  padding: 0 0 80px 0;
}

.features__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}

.features__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 190px 300px 300px;
  gap: 24px;
  grid-template-areas:
    "title title imgA"
    "imgB imgC imgA"
    "imgB imgC imgD";
}

.features__image {
  height: 100%;
  width: 100%;
  display: block;
}

.features__grid-item--title {
  grid-area: title;
}
.features__grid-item--a {
  grid-area: imgA;
}
.features__grid-item--b {
  grid-area: imgB;
}
.features__grid-item--c {
  grid-area: imgC;
}
.features__grid-item--d {
  grid-area: imgD;
}

.features__card {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 48px;
  height: 100%;
  display: flex;
  align-items: flex-start;
}

.features__card-title {
  font-family: "Dharma", var(--font);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.05;
  color: var(--color-white);
  max-width: 900px;
}

.features__grid-item {
  border-radius: var(--radius-card);
  overflow: hidden;
}

.features__placeholder {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  min-height: 280px;
  height: 100%;
}

@media (max-width: 1024px) {
  .features__inner {
    padding: 0 32px;
  }

  .features__card-title {
    font-size: 40px;
  }

  .features__grid {
    grid-template-rows: 160px 240px 240px;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .features {
    padding: 0 0 12px 0;
  }

  .features__inner {
    padding: 0 8px;
  }

  .features__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 8px;
    grid-template-areas:
      "title title"
      "imgA  imgB"
      "imgC  imgD";
  }

  .features__card {
    padding: 24px 16px;
  }

  .features__card-title {
    font-size: 24px;
  }

  .features__image {
    min-height: 140px;
    object-fit: cover;
  }

  .features__placeholder {
    min-height: 140px;
  }
}

.showcase {
  padding: 80px 0 80px 0;
  background: var(--bg-2);
}

.showcase__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}

.showcase__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  grid-template-areas:
    "a  b  c"
    "d  d  e"
    "f  g  g";
  grid-template-rows: 320px 320px 320px;
}

.showcase__cell {
  border-radius: var(--radius-card);
  overflow: hidden;
}

.showcase__cell--a {
  grid-area: a;
}
.showcase__cell--b {
  grid-area: b;
}
.showcase__cell--c {
  grid-area: c;
}
.showcase__cell--d {
  grid-area: d;
}
.showcase__cell--e {
  grid-area: e;
}
.showcase__cell--f {
  grid-area: f;
}
.showcase__cell--g {
  grid-area: g;
}

.showcase__card {
  border-radius: var(--radius-card);
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.showcase__card--pink {
  background: linear-gradient(135deg, #e91e8c, #c850c0);
}

.showcase__card--yellow {
  background: var(--color-primary);
}

.showcase__card-title {
  font-family: "Dharma", var(--font);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-white);
}

.showcase__card--yellow .showcase__card-title {
  color: var(--color-black);
}

.showcase__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 1024px) {
  .showcase__inner {
    padding: 0 32px;
  }

  .showcase__grid {
    gap: 16px;
    grid-template-rows: 260px 260px 260px;
  }

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

@media (max-width: 768px) {
  .showcase {
    padding: 48px 0 48px 0;
  }

  .showcase__inner {
    padding: 0 8px;
  }

  .showcase__grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    grid-template-rows: 160px 160px 160px;
    grid-template-areas:
      "a  b"
      "c  e"
      "f  g";
  }

  .showcase__cell--d {
    display: none;
  }

  .showcase__card {
    padding: 10px 5px;
  }

  .showcase__card-title {
    font-size: 14px;
  }
}
.homepage {
  padding: 0 0 80px 0;
}

.homepage__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}

.homepage__highlight {
  padding: 40px 0;
}

.homepage__highlight-text {
  font-family: "Dharma", var(--font);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-white);
}

.homepage__highlight-accent {
  color: var(--color-primary);
  font-weight: 700;
}

.homepage__hero {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 100px 60px 48px 60px;
  margin-bottom: 24px;
}

.homepage__hero-head {
  position: relative;
  margin-bottom: 32px;
}

.homepage__hero-num {
  font-family: "Dharma", var(--font);
  font-size: 170px;
  font-weight: 700;
  line-height: 1;
  position: absolute;
  top: -110px;
  user-select: none;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-color: var(--color-primary);
  -webkit-text-stroke-width: 1px;
}

.homepage__hero-title {
  font-family: "Dharma", var(--font);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.05;
  color: var(--color-white);
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding-left: 40px;
}

.homepage__hero-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-gray);
  max-width: 940px;
  margin-bottom: 24px;
}

.homepage__hero-bold {
  font-weight: 700;
  color: var(--color-primary);
}

.homepage__row {
  display: grid;
  gap: 24px;
}

.homepage__row--phones {
  grid-template-columns: 1fr 1fr 2fr;
}

.homepage__row--three {
  grid-template-columns: 1fr 1fr 1fr;
}

.homepage__row--two {
  grid-template-columns: 1fr 1fr;
}

.homepage__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}

.homepage__split-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-gray);
}

.homepage__split-bold {
  font-weight: 700;
  color: var(--color-primary);
}

.homepage__cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.homepage__col p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-gray);
  text-align: center;
}

.homepage__col-bold {
  font-weight: 700;
  color: var(--color-primary);
}

.homepage__placeholder {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  min-height: 200px;
}

.homepage__placeholder--wide {
  min-height: 280px;
}

.homepage__placeholder--tall {
  min-height: 320px;
}

.homepage__placeholder--single {
  min-height: 350px;
  margin-bottom: 24px;
}
.homepage__placeholder--profile {
  background: url(/assets/image/homepage/profile.webp) center / cover no-repeat;
}
.homepage__placeholder--area {
  background: url(/assets/image/homepage/area.webp) center / cover no-repeat;
}
.homepage__placeholder--app {
  background: url(/assets/image/homepage/app.webp) center / cover no-repeat;
}
.homepage__placeholder--game {
  height: 300px;
  overflow: hidden;
}
.homepage__placeholder--game img {
  display: block;
  width: 100%;
  object-fit: cover;
  height: 100%;
  scale: 1.5;
}
.homepage__placeholder--footboll {
  height: 300px;
  overflow: hidden;
}
.homepage__placeholder--footboll img {
  display: block;
  width: 100%;
  object-fit: cover;
  height: 100%;
  scale: 1.5;
}
.homepage__bottom-text {
  padding: 0 0 48px 40px;
  max-width: 740px;
}
.homepage__line {
  background-color: var(--line);
  height: 1px;
  margin-bottom: 24px;
}
.homepage__bottom-text p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-gray);
}

@media (max-width: 1024px) {
  .homepage__inner {
    padding: 0 32px;
  }

  .homepage__hero {
    padding: 48px 32px;
  }

  .homepage__hero-title {
    font-size: 40px;
  }

  .homepage__hero-num {
    font-size: 90px;
  }

  .homepage__highlight-text {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .homepage {
    padding: 0 0 48px 0;
  }

  .homepage__inner {
    padding: 0 8px;
  }

  .homepage__highlight {
    padding: 30px 0;
  }

  .homepage__highlight-text {
    font-size: 24px;
  }

  .homepage__hero {
    padding: 32px 16px;
    margin-bottom: 16px;
  }

  .homepage__hero-num {
    font-size: 64px;
    top: -70px;
  }

  .homepage__hero-title {
    font-size: 28px;
    padding-left: 0;
  }

  .homepage__hero-desc {
    font-size: 13px;
    margin-bottom: 32px;
  }

  .homepage__row--phones {
    grid-template-columns: 1fr 1fr;
  }

  .homepage__row--phones .homepage__placeholder--wide {
    grid-column: span 2;
  }

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

  .homepage__cols {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .homepage__col p {
    text-align: left;
  }

  .homepage__row--three {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
  }

  .homepage__row--two {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .homepage__row {
    gap: 8px;
  }

  .homepage__placeholder {
    min-height: 140px;
  }

  .homepage__placeholder--tall {
    min-height: 200px;
  }

  .homepage__bottom-text {
    padding: 24px 16px;
  }

  .homepage__bottom-text p {
    font-size: 13px;
  }
}
.explore,
.cyber,
.casino,
.profile {
  padding: 0 0 80px 0;
  position: relative;
}

.explore__inner,
.cyber__inner,
.casino__inner,
.profile__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  z-index: 0;
}

.explore__hero,
.cyber__hero,
.casino__hero,
.profile__hero {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 100px 60px 48px 60px;
  margin-bottom: 48px;
}

.explore__hero-head,
.cyber__hero-head,
.casino__hero-head,
.profile__hero-head {
  position: relative;
  margin-bottom: 32px;
}

.explore__hero-num,
.cyber__hero-num,
.casino__hero-num,
.profile__hero-num {
  font-family: "Dharma", var(--font);
  font-size: 170px;
  font-weight: 700;
  line-height: 1;
  position: absolute;
  top: -110px;
  user-select: none;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-color: var(--color-primary);
  -webkit-text-stroke-width: 1px;
}
.explore__bg {
  position: absolute;
  z-index: -1;
  top: 15%;
  width: 100%;
  height: 2220px;
}
.explore__bg--tenis {
  top: 65%;
  height: 2800px;
}
.casino__bg {
  position: absolute;
  z-index: -1;
  top: 15%;
  width: 100%;
  height: 2320px;
}
.explore__hero-title,
.cyber__hero-title,
.casino__hero-title,
.profile__hero-title {
  font-family: "Dharma", var(--font);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.05;
  color: var(--color-white);
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding-left: 40px;
}

.explore__hero-desc,
.cyber__hero-desc,
.casino__hero-desc,
.profile__hero-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-gray);
  max-width: 940px;
  margin-bottom: 24px;
}

.explore__hero-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 24px;
}

.explore__hero-cols p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-gray);
}

.explore__sub,
.cyber__sub {
  text-align: center;
  margin-bottom: 32px;
}

.explore__sub-title,
.cyber__sub-title {
  font-family: "Dharma", var(--font);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 16px 0 12px;
}

.explore__sub-desc,
.cyber__sub-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-gray);
  max-width: 500px;
  margin: 0 auto;
}

.explore__row,
.cyber__row,
.casino__row,
.profile__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
.casino__row {
  grid-template-columns: 1fr;
}
.casino__row--two,
.profile__row--two {
  grid-template-columns: 1fr 1fr;
}

.explore__row--two {
  grid-template-columns: 1fr 1fr;
}

.explore__split,
.cyber__split,
.casino__split,
.profile__split {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}

.explore__split--reverse,
.profile__split--reverse {
  direction: rtl;
}

.explore__split--reverse > *,
.profile__split--reverse > * {
  direction: ltr;
}

.explore__split-text p,
.cyber__split-text p,
.casino__split-text p,
.profile__split-text p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-gray);
  margin-bottom: 16px;
}

.explore__split-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.profile__split-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.explore__bold,
.casino__bold,
.profile__bold {
  font-weight: 700;
  color: var(--color-primary);
}

.explore__section,
.cyber__section,
.casino__section,
.profile__section {
  margin-bottom: 48px;
}

.explore__section-title,
.cyber__section-title,
.casino__section-title,
.profile__section-title {
  font-family: "Dharma", var(--font);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: 16px;
}

.casino__section-title--accent,
.profile__section-title--accent {
  color: var(--color-primary);
}

.explore__section-desc,
.cyber__section-desc,
.casino__section-desc,
.profile__section-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-gray);
  max-width: 640px;
  margin-bottom: 24px;
}

.explore__section-sub {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-gray);
  max-width: 640px;
  margin: 24px auto;
  text-align: center;
}

.explore__placeholder,
.cyber__placeholder,
.casino__placeholder,
.profile__placeholder {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  height: 100%;
}
.explore__placeholder--gameplay {
  max-height: 100%;
  margin: 0 auto;
}

.explore__placeholder--tall,
.cyber__placeholder--tall,
.profile__placeholder--tall {
  min-height: 320px;
}

.explore__placeholder--wide,
.cyber__placeholder--wide,
.casino__placeholder--wide,
.profile__placeholder--wide {
  min-height: 500px;
  max-height: 100%;
  margin: 0 auto;
  margin-bottom: 24px;
}

@media (max-width: 1024px) {
  .explore__inner,
  .cyber__inner,
  .casino__inner,
  .profile__inner {
    padding: 0 32px;
  }

  .explore__hero,
  .cyber__hero,
  .casino__hero,
  .profile__hero {
    padding: 48px 32px;
  }

  .explore__hero-title,
  .cyber__hero-title,
  .casino__hero-title,
  .profile__hero-title {
    font-size: 40px;
  }

  .explore__hero-num,
  .cyber__hero-num,
  .casino__hero-num,
  .profile__hero-num {
    font-size: 90px;
  }
}

@media (max-width: 768px) {
  .explore,
  .cyber,
  .casino,
  .profile {
    padding: 0 0 48px 0;
  }

  .explore__inner,
  .cyber__inner,
  .casino__inner,
  .profile__inner {
    padding: 0 8px;
  }

  .explore__hero,
  .cyber__hero,
  .casino__hero,
  .profile__hero {
    padding: 32px 16px;
    margin-bottom: 24px;
  }

  .explore__hero-num,
  .cyber__hero-num,
  .casino__hero-num,
  .profile__hero-num {
    font-size: 64px;
    top: -70px;
  }

  .explore__hero-title,
  .cyber__hero-title,
  .casino__hero-title,
  .profile__hero-title {
    font-size: 28px;
    padding-left: 0;
  }

  .explore__hero-desc,
  .cyber__hero-desc,
  .casino__hero-desc,
  .profile__hero-desc {
    font-size: 13px;
  }

  .explore__hero-cols {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .explore__row,
  .cyber__row,
  .casino__row,
  .profile__row {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
  }
  .explore__split-images {
    grid-template-columns: 1fr;
  }
  .explore__split,
  .cyber__split,
  .casino__split,
  .profile__split {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
  }

  .explore__split--reverse,
  .profile__split--reverse {
    direction: ltr;
  }

  .explore__section-title,
  .cyber__section-title,
  .casino__section-title,
  .profile__section-title {
    font-size: 28px;
  }

  .explore__placeholder,
  .cyber__placeholder,
  .casino__placeholder,
  .profile__placeholder {
    min-height: 140px;
  }

  .explore__placeholder--tall,
  .cyber__placeholder--tall,
  .profile__placeholder--tall {
    min-height: 200px;
  }
}
.promo {
  padding: 0 0 80px 0;
}

.promo__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}

.promo__hero {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 100px 60px 48px 60px;
  margin-bottom: 48px;
}

.promo__hero-head {
  position: relative;
  margin-bottom: 32px;
}

.promo__hero-num {
  font-family: "Dharma", var(--font);
  font-size: 170px;
  font-weight: 700;
  line-height: 1;
  position: absolute;
  top: -110px;
  user-select: none;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-color: var(--color-primary);
  -webkit-text-stroke-width: 1px;
}

.promo__hero-title {
  font-family: "Dharma", var(--font);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.05;
  color: var(--color-white);
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding-left: 40px;
}

.promo__hero-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-gray);
  max-width: 640px;
  margin-bottom: 24px;
}

.promo__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.promo__row--two {
  grid-template-columns: 1fr 1fr;
}

.promo__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}

.promo__split-text p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-gray);
}

.promo__placeholder {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  min-height: 200px;
  height: 100%;
}

.promo__placeholder--tall {
  min-height: 320px;
}

.promo__placeholder--wide {
  min-height: 200px;
}

.search {
  padding: 0;
}

.search__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}

.search__block {
  margin-bottom: 48px;
}

.search__block-head {
  position: relative;
  margin-bottom: 32px;
}

.search__block-num {
  font-family: "Dharma", var(--font);
  font-size: 170px;
  font-weight: 700;
  line-height: 1;
  position: absolute;
  top: -110px;
  user-select: none;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-color: var(--color-primary);
  -webkit-text-stroke-width: 1px;
}

.search__block-title {
  font-family: "Dharma", var(--font);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.05;
  color: var(--color-white);
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding-left: 40px;
}

.search__block-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-gray);
  max-width: 640px;
  margin-bottom: 16px;
}

.search__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.search__row--four {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.search__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}

.search__split-text p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-gray);
  margin-bottom: 16px;
}

.search__bold {
  font-weight: 700;
  color: var(--color-primary);
}

.search__sub {
  margin-bottom: 32px;
}

.search__sub-title {
  font-family: "Dharma", var(--font);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.search__sub-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-gray);
  max-width: 500px;
  margin-bottom: 12px;
}

.search__bold-accent {
  font-weight: 700;
  color: var(--color-primary);
}

.search__placeholder {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  min-height: 200px;
  height: 100%;
}

.search__placeholder--tall {
  min-height: 320px;
}

.footer {
  background: var(--card-bg);
  color: var(--color-white);
  padding: 48px 0 32px;
}

.footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}

.footer__top {
  display: flex;
  align-items: start;
  flex-direction: column;
  gap: 48px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.footer__logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.footer__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}

.footer__nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-white);
  transition: opacity 0.2s;
}

.footer__nav-link:hover {
  opacity: 0.6;
}

.footer__bottom {
  text-align: center;
}

.footer__text {
  font-size: 12px;
  line-height: 1.6;
  color: var(--color-white);
  max-width: 800px;
  margin: 0 auto 16px;
}

.footer__copy {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-white);
}

@media (max-width: 1024px) {
  .promo__inner,
  .search__inner {
    padding: 0 32px;
  }

  .promo__hero {
    padding: 48px 32px;
  }

  .promo__hero-title,
  .search__block-title {
    font-size: 40px;
  }

  .promo__hero-num,
  .search__block-num {
    font-size: 90px;
    top: -60px;
  }

  .footer__inner {
    padding: 0 32px;
  }
}

@media (max-width: 768px) {
  .promo,
  .search {
    padding: 0;
  }

  .promo__inner,
  .search__inner {
    padding: 0 8px;
  }

  .promo__hero {
    padding: 32px 16px;
    margin-bottom: 24px;
  }

  .promo__hero-num,
  .search__block-num {
    font-size: 64px;
    top: -40px;
  }

  .promo__hero-title,
  .search__block-title {
    font-size: 28px;
    padding-left: 0;
  }

  .promo__hero-desc,
  .search__block-desc {
    font-size: 13px;
  }

  .promo__row {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 24px;
  }

  .promo__split {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
  }

  .search__row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 24px;
  }

  .search__row--four {
    grid-template-columns: 1fr 1fr;
  }

  .search__split {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
  }

  .promo__placeholder,
  .search__placeholder {
    min-height: 140px;
  }

  .promo__placeholder--tall,
  .search__placeholder--tall {
    min-height: 200px;
  }

  .footer {
    padding: 32px 0 24px;
  }

  .footer__inner {
    padding: 0 16px;
  }

  .footer__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .footer__nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer__text {
    font-size: 11px;
    text-align: left;
  }

  .footer__copy {
    text-align: left;
  }
}

/* ===== .content block ===== */
.content {
  padding: 0;
}
.content__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}
.content__wrapper {
  max-width: 800px;
  margin: 0 auto;
}
.content h1 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 24px;
}
.content h2 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: var(--color-white);
  margin: 40px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary);
}
.content h3 {
  font-size: clamp(17px, 2.5vw, 22px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin: 28px 0 10px;
}
.content p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 14px;
}
.content strong {
  color: var(--color-primary);
  font-weight: 600;
}
.content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.content ul,
.content ol {
  margin: 10px 0 18px;
  padding: 0;
  list-style: none;
}
.content ul li,
.content ol li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}
.content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
}
.content ol {
  counter-reset: ol;
}
.content ol li {
  counter-increment: ol;
}
.content ol li::before {
  content: counter(ol) ".";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}
.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  border-radius: 10px;
  overflow: hidden;
  font-size: 14px;
  border: 1px solid var(--line);
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.content thead,
.content tbody {
  display: table;
  width: 100%;
  min-width: 420px;
}
.content thead th {
  background: rgba(240, 78, 35, 0.1);
  color: var(--color-primary);
  font-weight: 700;
  text-align: left;
  padding: 12px 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border-bottom: 2px solid rgba(240, 78, 35, 0.18);
}
.content tbody td {
  padding: 11px 16px;
  color: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.content tbody tr:last-child td {
  border-bottom: none;
}
.content tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}
.content tbody tr:hover {
  background: rgba(240, 78, 35, 0.04);
}
@media (max-width: 1024px) {
  .content__inner {
    padding: 0 24px;
  }
}
@media (max-width: 768px) {
  .content {
    padding: 0;
  }
  .content__inner {
    padding: 0 16px;
  }
  .content thead th,
  .content tbody td {
    padding: 9px 12px;
  }
}

/* ===== Scroll progress bar ===== */
.progress-bar {
  position: fixed;
  top: var(--header-h);
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--lime), #fff, var(--orange));
  background-size: 200% 100%;
  animation: progressShimmer 2s linear infinite;
  z-index: 9999;
  transform: translateY(-100%);
  pointer-events: none;
  overflow: visible;
}
/* hot core glow */
.progress-bar::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 4px 1px #fff,
    0 0 10px 3px rgba(240, 78, 35, 0.8);
}
/* spark layer 1 */
.progress-bar::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 1px;
  height: 1px;
  border-radius: 50%;
  animation: sparksA 0.55s linear infinite;
}
.progress-spark {
  position: absolute;
  right: 0;
  top: 0;
  width: 1px;
  height: 1px;
  border-radius: 50%;
  pointer-events: none;
}
.progress-spark--0 {
  animation: sparksB 0.7s linear infinite;
}
.progress-spark--1 {
  animation: sparksC 0.5s linear infinite 0.15s;
}
.progress-spark--2 {
  animation: sparksD 0.65s linear infinite 0.3s;
}

@keyframes progressShimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
@keyframes sparksA {
  0% {
    box-shadow:
      0 0 0 0.5px #f4ffc2,
      0 0 0 0.5px var(--color-primary),
      0 0 0 0.5px #fff,
      0 0 0 0.5px var(--color-primary),
      0 0 0 0.5px #f4ffc2,
      0 0 0 0.5px #fff;
  }
  100% {
    box-shadow:
      -7px -16px 0 -0.5px transparent,
      -3px 14px 0 -0.5px transparent,
      -11px -5px 0 -0.5px transparent,
      -5px 11px 0 -0.5px transparent,
      -15px -2px 0 -0.5px transparent,
      -9px 8px 0 -0.5px transparent;
  }
}
@keyframes sparksB {
  0% {
    box-shadow:
      0 0 0 0.5px #fff,
      0 0 0 0.5px #f4ffc2,
      0 0 0 0.5px var(--color-primary),
      0 0 0 0.5px #fff,
      0 0 0 0.5px #f4ffc2;
  }
  100% {
    box-shadow:
      -5px -19px 0 -0.5px transparent,
      -17px 4px 0 -0.5px transparent,
      -2px 17px 0 -0.5px transparent,
      -13px -9px 0 -0.5px transparent,
      -20px 1px 0 -0.5px transparent;
  }
}
@keyframes sparksC {
  0% {
    box-shadow:
      0 0 0 0.5px var(--color-primary),
      0 0 0 0.5px #fff,
      0 0 0 0.5px #f4ffc2,
      0 0 0 0.5px var(--color-primary),
      0 0 0 0.5px #fff,
      0 0 0 0.5px #f4ffc2,
      0 0 0 0.5px var(--color-primary);
  }
  100% {
    box-shadow:
      -10px -12px 0 -0.5px transparent,
      -6px 15px 0 -0.5px transparent,
      -14px -7px 0 -0.5px transparent,
      -8px 10px 0 -0.5px transparent,
      -18px -3px 0 -0.5px transparent,
      -4px 18px 0 -0.5px transparent,
      -12px 6px 0 -0.5px transparent;
  }
}
@keyframes sparksD {
  0% {
    box-shadow:
      0 0 0 0.5px #f4ffc2,
      0 0 0 0.5px #fff,
      0 0 0 0.5px var(--color-primary),
      0 0 0 0.5px #f4ffc2,
      0 0 0 0.5px #fff;
  }
  100% {
    box-shadow:
      -9px -15px 0 -0.5px transparent,
      -16px 6px 0 -0.5px transparent,
      -3px 13px 0 -0.5px transparent,
      -13px -11px 0 -0.5px transparent,
      -19px -4px 0 -0.5px transparent;
  }
}
@media (max-width: 768px) {
  .progress-bar {
    top: var(--header-h-mob);
  }
}

/* ===== Hide scrollbar + smooth scroll ===== */
html {
  scrollbar-width: none;
  scroll-behavior: smooth;
}
html::-webkit-scrollbar {
  display: none;
}
html,
body {
  overflow-x: hidden; 
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  position: relative;
  width: 100%; 
}
/* ===== Scroll to top ===== */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-black);
  box-shadow: 0 4px 20px rgba(240, 78, 35, 0.3);
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
  transition:
    opacity 0.4s,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.scroll-top--visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.scroll-top:hover {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 6px 28px rgba(240, 78, 35, 0.5);
}
.scroll-top:active {
  transform: translateY(0) scale(0.95);
}
.scroll-top svg {
  transition: transform 0.3s;
}
.scroll-top:hover svg {
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .scroll-top {
    bottom: 24px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

/* =====================================================================
   TopMatch — доповнення до стилів шаблону (айдентика, нові блоки, адаптив)
   ===================================================================== */
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.5; }
img { max-width: 100%; height: auto; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

/* ---------- Header ---------- */
.header--scrolled, .page-inner .header { background: rgba(2, 43, 56, 0.96); box-shadow: 0 1px 0 var(--line); }
.header__logo-svg { height: 40px; width: auto; }
.header__nav { gap: 28px; }
.header__nav-link { font-size: 15px; font-weight: 600; color: var(--text); position: relative; padding: 6px 0; }
.header__nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px;
  background: var(--color-primary); transform: scaleX(0); transition: transform .25s ease;
}
.header__nav-link:hover, .header__nav-link--active { color: var(--text); }
.header__nav-link:hover::after, .header__nav-link--active::after { transform: scaleX(1); }
.header__btn { border-radius: var(--radius-btn); background: var(--lime); color: var(--on-lime); }
.header__btn:hover { background: var(--lime-hover); box-shadow: 0 6px 20px rgba(199, 233, 20, .28); }
.header__btn--ghost { background: transparent; color: var(--text); border: 1.5px solid var(--color-primary); }
.header__btn--ghost:hover { background: var(--color-primary); color: #fff; box-shadow: 0 6px 20px rgba(240, 78, 35, .3); }
.header__burger span { background: var(--text); }
@media (max-width: 1200px) { .header__nav { display: none; } }
@media (max-width: 768px) { .header__logo-svg { height: 34px; } }

/* ---------- Burger menu ---------- */
.menu { background: var(--bg-2); }
.menu__info-link { color: var(--text); }
.menu__info-link:hover, .menu__nav-link:hover .menu__nav-text { color: var(--color-primary); }
.menu__nav-item { border-bottom-color: var(--line); }
.menu__nav-item--info .menu__nav-text { font-family: var(--font); font-size: 16px; font-weight: 600; color: var(--muted); }
.menu__close::before, .menu__close::after { background: var(--color-primary); }
@media (max-width: 768px) {
  .menu__info { display: block; margin-bottom: 8px; }
  .menu__info-block { margin-bottom: 16px; }
}

/* ---------- Intro (головна) ---------- */
.intro { background: var(--bg); }
.intro__title {
  position: absolute; left: 48px; bottom: 26%; width: 46%; max-width: 660px; height: auto; overflow: visible;
}
.intro__title--back { z-index: 1; }
.intro__title--front { z-index: 3; pointer-events: none; }
.intro__title text { font-family: "Dharma", var(--font); font-weight: 700; }
.intro__visual {
  position: absolute; right: 4%; top: 50%; transform: translateY(-46%); z-index: 2;
  height: 86%; max-height: 780px; width: auto; aspect-ratio: 620 / 760; overflow: visible;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .45));
}
.intro__cta, .information__cta { border-radius: var(--radius-btn); background: var(--lime); color: var(--on-lime); }
.intro__cta:hover, .information__cta:hover { background: var(--lime-hover); box-shadow: 0 8px 32px rgba(199, 233, 20, .3); }
@media (max-width: 1024px) {
  .intro__title { left: 32px; bottom: 26%; width: 52%; }
  .intro__visual { right: 2%; height: 80%; }
  }
@media (max-width: 768px) {
  .intro__wrapper { aspect-ratio: auto; min-height: 0; height: auto; display: flex; justify-content: center; padding: 76px 16px calc(28vw + 20px); }
  .intro__visual { position: relative; right: auto; top: auto; transform: none; height: auto; width: 74%; max-width: 380px; }
  .intro__title { left: 16px; bottom: 16px; width: calc(100% - 32px); max-width: none; }
  .intro__cta { bottom: auto; margin: 4px auto 20px; }
}

/* ---------- Information ---------- */
.information__blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.information__blocks .information__block { margin-bottom: 0; }
@media (max-width: 768px) { .information__blocks { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Номери секцій (без фірмового шрифту чужого бренду) ---------- */
.homepage__hero-num, .explore__hero-num, .cyber__hero-num, .profile__hero-num, .search__block-num, .page-hero__num, .menu__nav-num {
  font-family: "Dharma", var(--font);
  -webkit-text-stroke-color: var(--color-primary);
}

/* ---------- Картинки блоків ---------- */
.explore__placeholder, .cyber__placeholder, .profile__placeholder, .search__placeholder, .homepage__placeholder {
  background-color: var(--surface); border-color: var(--line); border-radius: var(--radius-card); object-fit: cover; width: 100%;
}
.explore { overflow: hidden; }
.explore__bg { mix-blend-mode: screen; opacity: .8; object-fit: cover; top: 0; height: 100%; }
.homepage__placeholder--tall { background: var(--surface) url(/assets/image/homepage/area.webp) center / cover no-repeat; }
.homepage__row--three .homepage__placeholder { min-height: 220px; }
.homepage__placeholder--footboll { background: url(/assets/image/homepage/footboll.webp) center / cover no-repeat; height: auto; }
.search__row--four .search__placeholder { aspect-ratio: 1 / 1; min-height: 0; }
.explore__row--two .explore__placeholder { aspect-ratio: 1 / 1; }
.profile__row .profile__placeholder { aspect-ratio: 3 / 2; }
.cyber__row .cyber__placeholder { aspect-ratio: 1 / 1; }
.explore__split-images .explore__placeholder { aspect-ratio: 16 / 10; min-height: 0; }
.profile__split-images .profile__placeholder { aspect-ratio: 4 / 5; }
.search__row--four { margin-bottom: 32px; }

/* ---------- Внутрішні сторінки ---------- */
.page-offset--inner { padding-top: calc(var(--header-h) + 16px); }
.page-top { max-width: 1440px; margin: 0 auto; padding: 0 48px; }
.breadcrumbs { margin: 8px 0 20px; }
.breadcrumbs__list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font-size: 13px; color: var(--muted); }
.breadcrumbs__item + .breadcrumbs__item::before { content: "/"; margin-right: 6px; color: var(--color-primary); }
.breadcrumbs__link { color: var(--text); text-decoration: none; }
.breadcrumbs__link:hover { color: var(--color-primary); }

.page-hero { padding: 0 0 40px; }
.page-hero__inner { max-width: 1440px; margin: 0 auto; padding: 0 48px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: stretch; }
.page-hero__card {
  background: var(--card-bg); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 96px 48px 40px; display: flex; flex-direction: column; align-items: flex-start;
}
.page-hero__head { position: relative; margin-bottom: 20px; }
.page-hero__num {
  font-size: 150px; font-weight: 700; line-height: 1; position: absolute; top: -96px; left: 0; user-select: none;
  -webkit-text-fill-color: transparent; -webkit-text-stroke-width: 1px;
}
.page-hero__title {
  font-size: 40px; font-weight: 800; line-height: 1.08;
  color: var(--text); position: relative; z-index: 1; padding-left: 40px; margin: 0;
}
.page-hero__desc { font-size: 15px; line-height: 1.7; color: var(--muted); max-width: 560px; margin: 0 0 28px; }
.page-hero__cta {
  display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 40px; margin-top: auto;
  font-size: 15px; font-weight: 800; border-radius: var(--radius-btn); background: var(--lime); color: var(--on-lime);
  transition: background .2s, transform .2s;
}
.page-hero__cta:hover { background: var(--lime-hover); transform: translateY(-2px); }
.page-hero__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.page-hero__img {
  width: 100%; height: 100%; min-height: 260px; object-fit: cover; border-radius: var(--radius-card);
  border: 1px solid var(--line); background: var(--surface);
}

/* ---------- Контент ---------- */
.content { padding: 8px 0 56px; }
.content__wrapper { max-width: 860px; }
.content h1 {
  font-weight: 800; letter-spacing: -.01em;
  font-size: clamp(28px, 4vw, 44px); line-height: 1.12; color: var(--text); margin-bottom: 24px;
}
.content h2 { color: var(--text); border-bottom-color: var(--color-primary); }
.content h3 { color: var(--text); }
.content p, .content ul li, .content ol li { color: rgba(240, 239, 231, .82); }
.content strong { color: var(--text); font-weight: 700; }
.content em { color: var(--muted); }
.content a { color: var(--color-primary); text-decoration-thickness: 1px; }
.content a:hover { color: var(--orange-hover); }
.content ul li::before { background: var(--color-primary); }
.content ol li::before { color: var(--color-primary); }
.post-figure { margin: 24px 0 28px; }
.post-figure img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: var(--radius-card); border: 1px solid var(--line); background: var(--surface);
}
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 20px 0 28px; border-radius: var(--radius-card); border: 1px solid var(--line); }
.table-wrap table { display: table; margin: 0; border: 0; min-width: 480px; }
.content thead th { background: rgba(240, 78, 35, .12); color: var(--text); border-bottom-color: rgba(240, 78, 35, .35); }
.content tbody tr:hover { background: rgba(240, 239, 231, .04); }
.content__wrapper > p:first-of-type { font-size: 16px; }
.page-home .content__wrapper { padding-top: 8px; }

/* ---------- CTA-банер ---------- */
.cta-banner { padding: 0 0 72px; }
.cta-banner__inner {
  position: relative; max-width: 1344px; margin: 0 auto; padding: 40px 48px; border-radius: var(--radius-card);
  background: linear-gradient(120deg, #0B5467 0%, #073848 55%, #022B38 100%); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 32px; overflow: hidden;
}
.cta-banner__inner::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 78, 35, .35), transparent 70%); pointer-events: none;
}
.cta-banner__title { font-size: 32px; font-weight: 800; line-height: 1.1; color: var(--text); margin: 0 0 10px; }
.cta-banner__desc { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0; max-width: 620px; }
.cta-banner__actions { display: flex; gap: 12px; flex-shrink: 0; position: relative; z-index: 1; }
.cta-banner__btn {
  display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 32px; font-weight: 800; font-size: 15px;
  border-radius: var(--radius-btn); background: var(--lime); color: var(--on-lime); transition: background .2s, transform .2s;
}
.cta-banner__btn:hover { background: var(--lime-hover); transform: translateY(-2px); }
.cta-banner__btn--ghost { background: transparent; color: var(--text); border: 1.5px solid var(--color-primary); }
.cta-banner__btn--ghost:hover { background: var(--color-primary); color: #fff; }
.cta-banner__age {
  position: absolute; left: 48px; top: -1px; background: var(--color-primary); color: #fff; font-size: 12px; font-weight: 800;
  padding: 3px 10px; border-radius: 0 0 8px 8px;
}

/* ---------- Footer ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); }
.footer__top { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 32px; border-bottom-color: var(--line); }
.footer__logo-img { height: 44px; }
.footer__cols { display: flex; gap: 64px; }
.footer__nav { flex-direction: column; align-items: flex-start; gap: 12px; }
.footer__nav-link { color: var(--text); }
.footer__nav-link:hover { opacity: 1; color: var(--color-primary); }
.footer__bottom { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; align-items: start; text-align: left; }
.footer__age {
  grid-row: span 2; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px;
  border: 2px solid var(--color-primary); border-radius: 50%; color: var(--color-primary); font-weight: 800; font-size: 15px;
}
.footer__text { color: var(--muted); margin: 0; max-width: 900px; }
.footer__text a { color: var(--text); text-decoration: underline; }
.footer__copy { color: var(--text); }

/* ---------- Мобільна CTA-панель ---------- */
.mobile-cta { display: none; }
@media (max-width: 768px) {
  .mobile-cta {
    display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(2, 43, 56, .97); border-top: 1px solid var(--line);
  }
  .mobile-cta__btn {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; height: 46px; border-radius: var(--radius-btn);
    font-weight: 800; font-size: 14px; background: var(--lime); color: var(--on-lime);
  }
  .mobile-cta__btn--ghost { background: transparent; color: var(--text); border: 1.5px solid var(--color-primary); }
  body { padding-bottom: 68px; }
  .scroll-top { bottom: 84px; }
}

/* ---------- Scroll-top & progress ---------- */
.scroll-top { background: var(--lime); color: var(--on-lime); box-shadow: 0 4px 20px rgba(199, 233, 20, .3); }
.scroll-top:hover { box-shadow: 0 6px 28px rgba(199, 233, 20, .45); }

/* ---------- Адаптив нових блоків ---------- */
@media (max-width: 1024px) {
  .page-top, .page-hero__inner { padding: 0 32px; }
  .page-hero__inner { grid-template-columns: 1fr; }
  .page-hero__card { padding: 72px 32px 32px; }
  .page-hero__num { font-size: 90px; top: -60px; }
  .page-hero__title { font-size: 34px; }
  .cta-banner { padding: 0 32px 56px; }
  .cta-banner__inner { flex-direction: column; align-items: flex-start; padding: 40px 32px 32px; }
  .footer__top { flex-direction: column; }
}
@media (max-width: 768px) {
  .page-offset--inner { padding-top: calc(var(--header-h-mob) + 8px); }
  .page-top, .page-hero__inner { padding: 0 16px; }
  .page-hero { padding-bottom: 24px; }
  .page-hero__card { padding: 56px 16px 24px; }
  .page-hero__num { font-size: 64px; top: -44px; }
  .page-hero__title { font-size: 28px; padding-left: 0; }
  .page-hero__desc { font-size: 14px; }
  .page-hero__cta { width: 100%; }
  .page-hero__row { gap: 8px; }
  .page-hero__img { min-height: 140px; aspect-ratio: 1 / 1; }
  .content { padding-bottom: 40px; }
  .content__wrapper > p:first-of-type { font-size: 15px; }
  .cta-banner { padding: 0 16px 40px; }
  .cta-banner__inner { padding: 36px 16px 20px; gap: 20px; }
  .cta-banner__title { font-size: 26px; }
  .cta-banner__actions { width: 100%; }
  .cta-banner__btn { flex: 1; padding: 0 16px; }
  .cta-banner__age { left: 16px; }
  .footer__cols { flex-direction: column; gap: 24px; }
  .footer__bottom { grid-template-columns: 1fr; }
  .footer__age { grid-row: auto; width: 44px; height: 44px; }
  .explore__split--reverse .explore__split-text { order: 2; }
}
@media (max-width: 380px) {
  .header__btn { padding: 0 14px; }
}

/* ---------- 404 ---------- */
.page-hero__inner--single { grid-template-columns: 1fr; max-width: 980px; }
.page-hero__inner--single .page-hero__title { font-size: clamp(36px, 6vw, 64px); }
.notfound__links { display: flex; flex-wrap: wrap; gap: 10px; }
.notfound__links .header__btn { display: inline-flex; }

/* Заголовки: змішаний кирилиця/латиниця — один шрифт (Dharma без кирилиці лишається для цифр і напису TOPMATCH) */
.information__title, .information__block-title, .modal__title, .homepage__highlight-text, .homepage__hero-title,
.explore__hero-title, .cyber__hero-title, .profile__hero-title, .search__block-title, .explore__sub-title,
.explore__section-title, .cyber__section-title, .profile__section-title, .search__sub-title, .menu__nav-text {
  font-family: var(--font); font-weight: 800; letter-spacing: -.01em;
}
.information__title { line-height: 1.08; }
