*{box-sizing:border-box}
body{
  margin:0;
  font-family:Inter,Arial,sans-serif;
  min-height:100vh;
  color:#0f172a;
  background:
    radial-gradient(circle at top left, rgba(37,99,235,.38), transparent 34%),
    radial-gradient(circle at bottom right, rgba(124,58,237,.32), transparent 34%),
    linear-gradient(135deg,#eef6ff,#f8fafc 45%,#eef2ff);
}
.page{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px 16px;
}
.card{
  width:100%;
  max-width:620px;
  padding:34px;
  border-radius:34px;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(255,255,255,.65);
  box-shadow:0 30px 90px rgba(15,23,42,.16);
  backdrop-filter:blur(18px);
  text-align:center;
}
.badge{
  display:inline-flex;
  padding:8px 14px;
  border-radius:999px;
  color:#2563eb;
  background:rgba(37,99,235,.1);
  font-weight:800;
  font-size:13px;
  margin-bottom:20px;
}
.logo-wrap{display:flex;justify-content:center;margin-bottom:18px}
.logo{
  width:92px;height:92px;border-radius:26px;
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-size:44px;font-weight:900;
  background:linear-gradient(135deg,#2563eb,#7c3aed);
  box-shadow:0 18px 45px rgba(37,99,235,.28);
}
h1{font-size:42px;line-height:1.05;margin:0 0 14px;color:#0f172a}
h2{font-size:24px;margin:28px 0 10px;color:#0f172a}
.subtitle,.text{color:#475569;font-size:17px;line-height:1.65;margin:0 auto 22px;max-width:520px}
.detected{
  margin:20px auto;
  padding:14px 16px;
  border-radius:18px;
  background:#f1f5f9;
  color:#334155;
}
.btn{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  padding:16px 20px;
  margin:12px 0;
  border-radius:18px;
  text-decoration:none;
  font-weight:900;
  transition:.25s ease;
}
.btn:hover{transform:translateY(-2px)}
.primary{color:#fff;background:linear-gradient(135deg,#22c55e,#16a34a);box-shadow:0 18px 40px rgba(22,163,74,.24)}
.secondary{color:#fff;background:linear-gradient(135deg,#2563eb,#7c3aed);box-shadow:0 18px 40px rgba(37,99,235,.18)}
.warning{
  margin:22px 0;
  padding:16px;
  border-radius:18px;
  color:#7c2d12;
  background:#ffedd5;
  font-weight:800;
}
.code-box,.url-box{
  margin:22px 0;
  padding:20px;
  border-radius:22px;
  background:#0f172a;
  color:#fff;
}
.code-box span{display:block;color:#cbd5e1;font-size:14px;margin-bottom:8px}
.code-box strong{display:block;font-size:44px;letter-spacing:4px}
.url-box{font-size:28px;font-weight:900;letter-spacing:.5px}
.steps{
  text-align:left;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  border-radius:22px;
  padding:20px;
  margin:22px 0;
}
.steps h3{margin:0 0 10px;font-size:20px}
.steps ol{margin:0;padding-left:22px;color:#334155;line-height:1.75}
.note{font-size:14px;color:#64748b}
.footer-note{margin-top:26px;color:#64748b;font-size:14px;line-height:1.6}
@media(max-width:560px){.card{padding:24px;border-radius:26px}h1{font-size:34px}.url-box{font-size:22px}}
/* =========================
   POPUP APPS SMART TV
========================= */

.smarttv-popup{
  margin-top:24px;
  padding:22px;
  border-radius:28px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 18px 50px rgba(0,0,0,.18);
  backdrop-filter:blur(14px);
}

.smarttv-popup h2{
  margin:0 0 8px;
  font-size:24px;
  line-height:1.2;
  color:#fff;
  font-weight:800;
}

.smarttv-popup p{
  margin:0 0 20px;
  color:rgba(255,255,255,.82);
  font-size:14px;
  line-height:1.6;
}

.smarttv-app-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:16px;
}

.smarttv-app-card{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
  border-radius:22px;
  padding:18px 14px;
  text-align:center;
  transition:.25s ease;
}

.smarttv-app-card:hover{
  transform:translateY(-4px);
  background:rgba(255,255,255,.12);
}

.smarttv-store-link{
  text-decoration:none;
  color:#fff;
  display:block;
}

.smarttv-store-link img{
  width:74px;
  height:74px;
  object-fit:contain;
  margin:0 auto 12px;
  display:block;
}

.smarttv-store-link strong{
  display:block;
  font-size:15px;
  font-weight:700;
  margin-bottom:6px;
}

.smarttv-store-link span{
  display:inline-block;
  font-size:12px;
  opacity:.8;
  padding:5px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
}

.smarttv-tuto-btn{
  display:block;
  margin-top:14px;
  padding:11px 14px;
  border-radius:14px;
  background:linear-gradient(135deg,#2563eb,#7c3aed);
  color:#fff;
  text-decoration:none;
  font-size:13px;
  font-weight:700;
  transition:.25s ease;
}

.smarttv-tuto-btn:hover{
  transform:translateY(-2px);
  opacity:.92;
}

/* MOBILE */

@media(max-width:768px){

  .smarttv-popup{
    padding:18px;
    border-radius:22px;
  }

  .smarttv-popup h2{
    font-size:20px;
  }

  .smarttv-app-grid{
    grid-template-columns:repeat(2,1fr);
    gap:12px;
  }

  .smarttv-store-link img{
    width:60px;
    height:60px;
  }

  .smarttv-store-link strong{
    font-size:13px;
  }

  .smarttv-tuto-btn{
    font-size:12px;
    padding:10px;
  }

}
