
/*
  Chayson Coming Soon (Re-launch)
  - Mobile-first
  - Readable typography on phones
  - Subtle, premium motion
*/

:root {
  --bg: #06070a;
  --fg: #ffffff;
  /* Keep everything white-forward */
  --muted: rgba(255, 255, 255, 0.92);
  --muted2: rgba(255, 255, 255, 0.85);
  --card: rgba(10, 12, 16, 0.58);
  --card2: rgba(10, 12, 16, 0.32);
  --border: rgba(255, 255, 255, 0.16);
  --border2: rgba(255, 255, 255, 0.10);
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.62);
  --radius: 20px;
  --accent: rgba(0, 210, 255, 0.95);
  --accent2: rgba(102, 255, 204, 0.85);
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  color: var(--fg);
  font-family: 'Orbitron', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg) url('../images/background.jpg') center/cover no-repeat fixed;
  -webkit-text-size-adjust: 100%;
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 64px);
  position: relative;
  text-align: center;
  overflow: hidden;
}

/* Ambient gradient wash */
.hero::before {
  content: '';
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(900px 600px at 15% 20%, rgba(0, 210, 255, 0.24), transparent 60%),
    radial-gradient(800px 520px at 85% 30%, rgba(102, 255, 204, 0.18), transparent 60%),
    radial-gradient(900px 700px at 50% 95%, rgba(255, 255, 255, 0.10), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.30), rgba(0,0,0,0.82));
  animation: drift 14s ease-in-out infinite;
}

/* Film grain / noise */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="140" height="140"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="3" stitchTiles="stitch"/></filter><rect width="140" height="140" filter="url(%23n)" opacity="0.22"/></svg>');
  mix-blend-mode: overlay;
  opacity: 0.35;
  pointer-events: none;
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(1.5%, -1.2%, 0) scale(1.02); }
}

.hero__inner {
  position: relative;
  width: min(820px, 100%);
  padding: clamp(20px, 4vw, 48px);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(12, 14, 18, 0.68), rgba(8, 9, 12, 0.46));
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

/* Halo glow behind the card */
.hero__inner::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius) + 2px);
  background: radial-gradient(600px 240px at 50% 0%, rgba(0, 210, 255, 0.22), transparent 55%);
  filter: blur(14px);
  opacity: 0.9;
  z-index: -1;
}

.logo {
  width: min(300px, 74vw);
  height: auto;
  margin: 0 auto clamp(14px, 3vw, 24px);
  display: block;

  /* Soft edge blend (minimal) so it doesn't read like a hard rectangle */
  border-radius: 18px;
  filter:
    drop-shadow(0 10px 26px rgba(0,0,0,0.45))
    drop-shadow(0 0 28px rgba(255, 255, 255, 0.10));
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 92%, transparent 100%);
  mask-image: radial-gradient(ellipse at 50% 50%, #000 92%, transparent 100%);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border2);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--muted);
  font-size: clamp(12px, 2.3vw, 13px);
  letter-spacing: 0.03em;
  margin-bottom: clamp(14px, 3vw, 18px);
}

.badge__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(0, 210, 255, 0.10), 0 0 22px rgba(0, 210, 255, 0.55);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.14); opacity: 1; }
}

h1 {
  margin: 0 0 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: clamp(28px, 5.2vw, 56px);
  line-height: 1.06;
}

.headline-accent {
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
  text-shadow: 0 0 22px rgba(255, 255, 255, 0.12);
}

.subtitle {
  margin: 0 auto;
  max-width: 52ch;
  color: var(--muted);
  font-size: clamp(16px, 2.6vw, 20px);
  line-height: 1.55;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 14px);
  margin: clamp(18px, 4vw, 30px) 0;
}

.countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(12px, 2.2vw, 16px);
  border: 1px solid var(--border2);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.18));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.countdown__num {
  display: block;
  font-size: clamp(20px, 4.8vw, 38px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.countdown__label {
  display: block;
  margin-top: 6px;
  font-size: clamp(12px, 2.2vw, 13px);
  color: var(--muted2);
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  margin: clamp(8px, 2.8vw, 16px) 0 clamp(16px, 4vw, 22px);
}

/* Mystery teaser */
.mystery {
  text-align: center;
}

.mystery__line {
  margin: 0 0 12px;
  font-size: clamp(14px, 2.8vw, 16px);
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.01em;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.22);
  color: rgba(255,255,255,0.92);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Sections */
.feature,
.timeline {
  margin-top: clamp(18px, 4.2vw, 28px);
  text-align: left;
}

.section-title {
  margin: 0 0 8px;
  font-size: clamp(16px, 2.8vw, 18px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

.section-subtitle {
  margin: 0 0 clamp(14px, 3vw, 18px);
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(13px, 2.4vw, 15px);
  line-height: 1.5;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 2.4vw, 14px);
}

.card {
  border: 1px solid var(--border2);
  border-radius: 18px;
  background: var(--card2);
  padding: clamp(14px, 2.8vw, 18px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 210, 255, 0.30);
  background: rgba(10, 12, 16, 0.42);
}

.card__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(0, 0, 0, 0.16));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.20);
  margin-bottom: 12px;
  font-size: 18px;
}

.card__title {
  margin: 0 0 8px;
  font-size: clamp(14px, 2.6vw, 16px);
  letter-spacing: 0.02em;
}

.card__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.70);
  font-size: clamp(12px, 2.3vw, 13px);
  line-height: 1.5;
}

/* Timeline / steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 2.4vw, 14px);
}

.step {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.18));
  padding: clamp(14px, 2.8vw, 18px);
  position: relative;
  overflow: hidden;
}

.step::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 140px at 0% 0%, rgba(0, 210, 255, 0.16), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.step__kicker {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.64);
  margin-bottom: 8px;
}

.step__title {
  display: block;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}


.step__text {
  display: block;
  color: rgba(255, 255, 255, 0.70);
  font-size: clamp(12px, 2.3vw, 13px);
  line-height: 1.5;
}

.microcopy {
  margin: clamp(14px, 3.8vw, 22px) auto 0;
  max-width: 60ch;
  font-size: clamp(12px, 2.2vw, 14px);
  color: rgba(255, 255, 255, 0.62);
}

.site-footer {
  margin-top: clamp(20px, 5vw, 34px);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer hr {
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin: 0 0 12px;
}

/* Mobile layout */
@media (max-width: 640px) {
  .countdown { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .feature, .timeline { text-align: center; }
  .card__icon { margin-left: auto; margin-right: auto; }
}
