/* style.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f1f5f9;
  position: relative;
  overflow-x: hidden;
}

.container {
  max-width: 800px;
  width: 90%;
  margin: 2rem auto;
  position: relative;
  z-index: 2;
}

.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(56, 189, 248, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.content {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  border-radius: 3rem;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.icon-wrapper {
  margin-bottom: 1.5rem;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
}

.gear-icon {
  width: 70px;
  height: 70px;
  color: #38bdf8;
  animation: spin 12s linear infinite;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff, #94a3b8);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(56, 189, 248, 0.15);
  backdrop-filter: blur(4px);
  padding: 0.4rem 1rem;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #7dd3fc;
}

.dot {
  width: 8px;
  height: 8px;
  background-color: #38bdf8;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.5s infinite;
}

.description {
  font-size: 1rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 2rem;
}

/* Таймер */
.timer {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.timer-block {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  padding: 0.8rem 1rem;
  border-radius: 1.25rem;
  min-width: 80px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.timer-number {
  font-size: 2rem;
  font-weight: 800;
  display: block;
  line-height: 1;
  color: #facc15;
  text-shadow: 0 0 8px rgba(250, 204, 21, 0.3);
}

.timer-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94a3b8;
}

/* Форма */
.subscribe-form {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.subscribe-form input {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.9rem 1.2rem;
  border-radius: 2rem;
  font-size: 0.95rem;
  color: #f1f5f9;
  outline: none;
  transition: all 0.2s;
  width: 260px;
  font-family: 'Inter', sans-serif;
}

.subscribe-form input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.subscribe-form input::placeholder {
  color: #64748b;
}

.subscribe-form button {
  background: linear-gradient(95deg, #38bdf8, #818cf8);
  border: none;
  padding: 0.9rem 1.8rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: white;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: 'Inter', sans-serif;
}

.subscribe-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(56, 189, 248, 0.3);
}

.form-message {
  font-size: 0.85rem;
  min-height: 2rem;
  margin-top: 0.5rem;
  color: #94a3b8;
}

/* Соцсети */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 2rem;
}

.social-link {
  background: rgba(255, 255, 255, 0.05);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  text-decoration: none;
  color: #cbd5e1;
  transition: all 0.2s;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
  background: #38bdf8;
  color: #0f172a;
  transform: translateY(-3px);
  border-color: transparent;
}

.footer {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.75rem;
  color: #64748b;
}

/* Анимации */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* Адаптив */
@media (max-width: 600px) {
  .content {
    padding: 2rem 1.5rem;
    border-radius: 2rem;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  .timer-block {
    min-width: 65px;
    padding: 0.5rem 0.8rem;
  }
  
  .timer-number {
    font-size: 1.6rem;
  }
  
  .subscribe-form input {
    width: 100%;
  }
}