*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

:root{
  --bg:#07142d;
  --bg-2:#091a38;
  --hero:#0c1f44;
  --hero-2:#102654;
  --card:#102654;
  --card-2:#132c63;
  --text:#ffffff;
  --muted:#cbd5e1;
  --gold:#fbbf24;
  --gold-2:#f59e0b;
  --line:rgba(255,255,255,0.08);
}

body{
  font-family:Arial, Helvetica, sans-serif;
  background:linear-gradient(180deg,var(--bg) 0%, var(--bg-2) 100%);
  color:var(--text);
  line-height:1.5;
}

.app{
  max-width:480px;
  margin:0 auto;
  min-height:100vh;
  padding-bottom:88px;
}

.hero{
  background:linear-gradient(180deg,var(--hero) 0%, var(--hero-2) 100%);
  padding:28px 20px 24px;
  text-align:center;
  border-bottom-left-radius:24px;
  border-bottom-right-radius:24px;
  box-shadow:0 10px 30px rgba(0,0,0,.25);
}

.logo-wrap{
  width:130px;
  height:130px;
  margin:0 auto 14px;
  border-radius:28px;
  background:rgba(255,255,255,.04);
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--line);
  overflow:hidden;
}

.logo-wrap img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

h1{
  margin:10px 0 8px;
  font-size:2rem;
  line-height:1.1;
}

.subtitle{
  margin:0;
  color:var(--muted);
  font-size:1rem;
}

.tag{
  display:inline-block;
  margin-top:14px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(251,191,36,.12);
  color:#ffe08a;
  border:1px solid rgba(251,191,36,.28);
  font-size:.9rem;
  font-weight:bold;
}

.container{
  padding:18px;
}

.card{
  background:var(--card);
  border-radius:18px;
  padding:18px;
  margin-bottom:16px;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.05);
}

.card h2{
  margin:0 0 8px;
  font-size:1.2rem;
}

.card p{
  color:var(--muted);
  margin:0;
  line-height:1.45;
}

.section-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:10px;
}

.text-link{
  color:#ffe08a;
  text-decoration:none;
  font-size:.88rem;
}

.text-link:hover{
  text-decoration:underline;
}

.menu{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:16px;
}

.menu-link{
  text-decoration:none;
}

.menu button{
  width:100%;
  padding:15px 12px;
  font-size:15px;
  border:none;
  border-radius:12px;
  background:var(--gold);
  color:#1f2937;
  cursor:pointer;
  font-weight:bold;
  transition:.2s ease;
}

.menu button:hover{
  background:var(--gold-2);
  transform:translateY(-1px);
}

.player{
  background:var(--card-2);
  padding:12px 14px;
  margin:10px 0;
  border-radius:12px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
}

.player strong{
  display:block;
  font-size:.98rem;
}

.player span{
  display:block;
  color:var(--muted);
  font-size:.86rem;
  margin-top:3px;
}

.rating{
  min-width:48px;
  text-align:center;
  padding:8px 10px;
  border-radius:10px;
  background:rgba(251,191,36,.15);
  color:#ffe08a;
  font-weight:bold;
}

.mb16{
  margin-bottom:16px !important;
}

.tatica-mini{
  background:linear-gradient(180deg, #0d7a30 0%, #0b6623 100%);
  height:220px;
  border-radius:16px;
  position:relative;
  overflow:hidden;
  border:2px solid rgba(255,255,255,.08);
}

.tatica-linha{
  position:absolute;
  inset:12px;
  border:2px solid rgba(255,255,255,.30);
  border-radius:8px;
}

.tatica-meio{
  position:absolute;
  left:50%;
  top:12px;
  bottom:12px;
  width:2px;
  background:rgba(255,255,255,.30);
  transform:translateX(-50%);
}

.tatica-circulo{
  position:absolute;
  width:58px;
  height:58px;
  border-radius:50%;
  border:2px solid rgba(255,255,255,.30);
  left:50%;
  top:50%;
  transform:translate(-50%, -50%);
}

.jogador{
  position:absolute;
  width:34px;
  height:34px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:bold;
  box-shadow:0 6px 15px rgba(0,0,0,.2);
}

.azul{
  background:#1d4ed8;
  color:#fff;
}

.amarelo{
  background:#fbbf24;
  color:#111827;
}

.j1{ left:16px; top:92px; }
.j2{ left:105px; top:36px; }
.j3{ left:105px; top:148px; }
.j4{ right:105px; top:70px; }
.j5{ right:16px; top:92px; }

.chat{
  background:var(--card-2);
  padding:12px;
  border-radius:12px;
  margin:10px 0;
  text-align:left;
  color:#fff;
  line-height:1.4;
}

.chat small{
  display:block;
  color:var(--muted);
  margin-bottom:4px;
}

.status-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:10px;
}

.status-box{
  background:var(--card-2);
  border-radius:12px;
  padding:14px 12px;
}

.status-box strong{
  display:block;
  color:#ffe08a;
  margin-bottom:4px;
}

.status-box span{
  color:var(--muted);
  font-size:.88rem;
}

.bottom-nav{
  position:fixed;
  left:50%;
  transform:translateX(-50%);
  bottom:10px;
  width:min(460px, calc(100% - 20px));
  background:rgba(9,26,56,.96);
  border:1px solid rgba(255,255,255,.06);
  border-radius:20px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  padding:10px 6px;
  box-shadow:0 10px 24px rgba(0,0,0,.25);
  backdrop-filter:blur(10px);
}

.nav-item{
  text-align:center;
  font-size:.78rem;
  color:var(--muted);
  padding:6px 4px;
  border-radius:12px;
  text-decoration:none;
}

.nav-item.active{
  background:rgba(251,191,36,.12);
  color:#ffe08a;
  font-weight:bold;
}

@media(max-width:600px){
  h1{
    font-size:1.75rem;
  }

  .container{
    padding:15px;
  }

  .status-grid{
    grid-template-columns:1fr 1fr;
  }
}