/* ------------ ESTILOS GERAIS ------------ */
body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background: linear-gradient(to bottom, #0f0c29, #302b63, #24243e);
    color: white;
    user-select: none;
  }
  
  /* ------------ CABEÇALHO (HEADER) ------------ */
  header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(12px);
    background-color: rgba(26, 26, 46, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
  }
  
  nav {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    gap: 5rem;
    padding: 0;
    margin: 0;
    justify-content: center;
    align-items: center;
  }
  
  nav li {
    text-align: center;
  }
  
  nav a {
    text-decoration: none;
    color: white;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-weight: 500;
  }
  
  nav a:hover {
    color: #eb59bd;
    transform: scale(1.05);
  }
  
  /* ------------ CONTAINER DO SORTEIO ------------ */
  .lottery-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 2rem;
    max-width: 1600px;
    margin: 0 auto;
    animation: fadeIn 1s ease-in-out;
  }
  
  .lottery-container h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #eb59bd;
    text-transform: uppercase;
  }
  
  .lottery-container .description,
  .lottery-container .additional-info {
    font-size: 1.2rem;
    line-height: 1.7;
    max-width: 800px;
    margin-bottom: 2rem;
  }
  
  /* ------------ BOX DE INFORMAÇÕES ------------ */
  .info-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1rem;
  }
  
  .info-item {
    background-color: rgba(26, 26, 46, 0.7);
    padding: 1.5rem;
    border-radius: 240px;
    box-shadow: 0 0 25px rgba(174, 0, 255, 0.2);
    min-width: 250px;
    transition: transform 0.3s ease;
  }
  
  /* ------------ PÁGINA DE PARCEIROS DO SORTEIO ------------ */
  
  .partner-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem; /* Gap maior para dar mais espaço */
    margin: 2rem 0;
    min-height: 250px; /* Altura mínima reduzida já que não há quadrados grandes */
  }
  
  .partner-box {
    background-color: transparent; /* Remove o fundo do quadrado */
    padding: 0.5rem; /* Padding mínimo */
    border-radius: 0; /* Remove arredondamento do container */
    box-shadow: none; /* Remove sombra do container */
    transition: transform 0.3s ease;
    width: auto; /* Largura automática */
    height: auto; /* Altura automática */
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .partner-box:hover {
    transform: scale(1.05);
  }
  
  .partner-box img {
    width: 280px; /* Imagens muito maiores */
    height: 180px; /* Altura proporcional */
    border-radius: 15px !important; /* Forçar bordas arredondadas nas imagens */
    object-fit: contain; /* Mantém proporção sem cortar */
    filter: drop-shadow(0 4px 12px rgba(235, 89, 189, 0.4)); /* Sombra na imagem */
    transition: filter 0.3s ease, transform 0.3s ease;
    background: rgba(26, 26, 46, 0.4); /* Fundo sutil só na imagem */
    padding: 1.5rem; /* Padding na imagem */
    border: 2px solid rgba(235, 89, 189, 0.2); /* Borda sutil para definir melhor */
    overflow: hidden; /* Garante que o conteúdo respeita o border-radius */
    display: block; /* Força como elemento de bloco */
  }
  
  .partner-box img:hover {
    filter: drop-shadow(0 6px 18px rgba(235, 89, 189, 0.6));
    transform: translateY(-2px); /* Leve elevação no hover */
  }

  /* Regra específica para garantir border-radius nas imagens */
  .partner-gallery .partner-box img {
    border-radius: 15px !important;
    -webkit-border-radius: 15px !important;
    -moz-border-radius: 15px !important;
  }
  
  @media (max-width: 768px) {
    .partner-gallery {
      flex-direction: column;
      align-items: center;
    }
  
    .partner-box {
      max-width: 80%;
    }
  }
  
  
  .info-item:hover {
    transform: scale(1.05);
  }
  
  .info-item h2 {
    color: #eb59bd;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .info-item p {
    font-size: 1rem;
  }
  
  nav li {
    text-align: center;
  }
  
  /* ------------ BOTÃO DE PARTICIPAÇÃO ------------ */
  .btn-participate {
    display: inline-block;
    background-color: #eb59bd;
    color: #0f0c29;
    border: none;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }
  
  .btn-participate i {
    margin-right: 0.5rem;
  }
  
  .btn-participate:hover {
    background-color: #eb59bd;
    transform: scale(1.03);
  }
  
  /* ------------ RODAPÉ ------------ */
  footer {
    text-align: center;
    padding: 2rem;
    background-color: #1a1a2e;
    color: #ccc;
    margin-top: 4rem;
    font-size: 1.2rem;
  }
  
  footer .socials a {
    color: #eb59bd;
    text-decoration: none;
    margin: 0 0.5rem;
    text-transform: uppercase;
    font-weight: bold;
  }
  
  footer .socials {
    margin-bottom: 2rem;
    margin-top: 20px;
  }
  
  footer .socials a {
    color: #eb59bd;
    text-decoration: none;
    margin: 0 1.5rem;
    font-size: 1.9rem;
    transition: transform 0.3s ease, color 0.3s ease;
  }
  
  footer .socials a:hover {
    color: #eb59bdb0;
    transform: scale(2.5);
  }
  
  /* ------------ BOTÃO VOLTAR PARA O TOPO ------------ */
  #backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 20;
    background: linear-gradient(135deg, #eb59bd, #d946a8);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 50%;
    font-size: 1.2rem;
    box-shadow: 0 8px 25px rgba(235, 89, 189, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
  }
  
  #backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  #backToTop:hover {
    background: linear-gradient(135deg, #f06bc9, #e951b8);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 15px 35px rgba(235, 89, 189, 0.6);
  }
  
  /* ------------ LOADING SCREEN ------------ */
  #loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #0f0c29, #302b63, #24243e);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease;
  }
  
  #loading-screen img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    animation: pulse 2s infinite;
    filter: drop-shadow(0 0 10px #eb59bd);
  }
  
  /* ------------ ANIMAÇÕES ------------ */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes pulse {
    0% {
      transform: scale(1);
    }
    70% {
      transform: scale(1.1);
    }
    100% {
      transform: scale(1);
    }
  }
  
  @media (max-width: 768px) {
    nav ul {
      list-style: none;
      display: flex;
      gap: 1rem;
      padding: 0;
      margin: 0;
      flex-direction: column;
    }
  
    nav.active ul {
      display: flex;
    }
  
    header {
      flex-direction: row;
      justify-content: space-between;
    }
  }
  
  @media (max-width: 500px) {
    .stats {
      flex-direction: column;
      align-items: center;
    }
  
    .tiktok-embeds {
      flex-direction: column;
      align-items: center;
    }
  
    .streamer-img {
      max-width: 250px;
    }
  }
  