:root {
  --bg: #0f172a;
  --card-bg: #1e293b;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #38bdf8;
  --accent-green: #4ade80;
  --border: #334155;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #000;
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  padding: 30px 15px;
}

.container {
  max-width: 800px;
  margin: 0 auto;
}

.back-nav {
  margin-bottom: 20px;
}

.back-nav a {
  color: var(--accent);
  text-decoration: none;
  font-size: 15px;
}

.back-nav a:hover {
  text-decoration: underline;
}

.jumbotron {
  background-color: rgba(62, 66, 73, 0.85);
  color: white;
  text-align: center;
  padding: 30px 20px;
  border-radius: 12px;
  margin-bottom: 25px;
}

.jumbotron h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.heart {
  color: #ef4444;
}

hr {
  width: 90%;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 15px auto;
}

.chosen-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-green);
  margin-top: 12px;
  min-height: 2.2rem;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

@media (max-width: 640px) {
  .game-grid {
    grid-template-columns: 1fr;
  }
}

.btn-custom {
  background-color: #222;
  border: 2px solid #3a3a3a;
  color: #fff;
  border-radius: 8px;
  padding: 12px 16px;
  cursor: pointer;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  width: 100%;
  transition: border-color 0.15s, background-color 0.15s;
}

.btn-custom:hover {
  border-color: #666;
  background-color: #2a2a2a;
}

.btn-custom.selected {
  border-color: var(--accent-green);
  background-color: #12351f;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.3);
}

.action-row {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.btn-choose {
  max-width: 320px;
  background-color: #111;
  border-color: #444;
}

.linear-wipe {
  text-align: center;
  background: linear-gradient(to right, #FFF 20%, #FF0 40%, #FF0 60%, #FFF 80%);
  background-size: 200% auto;
  color: #000;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  font-size: 1.25rem;
  animation: shine 2.5s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}