:root {
  --bg-color: #0f172a;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent-color: #8b5cf6;
  --accent-hover: #7c3aed;
  --glass-bg: rgba(15, 23, 42, 0.6);
  --glass-border: rgba(255, 255, 255, 0.1);
  --card-bg: rgba(30, 41, 59, 0.7);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  background-image: url('./background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text-main);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  backdrop-filter: brightness(0.7);
}

.container {
  width: 100%;
  max-width: 800px;
  padding: 2rem;
  z-index: 10;
}

.card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 4rem 3rem;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

/* Shine effect */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  transition: 0.5s;
}

.card:hover::before {
  left: 100%;
}

h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

p.subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.time-segment {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}

.time-value {
  font-size: 3rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.time-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.newsletter {
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

.input-group {
  display: flex;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.5);
  padding: 0.5rem;
  border-radius: 9999px; /* Pill shape */
  border: 1px solid var(--glass-border);
  transition: border-color 0.3s ease;
}

.input-group:focus-within {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
}

input[type="email"] {
  background: transparent;
  border: none;
  padding: 0.75rem 1.5rem;
  color: #fff;
  flex: 1;
  font-size: 1rem;
  outline: none;
  font-family: inherit;
}

input[type="email"]::placeholder {
  color: #64748b;
}

button.btn-notify {
  background: var(--accent-color);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-family: inherit;
}

button.btn-notify:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px -10px rgba(139, 92, 246, 0.5);
}

.socials {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-link {
  color: var(--text-muted);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  color: #fff;
  transform: translateY(-3px);
}

@media (max-width: 640px) {
  h1 {
    font-size: 2.5rem;
  }
  
  .card {
    padding: 2rem 1.5rem;
  }
  
  .countdown {
    gap: 1rem;
  }
  
  .time-value {
    font-size: 2rem;
  }
  
  .time-segment {
    min-width: 60px;
  }
}
