/* styles.css */
:root {
  --bg: #fff7f2;
  --text: #6f4d38;
  --accent: #ab5a44;
  --card: #fff0e5;
  --muted: #8b6f5c;
}

.dark {
  --bg: #0b0f1a;
  --text: #e2d9d1;
  --accent: #d9776e;
  --card: #1f2937;
  --muted: #9ca3af;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 0.6s ease, color 0.6s ease;
}

.background {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #ab5a44 0%, #6f4d38 100%);
  opacity: 0.07;
  z-index: -2;
  animation: gradient 18s ease infinite;
}

@keyframes gradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

#particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

#theme-toggle {
  position: fixed;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 100;
  transition: transform 0.3s;
}

#theme-toggle:hover { transform: scale(1.2); }

main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.content {
  text-align: center;
  max-width: 720px;
}

h1 {
  font-size: clamp(3.5rem, 12vw, 7.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--accent), #d9776e, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.4rem;
}

h2 {
  font-size: clamp(1.8rem, 6vw, 3rem);
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--muted);
}

.tagline {
  font-size: 1.35rem;
  line-height: 1.5;
  margin: 1.5rem 0 3rem;
  color: var(--text);
  opacity: 0.92;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 2.5rem 0 3.5rem;
  flex-wrap: wrap;
}

.countdown-item {
  background: var(--card);
  border: 1px solid rgba(111,77,56,0.15);
  border-radius: 12px;
  padding: 1.2rem 1.8rem;
  min-width: 100px;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

.countdown-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.countdown-item span {
  display: block;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.countdown-item label {
  font-size: 0.95rem;
  opacity: 0.8;
  margin-top: 0.4rem;
  display: block;
}

.launch-text {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.subscribe h3 {
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

#notify-form {
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

#notify-form input {
  flex: 1;
  min-width: 220px;
  padding: 0.9rem 1.4rem;
  border: 1px solid rgba(111,77,56,0.3);
  border-radius: 50px;
  font-size: 1.05rem;
  background: rgba(255,255,255,0.06);
  color: var(--text);
}

#notify-form button {
  padding: 0.9rem 2rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

#notify-form button:hover {
  background: #c4553f;
  transform: translateY(-2px);
}

.small {
  font-size: 0.9rem;
  opacity: 0.7;
}

.socials {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  font-size: 1.1rem;
}

.socials a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}

.socials a:hover {
  color: var(--accent);
}