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

:root {
  --primary: #7c3aed;
  --secondary: #06b6d4;
  --accent: #f472b6;
  --bg-dark: #0b0f1a;
  --bg-dark2: #11162a;
  --text-light: #f1f5f9;
  --text-muted: #94a3b8;
}

body {
  font-family: 'Vazirmatn', sans-serif;
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-dark2));
  color: var(--text-light);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Animated blurred shapes */
.bg-shapes {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: float 14s ease-in-out infinite;
}

.shape1 {
  width: 380px;
  height: 380px;
  background: var(--primary);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.shape2 {
  width: 300px;
  height: 300px;
  background: var(--secondary);
  bottom: -80px;
  right: -80px;
  animation-delay: 2s;
}

.shape3 {
  width: 250px;
  height: 250px;
  background: var(--accent);
  top: 40%;
  right: 15%;
  animation-delay: 4s;
}

.shape4 {
  width: 200px;
  height: 200px;
  background: var(--secondary);
  bottom: 20%;
  left: 10%;
  animation-delay: 6s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -50px) scale(1.1); }
  66% { transform: translate(-30px, 30px) scale(0.95); }
}

/* Twinkling stars */
.stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  opacity: 0.6;
  animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.6); }
}

/* Container */
.container {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  max-width: 700px;
  margin: 0 auto;
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}

.logo-icon {
  font-size: 28px;
  animation: bounce 2.5s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(8deg); }
}

.logo h2 {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 1px;
}

.title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}

.gradient-text {
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 4s ease infinite;
}

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

.subtitle {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.9;
}

/* Countdown */
.countdown {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.time-box {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 18px 22px;
  min-width: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.time-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.35);
}

.time-value {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.time-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Form */
.notify-form {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 440px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 12px;
}

.notify-form input {
  flex: 1;
  min-width: 220px;
  padding: 14px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-light);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.notify-form input::placeholder {
  color: var(--text-muted);
}

.notify-form input:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.25);
}

.notify-form button {
  padding: 14px 28px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: white;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.notify-form button:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.4);
}

.form-message {
  min-height: 20px;
  font-size: 0.9rem;
  color: #4ade80;
  margin-bottom: 30px;
}

/* Progress */
.progress-wrap {
  width: 100%;
  max-width: 440px;
  margin-bottom: 40px;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  background-size: 200% auto;
  animation: gradientShift 3s linear infinite;
  transition: width 1.5s ease;
}

.progress-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Social */
.social-links {
  display: flex;
  gap: 14px;
}

.social-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  font-size: 1.2rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-5px) scale(1.1);
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 20px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 480px) {
  .time-box {
    min-width: 65px;
    padding: 14px 14px;
  }
  .notify-form {
    flex-direction: column;
  }
  .notify-form button, .notify-form input {
    width: 100%;
  }
}
