:root {
  color-scheme: dark;
  --eu-blue: #003399;
  --eu-blue-600: #012a80;
  --eu-blue-700: #021f5f;
  --eu-yellow: #ffcc00;
  --eu-midnight: #081133;
  --eu-sky: #1b3fae;
  --surface: #101b46;
  --surface-soft: rgba(16, 27, 70, 0.75);
  --surface-strong: rgba(8, 17, 51, 0.85);
  --text-high: #ffffff;
  --text-mid: #d9e1ff;
  --text-muted: #99a7da;
  --shadow-soft: 0 18px 48px rgba(0, 18, 66, 0.35);
  --shadow-hard: 0 24px 60px rgba(0, 18, 66, 0.45);
  --border-ghost: 1px solid rgba(255, 255, 255, 0.08);
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --header-height: 104px;
  --font-display: "Montserrat", "Nunito Sans", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --transition-fast: 180ms ease;
  --transition-med: 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

/*@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --surface: #f2f5ff;
    --surface-soft: rgba(255, 255, 255, 0.82);
    --surface-strong: rgba(230, 236, 255, 0.94);
    --text-high: #0b0f1e;
    --text-mid: #0f1a48;
    --text-muted: #47507a;
    --shadow-soft: 0 18px 48px rgba(3, 21, 86, 0.15);
    --shadow-hard: 0 24px 70px rgba(3, 21, 86, 0.22);
    --border-ghost: 1px solid rgba(9, 25, 86, 0.08);
  }
}*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  background: linear-gradient(180deg, var(--eu-midnight) 0%, var(--eu-sky) 60%, #040b26 100%);
  color: var(--text-high);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  min-width: 1024px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12) 0, rgba(255, 255, 255, 0) 55%),
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0) 45%),
    radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.1) 0, rgba(255, 255, 255, 0) 55%);
  opacity: 0.25;
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(135deg, rgba(0, 51, 153, 0.25) 0%, rgba(4, 11, 38, 0.9) 65%);
  z-index: -1;
  pointer-events: none;
}

.soe-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(2px 2px at 60% 70%, rgba(255, 204, 0, 0.8), transparent),
    radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(2px 2px at 90% 60%, rgba(255, 204, 0, 0.7), transparent),
    radial-gradient(1px 1px at 33% 85%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 15% 70%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 75% 40%, rgba(255, 255, 255, 0.6), transparent);
  background-size: 200% 200%, 250% 250%, 150% 150%, 180% 180%, 220% 220%, 190% 190%, 210% 210%, 170% 170%;
  background-position: 0% 0%, 20% 20%, 40% 40%, 60% 60%, 80% 80%, 10% 90%, 70% 10%, 30% 50%;
  animation: twinkle 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes twinkle {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.soe-starfall {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  overflow: hidden;
  z-index: 40;
}

.soe-starfall__star {
  position: absolute;
  top: -12vh;
  color: var(--eu-yellow);
  opacity: 0;
  animation-name: soeStarfall;
  animation-duration: var(--star-duration, 3000ms);
  animation-delay: var(--star-delay, 0ms);
  animation-timing-function: linear;
  animation-fill-mode: forwards;
  will-change: transform, opacity;
  filter: drop-shadow(0 0 12px rgba(255, 232, 120, 0.8));
}

.soe-starfall__star::before {
  content: "★";
  display: block;
  font-size: var(--star-size, 24px);
  line-height: 1;
  text-shadow:
    0 0 12px rgba(255, 232, 120, 0.85),
    0 0 20px rgba(255, 255, 255, 0.35);
}

@keyframes soeStarfall {
  0% {
    opacity: 0;
    transform: translate3d(-50%, -15vh, 0) rotate(0deg);
  }
  10% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate3d(
      -50%,
      var(--star-fall-distance, 110vh),
      0
    ) rotate(var(--star-rotation, 540deg));
  }
}

.soe-jackpot-banner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 28px 48px;
  max-width: min(90vw, 520px);
  background: linear-gradient(135deg, rgba(255, 221, 96, 0.95), rgba(255, 195, 0, 1));
  color: #0a1540;
  border-radius: 18px;
  box-shadow: 0 0 32px rgba(255, 213, 72, 0.55);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.2rem, 1.1rem + 0.6vw, 1.8rem);
  letter-spacing: 0.01em;
  line-height: 1.35;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.45);
  opacity: 0;
  pointer-events: none;
  z-index: 45;
  transition:
    opacity 320ms ease,
    transform 320ms cubic-bezier(0.18, 0.76, 0.25, 1);
}

.soe-jackpot-banner--visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

@keyframes soeJourneyStarBlink {
  0%, 100% {
    opacity: 0.35;
    filter: drop-shadow(0 0 4px rgba(255, 224, 110, 0.3));
  }
  45% {
    opacity: 0.95;
    filter: drop-shadow(0 0 10px rgba(255, 224, 110, 0.8));
  }
  60% {
    opacity: 1;
    filter: drop-shadow(0 0 12px rgba(255, 224, 110, 0.9));
  }
}

@keyframes soeJourneyFill {
  0% {
    transform: scaleX(0);
  }
  65% {
    transform: scaleX(1.05);
  }
  80%, 100% {
    transform: scaleX(1);
  }
}

main {
  display: flex;
  flex-direction: column;
  gap: 96px;
}

a {
  color: var(--text-high);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

p {
  line-height: 1.6;
  margin-top: 0;
  color: var(--text-mid);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  color: var(--text-high);
}

h1 {
  font-size: clamp(2.4rem, 2.6rem + 1vw, 4rem);
  letter-spacing: -0.015em;
}

h2 {
  font-size: clamp(1.9rem, 1.8rem + 0.6vw, 2.6rem);
}

.soe-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background-color: rgba(7, 13, 40, 0.72);
  border-bottom: var(--border-ghost);
}

.soe-header__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-height);
}

.soe-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.soe-logo img {
  height: 72px;
  width: auto;
  filter: drop-shadow(0 6px 12px rgba(0, 16, 64, 0.5));
}

.soe-logo span {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.soe-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.soe-nav__list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 20px;
}

.soe-nav__link {
  position: relative;
  padding: 8px 0;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--text-mid);
  transition: color var(--transition-fast);
}

.soe-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 204, 0, 0) 0%, rgba(255, 204, 0, 0.9) 50%, rgba(255, 204, 0, 0) 100%);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.soe-nav__link:hover,
.soe-nav__link:focus-visible,
.soe-nav__link--active {
  color: var(--text-high);
}

.soe-nav__link:hover::after,
.soe-nav__link:focus-visible::after,
.soe-nav__link--active::after {
  opacity: 1;
  transform: translateY(0);
}

.soe-nav__toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: var(--border-ghost);
  border-radius: 14px;
  padding: 10px 14px;
  color: var(--text-high);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.soe-nav__toggle:focus-visible,
.soe-nav__toggle:hover {
  background: rgba(255, 255, 255, 0.14);
}

.soe-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.soe-lang-select {
  appearance: none;
  background: rgba(255, 255, 255, 0.08);
  border: var(--border-ghost);
  border-radius: 14px;
  padding: 10px 40px 10px 16px;
  color: var(--text-high);
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='12' viewBox='0 0 16 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 3.5L8 9L14 3.5' stroke='%23ffcc00' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  min-width: 160px;
}

.soe-lang-select:focus-visible {
  outline: 2px solid var(--eu-yellow);
  outline-offset: 2px;
}

.soe-mobile-drawer {
  display: none;
}

.soe-section {
  width: 100%;
  margin: 0;
  padding: 0 24px;
  scroll-margin-top: calc(var(--header-height) + 80px);
  box-sizing: border-box;
}

.soe-section__surface {
  width: 100%;
  background: var(--surface-soft);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 6vw, 56px);
  box-shadow: var(--shadow-soft);
  border: var(--border-ghost);
  position: relative;
  overflow: hidden;
}

.soe-hero {
  margin-top: 48px;
}

.soe-hero__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  align-items: center;
}

.soe-hero__content {
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  gap: 24px;
  order: 1;
}

.soe-hero__kicker {
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--eu-yellow);
}

.soe-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 2.2rem + 2vw, 4rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--text-high);
}

.soe-hero__subheading {
  margin: 0;
  font-size: clamp(1.2rem, 1.05rem + 0.9vw, 1.8rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-style: italic;
  color: var(--text-mid);
}

.soe-hero__sub {
  font-size: 1.4em;
  margin: 16px 0;
  color: var(--text-mid);
}

.soe-hero__sub strong {
  color: var(--eu-yellow);
  font-weight: 700;
}

.soe-hero__bullets {
  list-style: none;
  display: flex;
  gap: 18px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.soe-hero__bullets li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--text-high);
  letter-spacing: 0.02em;
}

.soe-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.soe-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  text-decoration: none;
}

.soe-button--primary {
  background: linear-gradient(135deg, var(--eu-yellow), #ffe880);
  color: #0b0f1e;
  box-shadow: 0 14px 32px rgba(255, 204, 0, 0.35);
}

.soe-button--primary:hover,
.soe-button--primary:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(255, 204, 0, 0.45);
}

.soe-button--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--text-high);
}

.soe-button--ghost:hover,
.soe-button--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.soe-hero__visual {
  grid-column: span 6;
  position: relative;
  min-height: 320px;
  order: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.soe-hero__visual img {
  width: min(100%, 360px);
  height: auto;
  display: block;
  margin-left: auto;
  filter: drop-shadow(0 22px 45px rgba(0, 18, 66, 0.52));
}

.soe-hero__halo {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at 60% 30%, rgba(255, 204, 0, 0.3), rgba(255, 204, 0, 0));
  opacity: 0.7;
  filter: blur(40px);
  z-index: -1;
}
.soe-card-grid {
  display: grid;
  gap: 24px;
}

.soe-card {
  padding: clamp(24px, 5vw, 36px);
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  border: var(--border-ghost);
  box-shadow: var(--shadow-soft);
}

.soe-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

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

.soe-card ul li {
  color: var(--text-mid);
  line-height: 1.5;
}

.soe-information {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: stretch;
}

.soe-information__block {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
  padding: 36px;
  display: grid;
  gap: 18px;
}

.soe-information__block h2,
.soe-information__block > h2 {
  margin: 0;
  font-size: clamp(1.5rem, 1.3rem + 0.4vw, 1.9rem);
  color: var(--eu-yellow) !important;
}

.soe-information__block p {
  margin: 0;
  color: var(--text-mid);
  line-height: 1.6;
}

.soe-game__heading {
  color: var(--eu-yellow) !important;
}

.soe-tag {
  font-size: 0.65em;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--eu-yellow);
  vertical-align: middle;
}

.soe-information__list {
  margin: 8px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  list-style: decimal;
  list-style-position: outside;
  color: var(--text-mid);
  line-height: 1.6;
}

.soe-journey {
  margin-top: 32px;
}

.soe-journey__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  position: relative;
  z-index: 1;
}

.soe-journey__step {
  background: rgba(19, 32, 78, 0.38);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-soft);
  padding: 32px 28px;
  display: grid;
  gap: 20px;
  transition: transform var(--transition-med), border-color var(--transition-med), box-shadow var(--transition-med);
}

.soe-journey__step:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 204, 0, 0.36);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.soe-journey__step-header {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.soe-journey__icon {
  position: relative;
  inline-size: 64px;
  block-size: 64px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 204, 0, 0.22), rgba(255, 204, 0, 0.05));
  display: grid;
  place-items: center;
  color: var(--eu-yellow);
}

.soe-journey__crown {
  position: absolute;
  top: 50%;
  left: 50%;
  inline-size: 108px;
  block-size: 108px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.soe-journey__star {
  position: absolute;
  top: 50%;
  left: 50%;
  inline-size: 12px;
  block-size: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 204, 0, 0.9));
  clip-path: polygon(50% 0%, 62% 38%, 100% 38%, 69% 60%, 80% 98%, 50% 76%, 20% 98%, 31% 60%, 0% 38%, 38% 38%);
  box-shadow: 0 0 12px rgba(255, 214, 0, 0.45);
  transform: translate(-50%, -50%) rotate(0deg) translate(46px) rotate(0deg);
  animation: soeJourneyStarBlink 2.4s ease-in-out infinite;
}

.soe-journey__star:nth-child(2) {
  transform: translate(-50%, -50%) rotate(45deg) translate(46px) rotate(-45deg);
  animation-delay: 0.2s;
}

.soe-journey__star:nth-child(3) {
  transform: translate(-50%, -50%) rotate(90deg) translate(46px) rotate(-90deg);
  animation-delay: 0.4s;
}

.soe-journey__star:nth-child(4) {
  transform: translate(-50%, -50%) rotate(135deg) translate(46px) rotate(-135deg);
  animation-delay: 0.6s;
}

.soe-journey__star:nth-child(5) {
  transform: translate(-50%, -50%) rotate(180deg) translate(46px) rotate(-180deg);
  animation-delay: 0.8s;
}

.soe-journey__star:nth-child(6) {
  transform: translate(-50%, -50%) rotate(225deg) translate(46px) rotate(-225deg);
  animation-delay: 1s;
}

.soe-journey__star:nth-child(7) {
  transform: translate(-50%, -50%) rotate(270deg) translate(46px) rotate(-270deg);
  animation-delay: 1.2s;
}

.soe-journey__star:nth-child(8) {
  transform: translate(-50%, -50%) rotate(315deg) translate(46px) rotate(-315deg);
  animation-delay: 1.4s;
}

.soe-journey__icon-svg {
  inline-size: 26px;
  block-size: 26px;
  color: inherit;
}

.soe-journey__text {
  display: grid;
  gap: 8px;
}

.soe-journey__title {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-high);
}

.soe-journey__description {
  margin: 0;
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.45;
}

.soe-journey__progress {
  inline-size: 100%;
  block-size: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.soe-journey__progress span {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  background: linear-gradient(90deg, rgba(255, 204, 0, 0.4), rgba(255, 204, 0, 0.9));
  transform-origin: left;
  transform: scaleX(0);
}

.soe-journey__step:hover .soe-journey__progress span,
.soe-journey__step:focus-within .soe-journey__progress span {
  animation: soeJourneyFill 1.8s ease forwards;
}

.soe-journey__step:focus-visible {
  outline: 2px solid rgba(255, 204, 0, 0.6);
  outline-offset: 4px;
}

.soe-lottery {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.soe-lottery__layout {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.soe-lottery__info {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
}

.soe-lottery__info .soe-game__subheading {
  margin: 0 0 12px;
}

.soe-lottery__system-intro {
  margin: 0;
  color: var(--text-mid);
  font-size: 1rem;
}

.soe-text--gold {
  color: var(--eu-yellow);
}

.soe-lottery__system-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  font-size: 1rem;
}

.soe-lottery__system-steps li {
  display: flex;
  gap: 8px;
  align-items: baseline;
  flex-wrap: wrap;
}

.soe-lottery__system-step-index {
  color: var(--text-high);
  font-weight: 700;
}

.soe-lottery__system-step-value {
  color: var(--eu-yellow);
  font-weight: 700;
}

.soe-lottery__stage {
  display: grid;
  gap: 28px;
  justify-items: center;
}

.soe-lottery__stage .soe-game__subheading {
  margin: 0;
  text-align: center;
}

.soe-lottery__results {
  margin-top: 36px;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity var(--transition-med), transform var(--transition-med);
}

.soe-lottery__results--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.soe-result-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255, 204, 0, 0.2), rgba(11, 18, 58, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-soft);
  height: 100%;
}

.soe-result-row__pool {
  display: none;
}

.soe-result-row__content {
  display: grid;
  gap: 12px;
  align-content: center;
}

.soe-result-row__label {
  margin: 0;
  font-size: 1rem;
  color: var(--text-high);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.soe-result-row__numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.soe-result-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 52px;
  block-size: 52px;
  color: #10194a;
  font-weight: 700;
  font-size: 1.1rem;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
  opacity: 0;
  transform: translateX(-18px) scale(0.92);
  transition:
    transform var(--chip-duration, 360ms) cubic-bezier(0.18, 0.76, 0.25, 1),
    opacity var(--chip-duration, 360ms) cubic-bezier(0.18, 0.76, 0.25, 1);
  will-change: transform, opacity;
}

.soe-result-chip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 223, 94, 1), rgba(247, 177, 18, 1));
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  filter: drop-shadow(0 8px 18px rgba(255, 204, 0, 0.35));
}

.soe-result-chip span {
  position: relative;
  z-index: 1;
}

.soe-result-chip--visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.soe-result-row[data-result-row="dove"] .soe-result-row__numbers {
  gap: 16px;
}

.soe-lottery__canvas-frame {
  position: relative;
  inline-size: min(640px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle at 50% 40%, rgba(6, 24, 76, 0.9), rgba(2, 15, 52, 0.88));
  box-shadow: var(--shadow-soft);
}

.soe-lottery__canvas {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  background: transparent;
}

.soe-lottery__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 11, 38, 0.82);
  backdrop-filter: blur(8px);
  transition: opacity var(--transition-med), visibility var(--transition-med);
  z-index: 2;
}

.soe-lottery__overlay[hidden] {
  display: none;
}

.soe-lottery__overlay--hidden {
  opacity: 0;
  pointer-events: none;
}

.soe-lottery__overlay-card {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 6vw, 40px);
  border-radius: var(--radius-md);
  background: rgba(0, 51, 153, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 70px rgba(3, 10, 45, 0.45);
  text-align: center;
  max-inline-size: 440px;
}

.soe-lottery__overlay-title {
  font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem);
  margin: 0;
}

.soe-lottery__overlay-text {
  margin: 0;
  color: var(--text-mid);
  line-height: 1.5;
}

.soe-lottery__overlay .soe-button {
  justify-self: center;
  min-inline-size: 220px;
}

.soe-lottery__sr {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.soe-lottery__controls {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.soe-lottery__controls .soe-lottery__restart {
  min-inline-size: 220px;
}

.soe-lottery__controls .soe-lottery__restart[aria-hidden="true"] {
  display: none;
}

@media (max-width: 640px) {
  .soe-lottery__overlay-card {
    gap: 12px;
  }

  .soe-lottery__overlay .soe-button {
    min-inline-size: 180px;
  }
}

@media (max-width: 960px) {
  .soe-lottery__layout {
    grid-template-columns: 1fr;
  }

  .soe-lottery__info {
    order: 1;
  }
}

.soe-team__list {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 32px;
}

.soe-team__card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 12px;
}

.soe-team__card strong {
  font-size: 1.1rem;
  color: var(--text-high);
}

.soe-team__meta {
  margin: 0;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.soe-team__bio {
  color: var(--text-mid);
}

.soe-team__office {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.soe-contact__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.soe-contact__block {
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 12px;
}

.soe-contact__line {
  font-size: 1.05rem;
  color: var(--text-mid);
}

.soe-legal__wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.soe-legal__block {
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-mid);
  min-height: 220px;
  display: grid;
  align-content: flex-start;
  gap: 12px;
}

.soe-mission {
  display: grid;
  gap: 24px;
}

.soe-mission__statement {
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 12px;
}

.soe-footer {
  margin-top: 96px;
  padding: 48px 24px 64px;
  background: rgba(4, 9, 30, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.soe-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.soe-footer__domains {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--text-mid);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.soe-footer__links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.soe-footer__links a {
  color: var(--text-mid);
  font-weight: 600;
}

.soe-footer__team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 12px;
}

.soe-footer__team-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.soe-footer__team-card .soe-team__bio {
  color: var(--text-mid);
}

.soe-footer__team-card .soe-team__office {
  color: var(--text-muted);
}

.soe-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.soe-footer__org {
  display: grid;
  gap: 4px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.soe-footer__org span:last-child {
  color: var(--eu-yellow);
}

.soe-cookie-banner {
  position: fixed;
  bottom: 24px;
  inset-inline: clamp(12px, 5vw, 48px);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: rgba(4, 11, 38, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-hard);
  display: grid;
  gap: 16px;
  max-width: 440px;
  z-index: 40;
}

.soe-cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.soe-parallax {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 30% 20%, rgba(255, 204, 0, 0.25), transparent 55%),
    radial-gradient(circle at 70% 80%, rgba(0, 51, 153, 0.4), transparent 60%);
  opacity: 0.45;
  transform: translate3d(0, 0, 0);
  transition: opacity var(--transition-med);
}

.soe-parallax--soft {
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.12), transparent 70%);
  opacity: 0.25;
}

.soe-hidden {
  display: none !important;
}

.soe-in-view {
  animation: soeFadeInUp 600ms ease forwards;
}

@keyframes soeFadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  body {
    min-width: 0;
  }

  .soe-nav__list {
    display: none;
  }

  .soe-nav__toggle {
    display: inline-flex;
  }

  .soe-controls {
    margin-left: auto;
    display: none;
  }

  .soe-mobile-drawer {
    position: fixed;
    top: calc(var(--header-height) - 8px);
    right: 16px;
    left: 16px;
    background: rgba(7, 13, 40, 0.96);
    border-radius: var(--radius-md);
    border: var(--border-ghost);
    box-shadow: var(--shadow-hard);
    padding: 24px;
    display: grid;
    gap: 18px;
    transform-origin: top right;
    transform: scale(0.96) translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-med), transform var(--transition-med);
  }

  .soe-mobile-drawer--open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1) translateY(0);
  }

  .soe-mobile-drawer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
  }

  .soe-mobile-drawer .soe-lang-select {
    width: 100%;
    min-width: 0;
  }

  .soe-hero__grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .soe-hero__content {
    grid-column: 1 / -1;
    order: 1;
  }

  .soe-hero__visual {
    grid-column: 1 / -1;
    order: 2;
    display: flex;
    justify-content: center;
    min-height: auto;
  }

  .soe-journey__steps {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .soe-lottery__results {
    grid-template-columns: 1fr;
  }

  .soe-section__surface {
    min-width: 0;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 88px;
  }

  .soe-header__inner {
    padding: 18px 16px;
  }

  .soe-logo img {
    height: 60px;
  }

  .soe-section {
    padding: 0 20px;
  }

  .soe-section__surface {
    padding: 32px 24px;
  }

  .soe-hero__visual {
    order: 1;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
  }

  .soe-hero__content {
    order: 2;
    text-align: center;
  }

  .soe-hero__actions {
    justify-content: center;
    padding-inline: 4px;
  }

  .soe-information {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .soe-information__block {
    padding: 28px 22px;
  }

  .soe-hero__visual img {
    width: min(70vw, 280px);
    margin: 0 auto;
  }

  .soe-journey__steps {
    grid-template-columns: 1fr;
  }

  .soe-result-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .soe-result-row__pool {
    margin: 0 auto;
  }

  .soe-result-row__content {
    align-items: center;
  }

  .soe-result-row__numbers {
    justify-content: center;
  }

  .soe-footer {
    padding-inline: 16px;
  }

  .soe-footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .soe-footer__org {
    justify-items: center;
  }

  .soe-cookie-banner {
    inset-inline: 12px;
    bottom: 12px;
  }
}

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

  .soe-parallax {
    display: none;
  }
}
.soe-game__subheading {
  margin: 32px 0 16px;
  font-size: clamp(1.4rem, 1.2rem + 0.6vw, 2rem);
  color: var(--eu-yellow) !important;
  letter-spacing: 0.04em;
}
