:root {
  --bg-main: #07120F;
  --bg-surface: #0f141c;
  --bg-card: #161d26;
  --text-main: #FFFFFF;
  --text-muted: rgba(255, 255, 255, 0.7);
  --text-dim: rgba(255, 255, 255, 0.4);
  
  /* Cyber Cyan / Aqua hehkut */
  --neon-cyan: #00e5ff;
  --neon-cyan-glow: rgba(0, 229, 255, 0.35);
  
  /* Peli- ja korostusvärit */
  --neon-green: #00FF66;
  --kinkki-blue: #2979FF;
  --seven-purple: #D500F9;
  
  --border: rgba(0, 229, 255, 0.15);
  --border-subtle: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.modal-open {
  overflow: hidden;
}

:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 3px;
}

main {
  flex: 1;
}

.error-page {
  width: min(100% - 32px, 560px);
  margin: auto;
  padding: 64px 0;
  text-align: center;
}

.error-logo {
  width: min(280px, 80vw);
  height: auto;
  margin-bottom: 24px;
  filter: drop-shadow(0 0 28px var(--neon-cyan-glow));
}

.error-code {
  color: var(--neon-cyan);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.error-page h1 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 8vw, 3rem);
}

.error-page > p:not(.error-code) {
  margin-bottom: 28px;
  color: var(--text-muted);
}

.container {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigaatio */
.navbar {
  background-color: rgba(7, 18, 15, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 11px 0;
}

.nav-container {
  max-width: 100%;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  z-index: 2;
}

.nav-logo {
  height: 44px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.35));
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  padding: 6px 0;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px var(--neon-cyan-glow);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--neon-cyan);
  box-shadow: 0 0 8px var(--neon-cyan);
  border-radius: 2px;
}

/* Painikkeet */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--neon-cyan);
  color: #07120F;
  box-shadow: 0 0 20px var(--neon-cyan-glow);
  border: none;
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.6);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--bg-card);
  color: #fff;
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
}

/* Yleiset osiot */
.section {
  padding: 80px 0;
}

.hero-section {
  padding-top: 40px;
}

.page-section {
  padding-top: 60px;
}

.section-header {
  margin-bottom: 40px;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 650px;
}

.text-center {
  text-align: center;
}

.text-center .section-desc {
  margin: 0 auto;
}

/* Etusivun 3-palstainen Hero */
.hero-full-width-container {
  width: 100%;
  padding: 0 40px;
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr) minmax(300px, 360px);
  gap: 30px;
  align-items: center;
}

.hero-left {
  width: 100%;
  min-width: 0;
  justify-self: start;
}

.hero-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-width: 0;
  max-width: 680px;
  margin: 0 auto;
}

.hero-spacer {
  display: block;
}

.hero-logo-wrapper {
  margin-bottom: 24px;
}

.hero-logo {
  max-width: 360px;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 35px var(--neon-cyan-glow));
}

.badge {
  display: inline-block;
  padding: 6px 18px;
  background-color: rgba(0, 229, 255, 0.08);
  border: 1px solid var(--neon-cyan);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--neon-cyan);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-center h1 {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.hero-center p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 32px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* Latauskortti */
.kinkki-download-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  text-align: left;
}

.kinkki-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.kinkki-card-header h2 {
  font-size: 1.35rem;
  color: #fff;
  font-weight: 800;
}

.kinkki-card-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.download-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.method-block {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 16px 18px;
}

.platform-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.platform-icon {
  font-size: 1.3rem;
}

.platform-title strong {
  color: #fff;
  font-size: 1.05rem;
}

.method-block p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 10px;
}

.step-list {
  margin-left: 18px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.step-list li {
  margin-bottom: 4px;
}

.step-list b {
  color: var(--neon-cyan);
}

.store-link-placeholder {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px dashed var(--border);
  border-radius: 8px;
  color: var(--text-dim);
  font-size: 0.82rem;
  font-weight: 700;
}

.store-badge {
  display: inline-flex;
  flex-direction: column;
  background-color: #000;
  color: #fff;
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.8rem;
}

.store-badge strong {
  font-size: 1rem;
}

/* Sovellukset-sivu */
.single-app-wrapper {
  max-width: 850px;
  margin: 0 auto;
}

.game-card {
  border-radius: 20px;
  padding: 24px 28px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease;
  text-decoration: none;
}

.game-card:hover {
  transform: translateY(-4px);
}

.cyber-casino-featured {
  background: linear-gradient(135deg, #101c26 0%, #172b3c 100%);
  border: 1px solid var(--neon-cyan);
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.15);
}

.cyber-casino-featured:hover {
  box-shadow: 0 15px 40px rgba(0, 229, 255, 0.3);
  border-color: #5ceeff;
}

.game-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.game-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.card-subtitle {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 700;
}

.game-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.game-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin-bottom: 16px;
}

.card-footer-action {
  display: flex;
  justify-content: flex-end;
}

/* 3/4 ja 1/4 Asettelu Sovellussivulla */
.app-detail-container {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 48px;
  align-items: start;
}

.breadcrumb a {
  color: var(--neon-cyan);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 20px;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.detail-hero {
  margin-bottom: 36px;
}

.detail-title {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.detail-lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 40px;
}

.feature-box h2 {
  font-size: 1.4rem;
  color: var(--neon-cyan);
  margin-bottom: 18px;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-bullets li {
  color: var(--text-muted);
  font-size: 1rem;
  position: relative;
  padding-left: 24px;
}

.feature-bullets li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--neon-green);
  font-size: 1.1rem;
}

.feature-bullets strong {
  color: #fff;
}

/* Säännöt */
.rules-section-wrapper {
  margin-top: 40px;
}

.sub-heading {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.rule-block {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 24px;
}

.rule-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.game-badge {
  background: var(--kinkki-blue);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 6px;
}

.game-badge.purple {
  background: var(--seven-purple);
}

.rule-block h3 {
  font-size: 1.3rem;
  color: #fff;
}

.rule-block > p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.rules-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.rule-item {
  background: var(--bg-surface);
  padding: 18px;
  border-radius: 12px;
}

.rule-item strong {
  color: var(--neon-cyan);
  display: block;
  margin-bottom: 6px;
}

.rule-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Sivupalstan galleria (1/4) */
.gallery-sticky {
  position: sticky;
  top: 100px;
}

.gallery-title {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.gallery-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.screenshot-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 12px;
  text-align: center;
  transition: transform 0.2s ease;
}

.screenshot-card:hover {
  transform: scale(1.02);
  border-color: var(--neon-cyan);
}

.mockup-screen {
  background: #020508;
  height: 180px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
}

.mock-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--neon-cyan);
  text-transform: uppercase;
  text-align: left;
}

.mock-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 1px;
  border-radius: 6px;
  margin-top: 6px;
}

.lobby-preview { background: rgba(0, 255, 102, 0.06); color: var(--neon-green); }
.kinkki-preview { background: rgba(41, 121, 255, 0.1); color: var(--kinkki-blue); }
.seven-preview { background: rgba(213, 0, 249, 0.1); color: var(--seven-purple); }

.screenshot-card .caption {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 8px;
}

/* Suunnitelmat / Roadmap */
.roadmap-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.roadmap-item {
  display: flex;
  align-items: flex-start;
  gap: 0;
  background-color: var(--bg-card);
  padding: 24px 28px;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
}

.roadmap-body {
  flex: 1;
}

.roadmap-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.roadmap-meta h2 {
  font-size: 1.2rem;
  color: #fff;
}

.badge-status {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
}

.badge-status.done { background: rgba(0, 255, 102, 0.15); color: var(--neon-green); }
.badge-status.current { background: rgba(0, 229, 255, 0.15); color: var(--neon-cyan); }
.badge-status.future { background: rgba(255, 255, 255, 0.08); color: var(--text-dim); }
.badge-status.idea { background: rgba(255, 170, 0, 0.15); color: #ffaa00; }

.planned-games-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.game-pill {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.disclaimer-text {
  margin-top: 10px;
  font-size: 0.85rem !important;
  color: var(--text-dim) !important;
}

/* Palautelomake */
.feedback-container {
  max-width: 760px;
  margin: 0 auto;
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.anon-info-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid var(--border);
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 28px;
}

.anon-info-banner p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.anon-info-banner b {
  color: var(--neon-cyan);
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.form-group .optional {
  font-size: 0.8rem;
  font-weight: normal;
  color: var(--text-dim);
}

.form-group .required {
  color: var(--neon-cyan);
}

.form-group input,
.form-group textarea {
  width: 100%;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px 16px;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 12px var(--neon-cyan-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-dim);
  font-size: 0.78rem;
}

.submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
  margin-top: 10px;
}

.form-status {
  margin-top: -4px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.9rem;
}

.form-status:empty {
  display: none;
}

.form-status.is-error {
  color: #ffd6d6;
  background: rgba(255, 76, 76, 0.1);
  border-color: rgba(255, 76, 76, 0.28);
}

.form-status.is-info {
  color: var(--text-main);
  background: rgba(0, 229, 255, 0.08);
  border-color: var(--border);
}

/* Modaalit */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 8, 12, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-window {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  width: 100%;
  max-width: 650px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.25);
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.modal-overlay.active .modal-window {
  transform: translateY(0);
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  font-size: 1.4rem;
  color: var(--neon-cyan);
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #fff;
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.modal-body h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-top: 16px;
  margin-bottom: 6px;
}

.modal-body h3:first-child {
  margin-top: 0;
}

.legal-updated {
  color: var(--text-dim);
  font-size: 0.82rem;
}

.legal-updated + h3 {
  margin-top: 0;
}

.modal-body p {
  margin-bottom: 12px;
}

.modal-body ul {
  margin-left: 20px;
  margin-bottom: 14px;
}

.modal-body li {
  margin-bottom: 4px;
}

.modal-body b {
  color: #fff;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: flex-end;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  margin-left: 20px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--neon-cyan);
}

/* Responsiivisuus */
@media (max-width: 1200px) {
  .hero-full-width-container {
    grid-template-columns: minmax(300px, 340px) minmax(0, 1fr);
  }
  .hero-spacer {
    display: none;
  }
}

@media (max-width: 950px) {
  .navbar {
    padding: 10px 0 0;
  }
  .nav-container {
    display: grid;
    grid-template-columns: auto 1fr;
    row-gap: 8px;
    padding: 0 16px;
  }
  .nav-logo {
    height: 44px;
  }
  .nav-container nav {
    grid-column: 1 / -1;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav-container nav::-webkit-scrollbar {
    display: none;
  }
  .nav-links {
    position: static;
    width: max-content;
    min-width: 100%;
    margin: 0;
    padding: 0 0 11px;
    transform: none;
    justify-content: center;
    gap: 24px;
  }
  .nav-links a {
    display: block;
    white-space: nowrap;
    font-size: 0.92rem;
  }
  .section {
    padding: 56px 0;
  }
  .page-section {
    padding-top: 42px;
  }
  .hero-section {
    padding-top: 24px;
  }
  .hero-full-width-container {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 28px;
  }
  .hero-center {
    order: -1;
  }
  .hero-left {
    max-width: 680px;
    justify-self: center;
  }
  .hero-logo-wrapper {
    margin-bottom: 14px;
  }
  .hero-logo {
    max-width: 240px;
  }
  .badge {
    margin-bottom: 12px;
  }
  .hero-center h1 {
    font-size: clamp(2rem, 6vw, 2.4rem);
    line-height: 1.08;
  }
  .hero-center p {
    margin-bottom: 24px;
    font-size: 1.05rem;
  }
  .section-title,
  .detail-title {
    font-size: clamp(2rem, 6vw, 2.4rem);
    line-height: 1.12;
  }
  .app-detail-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .gallery-sticky {
    position: static;
  }
  .gallery-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  .rules-subgrid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 16px;
  }
  .navbar {
    padding-top: 8px;
  }
  .nav-container {
    row-gap: 6px;
    padding: 0 12px;
  }
  .nav-logo {
    height: 38px;
  }
  .nav-container nav {
    overflow: visible;
  }
  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 3px 10px;
    padding-bottom: 9px;
  }
  .nav-links a {
    padding: 6px 4px;
    white-space: normal;
    text-align: center;
    font-size: 0.82rem;
    line-height: 1.2;
  }
  .section {
    padding: 40px 0;
  }
  .page-section {
    padding-top: 32px;
  }
  .hero-section {
    padding-top: 20px;
  }
  .hero-full-width-container {
    padding: 0 16px;
    gap: 24px;
  }
  .hero-logo {
    max-width: 200px;
  }
  .hero-center h1 {
    font-size: clamp(1.75rem, 9vw, 2rem);
    margin-bottom: 12px;
  }
  .hero-center p {
    font-size: 0.98rem;
    margin-bottom: 20px;
  }
  .hero-buttons {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .hero-buttons .btn {
    width: 100%;
    max-width: 320px;
  }
  .kinkki-download-card {
    padding: 20px;
    border-radius: 18px;
  }
  .kinkki-card-header {
    align-items: flex-start;
  }
  .method-block {
    padding: 14px;
  }
  .section-title,
  .detail-title {
    font-size: 1.85rem;
    overflow-wrap: anywhere;
  }
  .section-desc,
  .detail-lead {
    font-size: 1rem;
  }
  .game-card {
    padding: 20px;
  }
  .game-header {
    align-items: flex-start;
    gap: 12px;
  }
  .game-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
  }
  .game-title {
    font-size: 1.4rem;
    line-height: 1.15;
  }
  .card-subtitle {
    font-size: 0.7rem;
  }
  .card-footer-action .btn {
    width: 100%;
  }
  .feature-box,
  .rule-block {
    padding: 20px;
  }
  .rule-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .roadmap-item {
    padding: 18px 16px;
    gap: 12px;
  }
  .roadmap-meta h2 {
    font-size: 1.05rem;
  }
  .form-card {
    padding: 20px;
    border-radius: 18px;
  }
  .anon-info-banner {
    align-items: flex-start;
    padding: 12px;
  }
  .modal-overlay {
    padding: 10px;
  }
  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 16px;
  }
  footer {
    padding: 28px 0;
  }
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 18px;
  }
  .footer-links a {
    margin-left: 0;
  }
}
