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

:root {
  --blue: #1A6EF5;
  --blue-dark: #1259d4;
  --blue-light: #4d91f7;
  --yellow: #FFD700;
  --yellow-dark: #f5c400;
  --pink: #F5A0C8;
  --pink-dark: #e87db8;
  --black: #0a0a0a;
  --white: #ffffff;
  --bg: #ffffff;
  --text-dark: #1a1a1a;
  --text-mid: #666666;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--text-dark);
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Background shapes */
.bg-shapes {
  display: none;
}

/* Layout */
.container {
  flex: 1;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 5vw, 48px) clamp(16px, 3vw, 32px) clamp(16px, 3vw, 32px);
  gap: clamp(20px, 4vw, 40px);
}

/* Mascot */
.mascot-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mascot {
  cursor: pointer;
  animation: bob 3s ease-in-out infinite;
  transition: transform 0.15s ease;
  filter: drop-shadow(0 clamp(8px, 1.6vw, 16px) clamp(16px, 3.2vw, 32px) rgba(26, 110, 245, 0.35));
}

.mascot:hover {
  animation-play-state: paused;
  transform: scale(1.07) rotate(-3deg);
}

.mascot:active {
  transform: scale(0.95) rotate(2deg);
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(clamp(-6px, -1.2vw, -12px)); }
}

.mascot-body {
  width: clamp(120px, 20vw, 200px);
  height: clamp(120px, 20vw, 200px);
  background: var(--blue);
  border-radius: 50% 50% 46% 46%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.4vw, 14px);
}

/* The yellow "hair" strip at top via pseudo */
.mascot-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 44%;
  background: var(--yellow);
  border-radius: 50% 50% 0 0;
  z-index: 0;
}

/* Glasses */
.glasses {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 1;
  margin-top: clamp(4px, 0.8vw, 8px);
}

.lens {
  width: clamp(38px, 6.2vw, 62px);
  height: clamp(38px, 6.2vw, 62px);
  background: var(--pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 clamp(2px, 0.3vw, 3px) clamp(4px, 0.8vw, 8px) rgba(0,0,0,0.2);
}

.bridge {
  width: clamp(7px, 1.2vw, 12px);
  height: clamp(5px, 0.8vw, 8px);
  background: var(--pink);
  border-radius: clamp(2px, 0.4vw, 4px);
  flex-shrink: 0;
}

.temple {
  position: absolute;
  width: clamp(8px, 1.4vw, 14px);
  height: clamp(4px, 0.7vw, 7px);
  background: var(--pink);
  border-radius: clamp(2px, 0.4vw, 4px);
  top: 50%;
  transform: translateY(-50%);
}

.left-temple { left: clamp(-8px, -1.2vw, -12px); }
.right-temple { right: clamp(-8px, -1.2vw, -12px); }

.pupil {
  width: clamp(26px, 4.2vw, 42px);
  height: clamp(26px, 4.2vw, 42px);
  background: var(--black);
  border-radius: 50%;
  position: relative;
}

.shine {
  position: absolute;
  background: var(--white);
  border-radius: 50%;
  width: clamp(7px, 1.2vw, 12px);
  height: clamp(7px, 1.2vw, 12px);
  top: clamp(4px, 0.6vw, 6px);
  left: clamp(5px, 0.8vw, 8px);
}

.shine-2 {
  width: clamp(4px, 0.7vw, 7px);
  height: clamp(4px, 0.7vw, 7px);
  top: clamp(12px, 2vw, 20px);
  left: clamp(12px, 2vw, 20px);
}

.nose {
  width: clamp(11px, 1.8vw, 18px);
  height: clamp(11px, 1.8vw, 18px);
  background: var(--black);
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

.mascot-shadow {
  width: clamp(84px, 14vw, 140px);
  height: clamp(11px, 1.8vw, 18px);
  background: rgba(26, 110, 245, 0.2);
  border-radius: 50%;
  margin-top: clamp(5px, 0.8vw, 8px);
  animation: shadow-pulse 3s ease-in-out infinite;
}

@keyframes shadow-pulse {
  0%, 100% { transform: scaleX(1); opacity: 0.4; }
  50% { transform: scaleX(0.8); opacity: 0.2; }
}

/* Content */
.content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 1.6vw, 16px);
}

.badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--text-dark);
  font-size: clamp(10px, 1.3vw, 13px);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: clamp(4px, 0.6vw, 6px) clamp(10px, 1.8vw, 18px);
  border-radius: 999px;
  box-shadow: 0 clamp(1px, 0.2vw, 2px) 0 rgba(0,0,0,0.1);
  animation: pop-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes pop-in {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: scale(1); }
}

.headline {
  font-size: clamp(36px, 8vw, 96px);
  font-weight: 900;
  line-height: 1.05;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.line-1 {
  color: var(--text-dark);
  animation: slide-up 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}

.line-2 {
  color: var(--blue);
  animation: slide-up 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

.dot-accent {
  color: var(--yellow-dark);
}

@keyframes slide-up {
  from { opacity: 0; transform: translateY(clamp(15px, 3vw, 30px)); }
  to { opacity: 1; transform: translateY(0); }
}

.subtext {
  font-size: clamp(14px, 1.8vw, 18px);
  color: var(--text-mid);
  font-weight: 600;
  line-height: 1.6;
  max-width: clamp(280px, 42vw, 420px);
  animation: slide-up 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}

/* Form */
.notify-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(6px, 1vw, 10px);
  width: 100%;
  max-width: clamp(300px, 44vw, 440px);
  animation: slide-up 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both;
}

.input-group {
  display: flex;
  width: 100%;
  background: var(--white);
  border-radius: 999px;
  border: clamp(2px, 0.3vw, 3px) solid var(--blue-light);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 clamp(2px, 0.4vw, 4px) clamp(8px, 1.6vw, 16px) rgba(26, 110, 245, 0.12);
}

.input-group:focus-within {
  border-color: var(--blue);
  box-shadow: 0 clamp(2px, 0.4vw, 4px) clamp(12px, 2.4vw, 24px) rgba(26, 110, 245, 0.25);
}

.input-group input {
  flex: 1;
  border: none;
  outline: none;
  padding: clamp(10px, 1.4vw, 14px) clamp(12px, 2vw, 20px);
  font-family: 'Nunito', sans-serif;
  font-size: clamp(13px, 1.6vw, 16px);
  font-weight: 600;
  color: var(--text-dark);
  background: transparent;
}

.input-group input::placeholder {
  color: #a0aabf;
  font-weight: 600;
}

.btn-notify {
  display: flex;
  align-items: center;
  gap: clamp(4px, 0.6vw, 6px);
  padding: clamp(8px, 1.2vw, 12px) clamp(14px, 2.4vw, 24px);
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 999px;
  font-family: 'Nunito', sans-serif;
  font-size: clamp(12px, 1.5vw, 15px);
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin: clamp(2px, 0.3vw, 3px);
  white-space: nowrap;
}

.btn-notify:hover {
  background: var(--blue-dark);
  transform: scale(1.04);
}

.btn-notify:active {
  transform: scale(0.97);
}

.btn-arrow {
  transition: transform 0.2s;
}

.btn-notify:hover .btn-arrow {
  transform: translateX(clamp(2px, 0.4vw, 4px));
}

.form-hint {
  font-size: clamp(10px, 1.3vw, 13px);
  color: #8a96b3;
  font-weight: 600;
}

/* Success message */
.success-msg {
  display: none;
  align-items: center;
  gap: clamp(6px, 1vw, 10px);
  background: var(--yellow);
  color: var(--text-dark);
  font-weight: 800;
  font-size: clamp(13px, 1.6vw, 16px);
  padding: clamp(10px, 1.4vw, 14px) clamp(16px, 2.8vw, 28px);
  border-radius: 999px;
  box-shadow: 0 clamp(2px, 0.4vw, 4px) clamp(8px, 1.6vw, 16px) rgba(255, 215, 0, 0.4);
  animation: pop-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.success-msg.visible {
  display: flex;
}

.success-icon {
  font-size: clamp(16px, 2.2vw, 22px);
}

/* Countdown */
.countdown-section {
  animation: slide-up 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s both;
}

.countdown {
  display: flex;
  align-items: center;
  gap: clamp(5px, 0.8vw, 8px);
}

.count-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
  border-radius: clamp(10px, 1.6vw, 16px);
  padding: clamp(10px, 1.6vw, 16px) clamp(12px, 2vw, 20px) clamp(8px, 1.2vw, 12px);
  min-width: clamp(52px, 7.6vw, 76px);
  box-shadow: 0 clamp(2px, 0.4vw, 4px) clamp(10px, 2vw, 20px) rgba(26, 110, 245, 0.1), 0 0 0 clamp(2px, 0.3vw, 3px) var(--blue-light);
  transition: box-shadow 0.2s;
}

.count-block:hover {
  box-shadow: 0 clamp(4px, 0.8vw, 8px) clamp(14px, 2.8vw, 28px) rgba(26, 110, 245, 0.2), 0 0 0 clamp(2px, 0.3vw, 3px) var(--blue);
}

.count-num {
  font-size: clamp(22px, 3.6vw, 36px);
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.count-num.tick {
  transform: scale(1.2);
  color: var(--blue-dark);
}

.count-label {
  font-size: clamp(8px, 1.1vw, 11px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8a96b3;
  margin-top: clamp(2px, 0.4vw, 4px);
}

.count-sep {
  font-size: clamp(20px, 3.2vw, 32px);
  font-weight: 900;
  color: var(--pink-dark);
  line-height: 1;
  padding-bottom: clamp(10px, 1.8vw, 18px);
  user-select: none;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: clamp(10px, 1.6vw, 16px);
  font-size: clamp(10px, 1.3vw, 13px);
  font-weight: 700;
  color: #8a96b3;
}

.heart {
  color: var(--pink-dark);
  display: inline-block;
  animation: heartbeat 1.4s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.3); }
  28% { transform: scale(1); }
  42% { transform: scale(1.2); }
  56% { transform: scale(1); }
}
