/* =====================
   RESET / GLOBAL
===================== */
* {
  font-family: 'Roboto', sans-serif;
}

body {
  margin: 0;
  background-color: black;
}

/* =====================
   FUNDO / LAYOUT
===================== */
#foto-fundo-trofeus {
  position: fixed;
  top: 0;
  transform: translateY(-250px);
  width: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.7) saturate(1.1);
}

#main-block {
  position: relative;
  z-index: 2;
  backdrop-filter: blur(4px);
  box-shadow: 0 -10px 20px rgba(0,0,0,0.35);
  padding: 30px;
  display: flex;
  flex-direction: column;
}

#title {
  font-weight: bold;
  font-size: clamp(1.5rem, 5vw, 2rem);
  margin: 1.25rem 0;
  color: whitesmoke;
  text-align: center;
}

#introducao {
  margin: 0 10% 1%;
  font-size: 19px;
  text-align: center;
  color: whitesmoke;
  line-height: 1.6;
}

/* =====================
   ESTANTE / TROFÉUS
===================== */
.estante {
  padding: 0 20px;
}

.prateleira {
  position: relative;
  margin-bottom: 80px;
}

.trofeus {
  display: flex;
  justify-content: center;
  gap: 40px;
  z-index: 2;
}

.trofeu {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.trofeu:hover {
  transform: translateY(-4px);
   z-index: 200;
}

.trofeu img {
  height: 120px;
  transition: filter 0.2s ease;
  filter: drop-shadow(0 6px 6px rgba(0,0,0,0.3));
}

.trofeu:hover img {
  filter:
    drop-shadow(0 0 8px rgba(255,235,54,0.7))
    drop-shadow(0 0 16px rgba(129,121,10,0.5));
}

.trofeu small {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: white;
}

.taboa {
  height: 18px;
  background: linear-gradient(to right, #7a4a1f, #a56a2c, #7a4a1f);
  border-radius: 6px;
  margin-top: -10px;
  box-shadow: 0 8px 12px rgba(0,0,0,0.4);
}

.titulo-ano {
  margin: 70px 0 30px;
  text-align: center;
  font-size: 2rem;
  color: white;
}

.titulo-ano::after {
  content: "";
  display: block;
  width: 120px;
  height: 4px;
  background: #8b5a2b;
  margin: 10px auto 0;
}

/* =====================
   MODAL
===================== */
.fechar {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transform: translateY(-15px);
  -webkit-tap-highlight-color: transparent;
}
.fechar:hover,
.fechar:focus {
  color: #ff7e00;
  text-decoration: none;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

#modal-overlay.show {
  opacity: 1;
  transform: scale(1);
}

.hidden {
  display: none;
}

.modal {
  transform: translateY(20px);
  
  background: #f5f6f4;
  width: 800px;
  max-width: 90%;
  border-radius: 24px;
  padding: 40px 60px;
}

.modal-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  transition: opacity 0.25s ease;
}

.modal-content.fade {
  opacity: 0;
}

.modal-right {
  display: flex;
  flex-direction: column;
}

#right-fotos {
  display: flex;
  align-items: center;
}

#modal-badge-img {
  height: 150px;
  transform: translateX(15px);
  z-index: 4;
}

#modal-robo-img {
  height:15vw; 
  width:15vw;
  border-radius: 50%;
  object-fit: cover;
  transform: translateX(-15px);
  z-index: 3;

  filter: saturate(1.3) brightness(1.1);
}

#right-texto {
  font-size: 18px;
  line-height: 1.6;
}

.modal-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 18px;
}

#modal-contador {
  position: absolute;
  bottom: 12px;
  right: 14px;

  padding: 6px 10px;
  font-size: 13px;
  font-weight: 500;

  color: rgba(0, 0, 0, 0.664);
  user-select: none;
}

/* =====================
   SETAS
===================== */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  font-size: 3rem;
  color: #ff7e00;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  border: none;
}

.nav.left { left: -40px; }
.nav.right { right: -40px; }

.nav:hover {
  transform: translateY(-50%) scale(1.1);
}

/* =====================
   RESPONSIVO
===================== */

/* TABLET */
@media (max-width: 900px) {
  
  #foto-fundo-trofeus{
    transform: translateY(2%);
  }

  .trofeus{
    margin-left: -8vw;
  }

  .trofeu{
    margin-right: -8vw;
  }

  .modal {
    padding: 30px;
  }

  .modal-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  #right-fotos {
    justify-content: center;
    margin-bottom: 50px;
  }

  #modal-robo-img{
    height: 22vw;
    width: 22vw;
  }

  .nav.left { left: 10px; }
  .nav.right { right: 10px; }
}

/* MOBILE */
@media (max-width: 600px) {
  .trofeus {
    gap: 0px;
    margin-left: -10vw;
    /* max-width: 90%; */
  }

  .trofeu{
    margin-right: -10vw;
  }

  .trofeu img {
    height: 90px;
  }

  .modal {
    padding: 20px;
  }

  .modal-image img {
    height: 220px;
  }

  #modal-badge-img{
    height:100px;
  }

  #modal-robo-img {
    width: 100px;
    height: 100px;
  }

  .nav {
    font-size: 2.2rem;
  }
}
