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

:root {
  --bg-deep: #0a1020;
  --bg-card: rgba(21, 32, 58, 0.72);
  --bg-card-solid: #121c36;
  --stroke: rgba(125, 211, 252, 0.18);
  --text: #e8eef9;
  --muted: rgba(216, 228, 255, 0.72);
  --accent-a: #7dd3fc;
  --accent-b: #c4b5fd;
  --accent-mix: linear-gradient(120deg, #7dd3fc 0%, #a78bfa 55%, #c4b5fd 100%);
  --warn-bg: linear-gradient(90deg, #fbbf24 0%, #f59e0b 50%, #fbbf24 100%);
  --warn-text: #1e0a00;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Sora", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: radial-gradient(1200px 600px at 10% -10%, rgba(56, 189, 248, 0.12), transparent),
    radial-gradient(900px 500px at 90% 0%, rgba(167, 139, 250, 0.1), transparent),
    linear-gradient(170deg, var(--bg-deep) 0%, #0d1528 40%, #0a0e18 100%);
  min-height: 100vh;
}

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

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

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 10000;
  padding: 0.65rem 1rem;
  background: #fef3c7;
  color: #1c1917;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}

/* —— Varoitus nauha —— */
.banner-kriisi {
  position: sticky;
  top: 0;
  z-index: 9000;
  padding: 0.55rem 1rem;
  text-align: center;
  font-weight: 700;
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  letter-spacing: 0.02em;
  color: var(--warn-text);
  background: var(--warn-bg);
  border-bottom: 3px solid #b45309;
  box-shadow: 0 4px 22px rgba(245, 158, 11, 0.45);
}

.banner-kriisi small {
  display: block;
  font-weight: 600;
  font-size: 0.85em;
  margin-top: 0.35rem;
  opacity: 0.92;
}

.vip-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0 1.5rem;
  flex-wrap: wrap;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.brand-lockup:hover {
  text-decoration: none;
}

.brand-lockup img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.25);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
  justify-content: flex-end;
}

.main-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}

.main-nav a:hover {
  color: var(--text);
  background: rgba(125, 211, 252, 0.1);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.12s, box-shadow 0.12s, filter 0.12s;
}

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

.btn-primary {
  color: #0a1020;
  background: var(--accent-mix);
  box-shadow: 0 12px 36px rgba(125, 211, 252, 0.28);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  color: var(--text);
  background: transparent;
  border: 2px solid rgba(196, 181, 253, 0.45);
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.08);
}

.btn-ghost:hover {
  border-color: var(--accent-a);
  background: rgba(125, 211, 252, 0.06);
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 2rem 0 3.5rem;
}

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

.hero-lead {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  background: var(--accent-mix);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 34rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--stroke);
  font-size: 0.82rem;
  color: var(--muted);
}

.hero-badges svg {
  flex-shrink: 0;
  opacity: 0.9;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 120deg, rgba(56, 189, 248, 0.08), transparent, rgba(167, 139, 250, 0.1), transparent);
  animation: spin 22s linear infinite;
  pointer-events: none;
}

.hero-visual picture,
.hero-visual .hero-visual-img {
  position: relative;
  z-index: 1;
  display: block;
}

.hero-visual .hero-visual-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(125, 211, 252, 0.12);
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

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

.slot-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--bg-card-solid);
  border: 1px solid rgba(125, 211, 252, 0.22);
  padding: 1.25rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.75rem;
}

.slot-card .bar {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.25), rgba(167, 139, 250, 0.35));
}

.slot-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.slot-cell {
  aspect-ratio: 1;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.section {
  padding: 3rem 0;
}

.section-head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

.section-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-a);
  margin: 0 0 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.section-desc {
  margin: 0;
  color: var(--muted);
}

.grid-3 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--stroke);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  transition: border-color 0.15s, transform 0.15s;
}

.card:hover {
  border-color: rgba(125, 211, 252, 0.35);
  transform: translateY(-2px);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(125, 211, 252, 0.25);
  margin-bottom: 1rem;
  color: var(--accent-a);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

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

.boost-panel {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.55);
  border: 1px dashed rgba(196, 181, 253, 0.35);
  text-align: center;
}

.boost-panel p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.split {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stat-tile {
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--stroke);
}

.stat-tile strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
  color: var(--accent-b);
}

.stat-tile span {
  font-size: 0.82rem;
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 780px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--stroke);
  position: relative;
}

.step-num {
  width: 40px;
  height: 40px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: var(--accent-mix);
  color: #0a1020;
}

.resp-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.resp-list li {
  display: flex;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--stroke);
}

.resp-list svg {
  flex-shrink: 0;
  color: var(--accent-a);
}

.cta-band {
  margin: 3rem 0;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-xl);
  text-align: center;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(167, 139, 250, 0.1));
  border: 1px solid var(--stroke);
}

.cta-band p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.site-footer {
  margin-top: 2rem;
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--stroke);
}

.footer-top {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .footer-top {
    grid-template-columns: 1.2fr repeat(3, 1fr);
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-brand a.brand-lockup {
  font-size: 1rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 0.75rem;
  color: var(--accent-a);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-col a {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 1.75rem;
  margin: 2rem 0 1.5rem;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--stroke);
}

.footer-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.5rem;
  opacity: 0.88;
  transition: opacity 0.15s;
}

.footer-logos a:hover {
  opacity: 1;
  text-decoration: none;
}

.footer-logos img {
  max-height: 36px;
  width: auto;
  object-fit: contain;
}

.legal-note {
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(203, 213, 225, 0.55);
  max-width: 900px;
  margin: 0 auto 1.25rem;
  text-align: center;
}

.copyright {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(148, 163, 184, 0.45);
  margin: 0;
}

/* Pelisivu */
.play-wrap {
  padding: 1.5rem 0 3rem;
}

.play-frame-shell {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-soft);
  background: #000;
  min-height: min(72vh, 720px);
}

.play-frame-shell iframe {
  width: 100%;
  height: min(72vh, 720px);
  border: 0;
  display: block;
}

.play-hint {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Sisältösivut */
.article-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

.article-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 1rem;
}

.article-page h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 2rem 0 0.75rem;
}

.article-page p,
.article-page li {
  color: var(--muted);
}

.article-page ul {
  padding-left: 1.25rem;
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual::before {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }

  .btn:hover,
  .card:hover {
    transform: none;
  }
}
