/* =============================================
   VIVO FOLIA DE PRÊMIOS – Recarga Premiada 2026
   Paleta oficial Vivo + tema adulto
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@400;600;700;800;900&display=swap');

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ---- Tokens de Design (Vivo Oficial) ---- */
:root {
  /* Variáveis Dinâmicas de Operadoras (Padrão: Vivo) */
  --op-color-primary: #660099;
  --op-color-primary-rgb: 102, 0, 153;
  --op-color-secondary: #CC00FF;
  --op-color-secondary-rgb: 204, 0, 255;
  --op-color-glow: rgba(204, 0, 255, 0.3);
  --op-gradient: linear-gradient(135deg, #660099 0%, #CC00FF 100%);
  --op-radial-1: rgba(102, 0, 153, 0.45);
  --op-radial-2: rgba(204, 0, 255, 0.18);
  --op-bg-color: rgba(20, 0, 35, 0.8);
  --op-bg-color-end: rgba(10, 0, 20, 0.95);
  --op-border-active: #E066FF;
  --op-shadow-glow: 0 0 40px rgba(153, 0, 255, 0.30);
  --op-btn-shadow: rgba(102, 0, 153, 0.50);
  --op-btn-shadow-hover: rgba(153, 0, 255, 0.55);

  /* Cores Vivo */
  --vivo-purple:      #660099;
  --vivo-purple-d:    #3D005C;
  --vivo-purple-dd:   #1E0030;
  --vivo-purple-l:    #9933CC;
  --vivo-magenta:     #CC00FF;
  --vivo-magenta-l:   #E066FF;
  --vivo-violet:      #8B00FF;

  /* Recarga Premiada elegante */
  --sj-gold:          #C8952A;
  --sj-gold-l:        #E8B84B;
  --sj-gold-ll:       #F5D070;
  --sj-amber:         #B5760E;

  /* Neutros */
  --white:            #FFFFFF;
  --white-80:         rgba(255,255,255,0.80);
  --white-60:         rgba(255,255,255,0.60);
  --white-30:         rgba(255,255,255,0.30);
  --white-15:         rgba(255,255,255,0.15);
  --white-08:         rgba(255,255,255,0.08);

  /* UI */
  --radius-sm:        8px;
  --radius-md:        16px;
  --radius-lg:        24px;
  --radius-xl:        32px;
  --radius-pill:      100px;

  --shadow-card:      0 24px 60px rgba(0,0,0,0.50), 0 0 0 1px rgba(255,255,255,0.06);
  --shadow-glow-purple: 0 0 40px rgba(153,0,255,0.30);
  --shadow-glow-gold:   0 0 30px rgba(200,149,42,0.40);

  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Theme Overrides */
body.theme-claro {
  --op-color-primary: #ee1111;
  --op-color-primary-rgb: 238, 17, 17;
  --op-color-secondary: #ff5500;
  --op-color-secondary-rgb: 255, 85, 0;
  --op-color-glow: rgba(238, 17, 17, 0.3);
  --op-gradient: linear-gradient(135deg, #cc0000 0%, #ff5500 100%);
  --op-radial-1: rgba(220, 15, 15, 0.35);
  --op-radial-2: rgba(255, 85, 0, 0.15);
  --op-bg-color: rgba(35, 5, 5, 0.85);
  --op-bg-color-end: rgba(20, 2, 2, 0.96);
  --op-border-active: #ff7733;
  --op-shadow-glow: 0 0 40px rgba(238, 17, 17, 0.35);
  --op-btn-shadow: rgba(238, 17, 17, 0.50);
  --op-btn-shadow-hover: rgba(255, 85, 0, 0.55);
}

body.theme-tim {
  --op-color-primary: #002D72;
  --op-color-primary-rgb: 0, 45, 114;
  --op-color-secondary: #0099ff;
  --op-color-secondary-rgb: 0, 153, 255;
  --op-color-glow: rgba(0, 45, 114, 0.3);
  --op-gradient: linear-gradient(135deg, #002D72 0%, #0099ff 100%);
  --op-radial-1: rgba(0, 45, 114, 0.4);
  --op-radial-2: rgba(0, 153, 255, 0.15);
  --op-bg-color: rgba(0, 15, 40, 0.85);
  --op-bg-color-end: rgba(0, 8, 25, 0.96);
  --op-border-active: #33bbff;
  --op-shadow-glow: 0 0 40px rgba(0, 45, 114, 0.4);
  --op-btn-shadow: rgba(0, 45, 114, 0.50);
  --op-btn-shadow-hover: rgba(0, 153, 255, 0.55);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 60% at 15% 10%,  var(--op-radial-1) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 80%,  var(--op-radial-2) 0%, transparent 55%),
    linear-gradient(var(--op-bg-color), var(--op-bg-color-end)),
    url('Celso.jpg');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  color: var(--white);
  overflow-x: hidden;
  position: relative;
  transition: background 0.5s ease, color 0.3s ease;
}

/* =============================================
   ESTRELAS (discretas, sofisticadas)
   ============================================= */
.stars-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.star {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
  animation: star-pulse var(--dur, 3s) ease-in-out infinite;
}

@keyframes star-pulse {
  0%, 100% { opacity: 0;    transform: scale(0.6); }
  50%       { opacity: 0.7; transform: scale(1.1); }
}

/* =============================================
   FOGOS (sutis, dourados)
   ============================================= */
.fogos {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.fogo {
  position: absolute;
  bottom: -10px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--sj-gold-l);
  box-shadow: 0 0 8px 3px var(--sj-gold), 0 0 20px 6px var(--sj-amber);
  animation: fogo-subir 5s ease-in infinite;
}

@keyframes fogo-subir {
  0%   { transform: translateY(0)     scale(1);   opacity: 0.9; }
  55%  { transform: translateY(-48vh) scale(0.7); opacity: 0.8; }
  75%  { transform: translateY(-58vh) scale(3);   opacity: 1;   }
  100% { transform: translateY(-63vh) scale(0.1); opacity: 0;   }
}

/* =============================================
   BANDEIRINHAS – paleta Vivo + dourado
   ============================================= */
.bandeirinhas-container {
  position: fixed;
  left: 0; right: 0;
  height: 52px;
  z-index: 100;
  display: flex;
  align-items: flex-start;
  padding: 0 6px;
  overflow: hidden;
}

.top-flags    { top: 0; }
.bottom-flags { bottom: 0; align-items: flex-end; }

.fio {
  position: absolute;
  top: 10px; left: 0; right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, var(--sj-amber) 8%, var(--sj-gold) 50%, var(--sj-amber) 92%, transparent 100%);
  z-index: 0;
  opacity: 0.7;
}

.bottom-flags .fio { top: auto; bottom: 10px; }

.bandeirinha {
  width: 26px;
  height: 34px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  flex-shrink: 0;
  margin: 7px 3px 0;
  position: relative;
  z-index: 1;
  animation: sway 4s ease-in-out infinite alternate;
  transform-origin: top center;
  opacity: 0.88;
}

.bottom-flags .bandeirinha {
  clip-path: polygon(50% 0, 0 100%, 100% 100%);
  margin: 0 3px 7px;
}

@keyframes sway {
  from { transform: rotate(-6deg); }
  to   { transform: rotate(6deg); }
}

/* =============================================
   LAYOUT PRINCIPAL
   ============================================= */
.container {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 16px 40px;
  gap: 16px;
}

/* =============================================
   HEADER / LOGO VIVO
   ============================================= */
.vivo-logo-wrap {
  text-align: center;
  animation: fade-down 0.6s ease both;
}

.vivo-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.4rem, 9vw, 4.8rem);
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1;
  color: var(--white);
  text-shadow: 0 4px 20px rgba(204,0,255,0.6);
}

/* Estrela Vivo (✦) */
.vivo-logo::before {
  content: '✦';
  color: var(--vivo-magenta);
  font-size: 0.55em;
  text-shadow: 0 0 8px var(--vivo-magenta);
  animation: star-spin 8s linear infinite;
}

@keyframes star-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.vivo-slogan {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.75rem, 3vw, 1.1rem);
  font-weight: 600;
  color: var(--sj-gold-l);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-top: 2px;
  opacity: 0.9;
}

/* =============================================
   CARD BASE (GLASS)
   ============================================= */
.card {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-xl);
  padding: 36px 32px 30px;
  animation: fade-up 0.55s ease both;
  position: relative;
  overflow: hidden;
}

.glass {
  background: linear-gradient(
    135deg,
    rgba(var(--op-color-primary-rgb), 0.18) 0%,
    rgba(var(--op-color-primary-rgb), 0.45) 100%
  );
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow-card), var(--op-shadow-glow);
  transition: background 0.5s ease, box-shadow 0.5s ease;
}

/* Brilho sutil no topo do card */
.glass::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  border-radius: 50%;
}

.glass-inner {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

/* =============================================
   CARD CONSULTA
   ============================================= */
.chapeu-deco {
  font-size: 3rem;
  text-align: center;
  display: block;
  margin-bottom: 4px;
  animation: gentle-rock 4s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
}

@keyframes gentle-rock {
  0%,100% { transform: rotate(-6deg) scale(1); }
  50%      { transform: rotate(6deg)  scale(1.05); }
}

.titulo-principal {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.5rem, 5.5vw, 2.2rem);
  font-weight: 800;
  text-align: center;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.25;
  letter-spacing: -0.3px;
}

.destaque-texto {
  color: var(--sj-gold-l);
  text-shadow: 0 0 20px rgba(200,149,42,0.60);
}

.subtitulo {
  text-align: center;
  font-size: clamp(0.85rem, 2.8vw, 0.97rem);
  color: var(--white-60);
  margin-bottom: 28px;
  line-height: 1.65;
  font-weight: 400;
}

.premio-destaque {
  color: var(--sj-gold-ll);
  font-weight: 600;
}

/* =============================================
   INPUT / FORMULÁRIO
   ============================================= */
.input-group { margin-bottom: 20px; }

.input-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white-60);
  margin-bottom: 8px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.input-wrapper {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.input-wrapper:focus-within {
  border-color: var(--op-border-active);
  background: rgba(255,255,255,0.09);
  box-shadow: 0 0 0 3px rgba(var(--op-color-secondary-rgb), 0.18), 0 0 20px rgba(var(--op-color-secondary-rgb), 0.10);
}

.input-icon {
  padding: 0 16px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--op-border-active);
  background: rgba(var(--op-color-secondary-rgb), 0.10);
  align-self: stretch;
  display: flex;
  align-items: center;
  border-right: 1px solid rgba(255,255,255,0.10);
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.input-tel {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 15px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 1.2px;
}

.input-tel::placeholder {
  color: rgba(255,255,255,0.28);
  font-weight: 400;
  letter-spacing: 0;
}

.input-hint {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin-top: 6px;
  padding-left: 2px;
}

/* =============================================
   BOTÃO PRINCIPAL
   ============================================= */
.btn-consultar {
  width: 100%;
  padding: 15px 24px;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--white);
  background: var(--op-gradient);
  box-shadow: 0 4px 20px var(--op-btn-shadow), 0 1px 0 rgba(255,255,255,0.12) inset;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  position: relative;
  overflow: hidden;
}

/* Shimmer no hover */
.btn-consultar::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s;
}

.btn-consultar:hover:not(:disabled)::after { left: 150%; }

.btn-consultar:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--op-btn-shadow-hover), 0 1px 0 rgba(255,255,255,0.15) inset;
  filter: brightness(1.08);
}

.btn-consultar:active:not(:disabled) {
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(102,0,153,0.40);
}

.btn-consultar:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* =============================================
   BANDEIRINHAS MINI (decoração base card)
   ============================================= */
.bandeirinhas-mini {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 2px;
  margin-top: 22px;
  height: 26px;
  position: relative;
}

.bandeirinhas-mini::before {
  content: '';
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sj-amber), transparent);
  opacity: 0.5;
}

.band-mini {
  width: 16px;
  height: 22px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  opacity: 0.75;
}

/* =============================================
   CARD PREMIADO
   ============================================= */
/* =============================================
   CARD PREMIADO
   ============================================= */
.card-premiado {
  background-image: linear-gradient(135deg, var(--op-bg-color) 0%, var(--op-bg-color-end) 100%), linear-gradient(135deg, var(--sj-gold), var(--op-color-secondary));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border: 2px solid transparent !important;
  box-shadow:
    0 0 50px rgba(var(--op-color-secondary-rgb), 0.25),
    0 0 25px rgba(200,149,42,0.15),
    var(--shadow-card) !important;
  text-align: center;
  animation: reveal-scale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes reveal-scale {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.confetti-area {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: var(--radius-xl);
  z-index: 0;
}

.confetti-piece {
  position: absolute;
  top: -20px;
  border-radius: 2px;
  animation: confetti-fall var(--dur) linear infinite;
}

@keyframes confetti-fall {
  0%   { transform: translateY(0) rotate(0deg);   opacity: 1; }
  100% { transform: translateY(110%) rotate(540deg); opacity: 0; }
}

.premiado-emoji {
  font-size: 4.5rem;
  display: block;
  filter: drop-shadow(0 0 24px rgba(200,149,42,0.80));
  animation: trophy-float 3s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

@keyframes trophy-float {
  0%,100% { transform: translateY(0) scale(1) rotate(-2deg); }
  50%      { transform: translateY(-10px) scale(1.08) rotate(2deg); }
}

.fogos-emoji {
  font-size: 1.6rem;
  letter-spacing: 6px;
  opacity: 0.9;
  margin: 4px 0;
  position: relative;
  z-index: 1;
  animation: pulse-glow 2s infinite alternate;
}

@keyframes pulse-glow {
  0% { text-shadow: 0 0 5px rgba(255,255,255,0.2); }
  100% { text-shadow: 0 0 15px rgba(204,0,255,0.8); }
}

.titulo-parabens {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.5px;
  margin: 10px 0;
  position: relative;
  z-index: 1;
}

.titulo-parabens span {
  background: linear-gradient(135deg, var(--sj-gold-ll), var(--sj-gold-l), var(--sj-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(200,149,42,0.6));
}

.nome-premiado {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.2rem, 5vw, 1.8rem);
  font-weight: 800;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  background: linear-gradient(135deg, rgba(var(--op-color-primary-rgb), 0.6) 0%, rgba(var(--op-color-secondary-rgb), 0.4) 100%);
  border: 2px solid var(--sj-gold-l);
  border-radius: var(--radius-pill);
  padding: 12px 36px;
  margin: 15px auto;
  display: inline-block;
  max-width: 90%;
  word-break: break-word;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 25px rgba(200, 149, 42, 0.35), inset 0 0 10px rgba(255, 255, 255, 0.1);
  letter-spacing: 0.5px;
}

.mensagem-premio {
  font-size: clamp(0.92rem, 3vw, 1.05rem);
  color: var(--white-80);
  margin: 16px 0 4px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.nome-campanha {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.15rem, 4.2vw, 1.6rem);
  font-weight: 800;
  color: var(--sj-gold-l);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.valor-premio {
  background: linear-gradient(135deg, var(--op-color-primary) 0%, var(--op-color-secondary) 100%);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  margin: 0 auto 24px;
  max-width: 320px;
  box-shadow: 0 0 35px rgba(var(--op-color-secondary-rgb), 0.4), inset 0 0 15px rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.valor-premio::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: rotate(45deg);
  animation: shine 3s infinite linear;
}

@keyframes shine {
  0% { transform: translate(-50%, -50%) rotate(45deg); }
  100% { transform: translate(50%, 50%) rotate(45deg); }
}

.valor-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.80);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.valor-num {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.2rem, 7.5vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  letter-spacing: -1px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.dados-premiado {
  margin: 0 auto 22px;
  max-width: 380px;
  text-align: left;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 8px 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.dado-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.92rem;
}

.dado-item:last-child { border-bottom: none; }
.dado-icon  { font-size: 1.15rem; }
.dado-label { font-weight: 600; color: var(--white-60); min-width: 80px; }
.dado-valor { color: var(--white); font-weight: 700; }

.instrucoes-resgate {
  font-size: 0.85rem;
  color: var(--white-80);
  line-height: 1.7;
  margin-bottom: 24px;
  padding: 16px 20px;
  background: rgba(200, 149, 42, 0.06);
  border-radius: var(--radius-md);
  border: 1px solid rgba(200, 149, 42, 0.2);
  position: relative;
  z-index: 1;
  box-shadow: inset 0 0 10px rgba(200, 149, 42, 0.05);
}

/* =============================================
   CARD CARREGAMENTO DINÂMICO
   ============================================= */
.card-loading {
  text-align: center;
  padding: 50px 32px;
}

.loading-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* Spinner de Alta Tecnologia */
.spinner-container {
  position: relative;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner-ring {
  position: absolute;
  border-radius: 50%;
  border: 3.5px solid transparent;
}

.ring-1 {
  width: 110px;
  height: 110px;
  border-top-color: var(--op-color-secondary);
  border-bottom-color: var(--op-color-secondary);
  animation: spin-clockwise 2.2s linear infinite;
}

.ring-2 {
  width: 88px;
  height: 88px;
  border-left-color: var(--op-color-primary);
  border-right-color: var(--op-color-primary);
  animation: spin-counter-clockwise 1.6s linear infinite;
}

.ring-3 {
  width: 66px;
  height: 66px;
  border-top-color: var(--sj-gold-l);
  border-bottom-color: var(--sj-gold-l);
  animation: spin-clockwise 1.1s linear infinite;
}

.spinner-icon {
  font-size: 2rem;
  color: var(--white);
  animation: pulse-star 1.5s ease-in-out infinite;
  text-shadow: 0 0 15px var(--vivo-magenta);
  font-family: 'Inter', sans-serif;
}

@keyframes spin-clockwise {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes spin-counter-clockwise {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

@keyframes pulse-star {
  0%, 100% { transform: scale(0.85); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
}

/* Container de textos */
.loading-text-container {
  width: 100%;
}

.loading-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
}

.loading-status-text {
  font-size: 0.98rem;
  color: var(--white-80);
  font-weight: 500;
  min-height: 24px;
  margin-top: 18px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

/* Barra de progresso linear premium */
.progress-bar-container {
  width: 100%;
  max-width: 320px;
  height: 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--op-color-primary) 0%, var(--op-color-secondary) 50%, var(--sj-gold-l) 100%);
  border-radius: var(--radius-pill);
  box-shadow: 0 0 10px var(--op-color-secondary);
  transition: width 0.1s linear;
}

/* =============================================
   BOTÃO VOLTAR
   ============================================= */
.btn-voltar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  border: 1.5px solid var(--op-color-secondary);
  border-radius: var(--radius-pill);
  background: rgba(var(--op-color-secondary-rgb), 0.08);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: blur(6px);
  margin-bottom: 16px;
  letter-spacing: 0.3px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(var(--op-color-secondary-rgb), 0.15);
}

.btn-voltar:hover {
  background: var(--op-gradient);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--op-color-secondary-rgb), 0.35);
}

/* =============================================
   DIVISOR ELEGANTE
   ============================================= */
.divider {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--op-color-primary), var(--op-color-secondary));
  border-radius: 2px;
  margin: 0 auto 14px;
  opacity: 0.6;
}

/* =============================================
   CABEÇALHO MULTIOPERADORAS
   ============================================= */
.header-logo-wrap {
  text-align: center;
  animation: fade-down 0.6s ease both;
  margin-bottom: 8px;
}

.operator-header-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 8px;
}

.header-logo {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 6vw, 3.2rem);
  font-weight: 900;
  letter-spacing: 2px;
  opacity: 0.25;
  color: var(--white);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  user-select: none;
}

.header-logo.active {
  opacity: 1;
  transform: scale(1.1);
}

.vivo-logo-item.active {
  text-shadow: 0 4px 20px rgba(204, 0, 255, 0.75);
}

.claro-logo-item.active {
  text-shadow: 0 4px 20px rgba(238, 17, 17, 0.85);
}

.tim-logo-item.active {
  text-shadow: 0 4px 20px rgba(0, 153, 255, 0.85);
}

.header-logo-divider {
  font-size: 1.1rem;
  color: var(--sj-gold-l);
  opacity: 0.4;
  animation: star-spin 12s linear infinite;
}

/* =============================================
   SELETOR DE OPERADORAS
   ============================================= */
.operator-selector-container {
  margin-bottom: 24px;
  text-align: left;
}

.operator-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 8px;
}

.operator-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--white-60);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.operator-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.operator-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--white);
}

.operator-btn.active {
  color: var(--white);
  border-color: var(--op-border-active);
  background: rgba(var(--op-color-primary-rgb), 0.15);
  box-shadow: 0 0 15px rgba(var(--op-color-secondary-rgb), 0.15), inset 0 0 10px rgba(255, 255, 255, 0.05);
}

.operator-btn.active::before {
  opacity: 1;
}

.op-svg {
  height: 18px;
  width: auto;
  max-width: 85%;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: grayscale(100%) opacity(50%);
}

.operator-btn.active .op-svg,
.operator-btn:hover .op-svg {
  filter: none;
  transform: scale(1.08);
}

.vivo-svg-icon {
  color: #9933CC;
}

.claro-svg-icon {
  color: #ee1111;
}

.tim-svg-icon {
  color: #0099ff;
}

.operator-title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* =============================================
   RODAPÉ
   ============================================= */
.rodape {
  text-align: center;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.25);
  line-height: 1.9;
}

.rodape-small {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.18);
}

/* =============================================
   ANIMAÇÕES DE ENTRADA
   ============================================= */
@keyframes fade-down {
  from { opacity: 0; transform: translateY(-24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@media (max-width: 700px) {
  .card { padding: 26px 18px 22px; border-radius: var(--radius-lg); }
  .vivo-logo { font-size: 2.4rem; }
  .bandeirinha { width: 18px; height: 24px; }
  .nome-premiado { padding: 9px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* =============================================
   VIVIO SITE - SVGS & ADULT LOOK
   ============================================= */
.label-icon {
  width: 16px;
  height: 16px;
  stroke: var(--white-60);
  vertical-align: middle;
  margin-right: 6px;
  display: inline-block;
}

.btn-svg-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.5px;
  display: inline-block;
}

.dado-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--op-border-active);
  display: block;
}

.premiado-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(200, 149, 42, 0.15), rgba(204, 0, 255, 0.08));
  border: 2px solid var(--sj-gold-l);
  box-shadow: 0 0 20px rgba(200, 149, 42, 0.3);
  margin: 0 auto 24px;
  animation: float-svg-trophy 3s ease-in-out infinite;
}

.award-icon {
  width: 44px;
  height: 44px;
  stroke: var(--sj-gold-l);
  stroke-width: 1.8px;
}

@keyframes float-svg-trophy {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-8px) rotate(3deg); }
}

.nao-premiado-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid rgba(255, 255, 255, 0.2);
  margin: 0 auto 20px;
}

.alert-icon {
  width: 38px;
  height: 38px;
  stroke: var(--white-60);
  stroke-width: 1.8px;
}

/* Sobrescreve para deixar o visual do site mais profissional e adulto */
body {
  background:
    radial-gradient(ellipse 70% 60% at 50% 10%, var(--op-radial-1) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, var(--op-radial-2) 0%, transparent 55%),
    linear-gradient(var(--op-bg-color), var(--op-bg-color-end)),
    url('Celso.jpg') !important;
  background-size: cover !important;
  background-position: center top !important;
  background-attachment: fixed !important;
}

.card {
  box-shadow: 0 30px 70px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.08) !important;
}
