:root {
  --bg2: #26265f;
  --card: #ffffff;
  --accent: #6969c2;
  --muted: #666;
  --text: #222;
  --glass: rgba(255, 255, 255, 0.12);
  background-image: url('../img/jogotela.jpeg');
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  background: linear-gradient(120deg, var(--bg1), var(--bg2));
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  color: var(--text);
}

.frame {
  width: 100%;
  max-width: 1000px;
  background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0.959));
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(252, 241, 241, 0.12);
  backdrop-filter: blur(6px);
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.title {
  display: flex;
  gap: 12px;
  align-items: center;
}

.logo {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #00ff6e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 6px 18px rgba(114, 213, 182, 0.18);
}

h1 {
  font-size: 20px;
  color: #0f0f2b;
}

p.lead {
  color: var(--muted);
  font-size: 14px;
}

nav {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-btn {
  background: transparent;
  border: 1px solid transparent;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all .18s;
}

.nav-btn:hover {
  transform: translateY(-2px);
}

.nav-btn.active {
  background: var(--card);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

main {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page {
  background: var(--card);
  padding: 18px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(14, 14, 30, 0.04);
  display: none;
}

.page.active {
  display: block;
}

.devs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  justify-items: center;
}

.card {
  background: linear-gradient(180deg, #fff, #f8f8ff);
  padding: 12px;
  border-radius: 10px;
  text-align: center;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(115, 115, 167, 0.04);
  cursor: pointer;
  transition: all .18s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(105, 105, 194, 0.3);
  background: linear-gradient(180deg, #eee, #ddd);
}

.card h3 {
  font-size: 16px;
  margin-top: 6px;
  color: #222;
}

.card p {
  font-size: 13px;
  color: var(--muted);
}

.game-info {
  padding: 14px;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #fbfbff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all .18s;
}

.game-info:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.meta .item {
  font-size: 14px;
  color: #333;
  min-width: 180px;
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.btn {
  padding: 10px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  background: var(--accent);
  color: white;
  box-shadow: 0 8px 18px rgba(38, 38, 241, 0.18);
}

.btn.secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(105, 105, 194, 0.14);
}

.list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.list .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  background: #fff;
  cursor: pointer;
  transition: all .18s;
}

.list .row:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.small {
  font-size: 13px;
  color: var(--muted);
}

/* Responsividade */
@media (max-width: 820px) {
  .devs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .devs {
    grid-template-columns: 1fr;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  body {
    padding: 16px;
  }

  .frame {
    padding: 14px;
  }

  .logo {
    width: 46px;
    height: 46px;
    font-size: 16px;
  }

  h1 {
    font-size: 18px;
    text-align: center;
  }

  p.lead {
    font-size: 13px;
    text-align: center;
  }

  nav {
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
  }

  .nav-btn {
    flex: 1 1 100%;
    text-align: center;
    padding: 10px;
  }

  .devs {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .card {
    width: 100%;
    min-height: 140px;
    padding: 10px;
  }

  .avatar {
    width: 80px;
    height: 80px;
  }

  .game-info {
    font-size: 14px;
  }

  .actions {
    flex-direction: column;
    gap: 8px;
  }

  .btn,
  .btn.secondary {
    width: 100%;
    text-align: center;
  }

  footer {
    font-size: 12px;
    padding-top: 10px;
  }
}
