:root {
  --blue-900: #04174a;
  --blue-700: #0a2d8f;
  --blue-500: #1a54d6;
  --teal: #54bdb6;
  --yellow: #e6c619;
  --red: #c01625;
  --white: #fff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  color: var(--white);
  background: radial-gradient(circle at 20% 10%, var(--blue-500) 0%, var(--blue-700) 40%, var(--blue-900) 100%);
  background-attachment: fixed;
  display: flex; flex-direction: column; min-height: 100vh;
  overflow-x: hidden;
}
#bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }
.wrap {
  position: relative; z-index: 1; flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 32px 16px; overflow-wrap: anywhere;
  max-width: 760px; margin: 0 auto; width: 100%;
}
.logo { width: min(420px, 80%); height: auto; margin-bottom: 24px; animation: float 5s ease-in-out infinite; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 24px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); animation: pulse 1.5s infinite; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.15; margin-bottom: 16px; }
.lead { max-width: 560px; opacity: .85; line-height: 1.6; margin-bottom: 32px; }

.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 2vw, 14px); width: min(460px, 100%); margin-bottom: 32px; flex-wrap: wrap; justify-content: center; }
.countdown div {
  padding: clamp(10px, 2.5vw, 14px) 6px; border-radius: 14px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(6px);
}
.countdown span { display: block; font-size: clamp(1.4rem, 6vw, 2rem); font-weight: 700; font-variant-numeric: tabular-nums; }
.countdown small { font-size: clamp(.55rem, 2.4vw, .7rem); text-transform: uppercase; letter-spacing: .1em; opacity: .75; }

.progress { width: min(460px, 100%); height: 10px; border-radius: 999px; background: rgba(255,255,255,.18); overflow: hidden; }
.bar { height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--teal), var(--yellow), var(--red)); transition: width 1.8s cubic-bezier(.2,.8,.2,1); }
.pct { margin: 10px 0 0; font-size: .85rem; opacity: .8; }

footer { position: relative; z-index: 1; text-align: center; padding: 16px; font-size: .8rem; opacity: .65; }

@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes pulse { 50% { opacity: .3; transform: scale(.7); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

@media (max-height: 640px) { .wrap { justify-content: flex-start; } }
@media (max-width: 480px) {
  .logo { width: 90%; margin-bottom: 16px; }
  .badge { font-size: .72rem; padding: 6px 14px; margin-bottom: 18px; }
  .lead { font-size: .95rem; margin-bottom: 24px; }
  .countdown { margin-bottom: 24px; }
}
