* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Inter', system-ui, sans-serif;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #000000 0%, #0d0d0d 100%);
  overflow-x: hidden;
  position: relative;
}
/* ========================= */
/* PARTÍCULAS */
/* ========================= */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}
.particle {
  position: absolute;
  background: rgba(255, 215, 0, 0.6);
  border-radius: 50%;
  pointer-events: none;
  animation: float linear infinite;
  box-shadow:
    0 0 12px rgba(255, 215, 0, 0.5),
    0 0 20px rgba(255, 215, 0, 0.3);
}
@keyframes float {
  0% { transform: translateY(100vh) scale(0.2); opacity: 0; }
  10% { opacity: 0.9; }
  90% { opacity: 0.9; }
  100% { transform: translateY(-20vh) scale(0.4); opacity: 0; }
}
/* ========================= */
/* CONTAINER */
/* ========================= */
.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px 20px 25px;
  height: calc(100vh - 58px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}
/* ========================= */
/* AVATAR */
/* ========================= */
.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px solid #d4af37;
  object-fit: cover;
  display: block;
  margin: 0 auto 15px;
  box-shadow: 0 6px 8px rgba(212, 175, 55, 0.4);
}
.patrocinios-page .avatar {
  border: 2px solid #1e90ff;
  box-shadow: 0 6px 8px rgba(30, 144, 255, 0.4);
}
/* ========================= */
/* TÍTULO */
/* ========================= */
h1 {
  font-size: 1.95rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 25px;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(212, 175, 55, 0.5);
}
.patrocinios-page h1 {
  text-shadow: 0 2px 12px rgba(30, 144, 255, 0.5);
}
/* ========================= */
/* EMAIL DE CONTACTO */
/* ========================= */
.email {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: -15px;
  margin-bottom: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #cccccc;
}
.email-icon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.email-icon svg {
  width: 18px;
  height: 18px;
  stroke: #d4af37;
  stroke-width: 2.5;
}
.patrocinios-page .email-icon svg {
  stroke: #3aa0ff;
}
/* ========================= */
/* LINKS */
/* ========================= */
.links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* ========================= */
/* BOTÕES NORMAIS */
/* ========================= */
.btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 40px;
  background: rgba(20, 20, 20, 0.6);
  border: 2px solid #d4af37;
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}
.btn:hover {
  background: rgba(40, 40, 40, 0.8);
  transform: translateY(-3px);
  box-shadow: 0 6px 8px rgba(212, 175, 55, 0.4);
  border-color: #ffd700;
}
.patrocinios-page .btn {
  border: 1px solid #1e90ff;
}
.patrocinios-page .btn:hover {
  border-color: #3aa0ff;
  box-shadow: 0 6px 8px rgba(30, 144, 255, 0.4);
}
/* ========================= */
/* ICONES */
/* ========================= */
.icon {
  position: absolute;
  left: 18px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon svg {
  width: 100%;
  height: 100%;
  display: block;
  color: #ffffff;
}
/* label normal dos botões */
.btn-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
/* ========================= */
/* FOLLOWERS BADGE */
/* ========================= */
.followers-badge {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  opacity: 0.9;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.2s ease;
}
.followers-badge svg {
  width: 12px;
  height: 12px;
  display: block;
  flex: 0 0 auto;
  color: #d4af37 !important;
  fill: #d4af37 !important;
}
/* BLOQUEIO ANTI-CONFLITO */
.btn > .followers-badge {
  position: absolute !important;
  right: 12px !important;
  top: 50% !important;
  bottom: auto !important;
  left: auto !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  float: none !important;
}
.btn:hover .followers-badge {
  opacity: 1;
}
/* ✅ MELHORIA: esconder seguidores no Twitch quando está live */
#twitch-btn.live-active > .followers-badge {
  opacity: 0 !important;
  visibility: hidden !important;
}
/* ========================= */
/* GIVEAWAY CARDS */
/* ========================= */
.giveaway-card {
  position: relative;
  display: block;
  height: 220px;
  border: 2px solid #1e90ff;
  border-radius: 10px;
  overflow: hidden;
  background: #0f0f0f;
  text-decoration: none;
  color: #ffffff;
  transition: 0.3s ease;
}
.giveaway-card:visited {
  color: #ffffff;
}
.giveaway-card:hover {
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(30,144,255,0.4);
}
.giveaway-card:active {
  color: #ffffff;
}
.giveaway-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  pointer-events: none;
}
.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0));
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  pointer-events: none;
}
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 6px 12px;
  border-radius: 999px;
  color: white;
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
  z-index: 5;
  pointer-events: none;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,0.5);
}
.giveaway-card:hover .badge {
  transform: scale(1.08);
  box-shadow: 0 6px 15px rgba(255,255,255,0.15);
}
.badge.on {
  background: #00ff66;
  animation: pulse-soft 2.5s infinite ease-in-out;
  box-shadow: 0 0 18px rgba(0,255,102,0.7);
}
.badge.off {
  background: #ff3333;
  box-shadow: 0 0 22px rgba(255,51,51,0.8);
}
@keyframes pulse-soft {
  0% { box-shadow: 0 0 8px rgba(0,255,102,0.5), 0 0 16px rgba(0,255,102,0.3); }
  50% { box-shadow: 0 0 18px rgba(0,255,102,0.9), 0 0 28px rgba(0,255,102,0.6); }
  100% { box-shadow: 0 0 8px rgba(0,255,102,0.5), 0 0 16px rgba(0,255,102,0.3); }
}
/* ========================= */
/* FOOTER */
/* ========================= */
footer {
  text-align: center;
  margin-top: auto;
  font-size: 0.85rem;
  color: #777777;
}
/* ========================= */
/* INFO BUTTON */
/* ========================= */
.info-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  background: #1e90ff;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  z-index: 5;
  transition: 0.3s;
}
.info-btn:hover {
  background: #3aa0ff;
  transform: scale(1.1);
}
/* ========================= */
/* MODAL */
/* ========================= */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(8px);
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal.active {
  display: flex;
}
.modal-content {
  position: relative;
  background: #111;
  padding: 30px 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  text-align: center;
  box-shadow: 0 0 25px rgba(30,144,255,0.4);
  animation: fadeIn 0.3s ease;
}
.modal-content h2 {
  margin-bottom: 15px;
}
.close-modal {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 1.5rem;
  cursor: pointer;
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
.modal-img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  background: #222;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
/* ========================= */
/* BOTÃO PARTICIPAR */
/* ========================= */
.participar-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: #00c853;
  color: white;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}
.participar-btn:hover {
  background: #00e676;
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(0,200,83,0.6);
}
.participar-btn.disabled {
  background: #555;
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.7;
}
.participar-btn.disabled:hover {
  transform: none;
  background: #555;
}
@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(0,200,83,0.8); }
  70% { box-shadow: 0 0 0 15px rgba(0,200,83,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,200,83,0); }
}
.modal-content p {
  margin: 6px 0;
}
/* ========================= */
/* TWITCH LIVE EFFECT */
/* ========================= */
.btn.live-active {
  border-color: #ff0000 !important;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
  animation: pulse-live 1.5s infinite;
}
@keyframes pulse-live {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.8);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(255, 0, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}
/* ========================= */
/* BADGE LIVE TIME */
/* ========================= */
.live-time-badge {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 10px;
  background: #ff0000;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.6);
  animation: pulse-live-badge 2s infinite;
  z-index: 2;
}
@keyframes pulse-live-badge {
  0% { box-shadow: 0 0 6px rgba(255,0,0,0.6); }
  50% { box-shadow: 0 0 14px rgba(255,0,0,0.9); }
  100% { box-shadow: 0 0 6px rgba(255,0,0,0.6); }
}
/* ========================= */
/* LIVE RED DOT */
/* ========================= */
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.live-circle {
  width: 10px;
  height: 10px;
  background: #ff0000;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.8);
  animation: live-dot-pulse 1.4s infinite;
}
@keyframes live-dot-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 6px rgba(255, 0, 0, 0.8);
  }
  50% {
    transform: scale(1.3);
    box-shadow: 0 0 14px rgba(255, 0, 0, 1);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 6px rgba(255, 0, 0, 0.8);
  }
}
.giveaway-card.terminated {
  opacity: 0.85;
  border-color: #ff3333;
}
.giveaway-card.terminated img {
  filter: grayscale(70%) contrast(80%);
}
.giveaway-card.terminated .overlay {
  background: linear-gradient(to top, rgba(255,0,0,0.4), rgba(0,0,0,0.85));
}
/* Esconder seguidores Twitch quando está live (regra reforçada) */
#twitch-btn.live-active .followers-badge,
#twitch-btn.live-active .followers-badge * {
  opacity: 0 !important;
  visibility: hidden !important;
}
#twitch-btn.live-active .followers-badge {
  pointer-events: none !important;
}
/* Badge "NOVO" dourada no canto superior direito */
.new-badge {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(25%, -25%);
  padding: 4px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
  color: #111111;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  line-height: 1;
  text-transform: uppercase;
  border: 1px solid rgba(255, 215, 0, 0.9);
  box-shadow:
    0 0 10px rgba(255, 215, 0, 0.35),
    0 3px 8px rgba(0,0,0,0.35);
  pointer-events: none;
  z-index: 4;
}
/* ========================= */
/* TEXTO INFERIOR GIVEAWAY */
/* ========================= */
.bottom-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: rgba(0,0,0,0.75);
  color: #ffffff;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.15);
  z-index: 4;
  pointer-events: none;
}
/* ========================= */
/* OVERLAY AZUL GIVEAWAY ATIVO */
/* ========================= */
.giveaway-card:not(.terminated) .overlay {
  background: linear-gradient(
    to top,
    rgba(30,144,255,0.45),
    rgba(0,0,0,0.85)
  );
}
/* ========================= */
/* BARRA DE NAVEGAÇÃO - DINÂMICA */
/* ========================= */
.nav-bar {
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  z-index: 100;
  padding: 13px 0;
}
.nav-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  gap: 35px;
}
.nav-item {
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  color: #aaaaaa;
}
.nav-item:hover {
  color: #ffffff;
}
body:not(.patrocinios-page) .nav-item:hover {
  background: rgba(255, 215, 0, 0.1);
}
body:not(.patrocinios-page) .nav-item.active {
  color: #d4af37;
}
body:not(.patrocinios-page) .nav-item.active:after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 3px;
  background: #d4af37;
  border-radius: 3px;
}
.patrocinios-page .nav-item:hover {
  background: rgba(30, 144, 255, 0.12);
}
.patrocinios-page .nav-item.active {
  color: #3aa0ff;
}
.patrocinios-page .nav-item.active:after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 3px;
  background: #3aa0ff;
  border-radius: 3px;
}
/* Responsivo */
@media (max-width: 480px) {
  .nav-container { gap: 20px; }
  .nav-item { font-size: 0.95rem; padding: 7px 14px; }
  .avatar { width: 88px; height: 88px; }
  h1 { font-size: 1.85rem; margin-bottom: 20px; }
  .email { margin-bottom: 25px; font-size: 0.87rem; }
  .btn { padding: 17px 35px; font-size: 0.96rem; }
  .links { gap: 11px; }
}