@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('../fonts/CabinetGrotesk-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('../fonts/CabinetGrotesk-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('../fonts/CabinetGrotesk-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('../fonts/CabinetGrotesk-Extrabold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-bg: #070b16;
  --color-bg-alt: #0f1a33;
  --color-card: #145652;
  --color-card-hover: #ffc914;
  --color-frame: #145652;
  --color-frame-outer: #1d180f;
  --color-frame-rim: #5c3d05;
  --color-panel: #111c1b;
  --color-ornament: #714f19;
  --color-ornament-bright: #b08a1e;
  --color-accent: #ffc914;
  --color-accent-light: #ffe066;
  --color-on-accent: #0b2b29;
  --color-on-gold: #2a1b06;
  --color-charcoal: #3f3f3f;
  --color-hot: #ff5a5f;
  --color-success: #2f9e6e;
  --color-text: #ffffff;
  --color-text-muted: rgba(255, 255, 255, 0.65);
  --color-danger: #ff6b6b;
  --shadow-lift: 0 20px 50px rgba(7, 11, 22, 0.6);
  --shadow-soft: 0 10px 24px rgba(7, 11, 22, 0.45);
  --hero-inline-padding: 24px;
  --card-width: 150px;
  --card-height: 190px;
  --card-gap: 14px;
  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --radius-frame-outer: 8px;
  --radius-frame-inner: 16px;
  --ease-standard: cubic-bezier(0.22, 0.9, 0.32, 1);
  --duration-fast: 150ms;
  --duration-base: 200ms;
  --duration-modal: 250ms;
  --duration-entrance: 500ms;
  --font-display: 'Cabinet Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Cabinet Grotesk', system-ui, -apple-system, sans-serif;
  --font-accent: 'Cabinet Grotesk', system-ui, -apple-system, sans-serif;
  --button-shell: linear-gradient(180deg, #302008 0%, #4d3000 100%);
  --button-face: linear-gradient(180deg, #ffd60a 0%, #8f6424 100%);
  --btn-shell-width: 4px;
  --btn-padding-inline: 40px;
  --z-behind: -1;
  --z-deco: 2;
  --z-skip-link: 20;
  --z-modal: 100;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .modal-overlay,
  .modal-card,
  .step-card,
  .skip-link,
  .register-link,
  .copy-code-button,
  .form-submit,
  .lang-switcher select,
  .trust-badge,
  .payment-icon,
  .provider-icon,
  .footer-links a,
  .modal-close {
    transition-duration: 0.2s !important;
  }

  .step-card {
    opacity: 1;
    transform: none;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: radial-gradient(circle at top, var(--color-bg-alt), var(--color-bg) 65%);
  color: var(--color-text);
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(380px, 60vw, 620px);
  background-image: linear-gradient(to right, rgba(7, 11, 22, 0.86) 0%, rgba(7, 11, 22, 0.62) 45%, rgba(7, 11, 22, 0.35) 100%), url('../img/bg-hero.jpg');
  background-size: cover;
  background-position: top center;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 50%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 50%, transparent 100%);
  z-index: var(--z-behind);
  pointer-events: none;
}

.skip-link {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--color-accent-light);
  color: var(--color-bg-alt);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  z-index: var(--z-skip-link);
  transform: translateY(-150%);
  transition: transform var(--duration-base) var(--ease-standard);
}

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

:focus-visible {
  outline: 2px solid var(--color-accent-light);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.brand-logo {
  display: block;
  height: 88px;
  width: auto;
}

.lang-switcher select {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  /* The native chevron renders hard against the border, so it is replaced by a
     drawn one and the right padding reserves the room it needs. */
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--color-bg-alt);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.75 6 6.25 11 1.75' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 12px 8px;
  color: var(--color-text);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: 8px 35px 8px 14px;
  cursor: pointer;
  transition: border-color var(--duration-base) var(--ease-standard), transform var(--duration-fast) var(--ease-standard);
}

/* Windows and Linux render the popup list with the page background otherwise. */
.lang-switcher select option {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

.lang-switcher select:active {
  transform: scale(0.97);
}

.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px var(--hero-inline-padding) 10px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}

.hero-copy h1 {
  display: block;
  font-size: clamp(2.25rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--color-text);
  text-shadow: 0 2px 16px rgba(7, 11, 22, 0.85);
  text-wrap: balance;
}

.hero-copy h1 span {
  display: block;
}

.hero-copy h1 span + span {
  margin-top: 6px;
}

.hero-lead {
  margin: 0 0 28px;
}

.hero-lead p:not(.hero-tagline) {
  max-width: 42ch;
}

.hero-lead .hero-tagline {
  margin: 0 0 14px;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.3;
  max-width: none;
}

.text-highlight {
  color: var(--color-accent);
  text-shadow: 0 4px 24px rgba(255, 201, 20, 0.35);
}

.hero-copy p {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 12px rgba(7, 11, 22, 0.85);
  margin: 0;
  text-wrap: pretty;
}

.slide-stage {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.slide-frame {
  position: relative;
  width: 100%;
  max-width: 540px;
  padding-top: 34px;
}

/* The round logo sits on the centre line as the "pointer" for the strip. */
.slide-medallion {
  position: absolute;
  top: 0;
  left: 50%;
  width: 64px;
  height: 64px;
  transform: translateX(-50%);
  border-radius: 50%;
  z-index: var(--z-deco);
  box-shadow: 0 0 0 3px var(--color-accent), 0 6px 16px rgba(7, 11, 22, 0.6);
}

.slide-viewport {
  position: relative;
  overflow: hidden;
  height: var(--card-height);
  border-radius: var(--radius-lg);
  padding-block: 0;
  background: rgba(7, 11, 22, 0.55);
  border: 1px solid rgba(255, 201, 20, 0.35);
  box-shadow: inset 0 0 40px rgba(7, 11, 22, 0.7), var(--shadow-lift);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%);
}

.slide-track {
  display: flex;
  align-items: stretch;
  gap: var(--card-gap);
  width: max-content;
  height: 100%;
  padding-inline: calc(var(--card-gap) / 2);
}

.reward-card {
  position: relative;
  flex: 0 0 var(--card-width);
  width: var(--card-width);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--card-top), var(--card-bottom));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 6px 14px rgba(7, 11, 22, 0.45);
  text-align: center;
  font-family: var(--font-accent);
  font-weight: 700;
  line-height: 1.15;
  transition: transform var(--duration-base) var(--ease-standard), box-shadow var(--duration-base) var(--ease-standard);
}

.reward-line {
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.reward-line--big {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--color-accent);
  text-shadow: 0 2px 12px rgba(255, 201, 20, 0.3);
}

.reward-card.is-winner {
  transform: scale(1.06);
  box-shadow: 0 0 0 3px var(--color-accent), 0 0 28px rgba(255, 201, 20, 0.55);
}

/* Fixed centre line the strip stops under. */
.slide-marker {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, var(--color-accent) 0, var(--color-accent) 16%, transparent 16%, transparent 84%, var(--color-accent) 84%, var(--color-accent) 100%);
  box-shadow: 0 0 14px rgba(255, 201, 20, 0.7);
  pointer-events: none;
  z-index: var(--z-deco);
}

/* Shared CTA pill (Figma "Button CTA"): a dark shell holding a gold face. The
   face is a ::before so the label needs no wrapper and each button keeps its
   own markup. */
.spin-button,
.copy-code-button,
.form-submit {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 0 var(--btn-padding-inline);
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: normal;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-on-gold);
  background: var(--button-shell);
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: transform var(--duration-fast) var(--ease-standard);
}

.spin-button::before,
.copy-code-button::before,
.form-submit::before {
  content: '';
  position: absolute;
  inset: var(--btn-shell-width);
  z-index: -1;
  border-radius: 9999px;
  background: var(--button-face);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25), inset 0 2px 4px #ffffff;
  transition: box-shadow var(--duration-base) var(--ease-standard);
}

.spin-button:active:not(:disabled),
.copy-code-button:active,
.form-submit:active:not(:disabled) {
  transform: scale(0.97);
}

.spin-button {
  min-width: 267px;
  max-width: 100%;
  margin-top: 26px;
}

/* Register is a text link, so the gold spin button stays the one real CTA. */
.register-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(255, 255, 255, 0.55);
  text-underline-offset: 6px;
  text-shadow: 0 1px 12px rgba(7, 11, 22, 0.85);
  transition: text-decoration-color var(--duration-base) var(--ease-standard);
}

/* The icon is a mask, so it always follows the text colour. */
.register-link::after {
  content: '';
  flex: none;
  width: 18px;
  height: 18px;
  background-color: currentColor;
  -webkit-mask: url('../img/icon-external-link.png') no-repeat center / contain;
  mask: url('../img/icon-external-link.png') no-repeat center / contain;
  transition: transform var(--duration-base) var(--ease-standard);
}

.register-link:active {
  opacity: 0.8;
}

.copy-code-button {
  --btn-padding-inline: 22px;
  height: auto;
  font-size: 0.95rem;
  white-space: nowrap;
}

.copy-code-button.is-copied::before {
  background: linear-gradient(180deg, #5fe3a1 0%, #1f7a55 100%);
}

.form-submit {
  width: 100%;
}

.spin-button:disabled,
.form-submit:disabled {
  cursor: not-allowed;
  filter: saturate(0.4) brightness(0.7);
}

.cooldown-message:empty {
  margin-top: 0;
}

.cooldown-message {
  margin-top: 14px;
  margin-bottom: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-align: center;
}

.steps-section,
.trust-section,
.payment-section,
.providers-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 26px 24px;
}

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

.providers-grid + .providers-grid {
  margin-top: 28px;
}

.provider-icon {
  width: auto;
  opacity: 0.7;
  transition: opacity var(--duration-base) ease;
}

.provider-icon--lg {
  height: 42px;
}

.provider-icon--pragmatic {
  height: 54px;
}

.provider-icon--evolution {
  height: 34px;
}

.provider-icon--md {
  height: 30px;
}

.provider-icon--sm {
  height: 22px;
}

.payment-label {
  display: block;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

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

.payment-icon {
  height: 28px;
  width: auto;
  opacity: 0.75;
  transition: opacity var(--duration-base) ease;
}

.payment-icon--square {
  height: 36px;
}

.steps-section h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--color-accent);
  margin: 0 0 26px;
}

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

.step-card {
  position: relative;
  isolation: isolate;
  display: flex;
  padding: 16px;
  background: var(--color-frame-outer);
  border: 1px solid var(--color-frame-rim);
  border-radius: var(--radius-frame-outer);
  box-shadow: 0 4px 40px rgba(92, 61, 5, 0.55);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-entrance) var(--ease-standard), transform var(--duration-entrance) var(--ease-standard);
}

.step-card.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.step-card-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  padding: 24px 26px 26px;
  border: 1px solid var(--color-ornament-bright);
  border-radius: var(--radius-frame-inner);
  background: var(--color-panel);
}

/* Ornament layer (Figma "Inner Ornaments Border"): four corner brackets
   joined by dashed lines. It sits behind the panel, so only the part in the
   16px band between the rim and the panel shows. */
.frame-ornaments {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 8px;
  pointer-events: none;
  z-index: 0;
}

.frame-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 6px;
  height: 25px;
}

.frame-row--bottom {
  align-items: flex-end;
}

/* One stepped bracket drawn as a top-right corner, mirrored into the other
   three. Its top line meets the dashed border and its right edge feeds the
   vertical dashed line. */
.frame-corner {
  flex: none;
  width: 25px;
  height: 25px;
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='25'%20height='25'%20viewBox='0%200%2025%2025'%20fill='none'%20stroke='%23714F19'%20stroke-width='1'%20stroke-linecap='round'%3E%3Cpath%20d='M0%20.5H11.5Q12.5%20.5%2012.5%201.5V6.3Q12.5%207.3%2013.5%207.3H24.5'/%3E%3Cpath%20d='M17.5%207.3V1.5Q17.5%20.5%2018.5%20.5H23.5Q24.5%20.5%2024.5%201.5V7.3'/%3E%3Cpath%20d='M17.5%207.3V11.3Q17.5%2012.3%2018.5%2012.3H23.5Q24.5%2012.3%2024.5%2013.3V25'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

.frame-corner--tl {
  transform: scaleX(-1);
}

.frame-corner--bl {
  transform: rotate(180deg);
}

.frame-corner--br {
  transform: scaleY(-1);
}

.frame-line {
  flex: 1;
  height: 0;
  border-top: 1px dashed var(--color-ornament);
}

.frame-mid {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

.frame-vline {
  width: 0;
  border-left: 1px dashed var(--color-ornament);
}

.step-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.step-icon-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: #0f3a3c;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-number {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-accent);
}

.step-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0;
  color: var(--color-accent);
  text-wrap: balance;
}

.step-card p {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text);
  text-wrap: pretty;
}

.trust-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 201, 20, 0.3);
  border-radius: 9999px;
  padding: 10px 18px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: border-color var(--duration-base) ease, background var(--duration-base) ease;
}

.site-footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px 60px;
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-links {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.footer-links a {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--duration-base) ease;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 11, 22, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: var(--z-modal);
  opacity: 0;
  transition: opacity var(--duration-modal) var(--ease-standard);
}

@media (prefers-reduced-transparency: reduce) {
  .modal-overlay {
    background: rgba(7, 11, 22, 0.95);
    backdrop-filter: none;
  }
}

.modal-overlay.is-visible {
  opacity: 1;
}

.modal-overlay[hidden] {
  display: none;
}

.modal-card {
  background: var(--color-card);
  border: 1px solid rgba(255, 201, 20, 0.35);
  border-radius: var(--radius-lg);
  max-width: 420px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-lift);
  transform: scale(0.94) translateY(8px);
  transition: transform var(--duration-modal) var(--ease-standard);
}

.modal-overlay.is-visible .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.3rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--duration-base) ease, transform var(--duration-fast) ease;
}

.modal-close:active {
  transform: scale(0.96);
}

.prize-highlight {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--color-accent-light);
  text-align: center;
  text-wrap: balance;
  margin: 8px 0 8px;
}

.prize-description {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-text-muted);
  text-align: center;
  text-wrap: pretty;
  margin: 0 0 20px;
}

.promo-code-box {
  border: 1px dashed rgba(255, 201, 20, 0.5);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
  text-align: center;
}

.promo-code-label {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}

.promo-code-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.promo-code-value {
  flex: 1;
  font-family: var(--font-accent);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-accent-light);
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.copy-error {
  color: var(--color-danger);
  font-size: 0.82rem;
  margin: 10px 0 0;
}

@media (hover: hover) and (pointer: fine) {
  .lang-switcher select:hover {
    border-color: var(--color-accent-light);
  }

  .register-link:hover {
    text-decoration-color: var(--color-accent);
  }

  .register-link:hover::after {
    transform: translate(2px, -2px);
  }

  .spin-button:hover:not(:disabled)::before,
  .copy-code-button:hover:not(.is-copied)::before,
  .form-submit:hover:not(:disabled)::before {
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25), inset 0 2px 20px #ffffff;
  }

  .trust-badge:hover {
    border-color: var(--color-card-hover);
    background: rgba(255, 255, 255, 0.08);
  }

  .payment-icon:hover {
    opacity: 1;
  }

  .provider-icon:hover {
    opacity: 1;
  }

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

  .modal-close:hover {
    color: var(--color-accent-light);
  }

}

.confirm-icon {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--color-accent), 0 6px 18px rgba(7, 11, 22, 0.5);
}

@media (min-width: 861px) {
  /* Flatten the copy and the carousel stage into the hero grid so the two
     buttons share row 3 and line up whatever the text above them does. */
  .hero-copy,
  .slide-stage {
    display: contents;
  }

  .hero {
    row-gap: 0;
  }

  .hero-copy h1 {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
  }

  .hero-lead {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
  }

  .register-link {
    grid-column: 1;
    grid-row: 3;
    align-self: center;
    justify-self: start;
  }

  .slide-frame {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    justify-self: center;
    margin-bottom: 28px;
  }

  .spin-button {
    grid-column: 2;
    grid-row: 3;
    align-self: center;
    justify-self: center;
    margin-top: 0;
  }

  .cooldown-message {
    grid-column: 2;
    grid-row: 4;
  }
}

@media (max-width: 860px) {
  .hero-backdrop {
    background-image: linear-gradient(rgba(7, 11, 22, 0.72), rgba(7, 11, 22, 0.72)), url('../img/bg-hero.jpg');
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
    /* Spacing between the stacked blocks comes from their own margins below, so
       that reordering them does not double up on the grid gap. */
    row-gap: 0;
  }

  /* The register button sits inside .hero-copy in the markup but belongs under
     the carousel on mobile. Promoting the copy's children to grid items lets the
     button be ordered past the carousel without duplicating it. */
  .hero-copy {
    display: contents;
  }

  .hero-copy h1 {
    order: 1;
  }

  .hero-lead {
    order: 2;
  }

  .hero-lead p {
    max-width: none;
    margin-inline: auto;
  }

  .slide-stage {
    order: 3;
    margin-top: 0;
  }

  .register-link {
    order: 4;
    margin: 16px auto 0;
  }

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

  .step-card {
    max-width: 380px;
    margin-inline: auto;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .spin-button,
  .form-submit {
    height: 52px;
    font-size: 1.1rem;
  }

  :root {
    --card-width: 128px;
    --card-height: 170px;
    --card-gap: 10px;
  }

  .reward-line--big {
    font-size: 1.8rem;
  }

  .reward-line {
    font-size: 0.85rem;
  }
}
