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

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0d0d10;
  color: #eaeaea;
  font-family: system-ui, sans-serif;
  padding: 2rem 1rem;
}

#app {
  text-align: center;
  width: 100%;
  max-width: 420px;
}

h1 {
  font-size: 2rem;
  letter-spacing: 0.05em;
}

.sub {
  margin-top: 0.5rem;
  color: #888;
}

h2 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #666;
  text-align: left;
}

#tabs {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  border-bottom: 1px solid #2c2c33;
}

#tabs button {
  background: none;
  border: none;
  color: #777;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transform: translateY(1px);
}

#tabs button:hover {
  color: #ccc;
}

#tabs button.active {
  color: #fff;
  border-bottom-color: #6b1f1f;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

#practica {
  margin-top: 1.5rem;
}

#game-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

#game-list button {
  background: #1a1a1f;
  color: #ccc;
  border: 1px solid #2c2c33;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

#game-list button:hover {
  border-color: #6b1f1f;
}

#game-list button.active {
  background: #6b1f1f;
  color: #fff;
  border-color: #6b1f1f;
}

#player-wrap {
  margin-top: 1.5rem;
}

#player-wrap iframe {
  width: 100%;
  border: none;
}

#teoria {
  margin-top: 2rem;
  text-align: left;
  background: #1a1a1f;
  border: 1px solid #2c2c33;
  border-radius: 8px;
  padding: 1rem 1.25rem;
}

#teoria h2 {
  margin-bottom: 0.5rem;
}

.why-body {
  margin-top: 0.75rem;
  color: #aaa;
  font-size: 0.85rem;
  line-height: 1.6;
}

.why-body dt {
  color: #eaeaea;
  font-weight: bold;
  font-size: 0.9rem;
}

.why-body dt:not(:first-child) {
  margin-top: 1rem;
}

.why-body dd {
  margin-top: 0.25rem;
}

#estimulos {
  margin-top: 2rem;
  text-align: left;
  background: #1a1a1f;
  border: 1px solid #2c2c33;
  border-radius: 8px;
  padding: 1rem 1.25rem;
}

#estimulos h2 {
  margin-bottom: 0.75rem;
}

.estimulo h3 {
  color: #eaeaea;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.estimulo-note {
  color: #777;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.estimulo + .estimulo {
  margin-top: 1.25rem;
}

.checklist {
  list-style: none;
  color: #aaa;
  font-size: 0.85rem;
  line-height: 1.6;
}

.checklist li + li {
  margin-top: 0.5rem;
}

.checklist strong {
  color: #eaeaea;
}
