:root {
  --ink: #0f1f2f;
  --muted: #5e6e80;
  --line: #d2dde8;
  --surface: #fefdfb;
  --accent: #e26d39;
  --accent-2: #17324d;
  --ok: #2d8a5d;
  --danger: #b0413e;
  --shadow: 0 24px 54px rgba(20, 36, 58, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "Poppins", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 15% 15%, #fff6dc 0%, transparent 32%),
    radial-gradient(circle at 88% 0%, #d8ebff 0%, transparent 36%),
    linear-gradient(140deg, #f4f8fb 0%, #f9f4ef 46%, #eef6ff 100%);
  padding: 32px 18px 40px;
}

.bg-shape {
  position: fixed;
  border-radius: 999px;
  filter: blur(28px);
  opacity: 0.42;
  pointer-events: none;
}

.bg-shape-a {
  width: 280px;
  height: 280px;
  background: #ffd4a9;
  top: -60px;
  right: -50px;
}

.bg-shape-b {
  width: 220px;
  height: 220px;
  background: #adcfff;
  left: -70px;
  bottom: -70px;
}

.app-shell {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.hero {
  padding: 2px 2px 8px;
  animation: rise 0.45s ease;
}

.eyebrow {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin: 6px 0 10px;
  line-height: 1.04;
  font-size: clamp(2rem, 4vw, 2.9rem);
}

.subtitle {
  margin: 0;
  color: var(--muted);
}

.card {
  border: 1px solid rgba(23, 50, 77, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(9px);
  padding: 18px;
  animation: rise 0.5s ease;
}

h2 {
  margin: 0 0 14px;
  font-size: 1.2rem;
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.93rem;
  color: var(--muted);
}

input,
select,
button {
  font: inherit;
}

input,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 44px;
  padding: 10px 12px;
  background: #ffffff;
  color: var(--ink);
}

.row {
  display: grid;
  gap: 12px;
}

.two-cols {
  grid-template-columns: 1fr;
}

.actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

button {
  border: 0;
  border-radius: 12px;
  padding: 11px 14px;
  cursor: pointer;
  transition: transform 120ms ease, filter 120ms ease;
}

button:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.btn-primary {
  background: linear-gradient(125deg, var(--accent-2), #264f78);
  color: #fff;
  font-weight: 650;
}

.btn-secondary {
  background: linear-gradient(130deg, #f2ede5, #ffffff);
  color: var(--ink);
  border: 1px solid var(--line);
}

.status {
  min-height: 1.2em;
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}

.list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.badge {
  background: #ece6de;
  color: #755f46;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.78rem;
}

.badge.live {
  background: #def4e7;
  color: var(--ok);
}

.event-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.event-item {
  border: 1px solid rgba(23, 50, 77, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  padding: 12px;
  display: grid;
  gap: 5px;
}

.event-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.event-type {
  font-weight: 700;
}

.event-user {
  color: var(--muted);
  font-size: 0.88rem;
}

.event-time,
.event-reminder {
  color: var(--muted);
  font-size: 0.88rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 720px) {
  .two-cols {
    grid-template-columns: 1fr 1fr;
  }
}
