:root{
  --accent:#22c55e;
}

.hero{
  text-align:center;
  margin-bottom:40px;
}

.hero span{ color:var(--accent); }

.page-check{
  padding:40px 16px;
  background:linear-gradient(180deg,rgba(34,197,94,.08),transparent)
}
.page-check .container{
  max-width:900px;
  margin:auto;
  text-align:center
}

.card{
  background:linear-gradient(145deg,rgba(255,255,255,.95),rgba(255,255,255,.75));
  backdrop-filter:blur(14px);
  border-radius:28px;
  padding:28px;
  margin-bottom:32px;
  box-shadow:0 20px 50px rgba(0,0,0,.15)
}

.card-check{
  background:#fff;
  border-radius:26px;
  padding:28px;
  box-shadow:0 20px 50px rgba(0,0,0,.12);
  margin-bottom:26px
}

.countdown{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
}

.time-box{
  background:rgba(34,197,94,.12);
  border-radius:18px;
  padding:16px 10px;
  box-shadow:inset 0 0 0 1px rgba(34,197,94,.35);
  animation:pulse 1.6s infinite;
}

.time-box h2{
  margin:0;
  font-size:34px;
  font-weight:900;
  color:var(--accent);
}

.time-box span{
  font-size:13px;
  opacity:.8;
}

@keyframes pulse{
  0%,100%{ transform:scale(1); }
  50%{ transform:scale(1.05); }
}

@media(max-width:480px){
  .time-box{
    padding:10px 6px;
  }
  .time-box h2{
    font-size:20px;
  }
  .time-box span{
    font-size:11px;
  }
}

.input1{
  width:100%;
  padding:14px;
  border-radius:14px;
  border:1px solid #e5e7eb;
  font-size:16px
}

.btn-main{
  margin-top:14px;
  width:100%;
  padding:14px;
  border:none;
  border-radius:999px;
  background:linear-gradient(135deg,#22c55e,#16a34a);
  color:#fff;
  font-weight:800;
  font-size:16px;
  cursor:pointer
}

.result-card{
  background:linear-gradient(180deg,#ffffff,#f8fafc);
  border-radius:26px;
  padding:26px 22px;
  box-shadow:0 25px 60px rgba(0,0,0,.12);
}

.result-head{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px
}

.result-head h3{
  margin:0;
  font-size:24px
}

.status-pill{
  padding:10px 24px;
  border-radius:999px;
  font-weight:800
}

.status-ok{
  background:linear-gradient(135deg,#22c55e,#16a34a);
  color:#fff
}

.status-no{
  background:linear-gradient(135deg,#ef4444,#b91c1c);
  color:#fff
}

.result-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-top:22px
}

.data-box{
  background:#f1f5f9;
  border-radius:16px;
  padding:12px 14px
}

.data-box span{
  font-size:12px;
  color:#64748b
}

.data-box b{
  display:block;
  font-size:15px;
  margin-top:4px
}

.full{
  grid-column:1/3
}

.btn-join{
  margin-top:22px;
  width:100%;
  padding:16px;
  border:none;
  border-radius:999px;
  background:linear-gradient(135deg,#25D366,#128C7E);
  color:#fff;
  font-weight:800;
  font-size:16px;
  cursor:pointer
}

.fade-in{
  animation:fadeUp .8s ease forwards
}

@keyframes fadeUp{
  from{opacity:0;transform:translateY(25px)}
  to{opacity:1;transform:translateY(0)}
}

.fade-up{
  animation:fadeUp .6s ease
}

@media(max-width:600px){
  .result-grid{
    grid-template-columns:1fr;
  }

  .box-nisn{order:1}
  .box-nama{order:2}
  .box-kelas{order:3}
  .box-ttl{order:4}
  .box-divisi{order:5}

  .full{grid-column:1}
}

.hero img{
  height:80px;
  margin-bottom:6px
}

.hero h1{
  margin-top:0;
  margin-bottom:6px;
  line-height:1.2;
}

.title-status{
  margin-top:0;
  margin-bottom:6px;
  line-height:1.2;
}

body.dark .card,
body.dark .card-check{
  background:linear-gradient(145deg,rgba(2,6,23,.88),rgba(15,23,42,.88));
  color:#e6fff5;
  box-shadow:0 20px 50px rgba(0,0,0,.65), inset 0 0 0 1px rgba(255,255,255,.04);
}

body.dark .result-card{
  background:linear-gradient(180deg,#020617,#0f172a);
  color:#e6fff5;
}

body.dark .data-box{
  background:#020617;
  color:#e6fff5;
}

body.dark .data-box span{
  color:#94a3b8;
}

body.dark .input1{
  background:#020617;
  color:#e6fff5;
  border:1px solid #334155;
}

body.dark ::placeholder{
  color:#94a3b8;
}

body.dark .time-box{
  background:rgba(34,197,94,.18);
  box-shadow:inset 0 0 0 1px rgba(34,197,94,.35);
}

body.dark .page-check{
  background:transparent;
}