:root {
  color-scheme: light;
  --bg: #f4f7f2;
  --ink: #14181c;
  --muted: #65717a;
  --line: #dce3dc;
  --green: #00c73c;
  --green-dark: #087a32;
  --shadow: 0 18px 44px rgba(20, 24, 28, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fbfff8 0%, #eef6f2 54%, #f8f6ef 100%),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.hero {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  display: grid;
  align-items: end;
  border-radius: 8px;
  background: #17211b;
  box-shadow: var(--shadow);
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 20, 18, 0.84), rgba(15, 20, 18, 0.22));
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 460px;
  padding: 34px;
  color: #fff;
}

.eyebrow,
.badge {
  margin: 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

h1 {
  margin: 8px 0 10px;
  font-size: 48px;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.65;
}

.site-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  margin-top: 20px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.site-button::after {
  content: "↗";
  margin-left: 8px;
  font-size: 13px;
}

.site-button:hover,
.site-button:focus-visible {
  border-color: var(--green);
  background: var(--green);
  outline: none;
}

.list {
  margin-top: 26px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.section-head h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0;
}

.section-head span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.toon-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(20, 24, 28, 0.08);
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.toon-card:hover,
.toon-card:focus-visible {
  border-color: var(--green);
  box-shadow: 0 18px 36px rgba(20, 24, 28, 0.12);
  transform: translateY(-2px);
  outline: none;
}

.cover {
  min-height: 170px;
  background: #111;
}

.cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.toon-info {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px;
}

.badge {
  width: fit-content;
  max-width: 100%;
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(0, 199, 60, 0.12);
  color: var(--green-dark);
}

.toon-info h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: 0;
}

.toon-info p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

@media (max-width: 680px) {
  .page {
    width: min(100% - 24px, 520px);
    padding-top: 16px;
  }

  .hero {
    min-height: 320px;
  }

  .hero-copy {
    padding: 24px;
  }

  h1 {
    font-size: 38px;
  }

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

  .cover {
    min-height: 210px;
  }
}
