/* ── Variables ───────────────────────────────────────────── */
:root {
  --gold:       #b8965a;
  --gold-light: #d4b07a;
  --gold-pale:  #f0e4cc;
  --cream:      #fdf8f0;
  --dark:       #2c2018;
  --forest:     #3d5a45;
  --text:       #4a3728;
  --glass-bg:   rgba(253, 248, 240, 0.1);
  --glass-border: rgba(184, 150, 90, 0.3);
}

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

/* ── Body ────────────────────────────────────────────────── */
html, body {
  min-height: 100%;
  font-family: 'Raleway', sans-serif;
  color: var(--text);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 2rem 1rem 3rem;
}

/* ── Snow canvas ─────────────────────────────────────────── */
#snow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* ── Background image ────────────────────────────────────── */
.bg {
  position: fixed;
  inset: 0;
  background: url('tlo.webp') center center / cover no-repeat;
  z-index: 0;
}

/* ── Card ────────────────────────────────────────────────── */
.card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  padding: 2.8rem 2.4rem 2.8rem;
  text-align: center;
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  box-shadow:
    0 8px 40px rgba(44, 32, 24, 0.12),
    0 2px 12px rgba(44, 32, 24, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.6);

  /* entrance animation */
  animation: fadeUp 1.2s cubic-bezier(.22,.8,.36,1) both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Eyebrow ─────────────────────────────────────────────── */
.eyebrow {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dark);
  text-shadow: 0 1px 4px rgba(255,255,255,0.6);
  margin-bottom: 0.6rem;
  animation: fadeUp 1.2s .15s cubic-bezier(.22,.8,.36,1) both;
}

/* ── Title ───────────────────────────────────────────────── */
.title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.8rem, 8vw, 4.2rem);
  line-height: 1;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3em;
  animation: fadeUp 1.2s .25s cubic-bezier(.22,.8,.36,1) both;
}

.name {
  font-style: italic;
}

.amp {
  color: var(--dark);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  align-self: center;
}

/* ── Subtitle ────────────────────────────────────────────── */
.subtitle {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dark);
  text-shadow: 0 1px 4px rgba(255,255,255,0.6);
  margin-bottom: 1.2rem;
  animation: fadeUp 1.2s .32s cubic-bezier(.22,.8,.36,1) both;
}

/* ── Divider ─────────────────────────────────────────────── */
.divider {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 1.4rem 0;
  animation: fadeUp 1.2s .38s cubic-bezier(.22,.8,.36,1) both;
}

.line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-light), transparent);
}

.snowflake {
  font-size: 0.7rem;
  color: var(--gold);
  opacity: 0.8;
}

/* ── Date label ──────────────────────────────────────────── */
.date-section-label {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 0.3rem;
  animation: fadeUp 1.2s .42s cubic-bezier(.22,.8,.36,1) both;
}

.date-label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.35rem;
  color: var(--dark);
  letter-spacing: 0.05em;
  margin-bottom: 1.4rem;
  animation: fadeUp 1.2s .42s cubic-bezier(.22,.8,.36,1) both;
}

.date-label-main {
  font-size: 1.85rem;
  letter-spacing: 0.06em;
}

.time-label {
  margin-bottom: 0;
}

/* ── Countdown ───────────────────────────────────────────── */
.countdown-label {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 0.5rem;
  animation: fadeUp 1.2s .46s cubic-bezier(.22,.8,.36,1) both;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.6rem;
  animation: fadeUp 1.2s .48s cubic-bezier(.22,.8,.36,1) both;
}

.count-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 4.2rem;
  height: 4.2rem;
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--glass-border);
  border-radius: 3px;
  padding: 0.35rem 0.4rem 0.4rem;
}

.count-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.count-label {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.25rem;
  font-weight: 500;
}

/* ── Location ────────────────────────────────────────────── */
.location-section {
  margin-bottom: 1.4rem;
  animation: fadeUp 1.2s .55s cubic-bezier(.22,.8,.36,1) both;
}

.location-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--dark);
  letter-spacing: 0.08em;
}

.location-sub {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--forest);
  font-weight: 400;
  margin-top: 0.15rem;
}

.location-desc {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  font-weight: 300;
  color: var(--dark);
  line-height: 1.65;
  letter-spacing: 0.02em;
}

.location-second {
  margin-top: 1rem;
}

/* ── Nav + Calendar group ────────────────────────────────── */
.nav-cal-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  animation: fadeUp 1.2s .62s cubic-bezier(.22,.8,.36,1) both;
}

/* ── Map buttons ─────────────────────────────────────────── */
.map-buttons {
  display: flex;
  gap: 0.8rem;
  width: 100%;
}

.map-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex: 1;
  padding: 0.75rem 1rem;
  background: var(--dark);
  border: 1px solid var(--dark);
  border-radius: 3px;
  color: var(--gold-pale);
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
}

.map-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
  transform: translateY(-2px);
}

.map-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.map-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.map-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.map-hint {
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-top: 0.15rem;
}

/* ── Bottom buttons row ──────────────────────────────────── */
.bottom-buttons {
  display: flex;
  gap: 0.8rem;
  width: 100%;
  margin-bottom: 1.2rem;
}

.cal-btn {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 0.6rem;
  flex: 1;
  padding: 0.75rem 1rem;
  background: var(--dark);
  border: 1px solid var(--dark);
  border-radius: 3px;
  color: var(--gold-pale);
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  justify-content: center;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
}

.cal-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
  transform: translateY(-2px);
}

.cal-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.cal-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.1;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 420px) {
  body { align-items: center; padding: 1.2rem 0.8rem; }
  .card { padding: 1.6rem 1.2rem; }
  .countdown { gap: 0.5rem; }
  .count-block { width: 3.4rem; height: 3.4rem; padding: 0.25rem 0.3rem 0.3rem; }
  .count-num { font-size: 1.6rem; }
  .divider { margin: 1rem 0; }
  .date-label { margin-bottom: 1rem; }
  .location-section { margin-bottom: 1rem; }
  .map-buttons { flex-direction: row; }
  .map-btn { max-width: 100%; padding: 0.6rem 0.7rem; }
}
