:root {
  --panel: rgba(18, 24, 33, 0.88);
  --panel-strong: rgba(23, 29, 39, 0.96);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f4f1ea;
  --muted: #b9c0cb;
  --accent-soft: #ffb15c;
  --cyan: #91d8f7;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 122, 24, 0.2), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(145, 216, 247, 0.14), transparent 25%),
    linear-gradient(135deg, #090c12 0%, #101723 48%, #151012 100%);
  font-family: "Segoe UI Variable Text", "Noto Sans KR", "Malgun Gothic", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 85%);
}

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

.site-bar,
.hero-copy,
.hero-panel,
.anime-card {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.site-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
  padding: 16px 20px;
  border-radius: 22px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  font-family: "Bahnschrift", "Segoe UI Variable Display", "Malgun Gothic", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  color: var(--accent-soft);
}

.brand-copy {
  font-size: 0.9rem;
  color: var(--muted);
}

.site-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.site-stats span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.86rem;
  color: var(--muted);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: stretch;
}

.hero-copy {
  position: relative;
  overflow: hidden;
  padding: 40px;
  border-radius: 30px;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -80px -80px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 177, 92, 0.28), transparent 70%);
}

.eyebrow {
  margin: 0 0 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--accent-soft);
}

h1,
h2,
h3,
.panel-title,
.card-thumb strong {
  font-family: "Bahnschrift", "Segoe UI Variable Display", "Malgun Gothic", sans-serif;
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  padding-top: 20px;
}

.hero-text,
.section-note,
.panel-note,
.card-body p,
.meta-label,
.card-kicker,
.card-meta span,
.card-thumb small {
  color: var(--muted);
}

.hero-text {
  max-width: 650px;
  margin: 20px 0 28px;
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hero-meta div,
.hero-panel {
  border-radius: 22px;
}

.hero-meta div {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.meta-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.8rem;
}

.hero-panel {
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 122, 24, 0.15), transparent 35%),
    var(--panel-strong);
}

.panel-title {
  margin: 0 0 16px;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.panel-list {
  margin: 0;
  padding-left: 18px;
  line-height: 1.8;
  color: var(--text);
}

.panel-note {
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin: 48px 0 18px;
}

h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.section-note {
  max-width: 460px;
  margin: 0;
  line-height: 1.7;
  text-align: right;
}

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

.anime-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 18px;
  border-radius: 24px;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.anime-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent 55%),
    linear-gradient(320deg, rgba(145, 216, 247, 0.06), transparent 50%);
  opacity: 0.85;
}

.anime-card:hover,
.anime-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(255, 177, 92, 0.5);
  background: rgba(25, 32, 43, 0.94);
}

.anime-card > * {
  position: relative;
  z-index: 1;
}

.priority-card {
  background:
    linear-gradient(180deg, rgba(255, 122, 24, 0.12), transparent 45%),
    var(--panel);
}

.card-thumb {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 8px;
  height: 160px;
  padding: 16px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--thumb-a), var(--thumb-b));
}

.card-thumb::before {
  content: "";
  position: absolute;
  inset: -25% auto auto 55%;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.card-thumb::after {
  content: attr(data-mark);
  position: absolute;
  right: 12px;
  bottom: 8px;
  font-family: "Bahnschrift", "Segoe UI Variable Display", sans-serif;
  font-size: 3.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.12);
}

.thumb-chip,
.card-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.thumb-chip {
  align-self: start;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.86);
}

.card-thumb strong {
  font-size: 1.32rem;
  letter-spacing: 0.03em;
}

.card-thumb small {
  font-size: 0.86rem;
}

.card-body {
  margin-top: 20px;
  flex: 1;
}

.card-kicker {
  margin: 0 0 10px;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.68rem;
  letter-spacing: -0.03em;
}

.card-body p {
  margin: 0;
  line-height: 1.72;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.card-meta strong {
  color: var(--accent-soft);
  font-size: 0.92rem;
}

.thumb-conan {
  --thumb-a: #14304b;
  --thumb-b: #8e2238;
}

.thumb-gintama {
  --thumb-a: #335075;
  --thumb-b: #151d2a;
}

.thumb-onepiece {
  --thumb-a: #13415a;
  --thumb-b: #c46b18;
}

.thumb-naruto {
  --thumb-a: #7a2a10;
  --thumb-b: #d07b22;
}

.thumb-bleach {
  --thumb-a: #26282e;
  --thumb-b: #c06719;
}

.thumb-aot {
  --thumb-a: #2f3947;
  --thumb-b: #56610f;
}

.thumb-fma {
  --thumb-a: #5e1f22;
  --thumb-b: #986124;
}

.thumb-demonslayer {
  --thumb-a: #0f3c34;
  --thumb-b: #8f1d2f;
}

.thumb-jujutsu {
  --thumb-a: #203048;
  --thumb-b: #36534e;
}

.thumb-mha {
  --thumb-a: #0c2a3e;
  --thumb-b: #9f7b17;
}

.thumb-inuyasha {
  --thumb-a: #5c1320;
  --thumb-b: #2b263a;
}

.thumb-slamdunk {
  --thumb-a: #731a1f;
  --thumb-b: #ca5424;
}

.thumb-eva {
  --thumb-a: #2d1850;
  --thumb-b: #496e19;
}

.thumb-deathnote {
  --thumb-a: #161a21;
  --thumb-b: #5a6674;
}

.thumb-hxh {
  --thumb-a: #0f5741;
  --thumb-b: #6f7c16;
}

@media (max-width: 980px) {
  .hero,
  .anime-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-copy {
    grid-column: 1 / -1;
  }

  .section-head,
  .site-bar {
    flex-direction: column;
    align-items: start;
  }

  .section-note {
    max-width: none;
    text-align: left;
  }

  .site-stats {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 20px;
  }

  .hero-meta,
  .hero,
  .anime-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-panel,
  .anime-card,
  .site-bar {
    border-radius: 22px;
  }

  .hero-copy {
    padding: 28px 22px;
  }

  h1 {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  h3 {
    font-size: 1.45rem;
  }

  .anime-card {
    min-height: 360px;
    padding: 16px;
  }

  .card-thumb {
    height: 150px;
  }

  .card-meta {
    flex-direction: column;
    gap: 6px;
  }
}
