:root {
  --ink: #15191e;
  --muted: #69717a;
  --paper: #ffffff;
  --soft: #f4f5f2;
  --line: #d9ddd6;
  --track: #0d1116;
  --graphite: #20262d;
  --red: #d7262f;
  --red-dark: #a6151f;
  --amber: #f2b84b;
  --green: #2f9e6f;
  --blue: #1e6b95;
  --shadow: 0 20px 60px rgba(13, 17, 22, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(217, 221, 214, 0.74);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--red), var(--track));
  font-weight: 900;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav a:hover {
  color: var(--red);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--red);
  border-radius: 8px;
  color: white;
  background: var(--red);
  font-weight: 900;
  box-shadow: 0 13px 28px rgba(215, 38, 47, 0.24);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--red-dark);
  box-shadow: 0 16px 34px rgba(215, 38, 47, 0.28);
}

.button.is-placeholder {
  border-color: #88909a;
  background: #7b828c;
  box-shadow: none;
}

.button-small {
  min-height: 40px;
  padding-inline: 16px;
  font-size: 0.9rem;
}

.button-outline {
  color: var(--ink);
  background: transparent;
  border-color: rgba(21, 25, 30, 0.34);
  box-shadow: none;
}

.button-outline:hover {
  color: white;
  border-color: var(--red);
}

.button-light {
  color: var(--track);
  background: white;
  border-color: white;
  box-shadow: none;
}

.button-outline-light {
  color: white;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.52);
  box-shadow: none;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: calc(100vh - 72px);
  padding: clamp(42px, 8vw, 96px) clamp(18px, 5vw, 72px) 48px;
  color: white;
  overflow: hidden;
  background: var(--track);
}

.hero-picture {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-picture::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 17, 22, 0.9) 0%, rgba(13, 17, 22, 0.72) 42%, rgba(13, 17, 22, 0.18) 100%),
    linear-gradient(0deg, rgba(13, 17, 22, 0.88) 0%, rgba(13, 17, 22, 0.04) 52%);
  content: "";
}

.hero-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 120px;
  background: linear-gradient(0deg, var(--track), transparent);
  content: "";
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero .eyebrow,
.section-dark .eyebrow,
.cta-section .eyebrow {
  color: var(--amber);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.3rem, 10vw, 8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.28rem, 3vw, 2.05rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.36rem);
}

.event-pill {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  width: fit-content;
  max-width: 100%;
  margin: 28px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.event-pill span {
  padding: 12px 16px;
  background: rgba(13, 17, 22, 0.4);
  font-weight: 850;
}

.hero-actions,
.center-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.quick-actions a {
  display: flex;
  justify-content: center;
  min-height: 62px;
  padding: 20px 12px;
  background: white;
  color: var(--graphite);
  font-weight: 900;
  text-align: center;
}

.quick-actions a:hover {
  color: var(--red);
}

.quick-actions a.is-placeholder {
  color: #7b828c;
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.section-light {
  background: var(--soft);
}

.section-dark {
  color: white;
  background:
    linear-gradient(135deg, rgba(215, 38, 47, 0.18), transparent 32%),
    var(--track);
}

.section-heading {
  max-width: 840px;
  margin-bottom: 34px;
}

.quick-info-section {
  background: var(--paper);
}

.quick-info-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.info-card {
  display: grid;
  align-content: space-between;
  gap: 14px;
  min-height: 168px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 24px rgba(13, 17, 22, 0.04);
}

.info-card span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.info-card strong {
  color: var(--track);
  font-size: 1.18rem;
  line-height: 1.16;
}

.info-card-cta {
  grid-column: span 2;
  background: var(--soft);
}

.stacked-actions {
  display: grid;
  gap: 10px;
}

.stacked-actions .button {
  width: 100%;
}

.intro-grid,
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.text-panel,
.feature-list {
  color: var(--muted);
  font-size: 1.05rem;
}

.text-panel p:last-child,
.feature-list p:last-child {
  margin-bottom: 0;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.event-card {
  display: grid;
  gap: 10px;
  min-height: 158px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.event-card span {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 800;
}

.event-card strong {
  font-size: 1.35rem;
  line-height: 1.2;
}

.limited-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 18px;
  padding: clamp(22px, 4vw, 34px);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
}

.limited-block p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.card-grid,
.rule-grid,
.promo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.section-media {
  background: white;
}

.promo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.promo-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.promo-card img {
  width: 100%;
  height: auto;
}

.category-card,
.rule-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.category-card,
.rule-card {
  min-height: 210px;
  padding: 22px;
}

.category-card span,
.rule-card span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border-radius: 8px;
  color: white;
  background: var(--track);
  font-weight: 950;
}

.category-card:nth-child(2) span {
  background: var(--red);
}

.category-card:nth-child(3) span {
  background: var(--blue);
}

.category-card:nth-child(4) span {
  color: var(--track);
  background: var(--amber);
}

.category-card p,
.rule-card p,
.faq-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--graphite);
  font-weight: 800;
}

.check-list li::before {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: white;
  background: var(--green);
  content: "OK";
  font-size: 0.72rem;
  font-weight: 950;
}

.section-safety {
  background:
    linear-gradient(180deg, white 0%, var(--soft) 100%);
}

.alert-block {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid rgba(215, 38, 47, 0.22);
  border-left: 5px solid var(--red);
  border-radius: 8px;
  background: rgba(215, 38, 47, 0.07);
}

.alert-block strong {
  color: var(--red-dark);
}

.rule-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rule-card {
  min-height: 190px;
}

.rule-card span {
  background: var(--red);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 20px;
}

.faq-item h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  color: white;
  background:
    linear-gradient(135deg, rgba(215, 38, 47, 0.26), transparent 36%),
    var(--track);
}

.cta-section p {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.cta-actions {
  max-width: 280px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.site-footer strong {
  color: var(--ink);
}

.footer-links a {
  font-weight: 850;
}

.footer-links a:hover {
  color: var(--red);
}

@media (max-width: 1120px) {
  .quick-info-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .info-card-cta {
    grid-column: span 3;
  }

  .event-grid,
  .card-grid,
  .rule-grid,
  .promo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-picture::after {
    background:
      linear-gradient(180deg, rgba(13, 17, 22, 0.48) 0%, rgba(13, 17, 22, 0.94) 72%),
      linear-gradient(0deg, rgba(13, 17, 22, 0.9), transparent 50%);
  }

  .intro-grid,
  .split-section,
  .limited-block,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    max-width: none;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 66px;
    padding-inline: 16px;
  }

  .brand span:last-child {
    font-size: 0.96rem;
  }

  .button-small {
    display: none;
  }

  .hero {
    min-height: 700px;
    padding: 34px 16px 34px;
  }

  .hero-actions,
  .center-actions,
  .cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
    min-height: 50px;
  }

  .event-pill {
    display: grid;
    width: 100%;
  }

  .event-pill span {
    padding: 11px 14px;
  }

  .quick-actions,
  .quick-info-grid,
  .event-grid,
  .card-grid,
  .rule-grid,
  .promo-grid {
    grid-template-columns: 1fr;
  }

  .quick-actions a {
    min-height: 56px;
  }

  .info-card,
  .info-card-cta {
    grid-column: auto;
    min-height: 0;
  }

  .section {
    padding-inline: 16px;
  }

  .category-card,
  .rule-card {
    min-height: 0;
  }

  .alert-block {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    flex-direction: column;
  }
}
