:root {
  --green: #8DC63F;
  --green-dark: #5FA130;
  --blue: #1B75BB;
  --blue-dark: #145A92;
  --navy: #152A47;
  --white: #ffffff;
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html, body {
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background: linear-gradient(160deg, var(--navy) 0%, #1c3a63 45%, var(--blue-dark) 75%, var(--green-dark) 130%);
  color: var(--white);
  min-height: 100vh;
  position: relative;
}

#network-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.floating-leaves {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.leaf {
  position: absolute;
  bottom: -50px;
  border-radius: 50% 0 50% 50%;
  opacity: 0.55;
  animation: floatUp linear infinite;
}

@keyframes floatUp {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% { opacity: 0.6; }
  90% { opacity: 0.4; }
  100% {
    transform: translateY(-110vh) translateX(var(--drift, 40px)) rotate(360deg);
    opacity: 0;
  }
}

.wrapper {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 20px 24px;
}

.site-header {
  width: 100%;
  display: flex;
  justify-content: center;
  animation: fadeDown 1s ease both;
}

.logo-img {
  max-width: 320px;
  width: 60vw;
  min-width: 180px;
  height: auto;
  filter: drop-shadow(0 10px 25px rgba(0,0,0,0.35));
  transition: transform 0.4s ease;
}

.logo-img:hover {
  transform: scale(1.04) rotate(-1deg);
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  max-width: 720px;
  padding: 30px 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 14px;
  animation: fadeUp 0.8s ease 0.1s both;
}

.title {
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 18px;
}

.title .line {
  display: block;
  font-size: clamp(2.4rem, 8vw, 4.2rem);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s ease forwards;
}

.line-1 {
  color: var(--white);
  animation-delay: 0.25s;
}

.line-2 {
  background: linear-gradient(90deg, var(--green) 0%, #b7e26a 50%, var(--blue) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: fadeUp 0.9s ease forwards, shine 4s linear infinite 1.2s;
  animation-delay: 0.4s;
}

@keyframes shine {
  to { background-position: -200% center; }
}

.tagline {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #d7e4ef;
  min-height: 1.6em;
  margin-bottom: 34px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.6s forwards;
}

.tagline .cursor {
  display: inline-block;
  width: 2px;
  background: var(--green);
  margin-left: 2px;
  animation: blink 0.8s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.progress-block {
  width: 100%;
  max-width: 460px;
  margin-bottom: 34px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.8s forwards;
}

.progress-bar {
  position: relative;
  width: 100%;
  height: 16px;
  background: rgba(255,255,255,0.12);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.2);
}

.progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 20px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  background-size: 200% 100%;
  animation: gradientMove 3s ease infinite;
  transition: width 1.6s cubic-bezier(.3,.9,.3,1);
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  animation: sweep 1.8s linear infinite;
}

@keyframes sweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes gradientMove {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.progress-label {
  position: absolute;
  top: -26px;
  right: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
}

.progress-caption {
  margin-top: 10px;
  font-size: 0.85rem;
  color: #b7c6d8;
}

.countdown {
  display: flex;
  gap: 14px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.9s ease 1s forwards;
}

.time-block {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: 14px 18px;
  min-width: 68px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.time-block:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(141, 198, 63, 0.25);
  border-color: var(--green);
}

.time-value {
  display: block;
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

.time-name {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green);
  margin-top: 4px;
}

.notify-form {
  display: flex;
  width: 100%;
  max-width: 420px;
  gap: 10px;
  margin-bottom: 12px;
  opacity: 0;
  animation: fadeUp 0.9s ease 1.15s forwards;
}

.notify-form input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.notify-form input::placeholder {
  color: #c3d2e2;
}

.notify-form input:focus {
  border-color: var(--green);
  background: rgba(255,255,255,0.14);
}

.notify-form button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 30px;
  border: none;
  background: linear-gradient(90deg, var(--blue), var(--green));
  color: var(--white);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

.notify-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(141, 198, 63, 0.4);
}

.notify-form button:active {
  transform: translateY(0);
}

.notify-form button svg {
  transition: transform 0.25s ease;
}

.notify-form button:hover svg {
  transform: translateX(3px);
}

.form-message {
  font-size: 0.85rem;
  color: var(--green);
  min-height: 1.2em;
  margin-bottom: 26px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-message.show {
  opacity: 1;
}

.social-row {
  display: flex;
  gap: 16px;
  opacity: 0;
  animation: fadeUp 0.9s ease 1.3s forwards;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.3s ease;
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

.social-icon:hover {
  background: linear-gradient(135deg, var(--blue), var(--green));
  transform: translateY(-4px) scale(1.08);
  border-color: transparent;
}

.site-footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 18px 10px;
  font-size: 0.8rem;
  color: #a9bbcf;
  opacity: 0;
  animation: fadeUp 0.9s ease 1.4s forwards;
}

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

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-24px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .countdown { gap: 8px; }
  .time-block { padding: 10px 12px; min-width: 56px; }
  .notify-form { flex-direction: column; }
  .notify-form button { justify-content: center; }
}
