button,
input,
select,
textarea {
  font-family: inherit;
}

@font-face {
  font-family: 'Helvetica Neue LT W1G';
  src: url('assets/fonts/font.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

:root {
  /* Colors — from Figma Style Guide */
  --color-black: #000000;
  --color-white: #ffffff;
  --color-gray: #707070;
  --color-gray-light: #888888;
  --color-gray-dark: #383838;
  --color-blue: #307fe2;
  --color-blue-light: #539fff;
  --color-accent-red: #f93822;
  --color-overlay: rgba(0, 0, 0, 0.6);

  --text-primary: var(--color-black);
  --text-inverse: var(--color-white);
  --link-default: var(--color-blue);

  --font-display: 'Helvetica Neue LT W1G', 'Oswald', sans-serif;

  --page-width: 1440px;
  --gutter: 40px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  min-width: var(--page-width);
}

body {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text-primary);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

img {
  display: block;
  max-width: none;
}

.page {
  width: var(--page-width);
  margin: 0 auto;
  position: relative;
  min-height: 900px;
}

/* ---------- Typography scale ---------- */
.h1-display {
  font-size: 64px;
  line-height: 70px;
  font-weight: 500;
}

.h2-accent {
  font-size: 36px;
  line-height: 47px;
  font-weight: 500;
}

.h3-section {
  font-size: 32px;
  line-height: 42px;
  font-weight: 500;
}

.h4 {
  font-size: 24px;
  line-height: 27px;
  font-weight: 500;
}

.body-default {
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
}

.link-secondary {
  font-size: 24px;
  line-height: 36px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.link-default {
  font-size: 20px;
  line-height: 36px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--link-default);
}

.link-primary {
  font-size: 18px;
  line-height: 26px;
  font-weight: 500;
  text-transform: uppercase;
}

/* ---------- Header ---------- */
.site-header {
  height: 163px;
  padding-top: 40px;
  display: flex;
  justify-content: center;
}

.site-header__inner {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
}

.site-header__logo {
  height: 115px;
  width: auto;
}

.site-header__logo img {
  height: 100%;
  width: auto;
}

.site-header__nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 115px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  pointer-events: none;
}

.site-header__nav a {
  pointer-events: auto;
  padding: 8px 0;
}

.nav-link {
  font-size: 18px;
  line-height: 26px;
  font-weight: 500;
  text-transform: uppercase;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.nav-link.is-blurred {
  filter: blur(2.5px);
  opacity: 0.7;
}

.nav-link.is-blurred:hover {
  filter: blur(0);
  opacity: 1;
}

/* ---------- Footer ---------- */
.site-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  padding: 0 var(--gutter);
}

.site-footer__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-footer .link-primary,
.site-footer span {
  font-size: 18px;
  line-height: 26px;
  text-transform: uppercase;
}

/* ---------- Hero banner (Home / Disclaimer) ---------- */
.hero-banner {
  position: relative;
  margin: 64px var(--gutter) 0;
  width: calc(100% - 2 * var(--gutter));
  min-height: 519px;
  border-radius: 16px;
  overflow: hidden;
  background: #333;
}

.hero-banner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-banner__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0) 75%);
}

.hero-banner__content {
  position: absolute;
  left: 115px;
  top: 120px;
  bottom: 90px;
  width: 620px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 32px;
}

.hero-banner__content .h1-display {
  color: var(--text-inverse);
}

.hero-banner__content .link-secondary {
  color: var(--text-inverse);
  align-self: flex-start;
}

/* ---------- Section heading ---------- */
.section-heading {
  margin: 64px 0 0 var(--gutter);
  max-width: 600px;
}

/* ---------- Cashback page ---------- */
.cashback-body {
  position: absolute;
  left: calc(33.33% + 54px);
  top: 298px;
  width: 581px;
  font-size: 18px;
  line-height: 24px;
}

.cashback-body p {
  margin-bottom: 16px;
}

.cashback-body ul {
  list-style: disc;
  margin: 0 0 16px 27px;
}

.cashback-body ul li {
  margin-bottom: 4px;
  line-height: 24px;
}

.cashback-body .defenders {
  margin-top: 24px;
}

/* ---------- Contact page ---------- */
.contact-card {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 419px;
  width: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.contact-card__name {
  font-size: 36px;
  line-height: 47px;
  font-weight: 500;
}

.contact-card__phone {
  font-size: 18px;
  line-height: 24px;
}

.contact-card__telegram {
  font-size: 20px;
  line-height: 36px;
  font-weight: 500;
  color: var(--link-default);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Age gate modal ---------- */
.age-gate {
  font-family: inherit;
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-overlay);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  transition: opacity 0.4s ease;
}

.age-gate[hidden] {
  display: none;
}

.age-gate.is-leaving {
  opacity: 0;
  pointer-events: none;
}

.age-gate__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 451px;
  padding: 0 24px;
}

.age-gate__badge {
  font-size: 64px;
  line-height: 36px;
  color: var(--color-accent-red);
  margin-bottom: 40px;
}

.age-gate__text {
  font-size: 20px;
  line-height: 27px;
  color: var(--text-inverse);
  margin-bottom: 40px;
}

.age-gate__actions {
  display: flex;
  gap: 27px;
}

.age-gate__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  height: auto;
  min-width: 203px;
  padding: 8px 24px;
  white-space: nowrap;
  border-radius: 8px;
  font-size: 18px;
  line-height: 26px;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.age-gate__btn--no {
  background: var(--color-gray);
  color: var(--text-primary);
}

.age-gate__btn--yes {
  background: var(--color-white);
  color: var(--text-primary);
}

.nav-link,
.link-secondary,
.age-gate__btn {
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover,
.link-secondary:hover {
  opacity: 0.7;
}

.age-gate__btn:hover {
  transform: translateY(-2px);
}
