:root {
  --bg: #0f1720;
  --card: #131d29;
  --muted: #8ea0b5;
  --text: #f4f6f9;
  --accent: #ffb347;
  --accent-2: #5bd5a4;
  --border: #1f2a3a;
  --danger: #ff7f7f;
  --shadow: 0 12px 40px rgba(0,0,0,0.25);
  --radius: 14px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,179,71,0.07), transparent 30%),
              radial-gradient(circle at 80% 0%, rgba(91,213,164,0.08), transparent 30%),
              var(--bg);
  color: var(--text);
}

.hero {
  text-align: center;
  padding: 56px 20px 32px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(255,179,71,0.18), transparent 50%);
  z-index: -1;
}
.hero__badge {
  display: inline-flex;
  padding: 8px 14px;
  background: rgba(255,179,71,0.15);
  color: var(--accent);
  border: 1px solid rgba(255,179,71,0.4);
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.4px;
}
.hero h1 { font-size: 42px; margin: 12px 0 4px; }
.hero__sub { margin: 0 0 14px; color: var(--muted); }

.cta-row { display: flex; justify-content: center; gap: 12px; margin-bottom: 18px; }
.countdown { color: var(--muted); font-weight: 600; }

.tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 20px 24px;
}
.tabs button {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tabs button.active {
  background: var(--accent);
  color: #1f1300;
  border-color: rgba(0,0,0,0.15);
  font-weight: 700;
}

main { max-width: 1200px; margin: 0 auto; padding: 0 20px 60px; }
.panel { margin-bottom: 36px; }
.hidden { display: none; }

.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.btn {
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn.primary { background: linear-gradient(135deg, var(--accent), #ff8a3d); color: #1d1200; border-color: transparent; }
.btn.ghost { background: rgba(255,255,255,0.07); }

input, textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  margin-top: 6px;
}
label { display: block; font-weight: 600; margin-top: 12px; }
textarea { resize: vertical; }

.inline { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.inline-checkboxes { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0; }
.inline-checkboxes label { font-weight: 500; }
.inline-checkboxes input { width: auto; margin-right: 6px; }

.list { list-style: none; padding: 0; margin: 0; }
.list li { padding: 10px 0; border-bottom: 1px solid var(--border); color: var(--muted); }
.list li:last-child { border-bottom: none; }

.schedule { list-style: none; padding: 0; margin: 0; }
.schedule li { padding: 8px 0; color: var(--muted); }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.gallery .tile {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery img, .gallery video { width: 100%; display: block; }
.gallery .meta { padding: 10px; color: var(--muted); }

.year-select {
  background: rgba(255,255,255,0.07);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  margin-left: 10px;
}

.stack { display: flex; flex-direction: column; gap: 10px; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge.green { background: rgba(91,213,164,0.15); color: var(--accent-2); }
.badge.red { background: rgba(255,127,127,0.15); color: #ff9b9b; }
.badge.gray { background: rgba(255,255,255,0.08); color: var(--muted); }

.muted { color: var(--muted); font-size: 14px; }
.section-title { margin: 12px 0; }

#checkin-result .card { margin-top: 10px; }

#summary-cards .card { text-align: center; }
#summary-cards h4 { margin: 0 0 6px; color: var(--muted); }
#summary-cards .number { font-size: 28px; font-weight: 800; }

#expense-list li { display: flex; justify-content: space-between; align-items: center; }
#expense-list button { padding: 6px 10px; border-radius: 8px; border: 1px solid var(--border); background: rgba(255,255,255,0.05); color: var(--text); cursor: pointer; }

@media (max-width: 640px) {
  .hero h1 { font-size: 32px; }
  .cta-row { flex-direction: column; }
  .inline { flex-direction: column; align-items: stretch; }
}
