body {
  margin: 0;
  font-family: 'Press Start 2P', 'VT323', monospace;
  background-color: #91cca9;
  background-image: url('/assets/patern.png');
  background-repeat: repeat;
  background-size: 127px 127px;
  color: #0f172a;
}

.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 16px 80px;
  text-align: center;
}

.logo {
  width: min(100%, 520px);
  aspect-ratio: 667 / 138;
  margin: 0 auto -32px;
  position: relative;
  z-index: 2;
  display: block;
  background: url('/assets/logo.png') center center / contain no-repeat;
  text-indent: -9999px;
  overflow: hidden;
}

.card {
  background: rgba(12, 12, 12, 0.88);
  border: 2px solid #0f172a;
  border-radius: 12px;
  padding: 48px 24px 32px;
  box-shadow: 0 10px 0 rgba(22, 101, 52, 0.35);
}

.intro {
  color: #e4e4e7;
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 12px;
}

.mobile-warning {
  display: none;
  margin-bottom: 16px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fecdd3;
  font-size: 12px;
  line-height: 1.4;
}

.lang-switch {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  width: 100%;
}

.lang-switch button {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #0f172a;
  background: #10b981;
  color: #0b1120;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.lang-switch button.secondary {
  background: #111827;
  color: #e4e4e7;
  border-color: #334155;
}

.game-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 12px;
  margin-bottom: 24px;
}

.game-shell.hide-on-mobile {
  display: flex;
}

.controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}

.backhome {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 2px solid #0f172a;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(12,12,12,0.9) 0%, rgba(28,28,28,0.9) 100%);
  color: #e2e8f0;
  text-decoration: none;
  box-shadow: 0 6px 0 rgba(15, 23, 42, 0.3);
  transition: background 120ms ease, box-shadow 120ms ease;
}

.backhome:hover {
  background: linear-gradient(90deg, rgba(28,28,28,0.95) 0%, rgba(44,44,44,0.95) 100%);
  box-shadow: 0 8px 0 rgba(15, 23, 42, 0.32);
}

.backhome__image {
  width: 96px;
  height: 96px;
  background: url('homepage.png') center center / cover no-repeat;
  border-radius: 8px;
}

.backhome__text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-align: left;
  line-height: 1.5;
}

.backhome__text strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.backhome__text small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #cbd5e1;
}

@media (max-width: 720px) {
  .backhome {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    padding: 14px;
  }

  .backhome__text {
    text-align: center;
  }
}

.jukebox {
  position: relative;
  margin-top: 28px;
  padding: 18px;
  background: linear-gradient(135deg, #0f172a 0%, #132a13 100%);
  border: 1px solid #1f2937;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 18px;
  align-items: center;
  color: #e2e8f0;
}

@media (max-width: 720px) {
  .jukebox {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px 18px;
  }

  .jukebox-visual {
    display: none;
  }

  .jukebox-content {
    grid-column: 1 / span 1;
    padding-left: 0 !important;
    padding-top: 0;
    width: 100%;
  }

  .mobile-warning {
    display: block;
  }

  .game-shell.hide-on-mobile {
    display: none;
  }
}

.jukebox-visual {
  position: absolute;
  top: 80px;
}

.jukebox-visual img {
  width: 100%;
  max-width: 280px;
  margin-left: 20px;
}

.jukebox-content {
  grid-column: 1 / span 2;
  padding-left: 300px;
  text-align: left;
}

.jukebox-title {
  margin: 0 0 8px;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.jukebox-description {
  margin: 0 0 14px;
  color: #cbd5e1;
  line-height: 1.5;
  font-size: 13px;
}

.jukebox-description a {
  color: #22d3ee;
  font-weight: 700;
  text-decoration: none;
}

.jukebox-description a:hover {
  color: #38bdf8;
  text-decoration: underline;
}

.jukebox-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.jukebox-list a {
  color: #22d3ee;
  text-decoration: none;
  font-weight: 700;
}

.jukebox-list a:hover {
  color: #38bdf8;
  text-decoration: underline;
}
