:root {
  color-scheme: light;
  --ink: #102033;
  --muted: #5d6a78;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --line: #dfe6ec;
  --navy: #06233f;
  --navy-soft: #0f3557;
  --teal: #0aa6a6;
  --teal-dark: #087979;
  --coral: #f35e4f;
  --gold: #efbd4f;
  --green: #178a63;
  --danger: #c94040;
  --shadow: 0 18px 45px rgba(11, 31, 52, 0.14);
  --radius: 8px;
  --container: min(1160px, calc(100vw - 40px));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(245, 248, 247, 0.9), rgba(251, 250, 246, 0.96) 44%, #f6f0e7),
    var(--paper);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

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

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(239, 189, 79, 0.75);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  color: #fff;
  background: var(--navy);
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(251, 250, 246, 0.86);
  border-bottom: 1px solid rgba(16, 32, 51, 0.08);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: var(--container);
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  box-shadow: 0 7px 18px rgba(6, 35, 63, 0.16);
}

.brand span {
  font-size: 1.18rem;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 10px 12px;
  color: #23374b;
  font-weight: 750;
  font-size: 0.94rem;
  text-decoration: none;
  border-radius: var(--radius);
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--navy);
  background: rgba(10, 166, 166, 0.11);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--navy);
  background: #fff;
  border-radius: var(--radius);
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: #fff;
  background: var(--navy);
  box-shadow: 0 12px 22px rgba(6, 35, 63, 0.18);
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 26px rgba(6, 35, 63, 0.22);
}

.button svg {
  width: 18px;
  height: 18px;
}

.button-primary {
  color: #061928;
  background: var(--gold);
  box-shadow: 0 12px 22px rgba(239, 189, 79, 0.24);
}

.button-secondary {
  color: var(--navy);
  background: #fff;
  border-color: rgba(16, 32, 51, 0.14);
  box-shadow: none;
}

.button-ghost {
  color: var(--navy);
  background: transparent;
  border-color: rgba(16, 32, 51, 0.16);
  box-shadow: none;
}

.button-small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.9rem;
}

.button[disabled] {
  cursor: not-allowed;
  opacity: 0.56;
  transform: none;
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: calc(100svh - 74px);
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
}

.hero::before,
.game-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 35, 63, 0.9) 0%, rgba(6, 35, 63, 0.68) 39%, rgba(6, 35, 63, 0.14) 72%),
    linear-gradient(0deg, rgba(6, 35, 63, 0.72) 0%, rgba(6, 35, 63, 0) 48%);
}

.hero-inner {
  width: var(--container);
  margin: 0 auto;
  padding: 64px 0;
}

.hero-copy {
  max-width: 690px;
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 12px;
  color: #06233f;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  font-weight: 850;
  font-size: 0.88rem;
}

.eyebrow svg {
  width: 16px;
  height: 16px;
}

.hero h1,
.page-heading h1,
.game-title h1 {
  margin: 0;
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 620px;
  font-size: clamp(3rem, 8vw, 7.2rem);
}

.hero h1 span {
  display: block;
  color: var(--gold);
  font-size: clamp(1.35rem, 2.4vw, 2.25rem);
  line-height: 1.14;
  margin-top: 12px;
}

.hero p {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 760;
  font-size: 0.94rem;
}

.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-note svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

.section {
  padding: 86px 0;
}

.section.alt {
  background: #eef7f5;
}

.section.deep {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(6, 35, 63, 0.96), rgba(11, 77, 91, 0.94)),
    var(--navy);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-heading.center {
  display: block;
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.kicker {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.deep .kicker {
  color: var(--gold);
}

.section-heading h2,
.content-block h2,
.contact-panel h2,
.ticket-panel h2,
.legal-page h2 {
  margin: 0;
  font-weight: 950;
  line-height: 1.04;
  letter-spacing: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.section-heading p,
.content-block p,
.legal-page p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.deep .section-heading p,
.deep .content-block p {
  color: rgba(255, 255, 255, 0.78);
}

.responsible-strip {
  width: var(--container);
  margin: -28px auto 0;
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  color: #fff;
  background: linear-gradient(90deg, var(--navy), var(--navy-soft));
  border: 1px solid rgba(239, 189, 79, 0.35);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.responsible-strip strong {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.responsible-strip svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex: 0 0 auto;
}

.responsible-strip a {
  color: var(--gold);
  font-weight: 900;
  white-space: nowrap;
}

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

.game-card {
  min-height: 438px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.game-card:hover .game-card-image img {
  transform: scale(1.06);
}

.game-card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #dce8eb;
}

.game-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.game-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    var(--navy);
}

.game-tag {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 850;
}

.game-card h3 {
  margin: 22px 0 10px;
  font-size: 1.45rem;
  line-height: 1.1;
}

.game-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.game-card .card-link {
  margin-top: auto;
  padding-top: 22px;
  color: var(--gold);
  font-weight: 900;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step,
.promise,
.info-tile,
.rule-card {
  padding: 26px;
  background: var(--panel);
  border: 1px solid rgba(16, 32, 51, 0.09);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(11, 31, 52, 0.08);
}

.step-number {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: #06233f;
  background: var(--gold);
  border-radius: 50%;
  font-weight: 950;
}

.step h3,
.promise h3,
.info-tile h3,
.rule-card h3 {
  margin: 18px 0 8px;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.15;
}

.step p,
.promise p,
.info-tile p,
.rule-card p {
  margin: 0;
  color: var(--muted);
}

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

.promise svg,
.info-tile svg,
.rule-card svg {
  width: 30px;
  height: 30px;
  color: var(--teal);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.contact-panel,
.ticket-panel,
.summary-panel,
.legal-card {
  padding: 30px;
  background: var(--panel);
  border: 1px solid rgba(16, 32, 51, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-panel .muted,
.ticket-panel .muted,
.summary-panel .muted {
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}

.contact-list a,
.contact-list span {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 780;
  text-decoration: none;
}

.deep .contact-list a,
.deep .contact-list span {
  color: rgba(255, 255, 255, 0.9);
}

.deep .contact-list a:hover {
  color: var(--gold);
}

.contact-list svg {
  width: 20px;
  height: 20px;
  color: var(--coral);
}

.form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: #24374a;
  font-weight: 850;
  font-size: 0.92rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfd9e2;
  border-radius: var(--radius);
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(10, 166, 166, 0.12);
  outline: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.check-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.94rem;
}

.check-field input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--teal);
  flex: 0 0 auto;
}

.form-message {
  display: none;
  padding: 14px 16px;
  color: #0d4d38;
  background: #dff6eb;
  border: 1px solid #b7e8ce;
  border-radius: var(--radius);
  font-weight: 800;
}

.form-message.visible {
  display: block;
}

.game-hero {
  position: relative;
  min-height: 440px;
  display: grid;
  align-items: center;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
}

.game-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 35, 63, 0.9), rgba(6, 35, 63, 0.42) 62%, rgba(6, 35, 63, 0.2)),
    linear-gradient(0deg, rgba(6, 35, 63, 0.72), rgba(6, 35, 63, 0.02) 58%);
}

.game-title {
  width: var(--container);
  margin: 0 auto;
  padding: 64px 0;
}

.game-title h1 {
  max-width: 760px;
  font-size: clamp(2.7rem, 6vw, 5.4rem);
}

.game-title p {
  max-width: 660px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.15rem;
}

.game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-weight: 850;
  font-size: 0.88rem;
}

.ticket-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.ticket-panel h2,
.summary-panel h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.number-group {
  margin-top: 28px;
}

.number-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.number-group-header h3 {
  margin: 0;
  font-size: 1.05rem;
}

.selection-count {
  color: var(--muted);
  font-weight: 850;
  font-size: 0.9rem;
}

.number-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 10), minmax(0, 1fr));
  gap: 8px;
}

.number-button {
  aspect-ratio: 1;
  min-width: 0;
  padding: 0;
  color: var(--navy);
  background: #f3f6f8;
  border: 1px solid #d3dde5;
  border-radius: var(--radius);
  font-weight: 900;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.number-button:hover {
  transform: translateY(-1px);
  border-color: var(--teal);
}

.number-button.selected {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
}

.number-button.bonus.selected {
  color: #071827;
  background: var(--gold);
  border-color: var(--gold);
}

.ticket-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.summary-panel {
  position: sticky;
  top: 96px;
}

.selection-list {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.selection-line {
  padding: 14px;
  background: #f3f7f8;
  border: 1px solid #dae5ea;
  border-radius: var(--radius);
}

.selection-line strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 32px;
}

.chip {
  display: inline-flex;
  min-width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--navy);
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.88rem;
}

.chip.bonus {
  color: #071827;
  background: var(--gold);
}

.summary-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.summary-price span {
  color: var(--muted);
  font-weight: 760;
}

.summary-price strong {
  color: var(--navy);
  font-size: 2rem;
  line-height: 1;
  text-align: right;
}

.summary-panel [data-buy] {
  width: 100%;
  margin-top: 18px;
}

.status-box {
  margin-top: 16px;
  padding: 13px 14px;
  color: #385064;
  background: #f4f7f8;
  border: 1px solid #dce6ec;
  border-radius: var(--radius);
  font-weight: 760;
}

.status-box.success {
  color: #0d4d38;
  background: #dff6eb;
  border-color: #b7e8ce;
}

.status-box.error {
  color: #7a1f1f;
  background: #ffe6e4;
  border-color: #f2c5bf;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.page-heading {
  padding: 72px 0 36px;
  background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0));
}

.page-heading .container {
  max-width: 960px;
}

.page-heading h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
}

.page-heading p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.14rem;
}

.legal-page {
  max-width: 960px;
}

.legal-card + .legal-card {
  margin-top: 18px;
}

.legal-card h2 {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
}

.legal-card h3 {
  margin: 24px 0 8px;
  color: var(--navy);
  font-size: 1.16rem;
}

.legal-card ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.legal-card li + li {
  margin-top: 8px;
}

.legal-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.legal-meta span,
.legal-notice,
.resource-list a {
  display: block;
  padding: 13px 15px;
  background: #f3f7f8;
  border: 1px solid #dce6ec;
  border-radius: var(--radius);
}

.legal-meta strong {
  display: block;
  color: var(--navy);
}

.legal-notice {
  margin: 18px 0 0;
  color: #355064;
}

.legal-notice.warning {
  color: #79251f;
  background: #fff0ee;
  border-color: #f1c7c0;
}

.legal-table-wrap {
  margin-top: 18px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legal-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: #fff;
}

.legal-table th,
.legal-table td {
  padding: 14px 15px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.legal-table th {
  color: var(--navy);
  background: #eef7f5;
  font-weight: 900;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

.resource-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.resource-list a {
  color: var(--navy);
  font-weight: 850;
  text-decoration: none;
}

.resource-list a:hover {
  color: var(--teal-dark);
}

.legal-card dl {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 10px 18px;
  margin: 18px 0 0;
}

.legal-card dt {
  color: var(--navy);
  font-weight: 900;
}

.legal-card dd {
  margin: 0;
  color: var(--muted);
}

.footer {
  color: rgba(255, 255, 255, 0.86);
  background: #061d35;
  border-top: 6px solid var(--teal);
}

.footer-inner {
  width: var(--container);
  margin: 0 auto;
  padding: 48px 0 28px;
}

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

.footer-logo {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: #fff;
  border-radius: var(--radius);
}

.footer-logo img,
.footer-logo svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-copy {
  max-width: 940px;
  margin: 28px auto 0;
  text-align: center;
}

.footer-copy p {
  margin: 12px 0;
}

.footer-copy strong {
  color: #ff9d92;
}

.footer-details {
  display: block;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 760;
  text-align: center;
}

.footer-details p {
  margin: 10px 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 20px;
}

.footer-nav a,
.footer a[href^="mailto"],
.footer a[href^="tel"] {
  color: #fff;
  font-weight: 800;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 22, 36, 0.68);
  backdrop-filter: blur(8px);
}

.modal-dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100svh - 44px);
  overflow: auto;
  padding: 28px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(4, 14, 24, 0.36);
}

.modal-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.modal-header h2 {
  margin: 0;
  color: var(--navy);
  line-height: 1.1;
  font-size: 1.75rem;
}

.modal-header p {
  margin: 8px 0 0;
  color: var(--muted);
}

.icon-button {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--navy);
  background: #fff;
  border-radius: var(--radius);
}

.icon-button svg {
  width: 20px;
  height: 20px;
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: min(420px, calc(100vw - 36px));
  display: none;
  gap: 12px;
  padding: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(16, 32, 51, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cookie-banner.visible {
  display: grid;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 1060px) {
  .game-grid,
  .promise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ticket-layout {
    grid-template-columns: 1fr;
  }

  .summary-panel {
    position: static;
  }
}

@media (max-width: 860px) {
  :root {
    --container: min(720px, calc(100vw - 28px));
  }

  .header-inner {
    min-height: 66px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .main-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    display: none;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: grid;
  }

  .header-actions {
    display: none;
  }

  .header-actions.open {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 218px);
    display: grid;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .hero {
    min-height: calc(92svh - 66px);
  }

  .hero::after,
  .game-hero::after {
    background:
      linear-gradient(90deg, rgba(6, 35, 63, 0.9), rgba(6, 35, 63, 0.72)),
      linear-gradient(0deg, rgba(6, 35, 63, 0.62), rgba(6, 35, 63, 0));
  }

  .hero-inner {
    padding: 56px 0;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading {
    display: block;
  }

  .responsible-strip {
    display: grid;
    margin-top: -18px;
  }

  .steps,
  .contact-layout,
  .rules-grid {
    grid-template-columns: 1fr;
  }

  .footer-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom {
    display: grid;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .legal-meta,
  .resource-list,
  .legal-card dl {
    grid-template-columns: 1fr;
  }

  .legal-card dd {
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .brand span {
    font-size: 1.05rem;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 16vw, 4.7rem);
  }

  .hero-copy,
  .hero p,
  .hero-actions,
  .hero-note,
  .game-title p {
    max-width: calc(100vw - 28px);
  }

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

  .hero h1 span {
    font-size: 1.2rem;
  }

  .hero-actions,
  .ticket-tools {
    display: grid;
  }

  .hero-actions .button,
  .ticket-tools .button {
    width: 100%;
  }

  .game-grid,
  .promise-grid {
    grid-template-columns: 1fr;
  }

  .game-card {
    min-height: 390px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .ticket-panel,
  .summary-panel,
  .contact-panel,
  .legal-card {
    padding: 22px;
  }

  .number-grid {
    grid-template-columns: repeat(var(--mobile-cols, 7), minmax(0, 1fr));
    gap: 7px;
  }

  .number-button {
    font-size: 0.86rem;
  }

  .footer-logos {
    grid-template-columns: 1fr;
  }

  .footer-logo {
    height: 78px;
  }

  .cookie-banner {
    right: 14px;
    left: 14px;
    width: auto;
  }
}
