*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html,
body{
  width:100%;
  overflow-x:hidden;
  font-family:Arial,sans-serif;
  background:#111827;
  color:white;
}

body{
  padding:12px;
}

/* CARD PRINCIPAL */

.card{
  width:100%;
  max-width:430px;
  margin:0 auto;
  background:#1f2937;
  border-radius:18px;
  padding:18px;
}

/* TITULOS */

h1{
  font-size:28px;
  margin-bottom:10px;
}

h2{
  font-size:22px;
  margin-top:15px;
  margin-bottom:10px;
}

h3{
  margin-top:10px;
  margin-bottom:10px;
}

/* CAMPOS */

input,
select,
textarea{
  width:100%;
  min-height:48px;
  border:none;
  border-radius:12px;
  padding:12px;
  margin-top:10px;
  background:#f9fafb;
  color:#111827;
  font-size:16px;
}

/* BOTÕES */

button{
  width:100%;
  border:none;
  border-radius:14px;
  padding:14px;
  margin-top:12px;
  background:linear-gradient(135deg,#16a34a,#2563eb);
  color:white;
  font-size:16px;
  font-weight:bold;
  cursor:pointer;
}

/* CARDS */

.rodada-card,
.jogo-mobile{
  background:#0f172a;
  border:1px solid #374151;
  border-radius:16px;
  padding:12px;
  margin-top:12px;
}

/* JOGOS */

.linha-jogo{
  display:grid;
  grid-template-columns:1fr 42px 20px 42px 1fr;
  align-items:center;
  gap:6px;
}

.time-esquerda,
.time-direita{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:12px;
  font-weight:bold;
}

.time-esquerda{
  justify-content:flex-end;
  text-align:right;
}

.time-direita{
  justify-content:flex-start;
  text-align:left;
}

/* ESCUDOS */

.escudo-time{
  width:40px;
  height:40px;
  min-width:40px;
  object-fit:contain;
  background:#ffffff;
  border-radius:50%;
  padding:5px;
  box-shadow:0 2px 8px rgba(0,0,0,0.35);
}

/* PLACAR */

.input-placar{
  width:42px !important;
  height:42px !important;
  min-width:42px !important;
  max-width:42px !important;
  padding:0 !important;
  margin:0 !important;
  text-align:center;
  font-size:18px !important;
  font-weight:bold;
  border-radius:10px !important;
  border:2px solid #22c55e !important;
  background:#ffffff !important;
  color:#111827 !important;
}

.x-jogo{
  text-align:center;
  font-size:18px;
  font-weight:bold;
}

.data-jogo{
  text-align:center;
  font-size:12px;
  margin-top:8px;
  opacity:0.8;
}

/* IA */

.ia-card{
  background:#111827;
  border:1px solid #374151;
  border-radius:18px;
  padding:18px;
  margin:20px 0;
  text-align:center;
}

.robo{
  font-size:42px;
}

/* RANKING */

.time-ranking{
  padding:14px;
  border-radius:14px;
  margin-top:10px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-weight:bold;
}

.verde{
  background:#16a34a;
  color:white;
}

.azul{
  background:#2563eb;
  color:white;
}

.amarelo{
  background:#eab308;
  color:#111827;
}

.vermelho{
  background:#dc2626;
  color:white;
}

/* DESTAQUE */

.destaque-card{
  background:#020617;
  border:2px solid #22c55e;
  border-radius:18px;
  padding:18px;
  text-align:center;
  margin-top:12px;
}

.foto-destaque{
  width:90px;
  height:90px;
  border-radius:50%;
  object-fit:cover;
  border:3px solid #22c55e;
}

/* MOBILE */

@media(max-width:480px){

  body{
    padding:8px;
  }

  .card{
    width:100%;
    max-width:100%;
    padding:14px;
  }

  h1{
    font-size:24px;
  }

  h2{
    font-size:20px;
  }

  input,
  select,
  textarea,
  button{
    font-size:16px;
  }

  .linha-jogo{
    grid-template-columns:1fr 38px 18px 38px 1fr;
    gap:4px;
  }

  .input-placar{
    width:38px !important;
    height:38px !important;
    min-width:38px !important;
    max-width:38px !important;
    font-size:16px !important;
  }

  .escudo-time{
    width:34px;
    height:34px;
    min-width:34px;
    padding:4px;
  }

  .time-esquerda,
  .time-direita{
    font-size:11px;
  }
}

/* RODAPÉ */

.footer{
  text-align:center;
  margin-top:25px;
  padding-top:15px;
  border-top:1px solid #374151;
  font-size:12px;
  color:#9ca3af;
  line-height:1.6;
}

.footer a{
  color:#22c55e;
  text-decoration:none;
  font-weight:bold;
}