:root {
  --bg: #040710;
  --panel: rgba(11, 17, 35, 0.78);
  --panel-strong: #0a1022;
  --line: rgba(255, 255, 255, 0.13);
  --text: #f7fbff;
  --muted: #a8b4ce;
  --blue: #30d6ff;
  --violet: #6739d8;
  --pink: #e22d6e;
  --red: #ff264d;
  --success: #49f4a6;
  --danger: #ff6480;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --container: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 20% 5%, rgba(255, 38, 77, 0.14), transparent 30%),
    linear-gradient(180deg, #050712 0%, #03040a 100%);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  position: relative;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.narrow {
  max-width: 880px;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 16px;
  left: 50%;
  width: min(calc(100% - 32px), 1180px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(3, 6, 16, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(4, 7, 16, 0.94);
  border-color: rgba(255, 38, 77, 0.35);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 154px;
  height: 96px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at 50% 8%, rgba(255, 38, 77, 0.28), transparent 58%);
  box-shadow:
    0 0 0 1px rgba(255, 38, 77, 0.16),
    0 0 30px rgba(255, 38, 77, 0.28),
    0 18px 34px rgba(0, 0, 0, 0.24);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: -5px;
  z-index: -1;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 38, 77, 0.5), rgba(103, 57, 216, 0.4), rgba(255, 255, 255, 0.18));
  opacity: 0.65;
  filter: blur(8px);
}

.brand-mark img {
  width: 140px;
  height: 88px;
  object-fit: contain;
  image-rendering: auto;
  filter: drop-shadow(0 0 7px rgba(255, 255, 255, 0.18));
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 0.98rem;
  line-height: 1;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.8rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  position: relative;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius);
  padding: 0 15px;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.12);
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), #ffffff, var(--violet));
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 0 0 1px rgba(255, 38, 77, 0.22), 0 0 18px rgba(255, 38, 77, 0.14);
  transform: translateY(-1px);
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero,
.rules-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 156px 0 80px;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: auto;
  padding: 164px 16px 8px;
}

.hero-bg {
  position: absolute;
}

.hero-bg {
  z-index: -4;
  background:
    linear-gradient(180deg, transparent 0%, transparent 76%, #03040a 100%),
    radial-gradient(circle at 24% 44%, rgba(255, 38, 77, 0.14), transparent 30%),
    radial-gradient(circle at 76% 42%, rgba(48, 214, 255, 0.1), transparent 28%),
    linear-gradient(135deg, #09182e, #02040b 65%);
  inset: 0;
}

.hero-campaign {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), 1180px);
  max-height: calc(100vh - 390px);
  aspect-ratio: 1600 / 720;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38), 0 0 68px rgba(255, 38, 77, 0.16);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 1180px);
  padding-top: 18px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.kicker {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(255, 38, 77, 0.42);
}

.hero .kicker {
  color: #ff264d;
  font-weight: 900;
  text-shadow: 0 0 20px rgba(255, 38, 77, 0.55);
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 640px;
  font-size: clamp(3.4rem, 6vw, 5rem);
}

.title-accent {
  color: var(--red);
  text-shadow: 0 0 24px rgba(255, 38, 77, 0.42);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-content p,
.rules-hero p {
  max-width: 620px;
  color: #dce6fa;
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-description {
  display: grid;
  gap: 18px;
  max-width: 660px;
}

.hero-description p {
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 0;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 20px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button.primary {
  color: #03101c;
  background: linear-gradient(135deg, var(--red), #ffffff 50%, var(--violet));
  box-shadow: 0 0 34px rgba(255, 38, 77, 0.28);
}

.button.primary:hover {
  box-shadow: 0 0 44px rgba(255, 38, 77, 0.46);
}

.button.ghost {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.hero-visual {
  grid-column: 3;
  position: relative;
  z-index: 2;
  min-height: 520px;
}

.floating-card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(14, 24, 48, 0.78), rgba(7, 12, 25, 0.72));
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 38, 77, 0.08);
  backdrop-filter: blur(14px);
  animation: float 5.5s ease-in-out infinite;
}

.floating-card svg {
  width: 100%;
  height: auto;
  fill: none;
  stroke: #e9f8ff;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 12px rgba(255, 38, 77, 0.45));
}

.console-card {
  width: min(72vw, 360px);
  top: 32px;
  right: 48px;
  padding: 34px 32px 26px;
}

.console-card span,
.racing-card span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-weight: 700;
}

.stadium-card {
  width: 250px;
  min-height: 160px;
  left: 24px;
  top: 245px;
  padding: 28px;
  overflow: hidden;
}

.stadium-card::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 2px solid rgba(73, 244, 166, 0.62);
  border-radius: var(--radius);
  box-shadow: 0 0 28px rgba(73, 244, 166, 0.18);
}

.stadium-card strong,
.stadium-card small {
  position: relative;
  z-index: 1;
  display: block;
}

.stadium-card strong {
  margin-top: 36px;
  font-size: 1.7rem;
}

.stadium-card small {
  color: var(--muted);
}

.field-line,
.field-dot {
  position: absolute;
  z-index: 1;
  background: rgba(73, 244, 166, 0.72);
}

.field-line {
  top: 20px;
  bottom: 20px;
  left: 50%;
  width: 2px;
}

.field-dot {
  top: 50%;
  left: 50%;
  width: 26px;
  height: 26px;
  border: 2px solid rgba(73, 244, 166, 0.72);
  border-radius: 50%;
  background: transparent;
  transform: translate(-50%, -50%);
}

.racing-card {
  width: 310px;
  right: 0;
  bottom: 30px;
  padding: 28px;
}

.delay-one {
  animation-delay: -1.6s;
}

.delay-two {
  animation-delay: -3.1s;
}

.hero-scroll {
  position: relative;
  z-index: 5;
  left: auto;
  bottom: auto;
  width: 30px;
  height: 46px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
  margin-top: 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 0 24px rgba(255, 38, 77, 0.22);
  transform: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-scroll span {
  width: 5px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, var(--red));
  box-shadow: 0 0 14px rgba(255, 38, 77, 0.58);
  animation: scrollCue 1.45s ease-in-out infinite;
}

.hero-scroll:hover {
  border-color: rgba(255, 38, 77, 0.72);
  box-shadow: 0 0 34px rgba(255, 38, 77, 0.34);
  transform: translateY(-3px);
}

.registration-section,
.prizes-section,
.faq-section,
.rules-content {
  padding: 92px 0;
}

.registration-section {
  position: relative;
  background: #03040a;
}

.registration-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -80px;
  height: 80px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(3, 4, 10, 0), #03040a 72%);
}

.registration-section,
.prizes-section,
.faq-section {
  scroll-margin-top: 180px;
}

.registration-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  gap: 36px;
  align-items: start;
}

.info-band {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  margin-bottom: 28px;
  padding: 14px 16px;
  border: 1px solid rgba(73, 244, 166, 0.46);
  border-radius: var(--radius);
  color: #f4fff9;
  background: linear-gradient(135deg, rgba(255, 38, 77, 0.16), rgba(103, 57, 216, 0.14));
  box-shadow: 0 0 34px rgba(73, 244, 166, 0.13);
}

.pulse-dot {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(73, 244, 166, 0.7);
  animation: pulse 1.7s infinite;
}

.registration-copy p,
.note {
  color: var(--muted);
  line-height: 1.75;
}

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

.event-points li {
  position: relative;
  padding-left: 28px;
  color: #dfe8fb;
}

.event-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 14px var(--red);
}

.register-form {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  margin-bottom: 8px;
  color: #eef5ff;
  font-weight: 700;
}

.form-row input {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 0 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input:focus {
  border-color: rgba(255, 38, 77, 0.8);
  box-shadow: 0 0 0 4px rgba(255, 38, 77, 0.14);
}

.form-row.has-error input {
  border-color: var(--danger);
}

.error-message {
  display: block;
  min-height: 18px;
  margin-top: 6px;
  color: var(--danger);
  font-size: 0.82rem;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 4px;
}

.checkbox-row input {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  accent-color: var(--red);
}

.checkbox-row label {
  color: #d9e5fa;
  line-height: 1.55;
}

.checkbox-row a {
  color: var(--pink);
  font-weight: 800;
}

.form-submit {
  width: 100%;
  margin-top: 18px;
}

.form-status {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--success);
  text-align: center;
  font-weight: 700;
}

.section-heading {
  margin-bottom: 34px;
  text-align: center;
}

.prize-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.prize-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 38, 77, 0.17), transparent 38%),
    linear-gradient(180deg, rgba(14, 24, 48, 0.82), rgba(7, 12, 25, 0.86));
  box-shadow: var(--shadow);
}

.rank {
  position: relative;
  z-index: 2;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 42px;
  border-radius: var(--radius);
  color: #05111e;
  font-size: 1.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff, var(--red));
}

.prize-card h3 {
  position: relative;
  z-index: 2;
  color: var(--muted);
  font-size: 1rem;
}

.prize-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1;
}

.prize-art {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  opacity: 0.42;
  filter: drop-shadow(0 0 28px rgba(255, 38, 77, 0.2));
}

.ps5-art {
  right: -26px;
  top: 22px;
  width: 260px;
  height: 250px;
  transform: rotate(-7deg);
}

.ps5-console,
.ps5-core {
  position: absolute;
  top: 4px;
  width: 72px;
  height: 220px;
  border-radius: 28px 10px 18px 26px;
}

.ps5-console {
  right: 62px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(210, 220, 255, 0.72));
  box-shadow: inset -10px 0 20px rgba(103, 57, 216, 0.24), 0 0 30px rgba(255, 255, 255, 0.14);
}

.ps5-core {
  right: 111px;
  width: 42px;
  background: linear-gradient(180deg, rgba(5, 8, 18, 0.95), rgba(34, 22, 62, 0.95));
  border-left: 2px solid rgba(48, 214, 255, 0.45);
  box-shadow: 0 0 22px rgba(48, 214, 255, 0.22);
}

.ps5-pad {
  position: absolute;
  right: 12px;
  bottom: 0;
  width: 170px;
  height: 78px;
  border-radius: 48px 48px 30px 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(214, 223, 255, 0.64));
  box-shadow: inset 0 -10px 18px rgba(103, 57, 216, 0.18), 0 0 26px rgba(255, 255, 255, 0.12);
}

.ps5-pad::before,
.ps5-pad::after {
  content: "";
  position: absolute;
  top: 30px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(4, 7, 16, 0.88);
}

.ps5-pad::before {
  left: 42px;
}

.ps5-pad::after {
  right: 42px;
}

.voucher-art {
  right: -44px;
  top: 38px;
  width: 300px;
  height: 210px;
  transform: rotate(8deg);
}

.voucher-card {
  position: absolute;
  right: 0;
  top: 18px;
  width: 260px;
  height: 142px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 24px 28px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(255, 38, 77, 0.88), rgba(103, 57, 216, 0.78)),
    radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.32), transparent 28%);
  box-shadow: 0 0 38px rgba(255, 38, 77, 0.22);
}

.voucher-card strong {
  font-size: 1.42rem;
  font-weight: 900;
}

.voucher-card small {
  font-size: 0.9rem;
  font-weight: 800;
  opacity: 0.78;
}

.voucher-strip {
  position: absolute;
  right: 14px;
  bottom: 18px;
  width: 210px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.1));
}

.prize-glow {
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(103, 57, 216, 0.34);
  filter: blur(10px);
}

.note {
  max-width: 760px;
  margin: 24px auto 0;
  text-align: center;
}

.accordion {
  display: grid;
  gap: 14px;
}

.accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  overflow: hidden;
}

.accordion-item button {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  padding: 18px 20px;
  color: var(--text);
  background: transparent;
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.accordion-item button span {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  position: relative;
}

.accordion-item button span::before,
.accordion-item button span::after {
  content: "";
  position: absolute;
  background: var(--pink);
  inset: 50% auto auto 0;
  width: 18px;
  height: 2px;
  transform: translateY(-50%);
}

.accordion-item button span::after {
  transform: translateY(-50%) rotate(90deg);
  transition: opacity 0.2s ease;
}

.accordion-item.is-open button span::after {
  opacity: 0;
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.accordion-panel p {
  margin: 0;
  padding: 0 20px 22px;
  color: var(--muted);
  line-height: 1.7;
}

.rules-hero {
  min-height: 58vh;
  background:
    radial-gradient(circle at 74% 34%, rgba(255, 38, 77, 0.22), transparent 30%),
    radial-gradient(circle at 22% 52%, rgba(103, 57, 216, 0.2), transparent 32%),
    linear-gradient(135deg, rgba(13, 18, 42, 0.9), rgba(3, 4, 10, 0.98));
}

.rules-hero h1 {
  margin-bottom: 14px;
}

.rules-list {
  display: grid;
  gap: 18px;
}

.rules-list article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.rules-list h2 {
  margin-bottom: 12px;
  font-size: 1.38rem;
}

.rules-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.rules-cta {
  justify-self: start;
  margin-top: 10px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 42px 0 24px;
  background: rgba(2, 4, 10, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1.45fr 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-brand {
  width: max-content;
  max-width: 100%;
  flex-direction: row;
  text-align: left;
}

.footer-brand .brand-mark {
  width: 132px;
  height: 84px;
  flex: 0 0 auto;
}

.footer-brand .brand-mark img {
  width: 120px;
  height: 76px;
}

.footer-brand .brand-copy {
  max-width: 150px;
}

.footer-brand .brand-copy strong {
  display: block;
  line-height: 1.02;
}

.footer-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.footer-links,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links {
  justify-content: flex-end;
}

.footer-links a,
.social-links a {
  color: #dfe8fb;
  font-size: 0.92rem;
}

.social-links a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  color: #ffffff;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 38, 77, 0.45);
  background: rgba(255, 38, 77, 0.1);
  box-shadow: 0 0 22px rgba(255, 38, 77, 0.2);
}

.social-links svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-links a[aria-label="Facebook"] svg {
  fill: currentColor;
  stroke: none;
}

.copyright {
  margin: 28px 0 0;
  color: #77829b;
  font-size: 0.88rem;
  text-align: center;
}

.copyright a {
  color: #ffffff;
  font-weight: 800;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.copyright a:hover {
  color: var(--pink);
  text-shadow: 0 0 16px rgba(255, 38, 77, 0.34);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
}

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

@keyframes flagSweep {
  0%,
  100% {
    border-radius: 18px 34px 26px 18px;
    transform: perspective(1000px) rotateY(-12deg) rotateZ(-2.4deg) translateX(14px) translateY(0) skewY(0deg) scaleX(1);
  }
  35% {
    border-radius: 22px 26px 30px 16px;
    transform: perspective(1000px) rotateY(-14deg) rotateZ(-2deg) translateX(-10px) translateY(-6px) skewY(0.7deg) scaleX(1.018);
  }
  70% {
    border-radius: 16px 38px 24px 24px;
    transform: perspective(1000px) rotateY(-10deg) rotateZ(-2.9deg) translateX(-24px) translateY(5px) skewY(-0.62deg) scaleX(0.992);
  }
}

@keyframes flagShine {
  0%,
  100% {
    transform: translateX(-18px);
    opacity: 0.38;
  }
  50% {
    transform: translateX(22px);
    opacity: 0.68;
  }
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 13px rgba(73, 244, 166, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(73, 244, 166, 0);
  }
}

@keyframes scrollCue {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(20px);
  }
}

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(4, 7, 16, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .menu-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    min-height: 48px;
    justify-content: center;
  }

  .hero {
    min-height: auto;
    padding: 132px 20px 18px;
  }

  .hero-campaign {
    width: calc(100% - 28px);
    max-height: none;
  }

  .hero-content {
    padding-top: 16px;
  }

  .hero-content,
  .hero-visual {
    grid-column: auto;
  }

  .hero-visual {
    min-height: 420px;
  }

  .flag-fabric {
    top: 18%;
    right: -32%;
    width: 112vw;
    opacity: 0.82;
  }

  .console-card {
    right: 0;
  }

  .stadium-card {
    left: 0;
  }

  .racing-card {
    right: 20px;
  }

  .registration-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    align-items: start;
  }

  .footer-brand .brand-mark {
    width: 128px;
    height: 82px;
  }

  .footer-brand .brand-mark img {
    width: 118px;
    height: 74px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .brand-copy strong {
    font-size: 0.9rem;
  }

  .brand-copy span {
    font-size: 0.7rem;
  }

  .brand-mark {
    width: 116px;
    height: 74px;
  }

  .brand-mark img {
    width: 106px;
    height: 66px;
  }

  .hero,
  .rules-hero {
    padding-top: 132px;
  }

  .hero {
    padding-bottom: 16px;
  }

  .hero-campaign {
    width: calc(100% - 18px);
    border-radius: 8px;
  }

  .hero-content {
    padding-top: 14px;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.8rem);
  }

  .hero-content p,
  .rules-hero p {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 360px;
  }

  .flag-wave {
    opacity: 0.68;
  }

  .flag-fabric {
    top: 15%;
    right: -86%;
    width: 180vw;
  }

  .console-card {
    width: 82vw;
    padding: 24px;
  }

  .stadium-card {
    width: 210px;
    top: 190px;
  }

  .racing-card {
    width: 240px;
    bottom: 6px;
    padding: 22px;
  }

  .registration-section,
  .prizes-section,
  .faq-section,
  .rules-content {
    padding: 68px 0;
  }

  .registration-section,
  .prizes-section,
  .faq-section {
    scroll-margin-top: 150px;
  }

  .register-form,
  .rules-list article,
  .prize-card {
    padding: 20px;
  }

  .prize-grid {
    grid-template-columns: 1fr;
  }

  .ps5-art {
    right: -72px;
    top: 22px;
    transform: scale(0.78) rotate(-7deg);
    transform-origin: top right;
  }

  .voucher-art {
    right: -92px;
    top: 32px;
    transform: scale(0.78) rotate(8deg);
    transform-origin: top right;
  }

  .info-band {
    align-items: flex-start;
  }
}
