:root {
  color-scheme: dark;
  --bg: #02050f;
  --bg-deep: #010409;
  --card: rgba(255, 255, 255, 0.08);
  --card-strong: rgba(255, 255, 255, 0.12);
  --text: #f7f9ff;
  --muted: rgba(247, 249, 255, 0.68);
  --accent: #51d4ff;
  --accent-soft: rgba(81, 212, 255, 0.22);
  --border: rgba(81, 212, 255, 0.32);
  --shadow: 0 40px 120px rgba(1, 6, 20, 0.45);
  --radius: 24px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  min-height: 100%;
  background: radial-gradient(circle at top, rgba(81, 212, 255, 0.14), transparent 25%),
              linear-gradient(180deg, #040611 0%, #050a17 35%, #080f24 100%);
  color: var(--text);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  display: grid;
  place-items: center;
  padding: 0;
  margin: 0;
  background-color: var(--bg);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle at 20% 15%, rgba(81, 212, 255, 0.14), transparent 12%),
                    radial-gradient(circle at 85% 25%, rgba(255, 255, 255, 0.08), transparent 15%),
                    radial-gradient(circle at 50% 70%, rgba(81, 212, 255, 0.1), transparent 20%);
  pointer-events: none;
  opacity: 0.88;
  z-index: 0;
}


.page-shell {
  position: relative;
  width: min(1100px, 100%);
  z-index: 1;
  height: 100vh;
  max-height: 100vh;
  padding: 28px 22px;
  display: grid;
  place-items: center;
  gap: 28px;
  overflow: hidden;
  animation: fadeIn 1.2s ease both;
}

.hero {
  text-align: center;
  display: grid;
  gap: 20px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.76rem;
  font-weight: 700;
  color: rgba(81, 212, 255, 0.9);
  opacity: 0.95;
  transform: translateY(10px);
  animation: fadeInUp 1s ease both;
  animation-delay: 0.2s;
}

.brand-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3.5rem, 5vw, 5.6rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 0.96;
  margin-top: 12px;
  animation: fadeInUp 1s ease both;
  animation-delay: 0.35s;
  background: linear-gradient(120deg, #ffffff, #d0f7ff 24%, #51d4ff 50%, #ffffff 75%);
  background-size: 300% 300%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(81, 212, 255, 0.35), 0 12px 40px rgba(81, 212, 255, 0.2);
  animation: gradientShift 6s ease infinite, fadeInUp 1s ease both;
  -webkit-text-stroke: 0.6px rgba(81, 212, 255, 0.3);
}

.tagline {
  font-size: 1.16rem;
  font-weight: 500;
  color: rgba(247, 249, 255, 0.76);
  max-width: 740px;
  margin: 0 auto;
  animation: fadeInUp 1s ease both;
  animation-delay: 0.45s;
}

.subtext {
  font-size: 1rem;
  color: rgba(247, 249, 255, 0.68);
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto;
  animation: fadeInUp 1s ease both;
  animation-delay: 0.55s;
}

.hero-social-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-top: 12px;
  animation: fadeInUp 1s ease both;
  animation-delay: 0.65s;
}

.hero-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(81, 212, 255, 0.14);
  border: 1.6px solid rgba(81, 212, 255, 0.42);
  color: #51d4ff;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(14px);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(81, 212, 255, 0.12), inset 0 0 12px rgba(81, 212, 255, 0.06);
}

.hero-social-link i {
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-social-link:hover {
  background: rgba(81, 212, 255, 0.26);
  border-color: rgba(81, 212, 255, 0.72);
  color: #ffffff;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 16px 40px rgba(81, 212, 255, 0.24), inset 0 0 16px rgba(81, 212, 255, 0.12);
}

.countdown-shell {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  max-width: 980px;
  perspective: 1200px;
  animation: fadeInUp 1s ease both;
  animation-delay: 0.7s;
}

.timer-card {
  position: relative;
  min-height: 180px;
  padding: 28px 26px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(8, 14, 34, 0.9), rgba(6, 11, 28, 0.82));
  border: 1px solid rgba(81, 212, 255, 0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04),
              0 28px 80px rgba(0, 0, 0, 0.35),
              0 0 80px rgba(81, 212, 255, 0.08);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  display: grid;
  gap: 18px;
  align-items: center;
  justify-items: center;
  text-align: center;
  animation: float 9s ease-in-out infinite;
}

.timer-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05),
              0 36px 100px rgba(0, 0, 0, 0.38),
              0 0 120px rgba(81, 212, 255, 0.16);
  border-color: rgba(81, 212, 255, 0.28);
}

.timer-card::before {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 22px;
  background: radial-gradient(circle at top left, rgba(81, 212, 255, 0.14), transparent 30%),
              radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.12), transparent 30%);
  pointer-events: none;
}

.timer-card::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 88%;
  height: 88%;
  transform: translate(-50%, -50%);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.timer-card span {
  position: relative;
  z-index: 1;
}

.value {
  font-size: clamp(2.4rem, 3vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.95;
  color: #fff;
}

.label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(247, 249, 255, 0.82);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  background: rgba(81, 212, 255, 0.08);
  border: 1px solid rgba(81, 212, 255, 0.14);
  backdrop-filter: blur(12px);
}

.action-panel {
  display: grid;
  gap: 22px;
  padding: 32px;
  border-radius: var(--radius);
  background: rgba(9, 15, 28, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  animation: fadeInUp 1s ease both;
  animation-delay: 0.85s;
}

.input-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.email-input {
  flex: 1 1 240px;
  min-width: 220px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  backdrop-filter: blur(14px);
}

.email-input:focus {
  border-color: rgba(81, 212, 255, 0.75);
  box-shadow: 0 0 0 6px rgba(81, 212, 255, 0.12);
  transform: translateY(-1px);
}

.notify-button {
  border: none;
  border-radius: 18px;
  padding: 18px 28px;
  background: linear-gradient(135deg, rgba(81, 212, 255, 0.93), rgba(37, 171, 255, 0.88));
  color: #020409;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease, filter 0.3s ease;
  box-shadow: 0 18px 45px rgba(81, 212, 255, 0.28);
}

.notify-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 20px 60px rgba(81, 212, 255, 0.35);
}

.notify-button:active {
  transform: translateY(0) scale(0.99);
}

.notify-info {
  color: rgba(247, 249, 255, 0.62);
  font-size: 0.94rem;
  line-height: 1.7;
}

.footer {
  text-align: center;
  color: rgba(247, 249, 255, 0.44);
  font-size: 0.92rem;
  margin-top: 10px;
  animation: fadeInUp 1s ease both;
  animation-delay: 1s;
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 200px;
  height: 200px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(81,212,255,0.24) 0%, rgba(81,212,255,0.08) 35%, transparent 70%);
  filter: blur(20px);
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease;
  z-index: 2;
  opacity: 0.85;
  mix-blend-mode: screen;
}

.particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(81, 212, 255, 0.16);
  pointer-events: none;
  animation: floatParticle 14s linear infinite;
}

@media (max-width: 1024px) {
  .page-shell {
    padding: 28px 20px;
  }

  .countdown-shell {
    max-width: 100%;
    gap: 16px;
  }

  .timer-card {
    min-height: 160px;
    padding: 24px 20px;
  }

  .value {
    font-size: clamp(2rem, 2.8vw, 2.8rem);
  }
}
@media (max-width: 960px) {
  .page-shell {
    padding: 24px 18px;
    gap: 24px;
  }

  .countdown-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
  }

  .brand-title {
    font-size: clamp(2.8rem, 4.5vw, 4.8rem);
    letter-spacing: 0.01em;
    text-shadow: 0 0 36px rgba(81, 212, 255, 0.3), 0 10px 36px rgba(81, 212, 255, 0.18);
  }

  .tagline {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  body {
    padding: 0;
  }

  .page-shell {
    padding: 20px 16px;
    gap: 20px;
    height: 100vh;
  }

  .hero {
    gap: 14px;
  }

  .eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.24em;
  }

  .brand-title {
    font-size: clamp(2.4rem, 4vw, 4rem);
    letter-spacing: 0.01em;
    text-shadow: 0 0 32px rgba(81, 212, 255, 0.28), 0 8px 32px rgba(81, 212, 255, 0.16);
    margin-top: 8px;
  }

  .tagline {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .subtext {
    font-size: 0.92rem;
    line-height: 1.6;
    max-width: 100%;
  }

  .hero-social-links {
    gap: 14px;
    margin-top: 10px;
  }

  .hero-social-link {
    width: 46px;
    height: 46px;
  }

  .hero-social-link i {
    font-size: 1.2rem;
  }

  .countdown-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 100%;
  }

  .timer-card {
    min-height: 160px;
    padding: 28px 24px;
    gap: 16px;
  }

  .value {
    font-size: clamp(2rem, 3vw, 2.6rem);
  }

  .label {
    font-size: 0.8rem;
    padding: 0.7rem 1rem;
  }

  .action-panel {
    padding: 24px;
    gap: 16px;
    max-width: 100%;
  }

  .input-row {
    flex-direction: column;
  }

  .email-input {
    width: 100%;
    min-width: unset;
  }

  .notify-button {
    width: 100%;
  }

  .footer {
    font-size: 0.88rem;
  }

  .social-sidebar {
    left: 18px;
    gap: 18px;
  }

  .social-link {
    width: 42px;
    height: 42px;
  }

  .social-link svg {
    width: 19px;
    height: 19px;
  }

  .cursor-glow {
    width: 120px;
    height: 120px;
    filter: blur(16px);
    opacity: 0.6;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 16px 14px;
    gap: 20px;
  }

  .hero {
    gap: 10px;
  }

  .hero-social-links {
    gap: 12px;
    margin-top: 8px;
  }

  .hero-social-link {
    width: 44px;
    height: 44px;
  }

  .hero-social-link i {
    font-size: 1.15rem;
  }

  .eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
  }

  .brand-title {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    letter-spacing: 0.01em;
    text-shadow: 0 0 28px rgba(81, 212, 255, 0.26), 0 6px 28px rgba(81, 212, 255, 0.14);
    margin-top: 4px;
  }

  .tagline {
    font-size: 0.9rem;
  }

  .subtext {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .countdown-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
  }

  .timer-card {
    min-height: 140px;
    padding: 24px 18px;
    gap: 14px;
  }

  .value {
    font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  }

  .label {
    font-size: 0.7rem;
    padding: 0.5rem 0.7rem;
  }

  .action-panel {
    padding: 20px;
    gap: 14px;
    border-radius: 16px;
  }

  .notify-info {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  .email-input {
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 0.95rem;
  }

  .notify-button {
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 0.9rem;
  }

  .footer {
    font-size: 0.82rem;
  }

  .social-sidebar {
    left: 12px;
    gap: 14px;
  }

  .hero-social-link {
    width: 36px;
    height: 36px;
  }

  .hero-social-link i {
    font-size: 0.9rem;
  }

  .cursor-glow {
    width: 100px;
    height: 100px;
    filter: blur(14px);
    opacity: 0.55;
  }
}

@media (max-width: 480px) {
  .page-shell {
    padding: 12px 12px;
    gap: 14px;
  }

  .brand-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    letter-spacing: 0.01em;
    text-shadow: 0 0 24px rgba(81, 212, 255, 0.24), 0 4px 24px rgba(81, 212, 255, 0.12);
  }

  .countdown-shell {
    gap: 10px;
  }

  .timer-card {
    min-height: 110px;
    padding: 16px 12px;
  }

  .value {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-20px) translateY(-50%); }
  to { opacity: 1; transform: translateX(0) translateY(-50%); }
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 0); }
}

@keyframes floatParticle {
  0% { opacity: 0; transform: translate(0, 0) scale(0.9); }
  50% { opacity: 1; transform: translate(16px, -24px) scale(1.1); }
  100% { opacity: 0; transform: translate(-12px, 32px) scale(0.95); }
}
