/* Página Index: abertura + tela de ativação. Sem flex gap / grid (Chromium 53). */

body {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  /* o mesmo fundo grafite do menu e das páginas de canais, filmes e séries */
  background: linear-gradient(135deg, #0e1117 0%, #141926 55%, #0d1016 100%);
}

.bg-image,
body::before {
  display: none;
}

#splash {
  background: none;
  box-shadow: none;
}

/* ---------- Abertura ---------- */

.logo {
  height: 90px;
  width: auto;
}

.status {
  margin-top: 28px;
  min-height: 26px;
  font-size: 20px;
}

.device-info {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 15px;
  opacity: 0.8;
}

#deviceMac,
.mono {
  font-family: monospace;
}

.device-key {
  margin-left: 18px;
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

/* ---------- Ativação (tela dividida) ---------- */

.activate {
  display: none;
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100vh;
  background: none;
}

.activate.is-open {
  display: flex;
}

.act-logo {
  position: absolute;
  top: 44px;
  left: 72px;
  height: 56px;
  width: auto;
}

.act-side {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  height: 100%;
}

.act-card {
  width: 700px;
  max-width: 88%;
  padding: 44px 48px;
  text-align: left;
  background: linear-gradient(160deg, #1b2030 0%, #12151f 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  animation: actIn 0.3s ease-out;
}

.act-card--site {
  width: 790px;
  border-color: rgba(47, 129, 247, 0.5);
}

@keyframes actIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Divisor central com "ou" */
.act-or {
  position: absolute;
  top: 20%;
  bottom: 20%;
  left: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.act-or span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 62px;
  height: 62px;
  margin: -31px 0 0 -31px;
  line-height: 58px;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  color: #c6cde0;
  background: #141926;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.activate h1,
.activate h2 {
  font-size: 36px;
  text-shadow: none;
}

.act-sub {
  margin: 10px 0 22px;
  font-size: 19px;
  line-height: 1.5;
  color: #9aa3b8;
}

/* ----- Formulário ----- */

.act-label {
  display: block;
  margin: 14px 0 7px;
  font-size: 17px;
  color: #c6cde0;
}

.act-input {
  display: block;
  width: 100%;
  padding: 15px 20px;
  font-size: 24px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  transition: border-color 0.15s, background 0.15s;
}

.act-input:focus {
  outline: none;
  border-color: #fff;
  background: rgba(47, 129, 247, 0.28);
  box-shadow: 0 8px 24px rgba(47, 129, 247, 0.3);
}

.act-btn,
.act-btn:hover {
  display: block;
  width: 100%;
  margin-top: 26px;
  padding: 18px;
  font-size: 23px;
  color: #fff;
  background: linear-gradient(135deg, #3d8dff 0%, #2f81f7 100%);
  border: 2px solid transparent;
  border-radius: 12px;
}

.act-btn:focus {
  outline: none;
  transform: scale(1.03);
  box-shadow: 0 0 0 4px #fff, 0 12px 34px rgba(47, 129, 247, 0.55);
}

.act-msg {
  min-height: 24px;
  margin-top: 14px;
  font-size: 17px;
  color: #ffb27a;
}

.act-hint {
  margin-top: 10px;
  font-size: 15px;
  color: #7f879c;
}

/* ----- Cadastro pelo site ----- */

.act-qr-row {
  display: flex;
  align-items: center;
}

.act-qr {
  flex-shrink: 0;
  padding: 12px;
  background: #fff;
  border-radius: 16px;
}

.act-qr img {
  display: block;
  width: 230px;
  height: 230px;
  image-rendering: pixelated;
}

.act-steps {
  margin-left: 32px;
  list-style: none;
}

.act-steps li {
  display: flex;
  margin-bottom: 18px;
  font-size: 19px;
  line-height: 1.45;
  color: #d9dcee;
}

.act-steps li:last-child {
  margin-bottom: 0;
}

.act-steps strong {
  color: #fff;
}

.act-step-n {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  margin-right: 16px;
  line-height: 38px;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(135deg, #3d8dff 0%, #2f81f7 100%);
  border-radius: 50%;
}

.act-mac {
  display: block;
  margin-top: 4px;
  font-size: 26px;
  letter-spacing: 2px;
}

/* Key (código de 6 dígitos) embaixo do MAC, em destaque: é o que se digita no site */
.act-key {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 14px;
  font-size: 19px;
  color: #c6cde0;
  background: rgba(47, 129, 247, 0.18);
  border: 1px solid rgba(47, 129, 247, 0.5);
  border-radius: 8px;
}

.act-key strong {
  margin-left: 6px;
  font-size: 24px;
  letter-spacing: 4px;
  color: #fff;
}

.act-wait {
  display: flex;
  align-items: center;
  margin-top: 26px;
  padding: 10px 10px 10px 18px;
  font-size: 18px;
  color: #c6cde0;
  background: rgba(47, 129, 247, 0.14);
  border-radius: 12px;
}

.act-wait-msg {
  flex: 1 1 auto;
}

.act-reload,
.act-reload:hover {
  flex-shrink: 0;
  margin-left: 14px;
  padding: 12px 26px;
  font-size: 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
}

.act-add,
.act-add:hover {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 15px;
  font-size: 20px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
}

.act-add:focus,
.act-reload:focus {
  outline: none;
  background: linear-gradient(135deg, #3d8dff 0%, #2f81f7 100%);
  border-color: #fff;
  transform: scale(1.03);
}

.act-dot {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  margin-right: 14px;
  background: #2f81f7;
  border-radius: 50%;
  animation: actPulse 1.4s ease-in-out infinite;
}

@keyframes actPulse {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50%      { opacity: 1;   transform: scale(1.25); }
}

.act-chips {
  display: flex;
  margin: 18px -8px 0;
}

.act-chip {
  flex: 1 1 0;
  margin: 0 8px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.act-chip span {
  display: block;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #9aa3b8;
}

.act-chip strong {
  display: block;
  margin-top: 4px;
  font-size: 20px;
  font-weight: normal;
  color: #fff;
}

.act-support {
  margin-top: 18px;
  font-size: 16px;
  color: #7f879c;
}

.act-support strong {
  font-weight: normal;
  color: #c6cde0;
}

/* ---------- Renovar: planos e QR code do pagamento ---------- */

.act-renew,
.act-renew:hover {
  padding: 18px;
  font-size: 23px;
  font-weight: bold;
  letter-spacing: 1px;
  color: #06250f;
  background: linear-gradient(135deg, #3ee07f 0%, #12b85a 100%);
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(30, 200, 100, 0.35);
}

.act-renew:focus {
  color: #06250f;
  background: linear-gradient(135deg, #6bf2a0 0%, #1fd46c 100%);
  border-color: #fff;
  transform: scale(1.04);
  box-shadow: 0 0 0 4px #fff, 0 14px 38px rgba(30, 200, 100, 0.6);
}

/* TVs HD (1280x720): o layout de 1920x1080 inteiro reduzido para 2/3 */
@media (max-width: 1500px) {
  .activate { zoom: 0.6667; height: 150vh; }
}
