/* 오늘낚시 홈페이지
 * 디자인 판단: 초보 낚시인 대상 소비자 앱 랜딩. 앱과 같은 네이비 + 노랑, Pretendard.
 * 다이얼: 변화 7 · 움직임 6 · 밀도 4.
 * 모서리 규칙: 버튼·칩은 완전 둥글게(pill), 카드·패널은 24px, 폰 프레임은 44px. 이 세 가지만 쓴다.
 * 강조색은 노랑 하나(브랜드 네이비는 바탕색 역할).
 */

@font-face {
  font-family: 'Pretendard Variable';
  src: url('../fonts/PretendardVariable-sub.woff2') format('woff2-variations');
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-950: #061c33;
  --navy-900: #072746;
  --navy-800: #0a3760;
  --navy-600: #145f9e;
  --navy-500: #1f74bd;
  --yellow: #ffd95a;
  --yellow-ink: #3a2c00;

  --bg: #f3f6fa;
  --bg-tint: #e8eef6;
  --surface: #ffffff;
  --text: #0c1a2b;
  --text-sub: #46586d;
  --text-faint: #6a7b8f;
  --line: #dbe3ed;
  --brand: var(--navy-600);
  --brand-strong: var(--navy-800);
  --shadow: 0 20px 50px -18px rgb(10 55 96 / 0.28);
  --shadow-soft: 0 10px 30px -14px rgb(10 55 96 / 0.22);

  --r-card: 24px;
  --r-phone: 44px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #07121e;
    --bg-tint: #0c1b2c;
    --surface: #0f2033;
    --text: #e9f0f8;
    --text-sub: #a9bbcf;
    --text-faint: #8a9db3;
    --line: #1d3249;
    --brand: #6fb2ec;
    --brand-strong: #a7d1f5;
    --shadow: 0 24px 60px -20px rgb(0 0 0 / 0.6);
    --shadow-soft: 0 12px 34px -16px rgb(0 0 0 / 0.55);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  position: relative;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 8px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--yellow);
  color: var(--yellow-ink);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
}
.skip:focus {
  left: 12px;
}

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease);
}
.btn i {
  font-size: 20px;
}
.btn:active {
  transform: translateY(1px) scale(0.98);
}
.btn-primary {
  background: var(--navy-800);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover {
  background: var(--navy-600);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}
@media (prefers-color-scheme: dark) {
  .btn-primary {
    background: var(--yellow);
    color: var(--yellow-ink);
  }
  .btn-primary:hover {
    background: #ffe58c;
  }
}

/* ---------- 머리 ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  transition:
    background-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.site-head.is-stuck {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 1px 0 var(--line);
}
@media (prefers-reduced-transparency: reduce) {
  .site-head.is-stuck {
    background: var(--bg);
    backdrop-filter: none;
  }
}
.head-row {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.logo img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-sub);
  transition:
    color 0.2s,
    background-color 0.2s;
}
.nav a:hover {
  color: var(--text);
  background: var(--bg-tint);
}
.head-cta {
  min-height: 42px;
  padding: 0 18px;
  font-size: 15px;
}
.menu-btn {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
}
@media (max-width: 900px) {
  .nav,
  .head-cta {
    display: none;
  }
  .menu-btn {
    display: inline-grid;
    place-items: center;
  }
  .nav.is-open {
    display: flex;
    position: absolute;
    top: 68px;
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    gap: 2px;
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    box-shadow: var(--shadow);
  }
  .nav.is-open a {
    padding: 14px 16px;
    font-size: 16px;
  }
}

/* ---------- 폰 프레임(실제 앱 화면을 담는 틀) ---------- */
.phone {
  position: relative;
  width: 100%;
  aspect-ratio: 390 / 844;
  border-radius: var(--r-phone);
  padding: 10px;
  background: linear-gradient(160deg, #1b2a3c, #0b1622);
  box-shadow:
    var(--shadow),
    inset 0 0 0 1.5px rgb(255 255 255 / 0.08);
}
/* 화면 위에 상태 표시줄 높이만큼 띠를 두고 그 안에 카메라 섬을 둔다(앱 화면 내용을 가리지 않게) */
.phone > img,
.phone > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: calc(var(--r-phone) - 10px);
  border-top: clamp(14px, 2vw, 26px) solid var(--sb, #f3f6fa);
  background: var(--sb, #f3f6fa);
}
.phone.dark-top {
  --sb: #0a3760;
}
/* 영상 재생기: 틀 높이를 영상(9:16)에 맞춰 잘리는 곳이 없게. 상태 표시줄 띠는 영상 위에 따로 둔다 */
.phone.video-phone {
  aspect-ratio: auto;
}
.phone.video-phone > video {
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-top: 0;
  background: #0a3760;
}
.phone::after {
  content: '';
  position: absolute;
  top: calc(10px + clamp(3px, 0.45vw, 6px));
  left: 50%;
  width: 24%;
  height: clamp(8px, 1.15vw, 15px);
  transform: translateX(-50%);
  border-radius: 999px;
  background: #0b1622;
}

/* ---------- 머리: 바다 히어로 위에 있을 때(아직 스크롤 전) 흰 글자 ---------- */
.site-head.on-dark:not(.is-stuck) .logo {
  color: #fff;
}
.site-head.on-dark:not(.is-stuck) .nav a {
  color: #cfe0f2;
}
.site-head.on-dark:not(.is-stuck) .nav a:hover {
  color: #fff;
  background: rgb(255 255 255 / 0.1);
}
.site-head.on-dark:not(.is-stuck) .head-cta {
  background: var(--yellow);
  color: var(--yellow-ink);
}
.site-head.on-dark:not(.is-stuck) .menu-btn {
  background: rgb(255 255 255 / 0.1);
  border-color: rgb(255 255 255 / 0.25);
  color: #fff;
}

/* ---------- 히어로: 깊은 바다 (페이지에서 한 번 쓰는 네이비 장면) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  margin-top: -68px;
  padding: calc(68px + clamp(20px, 4vw, 56px)) 0 clamp(90px, 10vw, 150px);
  color: #fff;
  background:
    radial-gradient(70% 60% at 78% 18%, rgb(64 156 230 / 0.45), transparent 70%),
    radial-gradient(50% 40% at 10% 100%, rgb(255 217 90 / 0.1), transparent 70%),
    linear-gradient(180deg, #0d4a86 0%, #0a3760 38%, #061c33 100%);
  isolation: isolate;
}
.ocean {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
/* 새벽 방파제 사진(AI 생성 실사). 왼쪽은 글이 읽히게 어둡게, 아래는 물결 경계로 이어지게 */
.ocean.photo {
  background:
    linear-gradient(90deg, rgb(6 28 51 / 0.82) 0%, rgb(6 28 51 / 0.55) 38%, rgb(6 28 51 / 0.12) 68%, rgb(6 28 51 / 0.05) 100%),
    linear-gradient(180deg, rgb(6 28 51 / 0.45) 0%, transparent 22%, transparent 68%, rgb(6 28 51 / 0.55) 100%),
    url('../img/photo/hero-dawn-2400.webp') center 72% / cover no-repeat,
    #0a3760;
}
@media (max-width: 1200px) {
  .ocean.photo {
    background:
      linear-gradient(90deg, rgb(6 28 51 / 0.82) 0%, rgb(6 28 51 / 0.55) 38%, rgb(6 28 51 / 0.12) 68%, rgb(6 28 51 / 0.05) 100%),
      linear-gradient(180deg, rgb(6 28 51 / 0.45) 0%, transparent 22%, transparent 68%, rgb(6 28 51 / 0.55) 100%),
      url('../img/photo/hero-dawn-1200.webp') center 72% / cover no-repeat,
      #0a3760;
  }
}
@media (max-width: 860px) {
  /* 휴대폰: 글이 위, 폰이 아래로 쌓이니 위쪽을 더 어둡게 */
  .ocean.photo {
    background:
      linear-gradient(180deg, rgb(6 28 51 / 0.78) 0%, rgb(6 28 51 / 0.5) 45%, rgb(6 28 51 / 0.25) 70%, rgb(6 28 51 / 0.6) 100%),
      url('../img/photo/hero-dawn-portrait.webp') center bottom / cover no-repeat,
      #0a3760;
  }
}

/* 수면에서 내려오는 빛줄기 */
.rays {
  position: absolute;
  inset: -10% -20% 30% -20%;
  background: repeating-linear-gradient(100deg, rgb(255 255 255 / 0) 0 70px, rgb(255 255 255 / 0.07) 70px 110px, rgb(255 255 255 / 0) 110px 210px);
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  transform-origin: top;
  animation: sway 14s ease-in-out infinite alternate;
}
@keyframes sway {
  from {
    transform: skewX(-6deg) translateX(-2%);
  }
  to {
    transform: skewX(4deg) translateX(2%);
  }
}
/* 뒤에서 천천히 헤엄치는 실제 어종 그림 */
.drift {
  position: absolute;
  width: clamp(110px, 13vw, 190px);
  opacity: 0.22;
  filter: saturate(0.6) blur(0.6px);
  animation: swim linear infinite;
}
.d1 {
  top: 16%;
  animation-duration: 46s;
  animation-delay: -8s;
}
.d2 {
  top: 58%;
  width: clamp(80px, 9vw, 130px);
  animation-duration: 38s;
  animation-delay: -22s;
  opacity: 0.16;
}
.d3 {
  top: 34%;
  width: clamp(90px, 10vw, 150px);
  animation-duration: 54s;
  animation-delay: -34s;
}
.d4 {
  top: 78%;
  animation-duration: 62s;
  animation-delay: -12s;
  opacity: 0.14;
}
@keyframes swim {
  from {
    transform: translateX(110vw);
  }
  to {
    transform: translateX(-30vw);
  }
}
/* 올라오는 거품 */
.bubbles i {
  position: absolute;
  bottom: -20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgb(255 255 255 / 0.45);
  background: rgb(255 255 255 / 0.06);
  animation: rise linear infinite;
}
.bubbles i:nth-child(1) { left: 6%; animation-duration: 11s; }
.bubbles i:nth-child(2) { left: 14%; width: 6px; height: 6px; animation-duration: 8s; animation-delay: -3s; }
.bubbles i:nth-child(3) { left: 27%; width: 14px; height: 14px; animation-duration: 14s; animation-delay: -7s; }
.bubbles i:nth-child(4) { left: 39%; width: 7px; height: 7px; animation-duration: 9s; animation-delay: -1s; }
.bubbles i:nth-child(5) { left: 52%; animation-duration: 12s; animation-delay: -5s; }
.bubbles i:nth-child(6) { left: 61%; width: 5px; height: 5px; animation-duration: 7s; animation-delay: -2s; }
.bubbles i:nth-child(7) { left: 72%; width: 12px; height: 12px; animation-duration: 13s; animation-delay: -9s; }
.bubbles i:nth-child(8) { left: 83%; width: 8px; height: 8px; animation-duration: 10s; animation-delay: -4s; }
.bubbles i:nth-child(9) { left: 91%; animation-duration: 15s; animation-delay: -11s; }
.bubbles i:nth-child(10) { left: 46%; width: 6px; height: 6px; animation-duration: 9.5s; animation-delay: -6s; }
@keyframes rise {
  from {
    transform: translate(0, 0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  to {
    transform: translate(18px, -110vh);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rays,
  .drift,
  .bubbles i {
    animation: none;
  }
  .drift {
    display: none;
  }
}
/* 히어로 아래쪽 물결 경계(앱 시그니처 물결) */
.hero-edge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(36px, 5vw, 80px);
  fill: var(--bg);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  min-height: min(700px, calc(100dvh - 68px));
}
.hero h1 {
  margin: 0;
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 800;
  text-wrap: balance;
}
.hero h1 .accent {
  position: relative;
  color: var(--yellow);
  white-space: nowrap;
}
.hero h1 .accent::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.06em;
  height: 0.22em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cpath d='M2 8c12-6 22-6 34 0s22 6 34 0 22-6 34 0 10 4 14 2' fill='none' stroke='%23ffd95a' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E")
    repeat-x left center / auto 100%;
  transform-origin: left;
  transform: scaleX(var(--u, 1));
}
.hero-sub {
  margin: 24px 0 0;
  max-width: 34ch;
  font-size: clamp(17px, 1.6vw, 20px);
  color: #c9dbee;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.hero .btn-primary {
  background: var(--yellow);
  color: var(--yellow-ink);
  box-shadow: 0 14px 34px -12px rgb(255 217 90 / 0.55);
}
.hero .btn-primary:hover {
  background: #ffe58c;
}
.hero .btn-ghost {
  color: #fff;
  border-color: rgb(255 255 255 / 0.35);
}
.hero .btn-ghost:hover {
  color: #fff;
  border-color: #fff;
  background: rgb(255 255 255 / 0.08);
}
.hero-art {
  position: relative;
  height: 100%;
  min-height: 540px;
}
/* 폰 뒤 빛 번짐 */
.hero-art::before {
  content: '';
  position: absolute;
  inset: 8% 4% 6% 10%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(120 190 255 / 0.45), transparent 75%);
  filter: blur(10px);
  z-index: 0;
}
.hero-art .phone {
  box-shadow:
    0 40px 80px -24px rgb(0 0 0 / 0.6),
    inset 0 0 0 1.5px rgb(255 255 255 / 0.1);
}
/* 폰 옆에 떠 있는 작은 앱 카드(실제 기능 두 가지를 짚음) */
.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.96);
  color: var(--navy-900);
  box-shadow: 0 18px 40px -14px rgb(0 0 0 / 0.5);
  white-space: nowrap;
}
.float-card small {
  display: block;
  font-size: 12px;
  color: #56708c;
}
.float-card b {
  display: block;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.fc-score {
  left: 0;
  bottom: 14%;
}
.fc-video {
  right: -2%;
  top: 2%;
}
.fc-video > i {
  font-size: 40px;
  color: var(--navy-600);
}
.mini-ring {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, #fff 76%, transparent 78%),
    conic-gradient(#3ddc84 calc(var(--p) * 1%), #dfe8f2 0);
  font-size: 15px;
  font-weight: 800;
  color: var(--navy-900);
  font-variant-numeric: tabular-nums;
}
@media (prefers-reduced-motion: no-preference) {
  .float-card {
    animation: bob 6s ease-in-out infinite;
  }
  .fc-video {
    animation-delay: -3s;
  }
}
@keyframes bob {
  50% {
    translate: 0 -10px;
  }
}
.hero-art .phone {
  position: absolute;
  width: min(300px, 62%);
}
.hero-art .phone-front {
  right: 8%;
  top: 4%;
  z-index: 2;
}
.hero-art .phone-back {
  left: 2%;
  top: 14%;
  transform: rotate(-7deg);
  opacity: 0.96;
}
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-art {
    min-height: 0;
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: start;
  }
  .hero-art .phone {
    position: relative;
    width: 100%;
    inset: auto;
    transform: none;
  }
  .hero-art .phone-back {
    margin-top: 36px;
  }
  .hero-art::before {
    inset: 0;
  }
  .fc-score {
    left: -4px;
    bottom: 6%;
  }
  .fc-video {
    right: -4px;
    top: -14px;
  }
  .float-card {
    padding: 8px 14px 8px 8px;
    gap: 8px;
  }
  .float-card b {
    font-size: 14px;
  }
  .mini-ring {
    width: 38px;
    height: 38px;
    font-size: 13px;
  }
  .fc-video > i {
    font-size: 32px;
  }
}

/* ---------- 헤엄치는 물고기 띠 (페이지에서 한 번) ---------- */
.fish-band {
  overflow: hidden;
  padding: clamp(18px, 3vw, 34px) 0 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.fish-track {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  width: max-content;
  animation: band 60s linear infinite;
}
.fish-track img {
  height: clamp(44px, 5vw, 70px);
  width: auto;
}
.fish-band:hover .fish-track {
  animation-play-state: paused;
}
@keyframes band {
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .fish-track {
    animation: none;
  }
}

/* ---------- 숫자 띠 ---------- */
.stats {
  padding: 8px 0 clamp(48px, 7vw, 96px);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.stat {
  padding: 26px 20px 0 0;
}
.stat + .stat {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.stat b {
  display: block;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stat b small {
  font-size: 0.5em;
  font-weight: 700;
  margin-left: 2px;
}
.stat > span {
  display: block;
  margin-top: 10px;
  color: var(--text-sub);
  font-size: 15px;
}
@media (max-width: 760px) {
  .stats-row {
    grid-template-columns: 1fr 1fr;
    row-gap: 26px;
  }
  .stat:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
}

/* ---------- 공통 섹션 머리 ---------- */
.section {
  padding: clamp(64px, 9vw, 120px) 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
}
.h2 {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 800;
  text-wrap: balance;
}
.lead {
  margin: 16px 0 0;
  max-width: 52ch;
  font-size: 18px;
  color: var(--text-sub);
}

/* ---------- 출조 점수 (네이비 띠, 페이지에 한 번) ---------- */
/* 바탕은 페이지와 같은 밝은 색, 점수 카드만 앱처럼 네이비 */
.score {
  position: relative;
  overflow: clip;
}
.score-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.factors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 22px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}
.factors li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--text-sub);
}
.factors i {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--bg-tint);
  font-size: 20px;
  color: var(--brand);
}
.factors b {
  display: block;
  color: var(--text);
  font-size: 16px;
}
.score-card {
  position: relative;
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--r-card);
  color: #eaf2fb;
  background:
    radial-gradient(90% 90% at 100% 0%, #2a83cf 0%, transparent 60%),
    linear-gradient(155deg, #0f5799, var(--navy-950));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.14),
    0 40px 80px -30px rgb(10 55 96 / 0.6);
}
/* 카드 뒤 노란 빛 한 점(시선이 점수로) */
.score-card::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -30px -30px auto auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(255 217 90 / 0.45), transparent);
  filter: blur(8px);
}
.score-top {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 30px);
}
.ring {
  position: relative;
  flex: none;
  width: clamp(120px, 14vw, 156px);
  aspect-ratio: 1;
}
.ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.ring circle {
  fill: none;
  stroke-width: 10;
}
.ring .track {
  stroke: rgb(255 255 255 / 0.16);
}
.ring .bar {
  stroke: #fff;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.2s var(--ease);
}
.ring output {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: clamp(38px, 4.4vw, 52px);
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.score-label small {
  display: block;
  font-size: 14px;
  color: #c4d6ea;
}
.score-label strong {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(30px, 3.4vw, 40px);
  color: #fff;
  letter-spacing: -0.02em;
}
.score-label strong::after {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--grade, #3ddc84);
}
.score-label p {
  margin: 6px 0 0;
  font-size: 15px;
  color: #c4d6ea;
}
.score-switch {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgb(0 0 0 / 0.22);
}
.score-switch button {
  min-height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #c4d6ea;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.score-switch button[aria-pressed='true'] {
  background: #fff;
  color: var(--navy-800);
}
.weather {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 26px;
  padding: 16px 6px;
  border-radius: 18px;
  background: rgb(0 0 0 / 0.18);
  text-align: center;
}
.weather div {
  display: grid;
  gap: 2px;
  justify-items: center;
}
.weather i {
  font-size: 22px;
  color: #cfe3f6;
}
.weather b {
  font-size: 18px;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.weather span {
  font-size: 12px;
  color: #a9c2dc;
}
.best {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  font-size: 15px;
  color: #dce9f6;
}
.best i {
  font-size: 18px;
  color: var(--yellow);
}
.sample-note {
  margin: 14px 0 0;
  font-size: 12px;
  color: #93abc6;
}
@media (max-width: 900px) {
  .score-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .factors {
    grid-template-columns: 1fr;
  }
  .score-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .score-switch {
    position: static;
    margin-bottom: 16px;
  }
  .weather b {
    font-size: 15px;
  }
}

/* ---------- 초보 영상 ---------- */
.guides-grid {
  display: grid;
  grid-template-columns: minmax(240px, 330px) 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  margin-top: 44px;
}
.player-wrap {
  position: sticky;
  top: 92px;
}
.player-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
}
.player-meta b {
  font-size: 17px;
}
.player-meta span {
  display: block;
  font-size: 14px;
  color: var(--text-faint);
}
.sound-btn {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
}
.rail-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.chip {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-sub);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.chip[aria-pressed='true'] {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #fff;
}
@media (prefers-color-scheme: dark) {
  .chip[aria-pressed='true'] {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--yellow-ink);
  }
}
.rail-count {
  margin-left: auto;
  font-size: 14px;
  color: var(--text-faint);
}
.posters {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.poster {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--navy-800);
  aspect-ratio: 9 / 16;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease);
}
.poster:hover {
  transform: translateY(-4px);
}
.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.poster .num {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--yellow-ink);
  font-size: 12px;
  font-weight: 800;
}
.poster .play {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgb(6 28 51 / 0.82);
  border: 2px solid #fff;
  color: #fff;
  font-size: 15px;
}
.poster.is-current {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}
.poster-more {
  display: grid;
  place-items: center;
  margin-top: 22px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 60;
  transform: translate(-50%, 140%);
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--navy-900);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  box-shadow: var(--shadow);
  visibility: hidden;
  transition:
    transform 0.35s var(--ease),
    visibility 0s linear 0.35s;
  pointer-events: none;
}
.toast.is-on {
  transform: translate(-50%, 0);
  visibility: visible;
  transition:
    transform 0.35s var(--ease),
    visibility 0s;
}
@media (max-width: 760px) {
  .guides-grid {
    grid-template-columns: 1fr;
  }
  .player-wrap {
    position: relative;
    top: 0;
    max-width: 300px;
    margin: 0 auto;
  }
  .posters {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
}

/* ---------- 포인트 지도 (나란히) ---------- */
.map-grid {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: clamp(32px, 7vw, 96px);
  align-items: center;
}
.map-art {
  position: relative;
}
.map-art .badge {
  position: absolute;
  left: -18px;
  bottom: 18%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--shadow);
  font-size: 14px;
  color: var(--text-sub);
}
.map-art .badge b {
  display: block;
  font-size: 20px;
  color: var(--text);
}
.map-art .badge i {
  font-size: 28px;
  color: var(--brand);
}
.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 34px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.feature-list i {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--bg-tint);
  color: var(--brand);
  font-size: 24px;
}
.feature-list b {
  display: block;
  margin-top: 14px;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.feature-list p {
  margin: 6px 0 0;
  color: var(--text-sub);
  font-size: 15px;
}
@media (max-width: 860px) {
  .map-grid {
    grid-template-columns: 1fr;
  }
  .map-art {
    max-width: 320px;
    margin: 0 auto;
  }
  .map-art .badge {
    left: -8px;
  }
}
@media (max-width: 520px) {
  .feature-list {
    grid-template-columns: 1fr;
  }
}

/* ---------- 어종 도감 (고르는 격자) ---------- */
.dogam {
  background: var(--bg-tint);
}
.dogam-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 34px;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 260px;
  max-width: 360px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-faint);
}
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 15px;
}
.search input::placeholder {
  color: var(--text-faint);
}
.search:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent);
}
.fish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.fish {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-card);
  background: var(--surface);
  overflow: hidden;
  border: 1px solid var(--line);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.fish:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}
.fish figure {
  display: grid;
  place-items: center;
  height: 118px;
  margin: 0;
  padding: 12px 16px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--navy-500) 9%, var(--surface)), var(--surface));
}
.fish figure img {
  max-height: 96px;
  width: auto;
  object-fit: contain;
}
.fish .body {
  display: grid;
  gap: 8px;
  padding: 12px 16px 16px;
}
.fish h3 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: var(--bg-tint);
  color: var(--text-sub);
}
.tag.rule {
  background: #fff1d1;
  color: #6b4b00;
}
.tag.warn {
  background: #ffe1df;
  color: #8a1c14;
}
.tag.video {
  background: color-mix(in srgb, var(--navy-500) 14%, var(--surface));
  color: var(--brand-strong);
}
@media (prefers-color-scheme: dark) {
  .tag.rule {
    background: #3b2f0d;
    color: #ffe08a;
  }
  .tag.warn {
    background: #3d1613;
    color: #ffb4ad;
  }
}
.empty {
  grid-column: 1 / -1;
  padding: 40px 20px;
  text-align: center;
  color: var(--text-sub);
}
.law-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 26px 0 0;
  max-width: 70ch;
  font-size: 14px;
  color: var(--text-sub);
}
.law-note i {
  flex: none;
  font-size: 18px;
  margin-top: 2px;
  color: var(--brand);
}
@media (max-width: 520px) {
  .fish-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .fish figure {
    height: 92px;
  }
  .fish figure img {
    max-height: 72px;
  }
}

/* ---------- 초보 낚시 준비물 (쿠팡 파트너스) ---------- */
.ad-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 22px 0 0;
  max-width: 70ch;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--bg-tint);
  color: var(--text-sub);
  font-size: 14px;
}
.ad-note i {
  flex: none;
  font-size: 18px;
  margin-top: 1px;
}
.gear-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 26px;
}
.gear-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr auto;
  gap: 14px 18px;
  padding: clamp(22px, 3vw, 30px);
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.gear-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  box-shadow: var(--shadow-soft);
}
.gear-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: var(--navy-800);
  color: var(--yellow);
  font-size: 30px;
}
.gear-body small {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
}
.gear-body b {
  display: block;
  margin-top: 4px;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.gear-body span {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  color: var(--text-sub);
}
.gear-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-self: start;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--navy-800);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}
@media (prefers-color-scheme: dark) {
  .gear-go {
    background: var(--yellow);
    color: var(--yellow-ink);
  }
}
@media (max-width: 760px) {
  .gear-grid {
    grid-template-columns: 1fr;
  }
  .gear-icon {
    width: 50px;
    height: 50px;
    font-size: 26px;
  }
}

/* ---------- 커뮤니티 · 미션 (벤토 3칸) ---------- */
.bento {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: auto auto;
  gap: 18px;
  margin-top: 44px;
}
.cell {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-card);
  padding: clamp(24px, 3vw, 36px);
}
.cell h3 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.cell p {
  margin: 10px 0 0;
  max-width: 34ch;
  font-size: 16px;
}
.cell-community {
  grid-row: span 2;
  background: linear-gradient(165deg, #dfeaf6, #c9dcef);
  color: var(--navy-900);
  display: grid;
  grid-template-columns: 1fr minmax(180px, 250px);
  gap: 20px;
  align-items: end;
}
.cell-community p {
  color: #2e4864;
}
.cell-community .phone {
  margin-bottom: calc(-1 * clamp(70px, 9vw, 120px));
}
.cell-missions {
  background: var(--navy-800);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr minmax(120px, 170px);
  gap: 16px;
  align-items: start;
}
.cell-missions p {
  color: #c4d6ea;
}
.cell-missions .phone {
  margin-bottom: -140px;
}
.cell-badges {
  background: var(--yellow);
  color: var(--yellow-ink);
}
.cell-badges p {
  color: #5a4600;
}
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.badge-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.6);
  font-size: 14px;
  font-weight: 700;
}
.badge-row i {
  font-size: 17px;
}
@media (prefers-color-scheme: dark) {
  .cell-community {
    background: linear-gradient(165deg, #12304e, #0d2440);
    color: #eaf2fb;
  }
  .cell-community p {
    color: #b8cde3;
  }
}
@media (max-width: 860px) {
  .bento {
    grid-template-columns: 1fr;
  }
  .cell-community {
    grid-row: auto;
    grid-template-columns: 1fr;
  }
  .cell-community .phone {
    max-width: 240px;
    margin: 10px auto -110px;
  }
  .cell-missions {
    grid-template-columns: 1fr 120px;
  }
}

/* ---------- 안전 ---------- */
.safety {
  padding: clamp(56px, 8vw, 104px) 0;
}
.safety-box {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) 1fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}
.safety-photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-card);
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
}
.safety-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.safety ul {
  display: grid;
  gap: 18px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.safety li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 16px;
  color: var(--text-sub);
}
.safety li i {
  flex: none;
  font-size: 26px;
  color: var(--brand);
}
.safety li b {
  display: block;
  color: var(--text);
  font-size: 17px;
}
@media (max-width: 860px) {
  .safety-box {
    grid-template-columns: 1fr;
  }
  .safety-photo {
    aspect-ratio: 4 / 3;
  }
  .safety-photo img {
    object-position: center 30%;
  }
}

/* ---------- 앱 받기 ---------- */
.download {
  padding-bottom: clamp(64px, 9vw, 120px);
}
.dl-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--r-card);
  background:
    radial-gradient(90% 140% at 100% 100%, #1f74bd 0%, transparent 60%),
    linear-gradient(150deg, var(--navy-800), var(--navy-950));
  color: #fff;
  box-shadow: var(--shadow);
}
.dl-panel img {
  width: clamp(84px, 10vw, 120px);
  height: auto;
  border-radius: 26%;
  box-shadow: 0 16px 40px -14px rgb(0 0 0 / 0.6);
}
.dl-panel h2 {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.dl-panel p {
  margin: 10px 0 0;
  color: #c4d6ea;
  font-size: 17px;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid rgb(255 255 255 / 0.35);
  color: #fff;
  white-space: nowrap;
}
.store-badge i {
  font-size: 28px;
}
.store-badge small {
  display: block;
  font-size: 12px;
  color: #c4d6ea;
}
.store-badge b {
  font-size: 17px;
}
@media (max-width: 860px) {
  .dl-panel {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

/* ---------- 바닥 ---------- */
.site-foot {
  padding: 40px 0 56px;
  border-top: 1px solid var(--line);
  color: var(--text-sub);
  font-size: 14px;
}
.foot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.foot-links a {
  text-decoration: none;
  font-weight: 600;
}
.foot-links a:hover {
  color: var(--brand);
}
.foot-note {
  margin: 18px 0 0;
  max-width: 80ch;
  font-size: 13px;
  color: var(--text-faint);
}

/* ---------- 등장 움직임(자바스크립트가 켜질 때만) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 개인정보처리방침 문서 ---------- */
.doc {
  max-width: 820px;
  padding-top: clamp(32px, 5vw, 64px);
  padding-bottom: 80px;
}
.doc h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.doc .meta {
  margin: 10px 0 0;
  color: var(--text-faint);
  font-size: 15px;
}
.doc h2 {
  margin: 48px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 22px;
  letter-spacing: -0.02em;
}
.doc p,
.doc li {
  color: var(--text-sub);
  font-size: 16px;
}
.doc strong {
  color: var(--text);
}
.doc a {
  color: var(--brand);
}
.doc .table {
  overflow-x: auto;
  margin: 18px 0 0;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.doc table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
}
.doc th,
.doc td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  color: var(--text-sub);
}
.doc th {
  background: var(--bg-tint);
  color: var(--text);
  font-weight: 700;
}
.doc tr + tr td {
  border-top: 1px solid var(--line);
}
.doc mark.todo {
  background: #ffe08a;
  color: #3a2c00;
  padding: 0 4px;
  border-radius: 4px;
}
.toc {
  margin: 28px 0 0;
  padding: 18px 22px;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
}
.toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 28px;
}
.toc a {
  color: var(--text-sub);
  text-decoration: none;
}
.toc a:hover {
  color: var(--brand);
}
@media (max-width: 600px) {
  .toc ol {
    columns: 1;
  }
}
