:root {
  --bg: #0d0f0f;
  --bg-2: #151a1a;
  --card: #101414;
  --text: #f2f2ea;
  --muted: #a9b0a5;
  --accent: #ff6a00;
  --accent-2: #a5ff4d;
  --shadow: rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", "Noto Sans KR", sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.5;
}

.bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 400px at 20% 10%, rgba(255, 106, 0, 0.25), transparent 60%),
    radial-gradient(700px 400px at 80% 20%, rgba(165, 255, 77, 0.2), transparent 60%),
    radial-gradient(900px 800px at 50% 80%, rgba(255, 255, 255, 0.08), transparent 60%),
    linear-gradient(120deg, #0c0e0e 0%, #121616 60%, #0c0e0e 100%);
  z-index: -1;
}

.hero {
  padding: 72px 10vw 40px;
}


.hero h1 {
  font-size: clamp(32px, 4vw, 56px);
  margin-bottom: 12px;
}

.hero p {
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.wrap {
  padding: 0 10vw 80px;
}

.section {
  margin-top: 40px;
}


.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.section h2 {
  font-size: 24px;
}


.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid #1f2626;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 16px 40px var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.card-title {
  font-weight: 600;
  font-size: 18px;
}

.card-time {
  color: var(--accent-2);
  font-size: 13px;
}

.card-place {
  color: var(--muted);
  font-size: 14px;
}

.card-note {
  font-size: 14px;
}

.card-actions {
  display: flex;
  justify-content: flex-end;
}

.delete-btn {
  font-size: 12px;
  padding: 8px 12px;
  color: #ffb3b3;
  border-color: #3a2a2a;
}

.delete-btn:hover {
  color: #ff7b7b;
  border-color: #ff7b7b;
}

.agenda {
  border: 1px solid #1f2626;
  border-radius: 14px;
  padding: 12px;
  background: #0f1313;
  display: grid;
  gap: 8px;
}

.agenda-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.agenda-title {
  font-weight: 600;
  font-size: 14px;
}

.agenda-status {
  font-size: 12px;
  color: var(--muted);
}

.agenda-status.approved {
  color: var(--accent-2);
}

.agenda-status.blocked {
  color: #ff9b9b;
}

.agenda-body {
  display: grid;
  gap: 4px;
  font-size: 13px;
  color: var(--muted);
}

.agenda-title-text {
  color: var(--text);
  font-weight: 600;
}

.agenda-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 8px;
}

.vote-btn {
  flex: 1;
  padding: 8px 0;
  border: 1px solid #202828;
  background: transparent;
  color: var(--text);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 13px;
}

.agenda-edit-btn {
  border-style: dashed;
  color: var(--muted);
}

.agenda-edit-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.vote-btn[data-vote="yes"]:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
}

.vote-btn[data-vote="no"]:hover {
  border-color: #ff9b9b;
  color: #ff9b9b;
}

.status-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.status-btn {
  padding: 10px 0;
  border: 1px solid #202828;
  background: transparent;
  color: var(--text);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.status-btn[data-status="yes"]:hover,
.status-btn.active[data-status="yes"] {
  background: rgba(255, 106, 0, 0.2);
  border-color: var(--accent);
  color: var(--accent);
}

.status-btn[data-status="maybe"]:hover,
.status-btn.active[data-status="maybe"] {
  background: rgba(165, 255, 77, 0.2);
  border-color: var(--accent-2);
  color: var(--accent-2);
}

.status-btn[data-status="no"]:hover,
.status-btn.active[data-status="no"] {
  background: rgba(255, 255, 255, 0.12);
  border-color: #555;
}

.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.status-chip {
  padding: 4px 8px;
  background: #1d2323;
  border-radius: 8px;
  font-size: 12px;
  color: var(--muted);
}

.status-yes {
  background: rgba(165, 255, 77, 0.18);
  color: var(--accent-2);
  border: 1px solid rgba(165, 255, 77, 0.4);
}

.status-no {
  background: rgba(255, 123, 123, 0.18);
  color: #ff7b7b;
  border: 1px solid rgba(255, 123, 123, 0.4);
}

.arrival {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.arrival-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.arrival-title {
  font-weight: 600;
  font-size: 14px;
}

.arrival-hint {
  font-size: 12px;
  color: var(--muted);
}

.arrival-btn {
  width: 100%;
}

.arrival-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.arrival-list {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}

.arrival-item {
  padding: 6px 8px;
  border: 1px solid #1f2626;
  border-radius: 8px;
  background: #0f1313;
}



.btn {
  padding: 12px 18px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--accent);
  color: #111;
  box-shadow: 0 12px 30px rgba(255, 106, 0, 0.3);
}

.btn.ghost {
  background: transparent;
  border: 1px solid #2a3232;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  transform: translateY(-1px);
}

.modal {
  border: none;
  background: transparent;
  width: min(560px, 90vw);
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.6);
}

.modal-card {
  background: var(--card);
  border: 1px solid #2a3232;
  border-radius: 16px;
  padding: 20px;
  display: grid;
  gap: 12px;
}

.modal-help {
  font-size: 12px;
  color: var(--muted);
}

.profile-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 6vw;
}

.profile-card {
  width: min(520px, 90vw);
  background: var(--card);
  border: 1px solid #2a3232;
  border-radius: 18px;
  padding: 24px;
  display: grid;
  gap: 18px;
  box-shadow: 0 16px 40px var(--shadow);
}

.profile-head h1 {
  font-size: 28px;
  margin-bottom: 6px;
}

.profile-head p {
  color: var(--muted);
  font-size: 14px;
}

.profile-info {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.profile-email {
  font-size: 14px;
  color: var(--text);
}

.profile-form {
  display: grid;
  gap: 12px;
}

.profile-status {
  font-size: 13px;
  color: var(--accent-2);
}

.profile-status.error {
  color: #ff9b9b;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
}

.field-hint {
  font-size: 12px;
  color: var(--muted);
}
input,
textarea {
  background: #0c1111;
  border: 1px solid #1f2626;
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--text);
  font-size: 14px;
}

.icon-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
}

@media (max-width: 720px) {
  .hero {
    padding: 56px 6vw 32px;
  }

  .wrap {
    padding: 0 6vw 60px;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
