.clube-page {
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(245, 197, 24, .18), transparent 50%),
    var(--paper);
}

.club-hero {
  padding: 8.5rem 6vw 3rem;
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 2rem;
  align-items: center;
}

.club-badges {
  list-style: none;
  display: grid;
  gap: .8rem;
}
.club-badges li {
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: .9rem 1.1rem;
  box-shadow: 6px 6px 0 var(--gold);
  transform: rotate(-1deg);
}
.club-badges li:nth-child(even) { transform: rotate(1.4deg); box-shadow: 6px 6px 0 var(--teal); }
.club-badges strong { display: block; font-family: "Bebas Neue", sans-serif; font-size: 1.3rem; }

.missoes, .ranking { padding: 4rem 6vw; }
.missao-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.missao {
  background: var(--cream);
  border-radius: 20px;
  padding: 1.4rem;
  border: 2px solid var(--ink);
}
.missao-tag {
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 800;
  background: var(--ink);
  color: var(--gold);
  padding: .2rem .5rem;
  border-radius: 6px;
}
.missao-tag.gold { background: var(--gold); color: var(--ink); }
.missao-tag.teal { background: var(--teal); color: var(--ink); }
.missao h3 { margin: .7rem 0 .4rem; }
.bar {
  margin-top: 1rem;
  height: 10px;
  background: #e6e0d4;
  border-radius: 99px;
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--coral));
}

.jogo-wrap { padding: 2rem 6vw 4rem; }
.jogo-head {
  display: flex;
  justify-content: space-between;
  gap: 1.4rem;
  align-items: end;
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
}
.jogo-head p { max-width: 36rem; color: var(--mute); }
.hud-legend { display: flex; flex-wrap: wrap; gap: .5rem; }
.lg {
  font-size: .75rem;
  font-weight: 700;
  padding: .3rem .6rem;
  border-radius: 999px;
  background: #fff;
  border: 2px solid var(--ink);
}
.lg.star { background: var(--gold); }
.lg.kid { background: var(--coral); color: #fff; }
.lg.cone { background: #ff9f1c; }
.lg.school { background: var(--navy); color: #fff; }

.game-shell {
  background: #0e1116;
  border-radius: 28px;
  padding: 1rem;
  box-shadow: var(--shadow);
  border: 4px solid var(--gold);
}
.game-hud {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .6rem;
  margin-bottom: .8rem;
}
.hud-item {
  background: #1a1f27;
  color: #fff;
  border-radius: 12px;
  padding: .55rem .7rem;
  text-align: center;
}
.hud-item span {
  display: block;
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #9aa3ad;
}
.hud-item strong {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  color: var(--gold);
}

.canvas-box {
  position: relative;
  background: #123;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 900 / 560;
}
#game {
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: pixelated;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 18, .72);
  display: grid;
  place-items: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
}
.overlay.hidden { display: none; }
.overlay-card {
  background: var(--cream);
  color: var(--ink);
  border-radius: 22px;
  padding: 1.6rem 1.8rem;
  max-width: 420px;
  text-align: center;
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--gold);
}
.overlay-card p { margin: .5rem 0 1rem; color: var(--mute); }
.nick-label {
  display: grid;
  gap: .35rem;
  text-align: left;
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.nick-label input {
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: .65rem .8rem;
}
.hint { font-size: .75rem !important; }
.over-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .6rem;
  margin: 1rem 0;
}
.over-stats div {
  background: var(--ink);
  color: var(--gold);
  border-radius: 12px;
  padding: .5rem;
}
.over-stats span { display: block; font-size: .65rem; color: #bbb; }
.over-stats strong { font-family: "Bebas Neue", sans-serif; font-size: 1.4rem; }

.touch-pad {
  display: none;
  grid-template-columns: 1fr 1fr 1fr;
  gap: .6rem;
  margin-top: .8rem;
}
.touch-pad button {
  background: var(--gold);
  border: 0;
  border-radius: 14px;
  padding: .9rem;
  font-weight: 800;
  cursor: pointer;
}
.touch-pad #btnTurbo { background: var(--coral); color: #fff; }

.rank-list {
  list-style: none;
  max-width: 520px;
  display: grid;
  gap: .5rem;
}
.rank-list li {
  display: flex;
  justify-content: space-between;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: .7rem 1rem;
  font-weight: 700;
}
.rank-list li:first-child { background: var(--gold); }
.rank-empty { color: var(--mute); }

@media (max-width: 980px) {
  .club-hero, .missao-grid, .game-hud { grid-template-columns: 1fr 1fr; }
  .game-hud { grid-template-columns: repeat(3, 1fr); }
  .touch-pad { display: grid; }
}
@media (max-width: 640px) {
  .club-hero, .missao-grid { grid-template-columns: 1fr; }
}
