/* Nordic light shell — erottuva ilme, ei tumma kulta -referenssi */
:root {
  --paper: #e8f0ec;
  --snow: #fbfcfb;
  --frost: #d4e5df;
  --ink: #0a1628;
  --ink-muted: #4f6f72;
  --pine: #1b4d3e;
  --pine-2: #236b52;
  --coral: #c75146;
  --coral-bg: #fde8e5;
  --aurora: #4a9d9c;
  --line: rgba(10, 22, 40, 0.11);
  --line-strong: rgba(10, 22, 40, 0.2);
  --shadow-soft: 0 24px 60px rgba(10, 22, 40, 0.09);
  --shadow-lift: 0 8px 30px rgba(27, 77, 62, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --max: 1060px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse 90% 55% at 0% 0%, rgba(74, 157, 156, 0.18), transparent 52%),
    radial-gradient(ellipse 70% 45% at 100% 10%, rgba(199, 81, 70, 0.1), transparent 48%),
    repeating-linear-gradient(
      -12deg,
      transparent 0,
      transparent 100px,
      rgba(255, 255, 255, 0.35) 100px,
      rgba(255, 255, 255, 0.35) 101px
    );
}

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

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

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 252, 251, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.site-header__bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  flex-wrap: nowrap;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  min-width: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.logo-link:hover {
  text-decoration: none;
  color: var(--pine);
}

.logo-link img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  box-shadow: var(--shadow-lift);
}

.nav-main {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-left: auto;
  justify-content: flex-end;
}

.nav-main a {
  color: var(--ink-muted);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.nav-main a:hover,
.nav-main a[aria-current="page"] {
  background: rgba(27, 77, 62, 0.1);
  color: var(--pine);
  text-decoration: none;
}

.site-header__cluster {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  margin: 0;
  margin-left: auto;
  padding: 8px;
  border: none;
  background: none;
  cursor: pointer;
  flex-shrink: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  color: inherit;
}

.nav-burger:focus-visible {
  outline: 2px solid var(--aurora);
  outline-offset: 3px;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 992px) {
  html {
    overflow-x: clip;
  }

  .site-header__inner {
    flex-wrap: nowrap;
  }

  .nav-burger {
    display: inline-flex;
  }

  .site-header__cluster {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    margin-left: 0;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    background: var(--snow);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.22s ease, transform 0.22s ease;
    z-index: 60;
    max-height: min(72vh, 540px);
    overflow-y: auto;
  }

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

  .nav-main {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin-left: 0;
    justify-content: flex-start;
  }

  .nav-main a {
    display: flex;
    padding: 12px 14px;
    font-size: 0.95rem;
    justify-content: flex-start;
    border-radius: var(--radius-md);
  }

  .header-actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 10px;
  }

  .header-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 993px) {
  .nav-burger {
    display: none !important;
  }

  .site-header__cluster {
    position: static;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    width: auto;
    height: auto;
    max-height: none;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
    flex-direction: row;
    align-items: center;
    gap: 18px;
  }

  .site-header__cluster.nav-open {
    opacity: 1 !important;
    transform: none !important;
  }
}

body.site-gate-locked {
  overflow: hidden;
}

.site-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(10, 22, 40, 0.45);
  backdrop-filter: blur(8px);
}

html.site-gate-passed .site-gate {
  display: none !important;
  pointer-events: none;
}

.site-gate__panel {
  width: min(440px, 100%);
  background: var(--snow);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px 28px 28px;
  box-shadow: var(--shadow-soft);
}

.site-gate__panel h2 {
  font-family: var(--font-display);
  margin: 0 0 10px;
  font-size: 1.45rem;
  color: var(--pine);
  letter-spacing: -0.02em;
}

.site-gate__hint {
  margin: 0 0 20px;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.captcha--gate .captcha__track {
  height: 56px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--aurora);
  outline-offset: 3px;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--line-strong);
}

.btn--ghost:hover {
  background: rgba(27, 77, 62, 0.06);
  text-decoration: none;
}

.btn--primary {
  background: linear-gradient(145deg, var(--pine) 0%, #143d32 100%);
  color: #f4fffb;
  box-shadow: 0 6px 24px rgba(27, 77, 62, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn--block {
  width: 100%;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px 80px;
}

.hero {
  padding: 56px 0 44px;
  display: grid;
  gap: 32px;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    padding-top: 64px;
  }
}

.hero__eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--coral);
  font-weight: 700;
  margin-bottom: 14px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.2vw, 3rem);
  line-height: 1.12;
  margin: 0 0 18px;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.hero h1 span {
  color: var(--pine);
  font-style: italic;
}

.hero p.lead {
  margin: 0 0 26px;
  color: var(--ink-muted);
  max-width: 36em;
}

.hero__panel {
  background: var(--snow);
  border-radius: var(--radius-xl);
  padding: 28px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
}

.hero__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, var(--aurora), var(--coral), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.65;
}

.hero__panel-inner {
  position: relative;
  z-index: 1;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 44px;
}

.stat-card {
  background: var(--snow);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-lift);
  border-left: 4px solid var(--pine);
}

.stat-card:nth-child(even) {
  border-left-color: var(--aurora);
}

.stat-card strong {
  display: block;
  font-family: var(--font-display);
  color: var(--pine);
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.banner-critical {
  background: linear-gradient(100deg, var(--coral-bg), #fff5f3);
  border: 1px solid rgba(199, 81, 70, 0.35);
  border-left: 6px solid var(--coral);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 40px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow-lift);
}

.banner-critical__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(199, 81, 70, 0.18);
  color: var(--coral);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 800;
}

.banner-critical h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.banner-critical p {
  margin: 0;
  color: var(--ink-muted);
  font-weight: 500;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin: 0 0 10px;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.section-intro {
  color: var(--ink-muted);
  margin: 0 0 28px;
  max-width: 52em;
}

.grid-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 52px;
}

.feature-tile {
  background: var(--snow);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 2px 12px rgba(10, 22, 40, 0.04);
}

.feature-tile:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-3px);
}

.feature-tile__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(74, 157, 156, 0.2), rgba(199, 81, 70, 0.12));
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.feature-tile h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  font-family: var(--font-display);
  color: var(--pine);
}

.feature-tile p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.game-showcase {
  background: var(--snow);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: grid;
  gap: 28px;
  margin-bottom: 48px;
  box-shadow: var(--shadow-soft);
}

@media (min-width: 800px) {
  .game-showcase {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.game-showcase__body h2 {
  font-family: var(--font-display);
  margin: 0 0 12px;
  font-size: 1.55rem;
  color: var(--ink);
}

.game-showcase__body p {
  color: var(--ink-muted);
  margin: 0 0 20px;
}

.game-showcase__thumb {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--frost);
  clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%);
  box-shadow: var(--shadow-lift);
}

.disclaimer-card {
  background: var(--snow);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  margin-bottom: 48px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.disclaimer-card__mark {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--coral);
}

.credits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 48px;
}

.credit-card {
  background: var(--snow);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 4px 20px rgba(10, 22, 40, 0.05);
}

.credit-card .label {
  font-size: 0.78rem;
  color: var(--coral);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.credit-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.two-col {
  display: grid;
  gap: 32px;
  margin-bottom: 48px;
}

@media (min-width: 880px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.prose-block {
  background: var(--snow);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lift);
}

.prose-block h2 {
  font-family: var(--font-display);
  margin-top: 0;
  color: var(--pine);
}

.prose-block p:last-child {
  margin-bottom: 0;
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.pill-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  font-size: 0.95rem;
}

.pill-card strong {
  display: block;
  color: var(--pine);
  margin-bottom: 6px;
  font-family: var(--font-display);
}

.contact-shell {
  background: var(--snow);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: grid;
  gap: 28px;
  margin-bottom: 56px;
  box-shadow: var(--shadow-soft);
}

@media (min-width: 860px) {
  .contact-shell {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink-muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--pine);
  box-shadow: 0 0 0 3px rgba(27, 77, 62, 0.15);
}

.captcha {
  margin: 20px 0;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background-color: #e4f0ec;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(74, 157, 156, 0.09) 0,
      rgba(74, 157, 156, 0.09) 9px,
      rgba(199, 81, 70, 0.06) 9px,
      rgba(199, 81, 70, 0.06) 18px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent 0,
      transparent 11px,
      rgba(10, 22, 40, 0.04) 11px,
      rgba(10, 22, 40, 0.04) 12px
    );
}

.captcha__label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-muted);
  margin-bottom: 10px;
}

.captcha__track {
  position: relative;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
  overflow: hidden;
  touch-action: none;
}

.captcha__slot {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 36px;
  border-radius: 8px;
  border: 2px dashed rgba(27, 77, 62, 0.45);
  background: rgba(27, 77, 62, 0.06);
}

.captcha__piece {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--aurora), var(--pine));
  box-shadow: 0 4px 16px rgba(10, 22, 40, 0.2);
  cursor: grab;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: #fff;
  user-select: none;
}

.captcha__piece:active {
  cursor: grabbing;
}

.captcha__status {
  margin-top: 10px;
  font-size: 0.85rem;
  min-height: 1.4em;
}

.captcha__status--ok {
  color: var(--pine-2);
  font-weight: 600;
}

.captcha__status--wait {
  color: var(--ink-muted);
}

.form-msg {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.92rem;
  display: none;
}

.form-msg--ok {
  display: block;
  background: rgba(27, 77, 62, 0.1);
  border: 1px solid rgba(27, 77, 62, 0.35);
  color: var(--pine);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #0d1f1a 0%, #0a1628 100%);
  padding: 52px 22px 32px;
  color: #c5d5d0;
}

.site-footer a {
  color: #9ec4b8;
}

.site-footer a:hover {
  color: #dff5ee;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.site-footer .logo-foot {
  display: inline-flex;
  margin-bottom: 20px;
}

.site-footer .logo-foot img {
  width: 52px;
  height: 52px;
  margin: 0 auto;
  border-radius: 14px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  margin-bottom: 24px;
}

.footer-nav a {
  color: #9fb8b0;
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px 28px;
  margin: 28px 0 20px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-badges a {
  display: block;
  opacity: 0.92;
  transition: opacity 0.2s;
}

.footer-badges a:hover {
  opacity: 1;
}

.footer-badges img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.05);
}

.copyright {
  font-size: 0.8rem;
  color: #6d8a80;
  margin: 0;
}

.page-hero {
  padding: 48px 0 30px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.4rem);
  margin: 0 0 12px;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.page-hero p {
  margin: 0;
  color: var(--ink-muted);
  max-width: 40em;
}

.legal-content {
  background: var(--snow);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 36px;
  margin-bottom: 48px;
  box-shadow: var(--shadow-lift);
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  margin: 28px 0 12px;
  color: var(--pine);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--ink-muted);
}

.legal-content ul {
  padding-left: 1.2em;
}

.legal-content code {
  font-size: 0.88em;
  background: var(--paper);
  padding: 2px 6px;
  border-radius: 6px;
}
