/* ------------ 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 GIVEAWAY ------------ */
.giveaway-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  padding: 4rem 2rem 0rem 2rem; /* Espaçamento igual no topo e fundo */
  animation: fadeIn 1s ease-in-out;
}

.giveaway-card {
  background: rgba(26, 26, 46, 0.9);
  border-radius: 20px;
  padding: 3rem;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(235, 89, 189, 0.2);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.giveaway-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #eb59bd, #00f2ff, #eb59bd);
  animation: shimmer 2s infinite;
}

.partner-logo {
  margin-bottom: 1.5rem;
}

.partner-logo img {
  width: 120px;
  height: auto;
  border-radius: 10px;
  /* Removido: box-shadow: 0 5px 15px rgba(235, 89, 189, 0.3); */
}

.giveaway-card h1 {
  color: #eb59bd;
  font-size: 2rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.skin-slider {
  margin-bottom: 2rem;
}

.skin-display {
  position: relative;
  width: 300px;
  height: 200px;
  margin: 0 auto 1rem;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(235, 89, 189, 0.3);
}

.skin-display img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.skin-display:hover img {
  transform: scale(1.05);
}

#skin-name {
  color: #00f2ff;
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.giveaway-info {
  margin-bottom: 2rem;
  background: rgba(15, 12, 41, 0.5);
  border-radius: 15px;
  padding: 1.5rem;
  border: 1px solid rgba(235, 89, 189, 0.1);
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
}

.info-row:last-child {
  margin-bottom: 0;
}

.label {
  color: #ccc;
  font-size: 1rem;
  font-weight: 500;
}

.value {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
}

.value.highlight {
  color: #00f2ff;
  font-size: 1.3rem;
  text-shadow: 0 0 10px rgba(0, 242, 255, 0.3);
}

.value.code {
  background: linear-gradient(45deg, #eb59bd, #00f2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  font-size: 1.2rem;
}

.participate-btn {
  width: 100%;
  background: linear-gradient(45deg, #eb59bd, #00f2ff);
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.participate-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.participate-btn:hover::before {
  left: 100%;
}

.participate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(235, 89, 189, 0.4);
}

.participate-btn i {
  font-size: 1.2rem;
}

.bonus-info {
  background: rgba(235, 89, 189, 0.1);
  border-radius: 10px;
  padding: 1rem;
  border: 1px solid rgba(235, 89, 189, 0.2);
}

.bonus-info p {
  margin: 0.3rem 0;
  font-size: 0.9rem;
  color: #ccc;
}

.bonus-info strong {
  color: #eb59bd;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Responsividade */
@media (max-width: 768px) {
  .giveaway-container {
    padding: 3rem 1rem 3rem 1rem; /* Espaçamento ajustado para mobile */
  }
  
  .giveaway-card {
    padding: 2rem;
    margin: 1rem;
  }
  
  .skin-display {
    width: 250px;
    height: 160px;
  }
  
  .giveaway-card h1 {
    font-size: 1.5rem;
  }
}

/* ------------ 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;
  }
}
