/* ========================
   RESET
======================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ========================
   BASE
======================== */
html {
  font-size: 62.5%;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #0b1220;
  color: #eaf2ff;
  line-height: 1.6;
}

/* ========================
   HEADER
======================== */
header {
  background: linear-gradient(90deg, #1e40af, #1d4ed8);
  text-align: center;
  padding: 25px 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

header img {
  width: 180px;
  margin-bottom: 15px;
}

nav ul {
  display: flex;
  justify-content: center;
  gap: 25px;
  list-style: none;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: #fbd513;
  font-size: 2rem;
  font-weight: 600;
  transition: 0.3s;
}

nav a:hover {
  opacity: 0.75;
}

/* ========================
   MAIN CONTAINER
======================== */
main {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

div {
  display: flex;
  flex-direction: column;
}

/* ========================
   TYPOGRAPHY
======================== */
h1 {
  font-size: 4.5rem;
  margin-bottom: 15px;
  text-align: center;
}

h2 {
  font-size: 3.4rem;
  margin-bottom: 15px;
  color: #fbd513;
}

p {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #dbeafe;
}

/* ========================
   CTA SECTION
======================== */
.cta {
  background: #111827;
  padding: 35px 25px;
  border-radius: 14px;
  text-align: center;
  margin: 40px 0;
  border: 2px solid #fbd513;
}

.cta h2 {
  color: #ffffff;
}

.cta a {
  display: inline-block;
  margin-top: 18px;
  padding: 14px 28px;
  background: #fbd513;
  color: #0b1220;
  font-size: 1.6rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.3s;
}
#flamengo a {
  color: #dbeafe;
  font-size: 1.6rem;
}

.cta a:hover {
  background: #e5c200;
  transform: scale(1.05);
}

/* ========================
   SECTIONS
======================== */
.container {
  margin-bottom: 60px;
  padding: 20px;
  background: #111827;
  border-radius: 14px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

/* ========================
   IMAGE GRID
======================== */
.div-imagens {
  display: flex;

  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.container-imagens {
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: left;
}

.div-imagens img {
  width: 300px;
  border-radius: 14px;
  border: 3px solid #fbd513;
  transition: 0.3s;
}

.div-imagens img:hover {
  transform: scale(1.05);
}

/* JOGOS DESTAQUES */

.destaque-hoje {
  display: flex;
  gap: 2rem;
}

/* Container principal */
.container-destaque {
  width: 100%;
  padding: 2rem;
  display: flex;

  justify-content: center;
}

/* Card */
.card-time {
  width: 100%;
  max-width: 900px;
  background: #111827;
  padding: 2rem;
  border-radius: 12px;
}

/* Título */
.card-destaque h2 {
  margin-bottom: 2rem;
  font-size: 4rem;
  color: #fff;
}

/* Grid de jogos */
.container-destaque {
  display: grid;

  grid-template-columns: repeat(2, 1fr); /* 2 colunas */
  gap: 2rem;
  width: content;

  background:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("https://i.pinimg.com/1200x/3b/d8/eb/3bd8eb92e8953c2b380af847f92bf62b.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 5px;
}

/* DESTAQUES 2 */

/* Cada jogo */
.jogo {
  background: #1f2937;
  padding: 1.5rem;
  border-radius: 8px;
  transition: 0.3s;
}

.jogo:hover {
  transform: translateY(-5px);
  background: #2d3748;
}

.jogo h3 {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
  color: #fff;
}

.jogo p {
  font-size: 1.8rem;
  color: #9ca3af;
}

.tag-competicao {
  display: inline-block;
  background: linear-gradient(90deg, #0f172a, #1e3a8a);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  border-left: 4px solid #2563eb;
  border-radius: 6px;
  margin-bottom: 2rem;
}

.btn-assistir {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background: #2563eb; /* vermelho */
  color: #fff;
  text-decoration: none;
  font-size: 1.7rem;
  border-radius: 6px;
  transition: 0.3s;
}

.btn-assistir:hover {
  background: #2563eb;
  transform: scale(1.05);
}

/* Responsivo para celular */
@media (max-width: 768px) {
  .container-destaque {
    grid-template-columns: 1fr; /* 1 coluna no celular */
  }
}

/* FIM DA SEÇÃO DE JOGOS DESTAQUES */

/* expandir imagem / ver em tela cheia */

.btn-fullscreen {
  margin-top: 10px;
  padding: 8px 12px;
  border: none;
  background: #000;
  color: #fff;
  cursor: pointer;
  border-radius: 5px;
  font-size: 1.8rem;
  font-weight: 600;
  border: solid 1px #fbd513;
}

.btn-fullscreen:hover {
  background: #333;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-conteudo {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
  border: solid 2px #fbd513;
  border-radius: 5px;
}

.fechar {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

.clique {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  background: linear-gradient(90deg, #0f172a, #1e3a8a);
  height: 30px;
  font-size: 20px;
  text-decoration: none;
  padding: 20px;
  border-radius: 5px;
}

.clique:hover {
  color: #fbd513;
}

/* ========================
   FOOTER
======================== */
footer {
  background: #1e40af;
  text-align: center;
  padding: 20px;
  margin-top: 60px;
}

footer p {
  font-size: 1.4rem;
}

/* ========================
   RESPONSIVO
======================== */
@media (max-width: 768px) {
  h1 {
    font-size: 2.6rem;
  }

  h2 {
    font-size: 2rem;
  }

  .div-imagens img {
    width: 100%;
    max-width: 350px;
  }

  nav ul {
    flex-direction: column;
    gap: 12px;
  }

  .container {
    padding: 15px;
    text-align: center;
  }

  .container-imagens {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
  p {
    text-align: center;
  }

  .btn-fullscreen {
    display: none;
  }

  .clique {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: linear-gradient(90deg, #0f172a, #1e3a8a);
    height: 30px;
    font-size: 17px;
    text-decoration: none;
    padding: 30px;
    border-radius: 5px;
  }
}
