/* style.css */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {

  --bg: #0f1115;
  --card: #171a21;
  --card2: #1d212b;

  --text: #ffffff;
  --sub: #9aa4b2;

  --line: rgba(255,255,255,0.06);

  --accent: #4f46e5;

}

body {

  background: var(--bg);

  color: var(--text);

  font-family: 'Inter', sans-serif;

  min-height: 100vh;

  max-width: 520px;
  margin: auto;

  overflow-x: hidden;

  -webkit-tap-highlight-color: transparent;

}

/* 상단 */

.topbar {

  position: sticky;
  top: 0;

  z-index: 100;

  height: 72px;

  padding: 0 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  backdrop-filter: blur(12px);

  background:
    rgba(15,17,21,0.7);

  border-bottom:
    1px solid var(--line);

}

.topbar h1 {

  font-size: 22px;
  font-weight: 700;

}

.topbar p {

  font-size: 12px;
  color: var(--sub);

  margin-top: 2px;

}

.profile-btn {

  width: 42px;
  height: 42px;

  border: none;
  border-radius: 50%;

  background: var(--accent);

  color: white;

  font-weight: 700;

}

/* 메인 */

.main {

  padding:
    20px 16px 100px;

}

/* 히어로 카드 */

.hero-card {

  background:
    linear-gradient(
      135deg,
      #1f2430,
      #141821
    );

  border:
    1px solid var(--line);

  border-radius: 28px;

  padding: 26px;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.3);

}

.badge {

  display: inline-block;

  padding:
    7px 12px;

  border-radius: 999px;

  background:
    rgba(255,255,255,0.06);

  color: #d0d6df;

  font-size: 12px;

  margin-bottom: 18px;

}

.hero-card h2 {

  font-size: 28px;
  line-height: 1.3;

  margin-bottom: 14px;

}

.hero-card p {

  color: var(--sub);

  line-height: 1.6;

}

/* 섹션 */

.section {

  margin-top: 28px;

}

.section-title {

  font-size: 18px;
  font-weight: 700;

  margin-bottom: 16px;

}

/* 빠른 실행 */

.quick-grid {

  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 14px;

}

.quick-card {

  height: 110px;

  border: none;

  border-radius: 22px;

  background: var(--card);

  color: white;

  font-size: 16px;
  font-weight: 600;

  display: flex;
  flex-direction: column;

  justify-content: center;
  align-items: center;

  gap: 10px;

  transition: 0.18s ease;

  border:
    1px solid var(--line);

}

.quick-card span {

  font-size: 28px;

}

.quick-card:active {

  transform: scale(0.97);

}

/* 작업 리스트 */

.task-list {

  display: flex;
  flex-direction: column;

  gap: 14px;

}

.task-card {

  background: var(--card);

  border-radius: 22px;

  padding: 18px;

  border:
    1px solid var(--line);

  display: flex;
  align-items: center;
  justify-content: space-between;

}

.task-card h3 {

  font-size: 15px;
  margin-bottom: 5px;

}

.task-card p {

  color: var(--sub);
  font-size: 13px;

}

/* 상태 */

.status {

  padding:
    7px 12px;

  border-radius: 999px;

  font-size: 12px;
  font-weight: 600;

}

.done {

  background:
    rgba(34,197,94,0.15);

  color:
    #4ade80;

}

.progress {

  background:
    rgba(79,70,229,0.15);

  color:
    #818cf8;

}

.wait {

  background:
    rgba(255,255,255,0.08);

  color:
    #cbd5e1;

}

/* 하단 네비 */

.bottom-nav {

  position: fixed;

  bottom: 0;

  width: 100%;
  max-width: 520px;

  height: 78px;

  background:
    rgba(15,17,21,0.85);

  backdrop-filter: blur(18px);

  border-top:
    1px solid var(--line);

  display: flex;
  align-items: center;
  justify-content: space-around;

}

.nav-item {

  border: none;
  background: none;

  color: var(--sub);

  display: flex;
  flex-direction: column;

  align-items: center;

  gap: 5px;

  font-size: 12px;

}

.nav-item span {

  font-size: 20px;

}

.nav-item.active {

  color: white;

}