:root {
  --navy:       #1a3a4a;
  --teal:       #3a9b8e;
  --teal-light: #5bbcaf;
  --orange:     #e8873a;
}

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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Segoe UI', system-ui, sans-serif;
  overflow: hidden;
}

/* ── BACKGROUND ── */
.bg {
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 110%, rgba(58,155,142,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% -10%,  rgba(232,135,58,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 100% 80% at 50% 50%,  rgba(26,58,74,1)      0%, #0f2330 100%);
}

/* dot grid */
.dots {
  position: fixed; inset: 0; z-index: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 36px 36px;
}

/* floating rings */
.node {
  position: fixed; border-radius: 50%;
  background: transparent; z-index: 0;
}
.node-1 {
  width: 420px; height: 420px;
  border: 1px solid rgba(58,155,142,0.08);
  top: -100px; right: -100px;
  animation: drift1 18s ease-in-out infinite;
}
.node-2 {
  width: 280px; height: 280px;
  border: 1px solid rgba(232,135,58,0.07);
  bottom: -60px; left: -60px;
  animation: drift2 22s ease-in-out infinite;
}
.node-3 {
  width: 180px; height: 180px;
  border: 1px solid rgba(91,188,175,0.10);
  bottom: 15%; right: 12%;
  animation: drift3 14s ease-in-out infinite;
}

@keyframes drift1 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(-30px,20px) scale(1.05); }
}
@keyframes drift2 {
  0%,100% { transform: translate(0,0); }
  50%      { transform: translate(20px,-25px); }
}
@keyframes drift3 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(-15px,15px) scale(0.95); }
}

/* ── CARD ── */
.card {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  align-items: center; gap: 2.5rem;
  padding: 3.5rem 4rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  backdrop-filter: blur(12px);
  animation: fadeUp 0.8s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── LOGO ── */
.logo-link {
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
}
.logo-link:hover {
  transform: scale(1.04);
  filter: drop-shadow(0 0 18px rgba(58,155,142,0.4));
}
.logo-link img {
  width: 280px;
  max-width: 75vw;
  display: block;
}

/* ── DIVIDER ── */
.divider {
  width: 48px; height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--orange));
  border-radius: 2px; opacity: 0.6;
}

/* ── REDIRECT INFO ── */
.info {
  display: flex; flex-direction: column;
  align-items: center; gap: 1rem;
  text-align: center;
}
.info p {
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem; letter-spacing: 0.03em;
}

/* ── COUNTDOWN RING ── */
.ring-wrap {
  position: relative; width: 64px; height: 64px;
}
.ring-wrap svg {
  transform: rotate(-90deg);
  position: absolute; inset: 0;
}
.ring-bg {
  fill: none;
  stroke: rgba(255,255,255,0.07);
  stroke-width: 3;
}
.ring-fill {
  fill: none;
  stroke: url(#grad);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 163;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s linear;
}
.ring-number {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 600;
  color: #fff; letter-spacing: -0.02em;
}

.redirect-url {
  color: var(--teal-light);
  font-size: 0.8rem; letter-spacing: 0.04em;
  text-decoration: none; opacity: 0.8;
  transition: opacity 0.2s;
}
.redirect-url:hover { opacity: 1; }

/* ── SKIP BUTTON ── */
.skip {
  margin-top: -0.2rem;
  color: rgba(255,255,255,0.25);
  font-size: 0.75rem; cursor: pointer;
  background: none; border: none;
  letter-spacing: 0.05em; text-transform: uppercase;
  transition: color 0.2s; font-family: inherit;
}
.skip:hover { color: rgba(255,255,255,0.6); }


/* ── CONTACT ── */
.contact {
  display: flex; align-items: center; gap: 0.6rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  width: 100%;
  justify-content: center;
}
.contact span {
  font-size: 0.75rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.2);
}
.contact a {
  font-size: 0.82rem; color: var(--teal-light);
  text-decoration: none; opacity: 0.75;
  transition: opacity 0.2s;
}
.contact a:hover { opacity: 1; }
