/* ArtMoment týmová grilovačka — pozvánka. Built on the shared brand system. */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600;700&display=swap');

:root {
  --brand: #253848;
  --brand-light: #34536b;
  --bg: #eef2f5;
  --card: #ffffff;
  --ink: #333333;
  --ink-alt: #1a1a2e;
  --muted: #64748b;
  --on-brand: #ffffff;
  --line: #e2e8f0;
  --pill: #e9eef3;
  --row-alt: #f7f9fb;
  --hover: #f0f4f7;
  --accent: #e0a458;
  --success: #27ae60;
  --r-sm: 8px; --r-md: 10px; --r-lg: 12px; --r-full: 999px;
  --shadow-card: 0 2px 8px rgba(0,0,0,0.04);
  --max: 720px;
}

* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 16px; line-height: 1.55;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 16px; }

/* hero */
.hero {
  background: linear-gradient(150deg, var(--brand) 0%, var(--brand-light) 100%);
  color: var(--on-brand);
  padding: 40px 28px 34px; border-radius: var(--r-lg);
  text-align: center; margin-bottom: 18px; position: relative; overflow: hidden;
}
.hero .logo { height: 26px; width: auto; filter: brightness(0) invert(1); opacity: .9; margin-bottom: 18px; }
.hero-emoji { font-size: 54px; line-height: 1; margin-bottom: 8px; }
.hero-kicker {
  text-transform: uppercase; letter-spacing: 2px; font-size: 12px; font-weight: 700;
  color: rgba(255,255,255,.65); margin-bottom: 6px;
}
.hero h1 { font-size: 2.1rem; font-weight: 700; margin: 0 0 10px; letter-spacing: .3px; }
.hero-sub { font-size: 1.05rem; font-weight: 600; color: rgba(255,255,255,.9); margin: 0; }

/* cards */
.card {
  background: var(--card); padding: 24px; border-radius: var(--r-lg);
  border: 1px solid var(--line); box-shadow: var(--shadow-card); margin-bottom: 18px;
}
.card > h2 {
  font-size: 12px; font-weight: 700; color: var(--muted);
  margin: 0 0 14px; text-transform: uppercase; letter-spacing: .7px;
}

/* countdown */
.countdown-card { text-align: center; }
.countdown { display: flex; align-items: flex-start; justify-content: center; gap: 8px; }
.cd-unit {
  display: flex; flex-direction: column; align-items: center;
  background: var(--brand); color: #fff; border-radius: var(--r-md);
  padding: 14px 6px 10px; min-width: 74px;
}
.cd-num { font-size: 2.1rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-label { font-size: 11px; text-transform: uppercase; letter-spacing: .8px; opacity: .75; margin-top: 6px; }
.cd-sep { font-size: 1.8rem; font-weight: 700; color: var(--brand-light); align-self: center; padding-top: 6px; }
.cd-done {
  display: none; font-size: 1.15rem; font-weight: 700; color: var(--success);
}
.cd-done.show { display: block; }

/* invitation text */
.invite p { margin: 0 0 14px; color: var(--ink); }
.invite p:first-child { font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--r-sm); font-weight: 700; font-size: 15px;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: all .12s ease;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-light); }
.btn-ghost { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn-ghost:hover { background: var(--hover); }

/* map */
.map-card .place { color: var(--muted); font-size: 14px; margin: -6px 0 14px; }
.map-embed {
  position: relative; width: 100%; aspect-ratio: 16 / 10;
  border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line);
}
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* info blocks */
.info p { margin: 0 0 12px; }
.info p:last-child { margin-bottom: 0; }
.note .closing { font-weight: 700; color: var(--ink-alt); margin-top: 16px; font-size: 1.05rem; }

footer { color: var(--muted); font-size: 12.5px; text-align: center; padding: 20px; }

@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; }
  .cd-unit { min-width: 60px; padding: 12px 4px 8px; }
  .cd-num { font-size: 1.7rem; }
  .cd-sep { font-size: 1.4rem; }
  .cd-label { font-size: 10px; }
  .btn { flex: 1 1 100%; justify-content: center; }
}
