/* Base */
:root {
  --bg: #fffef6;
  --ink: #0f172a;
  --ink-muted: #334155;
  --primary: #00e17a;
  --primary-dark: #00b560;
  --accent: #ffd803;
  --danger: #ff5a5f;
  --card: #ffffff;
  --shadow: 8px;
  --border: 4px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--ink);
  background: var(--bg);
}

.container {
  max-width: 1100px;
  padding: 24px;
  margin: 0 auto;
}

/* Neubrutalism primitives */
.card {
  background: var(--card);
  border: var(--border) solid var(--ink);
  box-shadow: var(--shadow) var(--shadow) 0 0 var(--ink);
  border-radius: 12px;
  padding: 28px;
  margin: 24px 0;
}

.card-title {
  display: inline-block;
  padding: 8px 14px;
  margin: 0 0 16px 0;
  background: var(--accent);
  border: var(--border) solid var(--ink);
  box-shadow: 4px 4px 0 0 var(--ink);
  border-radius: 10px;
}

.title {
  font-size: 40px;
  line-height: 1.1;
  margin: 8px 0 6px 0;
}
.subtitle {
  color: var(--ink-muted);
  margin: 0;
}

.badge {
  display: inline-block;
  background: var(--danger);
  color: #fff;
  font-weight: 700;
  padding: 6px 10px;
  border: var(--border) solid var(--ink);
  box-shadow: 4px 4px 0 0 var(--ink);
  border-radius: 999px;
}


.site-header { text-align: center; }
.site-footer { text-align: center; color: var(--ink-muted); }

/* Lists */
.list { padding-left: 18px; }
.list li { margin: 8px 0; }
.two-col { columns: 2; column-gap: 24px; }
@media (max-width: 800px) { .two-col { columns: 1; } }

/* When + countdown */
.when-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: center;
}
@media (max-width: 900px) {
  .when-grid { grid-template-columns: 1fr; }
}
.datetime { font-size: 18px; margin: 6px 0 2px 0; }
.location { color: var(--ink-muted); margin: 0 0 10px 0; }

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.time {
  background: var(--bg);
  border: var(--border) solid var(--ink);
  box-shadow: 4px 4px 0 0 var(--ink);
  border-radius: 12px;
  text-align: center;
  padding: 14px 10px;
}
.time span {
  display: block;
  font-size: 28px;
  font-weight: 700;
}
.time small { color: var(--ink-muted); }

.hero-figure { margin: 24px 0 0 0; text-align: center; }
.hero-image {
  width: 100%;
  max-width: 900px;
  border: var(--border) solid var(--ink);
  box-shadow: var(--shadow) var(--shadow) 0 0 var(--ink);
  border-radius: 18px;
}
.hero-figure figcaption { color: var(--ink-muted); margin-top: 8px; }

/* Register form */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 700px) {
  .form-grid { grid-template-columns: 1fr; }
}
.field { display: grid; gap: 8px; font-weight: 600; }
.field input, .field select {
  padding: 12px 14px;
  border: var(--border) solid var(--ink);
  border-radius: 10px;
  outline: none;
  background: var(--bg);
  font: inherit;
}
.field input:focus, .field select:focus {
  box-shadow: 0 0 0 3px var(--accent);
}

.actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.legal { color: var(--ink-muted); margin: 8px 0 0 0; }

.btn {
  appearance: none;
  cursor: pointer;
  font-weight: 700;
  padding: 12px 18px;
  border: var(--border) solid var(--ink);
  border-radius: 12px;
  box-shadow: 6px 6px 0 0 var(--ink);
  transition: transform 120ms ease, box-shadow 120ms ease;
  text-decoration: none;
  color: var(--ink);
  background: var(--accent);
}
.btn.primary { background: var(--primary); }
.btn.primary:hover { background: var(--primary-dark); }
.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0 0 var(--ink);
}
.btn.whats { background: #25d366; color: #04210f; }

.form-message { font-weight: 700; margin-top: 12px; }
.form-message.success { color: #065f46; }
.form-message.error { color: #7f1d1d; }

.post-submit { margin-top: 12px; }

/* Decorative squiggle */
.intro {
  background-image: radial-gradient( circle at 20px 20px, rgba(0,0,0,0.08) 2px, transparent 2px );
  background-size: 36px 36px;
}

