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

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0e1a;
  font-family: 'Segoe UI', sans-serif;
  overflow: hidden;
}

canvas#bg {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.card {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #0d1b3e 0%, #1a2a5e 50%, #0d1b3e 100%);
  border: 2px solid rgba(100,180,255,0.3);
  border-radius: 24px;
  padding: 52px 48px 44px;
  max-width: 520px;
  width: 90vw;
  text-align: center;
  box-shadow: 0 0 60px rgba(50,130,255,0.25), 0 0 120px rgba(50,130,255,0.1);
  animation: cardIn 1s cubic-bezier(.22,1,.36,1) both;
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.badge {
  position: absolute;
  top: -16px;
  right: 28px;
  background: linear-gradient(90deg, #e83e3e, #ff6b35);
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  padding: 5px 16px;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(232,62,62,.5);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,100% { box-shadow: 0 4px 16px rgba(232,62,62,.5); }
  50%      { box-shadow: 0 4px 32px rgba(232,62,62,.9); }
}

.logo {
  font-size: 5rem;
  line-height: 1;
  animation: spin 12s linear infinite, logoIn .8s .2s cubic-bezier(.22,1,.36,1) both;
  display: inline-block;
  filter: drop-shadow(0 0 18px #326ce5);
}

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

@keyframes logoIn {
  from { opacity: 0; transform: scale(0) rotate(-180deg); }
  to   { opacity: 1; transform: scale(1) rotate(0deg); }
}

.title {
  margin-top: 18px;
  font-size: 2rem;
  font-weight: 700;
  color: #cde4ff;
  line-height: 1.2;
  animation: fadeUp .7s .4s both;
}

.title span {
  background: linear-gradient(90deg, #326ce5, #66c2ff, #326ce5);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  from { background-position: 0%; }
  to   { background-position: 200%; }
}

.sub {
  margin-top: 18px;
  color: #8ab0d8;
  font-size: 1rem;
  line-height: 1.6;
  animation: fadeUp .7s .55s both;
}

.sub em { color: #66c2ff; font-style: normal; font-weight: 600; }

.tags {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  animation: fadeUp .7s .7s both;
}

.tags span {
  background: rgba(50,108,229,.2);
  border: 1px solid rgba(50,108,229,.5);
  color: #90c4ff;
  font-size: .78rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: .04em;
  transition: background .2s;
}

.tags span:hover {
  background: rgba(50,108,229,.45);
}

.ribbon {
  margin-top: 32px;
  background: linear-gradient(90deg, rgba(50,108,229,.15), rgba(102,194,255,.15));
  border: 1px solid rgba(102,194,255,.25);
  border-radius: 12px;
  padding: 12px 20px;
  color: #c8e6ff;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .03em;
  animation: fadeUp .7s .85s both;
}

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