/* Shared styles for the web fallback. Tokens mirror src/theme/tokens.ts. */
:root {
  --ground: #fffbf5;
  --surface: #ffffff;
  --surface-muted: #fff4e6;
  --ink: #2b2b36;
  --ink-muted: #6b6b7a;
  --ink-faint: #a3a3b0;
  --line: #efe7dd;
  --primary: #3b7dd8;
  --primary-deep: #2c64b5;
  --accent: #ffc53d;
  --danger: #d9534f;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-card: 0 6px 16px rgba(59, 47, 30, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ground);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.4;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
}

.page {
  max-width: 480px;
  margin: 0 auto;
  padding: 40px 20px 32px;
  text-align: center;
}

.daisy {
  display: block;
  margin: 0 auto 8px;
}

h1 {
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
}

p {
  margin: 0 0 12px;
}

.lead {
  color: var(--ink-muted);
  font-size: 18px;
  margin-bottom: 24px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 20px;
  margin: 0 0 16px;
  text-align: left;
}

.features {
  margin: 0;
  padding-left: 20px;
}

.features li {
  margin-bottom: 8px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 8px;
}

.badge {
  flex: 1 1 150px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 52px;
  padding: 8px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  line-height: 1.15;
}

.badge__small {
  font-size: 11px;
  opacity: 0.85;
}

.badge__big {
  font-size: 18px;
  font-weight: 700;
}

.badge--placeholder {
  background: var(--ink-faint);
  pointer-events: none;
}

.hint {
  color: var(--ink-muted);
  font-size: 15px;
  margin: 0;
}

.button {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  margin: 16px 0 8px;
}

.button:active {
  background: var(--primary-deep);
}

.event-when {
  font-size: 18px;
  color: var(--ink-muted);
  margin: 0;
}

.event-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--surface-muted);
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.event-tag--cancelled {
  background: #fdecec;
  color: var(--danger);
}

.status {
  color: var(--ink-muted);
}

.status--error {
  color: var(--danger);
}

.footer {
  color: var(--ink-faint);
  font-size: 14px;
  margin-top: 24px;
}

.footer a {
  color: var(--ink-muted);
}

@media (prefers-reduced-motion: no-preference) {
  .daisy {
    animation: bloom 600ms ease-out;
  }
}

@keyframes bloom {
  from {
    transform: scale(0.85) rotate(-8deg);
    opacity: 0;
  }
  to {
    transform: scale(1) rotate(0);
    opacity: 1;
  }
}
