:root{
  --bg: #070912;
  --text: #e5e7eb;
  --muted: rgba(229,231,235,.72);

  --primary: #a855f7;    /* roxo */
  --button: #facc15;     /* amarelo */

  --border: rgba(168,85,247,.26);
  --shadow: rgba(168,85,247,.35);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1100px 600px at 30% 10%, rgba(168,85,247,.22), transparent 60%),
              radial-gradient(900px 500px at 70% 18%, rgba(250,204,21,.18), transparent 55%),
              var(--bg);
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
}

/* bolinhas tipo “estrelas” */
.bg-dots{
  position: fixed;
  inset: 0;
  pointer-events:none;
  background-image: radial-gradient(rgba(250,204,21,.35) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .14;
}

.page{
  padding-bottom: calc(110px + env(safe-area-inset-bottom)); /* nav fixo + safe area */
}

.container{
  width: min(520px, 100%);
  margin: 0 auto;
  padding: 0 16px;
}

.hero{
  text-align:center;
  padding: 44px 16px 12px;
}

.hero h1{
  margin:0 0 10px;
  font-size: 28px;
  font-weight: 950;
  letter-spacing: .2px;
}

.hero p{
  margin:0 auto;
  max-width: 520px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 13.5px;
}

/* GLASS CARD */
.glass-card{
  background: linear-gradient(145deg, rgba(168,85,247,.10), rgba(0,0,0,.45));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
}

.profile-card{
  margin-top: 8px;
}

.profile-row{
  display:flex;
  align-items:center;
  gap: 12px;
}

.avatar-wrap{
  width: 76px;
  height: 76px;
  border-radius: 999px;
  overflow:hidden;
  border: 4px solid var(--primary);
  box-shadow: 0 0 22px var(--shadow);
  flex: 0 0 auto;
}

.avatar-wrap img{
  width:100%;
  height:100%;
  object-fit: cover;
}

.profile-text h2{
  margin:0;
  font-size: 20px;
  color: var(--primary);
  font-weight: 950;
}

.profile-text p{
  margin: 4px 0 0;
  color: rgba(168,85,247,.85);
  font-size: 12.5px;
}

.updated-row{
  margin-top: 10px;
  display:flex;
  justify-content: flex-end;
}

.muted{ color: var(--muted); font-size: 12px; }

.section{ padding-top: 14px; }
.section-title{
  display:flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 12px 0;
}

.section-title h3{
  margin:0;
  font-size: 14px;
  font-weight: 900;
  opacity: .95;
}

.list{ display:flex; flex-direction:column; gap: 14px; }
.spacer{ height: 18px; }

/* CARD JOGO */
.game-outer{
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(90deg, rgba(168,85,247,1), rgba(168,85,247,.7), rgba(168,85,247,1));
  box-shadow: 0 0 22px rgba(168,85,247,.12);
}

.game-card{
  background: rgba(10,10,16,.78);
  border-radius: 22px;
  overflow:hidden;
  backdrop-filter: blur(10px);
  transition: transform .16s ease;
}

.game-card:active{ transform: scale(0.995); }

.game-row{ display:flex; }

.game-left{
  width: 92px;
  border-right: 1px solid rgba(255,255,255,.08);
  position: relative;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 10px;
  min-height: 110px;
}

.rank-badge{
  position:absolute;
  top: 8px;
  left: 8px;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(168,85,247,1), rgba(168,85,247,.65));
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 12px;
  font-weight: 950;
  box-shadow: 0 0 18px rgba(168,85,247,.30);
}

.game-left img{
  box-shadow: 0 0 22px var(--shadow);
  border: 3px solid #a855f7;
  border-radius: 500px;
  width: 150%;
  height: 150%;
  max-height: 70px;
  object-fit: contain;
}

.game-right{
  flex:1;
  padding: 14px;
  display:flex;
  flex-direction: column;
  gap: 10px;
}

.game-top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}

.game-title{
  margin:0;
  font-size: 14.5px;
  font-weight: 950;
}

.tag{
  font-size: 11.5px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 999px;
  color: white;
  white-space:nowrap;
}

.bar-row{
  display:flex;
  align-items:center;
  gap: 10px;
}

.bar{
  height: 10px;
  flex:1;
  background: rgba(255,255,255,.10);
  border-radius: 999px;
  overflow:hidden;
}

.bar > div{
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #22c55e, #4ade80);
  transition: width .35s ease;
}

.percent{
  font-weight: 950;
  font-size: 13.5px;
  opacity: .95;
}

.play-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  text-decoration:none;
  background: linear-gradient(90deg, var(--button), rgba(250,204,21,.7), var(--button));
  color: #0b0b0b;
  font-weight: 1000;
  padding: 13px 14px;
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(250,204,21,.15);
  transition: transform .15s ease, filter .15s ease;
  user-select:none;
}

.play-btn:active{
  transform: translateY(1px);
}

/* SOCIAL */
.social-card{
  display:flex;
  align-items:center;
  gap: 14px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(10px);
  text-decoration:none;
}

.social-icon{
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 26px;
  color: #fff;
  box-shadow: 0 0 18px rgba(0,0,0,.22);
}

.social-text h4{
  margin:0 0 2px;
  font-size: 16px;
  font-weight: 950;
}

.social-text p{
  margin:0;
  color: var(--muted);
  font-size: 12px;
}

/* NAV FIXO (mobile) */
.bottom-nav{
  position: fixed;
  left: 0;
  right:0;
  bottom: 0;
  padding: 12px 14px calc(16px + env(safe-area-inset-bottom));
  z-index: 50;
}

.nav-shell{
  width: min(520px, 100%);
  margin: 0 auto;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(168,85,247,.22);
  border-radius: 26px;
  padding: 10px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  display:flex;
  gap: 10px;
}

.nav-btn{
  flex:1;
  border:0;
  background: transparent;
  color: var(--muted);
  border-radius: 20px;
  padding: 10px 8px;
  display:flex;
  flex-direction: column;
  align-items:center;
  gap: 4px;
  cursor:pointer;
}

.nav-btn.active{
  background: rgba(168,85,247,.16);
  color: var(--primary);
}

.nav-ico{ font-size: 18px; }
.nav-label{ font-size: 12px; font-weight: 900; }

.hidden{ display:none !important; }

/* ================================
   HOVER / CLICK GLOW + ZOOM
================================ */

/* Base para qualquer item clicável */
.clickable {
  position: relative;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

/* Neon atrás */
.clickable::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  background: radial-gradient(
    circle at center,
    rgba(168,85,247,0.45),
    transparent 70%
  );
  opacity: 0;
  z-index: -1;
  transition: opacity 0.18s ease;
  filter: blur(14px);
}

/* HOVER (desktop) */
@media (hover: hover) {
  .clickable:hover {
    transform: scale(1.025);
    box-shadow:
      0 0 20px rgba(168,85,247,0.35),
      0 12px 28px rgba(0,0,0,0.45);
  }

  .clickable:hover::after {
    opacity: 1;
  }
}

/* CLICK / TAP (mobile) */
.clickable:active {
  transform: scale(0.97);
  box-shadow:
    0 0 28px rgba(168,85,247,0.55),
    0 16px 36px rgba(0,0,0,0.55);
}

.clickable:active::after {
  opacity: 1;
}

/* Botão jogar agora - glow amarelo */
.play-btn.clickable::after {
  background: radial-gradient(
    circle at center,
    rgba(250,204,21,0.55),
    transparent 70%
  );
}

/* Social card glow baseado na cor */
.social-card.clickable::after {
  filter: blur(18px);
}

