:root {
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --brand: #1f8f4b;
  --chip: #eefbf3;
  --android: #1f8f4b;
  --ios: #111827;
  --windows: #185a9d;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 20px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Pretendard", "Noto Sans KR", Arial, sans-serif;
  background: linear-gradient(180deg, #f8fbf8 0%, var(--bg) 100%);
  color: var(--text);
}

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 20px 60px;
}

.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, #1f8f4b 0%, #185a9d 100%);
  border-radius: 28px;
  padding: 36px;
  color: #fff;
  box-shadow: var(--shadow);
}

.hero h1 {
  margin: 0 0 14px;
  font-size: 40px;
  line-height: 1.15;
}

.hero p {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  opacity: 0.94;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-badge {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 14px;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 260px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 24px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin: 26px 0 18px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.toolbar-left,
.toolbar-right {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.search-box,
.select-box {
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 0 14px;
  font-size: 15px;
  background: #fff;
  color: var(--text);
}

.select-box {
  min-width: 140px;
}
.stats { font-size: 14px; color: var(--muted); }

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid #edf0f3;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.card-top {
  display: flex;
  gap: 14px;
  align-items: center;
}

.app-icon {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #f8fafc;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.app-title {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.app-sub {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.desc {
  margin: 0;
  min-height: 44px;
  line-height: 1.6;
  color: #374151;
  font-size: 15px;
}

.meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.meta-box {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fafafa;
}

.meta-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.meta-value {
  font-size: 14px;
  font-weight: 600;
  word-break: break-word;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--chip);
  border: 1px solid #d8f3df;
  color: #166534;
  font-size: 13px;
  font-weight: 700;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.btn {
  min-width: 120px;
  height: 46px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: 0.18s ease;
  border: 1px solid transparent;
  color: #fff;
}

.btn-android { background: var(--android); }
.btn-android:hover { background: #166534; }
.btn-ios { background: var(--ios); }
.btn-ios:hover { background: #000; }
.btn-windows { background: var(--windows); }
.btn-windows:hover { background: #12467b; }

.empty {
  display: none;
  padding: 50px 20px;
  text-align: center;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .wrap { padding: 16px 14px 40px; }
  .hero { padding: 24px; }
  .hero h1 { font-size: 30px; }
  .grid { grid-template-columns: 1fr; }
  .toolbar { padding: 14px; }
  .search-box { min-width: 100%; width: 100%; }
  .toolbar-left, .toolbar-right { width: 100%; }
}

.footer {
  margin-top: 40px;
  padding: 20px 10px;
  text-align: center;
  font-size: 14px;
  color: #6b7280;
  border-top: 1px solid #e5e7eb;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-mail {
  color: #1f8f4b;
  font-weight: 600;
  text-decoration: none;
}

.footer-mail:hover {
  text-decoration: underline;
}