/* Font */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/outfit-latin.woff2') format('woff2');
}

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

/* Custom Properties */
:root {
  --color-bg: #F8FAFC;
  --color-text: #0F172A;
  --color-muted: #64748B;
  --color-label: #94A3B8;
  --color-divider: #E2E8F0;
  --font-family: 'Outfit', sans-serif;
}

/* Base */
html, body {
  height: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-bg);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
  text-align: center;
  padding: 2rem;
}

/* Headline */
.headline {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--color-text);
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}

/* Domain */
.domain {
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--color-muted);
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeIn 0.6s ease 0.2s forwards;
}

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  gap: 0;
  opacity: 0;
  animation: fadeIn 0.6s ease 0.4s forwards;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1.5rem;
  border-right: 1px solid var(--color-divider);
}

.countdown-item:last-child {
  border-right: none;
}

.countdown-value {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1;
  color: var(--color-text);
  min-width: 2ch;
  text-align: center;
}

.countdown-label {
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-label);
  margin-top: 0.5rem;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .headline,
  .domain,
  .countdown {
    animation: none;
    opacity: 1;
  }
}

/* Responsive: small screens */
@media (max-width: 480px) {
  .countdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .countdown-item {
    border-right: none;
    padding: 1rem;
  }

  .countdown-item:nth-child(odd) {
    border-right: 1px solid var(--color-divider);
  }

  .countdown-item:nth-child(3),
  .countdown-item:nth-child(4) {
    border-top: 1px solid var(--color-divider);
    padding-top: 1.5rem;
  }
}
