@charset "utf-8";

/* SLOPE — 네이티브 중첩 + @layer + 풀페이지 스크롤 스냅 */
@layer reset, tokens, base, layout, comp, sections, util;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body, h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd { margin: 0; }
  ul, ol { margin: 0; padding: 0; list-style: none; }
  a { color: inherit; text-decoration: none; }
  img, svg, video { display: block; max-width: 100%; }
  img { height: auto; }
  button, input, select, textarea { font: inherit; color: inherit; }
  button { background: none; border: 0; cursor: pointer; }
  :focus-visible { outline: 3px solid var(--ice-deep); outline-offset: 2px; border-radius: 4px; }
  [hidden] { display: none !important; }
}

@layer tokens {
  @font-face { font-family: Pretendard; font-weight: 400; font-display: swap; src: url(../fonts/Pretendard-Regular.woff2) format("woff2"); }
  @font-face { font-family: Pretendard; font-weight: 500; font-display: swap; src: url(../fonts/Pretendard-Medium.woff2) format("woff2"); }
  @font-face { font-family: Pretendard; font-weight: 600; font-display: swap; src: url(../fonts/Pretendard-SemiBold.woff2) format("woff2"); }
  @font-face { font-family: Pretendard; font-weight: 700; font-display: swap; src: url(../fonts/Pretendard-Bold.woff2) format("woff2"); }
  @font-face { font-family: Pretendard; font-weight: 900; font-display: swap; src: url(../fonts/Pretendard-Black.woff2) format("woff2"); }
  @font-face { font-family: Archivo; font-weight: 700; font-display: swap; src: url(../fonts/Archivo-700.woff2) format("woff2"); }
  @font-face { font-family: Archivo; font-weight: 800; font-display: swap; src: url(../fonts/Archivo-800.woff2) format("woff2"); }

  :root {
    --ice: #5cc8ff;
    --ice-deep: #2ba6ec;
    --snow: #ffffff;
    --slate: #223046;
    --sunset: #ff7a45;
    --mint: #64e6c8;
    --sky: #eaf4ff;

    --ink: #16233a;
    --mute: #5d708a;
    --line: #d3e4f5;
    --panel: #ffffff;
    --panel-2: #f2f8ff;
    --deep: #0e1b2e;

    --grad-ice: linear-gradient(135deg, #7ad3ff 0%, #3aa9ee 60%, #2ba6ec 100%);
    --grad-sun: linear-gradient(120deg, #ff9a5c 0%, #ff7a45 100%);
    --grad-sky: linear-gradient(180deg, #eaf4ff 0%, #dcefff 100%);

    --wrap: 1180px;
    --r-lg: 26px;
    --r-md: 16px;
    --r-sm: 10px;
    --shadow: 0 18px 46px rgba(24, 70, 120, .16);
    --shadow-sm: 0 8px 22px rgba(24, 70, 120, .12);
    --head-h: 66px;

    --disp: Archivo, Pretendard, sans-serif;
    --body: Pretendard, system-ui, sans-serif;
  }

  @media (prefers-color-scheme: dark) {
    :root {
      --sky: #0e1b2e;
      --ink: #eaf3ff;
      --mute: #9fb5d0;
      --line: #26374f;
      --panel: #16263c;
      --panel-2: #14243a;
      --slate: #eaf3ff;
      --shadow: 0 18px 46px rgba(0, 0, 0, .5);
      --shadow-sm: 0 8px 22px rgba(0, 0, 0, .4);
      --grad-sky: linear-gradient(180deg, #0e1b2e 0%, #12233b 100%);
    }
  }
}

@layer base {
  html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }

  body {
    font-family: var(--body);
    font-weight: 400;
    color: var(--ink);
    background: var(--grad-sky);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
  }

  h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; font-weight: 900; }

  .disp {
    font-family: var(--disp);
    font-weight: 800;
    font-style: italic;
    letter-spacing: -.01em;
  }
  .tnum { font-variant-numeric: tabular-nums; }

  /* 홈에서만 풀페이지 스냅 활성 */
  .page--home { scroll-snap-type: y proximity; }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .page--home { scroll-snap-type: none; }
  }
}

@layer layout {
  .wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
  .wrap--narrow { width: min(100% - 40px, 820px); margin-inline: auto; }

  .snap-sec {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    padding-block: clamp(56px, 9vh, 104px);
    position: relative;
  }
  .snap-sec--full {
    min-height: 100svh;
    display: grid;
    align-content: center;
  }

  .skip {
    position: fixed; top: 8px; left: 8px; z-index: 200;
    padding: 10px 16px; background: var(--ice-deep); color: #fff;
    border-radius: 10px; font-weight: 700; transform: translateY(-160%);
    transition: transform .18s;
  }
  .skip:focus { transform: translateY(0); }
}

@layer comp {
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 22px; border-radius: 999px; font-weight: 800; font-size: .96rem;
    line-height: 1; transition: transform .14s, box-shadow .14s, background .14s;
    white-space: nowrap;
    & svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; }
    &:active { transform: translateY(1px); }
  }
  .btn--fill { background: var(--grad-ice); color: #fff; box-shadow: 0 10px 22px rgba(43,166,236,.34); }
  .btn--fill:hover { box-shadow: 0 14px 30px rgba(43,166,236,.44); transform: translateY(-2px); }
  .btn--sun { background: var(--grad-sun); color: #fff; box-shadow: 0 10px 22px rgba(255,122,69,.34); }
  .btn--sun:hover { transform: translateY(-2px); }
  .btn--ghost { background: color-mix(in srgb, var(--panel) 70%, transparent); color: var(--ink); border: 1.5px solid var(--line); }
  .btn--ghost:hover { border-color: var(--ice); color: var(--ice-deep); }
  .btn--sm { padding: 10px 16px; font-size: .88rem; }
  .btn--lg { padding: 16px 30px; font-size: 1.05rem; }
  .btn--block { width: 100%; }

  .chip {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 6px 13px; border-radius: 999px; font-size: .8rem; font-weight: 700;
    background: color-mix(in srgb, var(--ice) 16%, var(--panel));
    color: var(--ice-deep); border: 1px solid color-mix(in srgb, var(--ice) 40%, transparent);
    & svg { width: 15px; height: 15px; }
  }
  .chip--mint { background: color-mix(in srgb, var(--mint) 20%, var(--panel)); color: #0d9c81; border-color: color-mix(in srgb, var(--mint) 45%, transparent); }
  .chip--sun { background: color-mix(in srgb, var(--sunset) 16%, var(--panel)); color: #d85a26; border-color: color-mix(in srgb, var(--sunset) 40%, transparent); }

  .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--disp); font-style: italic; font-weight: 800;
    font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
    color: var(--ice-deep);
  }
  .eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--grad-ice); }

  .linklike { color: var(--mute); font-size: inherit; text-align: left; padding: 0; }
  .linklike:hover { color: var(--ice-deep); text-decoration: underline; }

  .ico { width: 1.2em; height: 1.2em; flex: none; }

  /* 헤더 */
  .topbar {
    position: sticky; top: 0; z-index: 90; height: var(--head-h);
    display: flex; align-items: center;
    background: color-mix(in srgb, var(--panel) 78%, transparent);
    backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, background .2s, box-shadow .2s;
  }
  .topbar[data-stuck] { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); background: color-mix(in srgb, var(--panel) 92%, transparent); }
  .topbar__in { width: min(100% - 40px, var(--wrap)); margin-inline: auto; display: flex; align-items: center; gap: 20px; }

  .brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ice-deep); }
  .brand__mark { color: var(--ice-deep); }
  .brand__word { font-family: var(--disp); font-style: italic; font-weight: 800; font-size: 1.4rem; letter-spacing: .02em; color: var(--slate); }
  .brand__word--dk { color: var(--slate); }

  .nav { margin-inline-start: 8px; }
  .nav__list { display: flex; gap: 4px; }
  .nav__list a {
    display: inline-block; padding: 9px 14px; border-radius: 10px;
    font-weight: 600; color: var(--mute); transition: color .15s, background .15s;
  }
  .nav__list a:hover { color: var(--ink); background: var(--panel-2); }
  .nav__list a[aria-current="page"] { color: var(--ice-deep); background: color-mix(in srgb, var(--ice) 14%, transparent); }

  .topbar__cta { margin-inline-start: auto; display: flex; gap: 10px; }

  .hamb { display: none; margin-inline-start: auto; width: 44px; height: 44px; border-radius: 12px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; border: 1.5px solid var(--line); }
  .hamb span { width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
  .hamb[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamb[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .hamb[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* 모바일 드로어 */
  .drawer { position: fixed; inset: 0; z-index: 120; }
  .drawer__scrim { position: absolute; inset: 0; background: rgba(14,27,46,.5); backdrop-filter: blur(2px); }
  .drawer__panel {
    position: absolute; inset-block: 0; inset-inline-end: 0; width: min(84vw, 340px);
    background: var(--panel); box-shadow: var(--shadow); padding: 18px 20px 26px;
    display: flex; flex-direction: column; gap: 18px;
    animation: slidein .24s ease;
  }
  @keyframes slidein { from { transform: translateX(100%); } to { transform: translateX(0); } }
  @media (prefers-reduced-motion: reduce) { .drawer__panel { animation: none; } }
  .drawer__top { display: flex; align-items: center; justify-content: space-between; }
  .drawer__x { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: var(--ink); }
  .drawer__list { display: flex; flex-direction: column; gap: 2px; }
  .drawer__list a { display: block; padding: 13px 12px; border-radius: 12px; font-weight: 700; font-size: 1.05rem; }
  .drawer__list a:hover { background: var(--panel-2); color: var(--ice-deep); }
  .drawer__list a[aria-current="page"] { color: var(--ice-deep); }

  /* 스냅 섹션 인디케이터 */
  .snapnav { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 60; display: flex; flex-direction: column; gap: 12px; }
  .snapnav button { width: 12px; height: 12px; border-radius: 999px; background: color-mix(in srgb, var(--slate) 22%, transparent); border: 2px solid transparent; transition: transform .18s, background .18s; position: relative; }
  .snapnav button::after { content: attr(data-label); position: absolute; right: 22px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: .72rem; font-weight: 700; color: var(--ink); background: var(--panel); padding: 3px 9px; border-radius: 999px; box-shadow: var(--shadow-sm); opacity: 0; pointer-events: none; transition: opacity .16s; }
  .snapnav button:hover::after { opacity: 1; }
  .snapnav button[aria-current="true"] { background: var(--ice-deep); transform: scale(1.35); }
  @media (max-width: 900px) { .snapnav { display: none; } }

  /* 모달 */
  .modal { position: fixed; inset: 0; z-index: 160; display: grid; place-items: center; padding: 20px; }
  .modal__scrim { position: absolute; inset: 0; background: rgba(14,27,46,.58); backdrop-filter: blur(3px); }
  .modal__box {
    position: relative; width: min(720px, 100%); max-height: min(84vh, 760px);
    background: var(--panel); border-radius: var(--r-md); box-shadow: var(--shadow);
    display: flex; flex-direction: column; overflow: hidden;
    animation: pop .2s ease;
  }
  @keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
  @media (prefers-reduced-motion: reduce) { .modal__box { animation: none; } }
  .modal__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
  .modal__head h2 { font-size: 1.2rem; }
  .modal__x { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: var(--mute); }
  .modal__x:hover { background: var(--panel-2); color: var(--ink); }
  .modal__body { padding: 20px 24px 26px; overflow-y: auto; }
  .modal__body h3 { font-size: 1rem; margin: 20px 0 6px; color: var(--ice-deep); }
  .modal__body h3:first-child { margin-top: 0; }
  .modal__body p, .modal__body li { color: var(--mute); font-size: .92rem; line-height: 1.7; }
  .modal__body ul { padding-left: 18px; list-style: disc; margin: 4px 0; }
  .modal__body a { color: var(--ice-deep); text-decoration: underline; }
  .modal__meta { margin-top: 18px; font-size: .82rem; color: var(--mute); }
  body.is-locked { overflow: hidden; }

  /* 별점 */
  .stars { display: inline-flex; gap: 2px; color: var(--sunset); }
  .stars svg { width: 17px; height: 17px; }
}

@layer sections {
  /* ── 히어로 (스냅 1) ── */
  .hero { overflow: hidden; }
  .hero__grid {
    display: grid; gap: 30px;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
  }
  .hero__copy { position: relative; z-index: 2; }
  .hero h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); margin: 16px 0 14px; }
  .hero h1 .hl { color: var(--ice-deep); }
  .hero h1 em { font-family: var(--disp); font-style: italic; color: var(--sunset); }
  .hero__lead { font-size: clamp(1rem, 1.6vw, 1.18rem); color: var(--mute); max-width: 42ch; }

  .hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
  .badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
  .badges a { transition: transform .14s; }
  .badges a:hover { transform: translateY(-2px); }
  .badges img { height: 50px; width: auto; border-radius: 9px; }

  /* 히어로 스토어 스트립 — 평점/QR/라이브를 한 줄에 (2컬럼 분할 아님) */
  .hero__strip {
    margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px;
    padding: 16px 20px; border-radius: var(--r-md);
    background: color-mix(in srgb, var(--panel) 72%, transparent);
    border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    backdrop-filter: blur(8px);
  }
  .rating__score { font-family: var(--disp); font-style: italic; font-weight: 800; font-size: 1.7rem; color: var(--ink); }
  .rating small { display: block; color: var(--mute); font-size: .78rem; font-weight: 600; }
  .hero__qr { display: flex; align-items: center; gap: 10px; }
  .hero__qr img { width: 62px; height: 62px; border-radius: 10px; box-shadow: var(--shadow-sm); }
  .hero__qr span { font-size: .8rem; color: var(--mute); font-weight: 600; max-width: 12ch; }
  .live {
    display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--ink);
  }
  .live__dot { width: 9px; height: 9px; border-radius: 999px; background: var(--mint); box-shadow: 0 0 0 0 color-mix(in srgb, var(--mint) 70%, transparent); animation: pulse 1.8s infinite; }
  @keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--mint) 65%, transparent); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
  @media (prefers-reduced-motion: reduce) { .live__dot { animation: none; } }
  .live b { color: var(--ice-deep); font-family: var(--disp); font-style: italic; }

  .hero__art { position: relative; }
  .hero__art img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow); aspect-ratio: 16/11; object-fit: cover; }
  .hero__art .float {
    position: absolute; background: var(--panel); border-radius: 14px; box-shadow: var(--shadow-sm);
    padding: 11px 14px; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .85rem;
  }
  .hero__art .float svg { width: 22px; height: 22px; }
  .hero__art .float--a { left: -14px; top: 24px; color: var(--ice-deep); }
  .hero__art .float--b { right: -12px; bottom: 40px; color: var(--sunset); }
  .hero__art .float b { font-family: var(--disp); font-style: italic; }
  @media (max-width: 500px) { .hero__art .float { display: none; } }

  .scrollcue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: inline-flex; flex-direction: column; align-items: center; gap: 4px; color: var(--mute); font-size: .72rem; font-weight: 700; letter-spacing: .1em; }
  .scrollcue svg { width: 20px; height: 20px; animation: bob 1.6s ease-in-out infinite; }
  @keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
  @media (prefers-reduced-motion: reduce) { .scrollcue svg { animation: none; } }

  /* 섹션 헤더 공통 */
  .sec-head { max-width: 640px; margin-bottom: 34px; }
  .sec-head--center { margin-inline: auto; text-align: center; }
  .sec-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin: 12px 0 10px; }
  .sec-head p { color: var(--mute); font-size: 1.02rem; }

  /* ── 트릭 시스템 (탭 + 목업 + 점수) ── */
  .tricks { background: var(--panel-2); }
  .trick { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
  .trick__panel { }
  .tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
  .tab {
    padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: .9rem;
    color: var(--mute); border: 1.5px solid var(--line); background: var(--panel);
    display: inline-flex; align-items: center; gap: 7px; transition: all .15s;
    & svg { width: 17px; height: 17px; }
  }
  .tab:hover { border-color: var(--ice); color: var(--ice-deep); }
  .tab[aria-selected="true"] { background: var(--grad-ice); color: #fff; border-color: transparent; box-shadow: 0 8px 18px rgba(43,166,236,.3); }

  .tpanel { display: none; }
  .tpanel[data-active] { display: block; animation: fade .3s ease; }
  @keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  @media (prefers-reduced-motion: reduce) { .tpanel[data-active] { animation: none; } }
  .tpanel h3 { font-size: 1.4rem; margin-bottom: 8px; }
  .tpanel h3 .mult { font-family: var(--disp); font-style: italic; color: var(--sunset); margin-left: 6px; }
  .tpanel p { color: var(--mute); margin-bottom: 16px; }
  .combo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
  .combo__key { padding: 8px 12px; border-radius: 10px; background: var(--panel); border: 1.5px solid var(--line); font-weight: 800; font-size: .84rem; box-shadow: var(--shadow-sm); }
  .combo__plus { color: var(--mute); font-weight: 800; }
  .combo__eq { margin-left: 4px; font-family: var(--disp); font-style: italic; font-weight: 800; color: var(--mint); background: color-mix(in srgb, var(--mint) 16%, var(--panel)); padding: 8px 12px; border-radius: 10px; }
  .tstat { display: flex; gap: 22px; }
  .tstat div { }
  .tstat b { display: block; font-family: var(--disp); font-style: italic; font-size: 1.6rem; color: var(--ice-deep); }
  .tstat span { font-size: .8rem; color: var(--mute); font-weight: 600; }

  .trick__phone { position: relative; justify-self: center; }
  .phone {
    width: min(280px, 74vw); border-radius: 34px; overflow: hidden;
    border: 10px solid #16263c; background: #16263c; box-shadow: var(--shadow);
    aspect-ratio: 9/19.5;
  }
  .phone img { width: 100%; height: 100%; object-fit: cover; }

  /* 점수 규칙 스트립 */
  .scorebar { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .scorebar li {
    background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md);
    padding: 18px; text-align: center;
  }
  .scorebar svg { width: 26px; height: 26px; color: var(--ice-deep); margin: 0 auto 8px; }
  .scorebar b { display: block; font-weight: 800; font-size: .98rem; }
  .scorebar span { font-size: .82rem; color: var(--mute); }

  /* ── 코스 쇼케이스 (수평 스와이프 카드) ── */
  .courses-sec { }
  .coursedeck {
    display: grid; grid-auto-flow: column; grid-auto-columns: min(340px, 78vw);
    gap: 18px; overflow-x: auto; padding: 6px 2px 22px; scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }
  .coursecard {
    scroll-snap-align: start; border-radius: var(--r-lg); overflow: hidden;
    position: relative; box-shadow: var(--shadow-sm); background: var(--panel);
    border: 1px solid var(--line); transition: transform .16s, box-shadow .16s;
  }
  .coursecard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .coursecard__img { position: relative; aspect-ratio: 1/1; }
  .coursecard__img img { width: 100%; height: 100%; object-fit: cover; }
  .coursecard__tag { position: absolute; top: 12px; left: 12px; }
  .coursecard__lock { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 999px; background: rgba(14,27,46,.6); color: #fff; display: grid; place-items: center; }
  .coursecard__lock svg { width: 17px; height: 17px; }
  .coursecard__body { padding: 16px 18px 20px; }
  .coursecard__body h3 { font-size: 1.2rem; }
  .coursecard__body p { color: var(--mute); font-size: .88rem; margin: 6px 0 12px; }
  .diffbar { display: inline-flex; gap: 4px; align-items: center; }
  .diffbar i { width: 8px; height: 8px; border-radius: 2px; background: var(--line); }
  .diffbar i[data-on] { background: var(--sunset); }
  .coursecard__meta { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; color: var(--mute); font-weight: 600; }

  /* ── 리더보드 ── */
  .board-sec { background: var(--deep); color: #eaf3ff; }
  .board-sec .eyebrow { color: var(--ice); }
  .board-sec .sec-head h2 { color: #fff; }
  .board-sec .sec-head p { color: #a9c1dc; }
  .board {
    background: color-mix(in srgb, #16263c 88%, transparent); border: 1px solid #26374f;
    border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow);
  }
  .board__row {
    display: grid; grid-template-columns: 56px 1fr auto auto; gap: 14px; align-items: center;
    padding: 15px 22px; border-bottom: 1px solid #22344c;
  }
  .board__row:last-child { border-bottom: 0; }
  .board__row--head { background: rgba(255,255,255,.03); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: #8fa8c6; font-weight: 700; }
  .board__rank { font-family: var(--disp); font-style: italic; font-weight: 800; font-size: 1.3rem; color: #8fa8c6; text-align: center; }
  .board__row--top .board__rank { color: var(--sunset); }
  .board__player { display: flex; align-items: center; gap: 12px; min-width: 0; }
  .board__ava { width: 40px; height: 40px; border-radius: 999px; background: var(--grad-ice); display: grid; place-items: center; color: #fff; font-family: var(--disp); font-style: italic; font-weight: 800; flex: none; }
  .board__ava--2 { background: var(--grad-sun); }
  .board__ava--3 { background: linear-gradient(135deg,#64e6c8,#0d9c81); }
  .board__name { font-weight: 800; }
  .board__crew { font-size: .78rem; color: #8fa8c6; }
  .board__score { font-family: var(--disp); font-style: italic; font-weight: 800; font-size: 1.15rem; color: #fff; }
  .board__trick { font-size: .78rem; color: #9fb8d4; }
  .board__badge svg { width: 22px; height: 22px; }
  .board__badge--1 { color: #ffd15c; } .board__badge--2 { color: #cfe0f0; } .board__badge--3 { color: var(--sunset); }
  @media (max-width: 620px) {
    .board__row { grid-template-columns: 40px 1fr auto; }
    .board__trick, .board__badge { display: none; }
  }
  .board__foot { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; background: rgba(255,255,255,.03); font-size: .86rem; color: #a9c1dc; flex-wrap: wrap; gap: 10px; }
  .board__foot a { color: var(--ice); font-weight: 700; }

  /* ── 보드 커스텀 (split with overlap) ── */
  .custom-sec { }
  .custom { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
  .custom__art img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow); aspect-ratio: 1/1; object-fit: cover; }
  .custom__list { display: grid; gap: 14px; margin-top: 20px; }
  .custom__list li { display: flex; gap: 14px; align-items: flex-start; }
  .custom__ic { width: 46px; height: 46px; border-radius: 13px; flex: none; display: grid; place-items: center; background: color-mix(in srgb, var(--ice) 16%, var(--panel)); color: var(--ice-deep); }
  .custom__ic svg { width: 22px; height: 22px; }
  .custom__list b { font-weight: 800; }
  .custom__list p { color: var(--mute); font-size: .9rem; margin: 2px 0 0; }

  /* ── 크루 ── */
  .crew-sec { background: var(--panel-2); }
  .crew { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
  .crew__art img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow); aspect-ratio: 1/1; object-fit: cover; }
  .crew__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
  .crew__facts li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 14px; text-align: center; }
  .crew__facts b { display: block; font-family: var(--disp); font-style: italic; font-size: 1.7rem; color: var(--ice-deep); }
  .crew__facts span { font-size: .8rem; color: var(--mute); font-weight: 600; }

  /* ── CTA ── */
  .cta-sec { }
  .cta {
    position: relative; overflow: hidden; border-radius: var(--r-lg);
    background: var(--grad-ice); color: #fff; padding: clamp(38px, 6vw, 66px);
    text-align: center; box-shadow: var(--shadow);
  }
  .cta::before, .cta::after { content: ""; position: absolute; border-radius: 999px; background: rgba(255,255,255,.14); }
  .cta::before { width: 260px; height: 260px; top: -90px; right: -60px; }
  .cta::after { width: 180px; height: 180px; bottom: -80px; left: -40px; background: rgba(255,122,69,.28); }
  .cta__in { position: relative; z-index: 2; }
  .cta h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); }
  .cta h2 em { font-family: var(--disp); font-style: italic; }
  .cta p { margin: 12px auto 26px; max-width: 44ch; color: rgba(255,255,255,.92); }
  .cta__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
  .cta .btn--fill { background: #fff; color: var(--ice-deep); box-shadow: 0 10px 24px rgba(0,0,0,.2); }
  .cta .btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }

  /* ── 서브페이지 공통 ── */
  .subhero { padding-block: clamp(46px, 8vh, 90px) clamp(30px, 5vh, 50px); }
  .subhero__in { max-width: 720px; }
  .subhero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 14px 0 12px; }
  .subhero h1 em { font-family: var(--disp); font-style: italic; color: var(--sunset); }
  .subhero p { color: var(--mute); font-size: 1.08rem; }
  .subhero--banner { position: relative; color: #fff; border-radius: 0; overflow: hidden; }
  .subhero--banner img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
  .subhero--banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,27,46,.86) 0%, rgba(14,27,46,.5) 60%, rgba(14,27,46,.2) 100%); z-index: 1; }
  .subhero--banner .subhero__in { position: relative; z-index: 2; padding-block: clamp(60px, 12vh, 130px); }
  .subhero--banner h1 { color: #fff; }
  .subhero--banner p { color: #d3e3f5; }

  .section { padding-block: clamp(44px, 7vh, 78px); }
  .section--alt { background: var(--panel-2); }

  /* 코스 상세 (지그재그) */
  .coursefull { display: grid; gap: 54px; }
  .coursefull__item { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
  .coursefull__item:nth-child(even) .coursefull__art { order: 2; }
  .coursefull__art img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow); aspect-ratio: 1/1; object-fit: cover; }
  .coursefull__body h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 8px; }
  .coursefull__body h2 .n { font-family: var(--disp); font-style: italic; color: var(--ice-deep); margin-right: 10px; }
  .coursefull__body > p { color: var(--mute); margin-bottom: 16px; }
  .coursefull__spec { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 16px; }
  .coursefull__spec div { }
  .coursefull__spec b { display: block; font-family: var(--disp); font-style: italic; font-size: 1.15rem; color: var(--ink); }
  .coursefull__spec span { font-size: .78rem; color: var(--mute); font-weight: 600; }
  .gimmicks { display: flex; flex-wrap: wrap; gap: 8px; }
  .gimmicks .chip { background: var(--panel); }

  /* 트릭 레퍼런스 그리드 */
  .trickgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
  .trickitem { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; }
  .trickitem__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
  .trickitem__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--ice) 15%, var(--panel)); color: var(--ice-deep); }
  .trickitem__ic svg { width: 22px; height: 22px; }
  .trickitem__mult { font-family: var(--disp); font-style: italic; font-weight: 800; color: var(--sunset); font-size: 1.1rem; }
  .trickitem h3 { font-size: 1.1rem; }
  .trickitem p { color: var(--mute); font-size: .88rem; margin: 4px 0 10px; }
  .trickitem__keys { display: flex; flex-wrap: wrap; gap: 6px; }
  .trickitem__keys span { font-size: .74rem; font-weight: 800; padding: 4px 9px; border-radius: 7px; background: var(--panel-2); border: 1px solid var(--line); }

  /* 콤보 계산 예시 */
  .comboex { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 14px; }
  .comboex li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; }
  .comboex .seq { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 12px; }
  .comboex .seq span { font-size: .78rem; font-weight: 800; padding: 5px 9px; border-radius: 8px; background: var(--panel-2); border: 1px solid var(--line); }
  .comboex .total { font-family: var(--disp); font-style: italic; font-weight: 800; font-size: 1.5rem; color: var(--ice-deep); }
  .comboex .total small { font-size: .78rem; color: var(--mute); font-weight: 600; font-style: normal; font-family: var(--body); }

  /* leaderboard 시즌 */
  .seasonbox { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 8px; overflow: hidden; }
  .seasonbox__art img { width: 100%; height: 100%; border-radius: calc(var(--r-lg) - 8px); object-fit: cover; aspect-ratio: 16/10; }
  .seasonbox__body { padding: 22px 26px; }
  .seasonbox__body h2 { font-size: clamp(1.5rem,3vw,2rem); margin-bottom: 10px; }
  .seasonbox__body p { color: var(--mute); margin-bottom: 16px; }
  .season-rewards { display: grid; gap: 10px; }
  .season-rewards li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
  .season-rewards svg { width: 20px; height: 20px; color: var(--mint); flex: none; }
  .countdown { display: flex; gap: 12px; margin-top: 8px; }
  .countdown div { background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 14px; text-align: center; min-width: 62px; }
  .countdown b { display: block; font-family: var(--disp); font-style: italic; font-size: 1.5rem; color: var(--ice-deep); }
  .countdown span { font-size: .72rem; color: var(--mute); font-weight: 600; }

  /* metric 스트립 (카운트업) */
  .metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
  .metric { text-align: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px 16px; }
  .metric b { display: block; font-family: var(--disp); font-style: italic; font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--ice-deep); }
  .metric span { font-size: .86rem; color: var(--mute); font-weight: 600; }

  /* FAQ */
  .faq { display: grid; gap: 12px; }
  .faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
  .faq summary { padding: 18px 20px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; list-style: none; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary svg { width: 20px; height: 20px; color: var(--ice-deep); transition: transform .2s; flex: none; }
  .faq details[open] summary svg { transform: rotate(90deg); }
  .faq p { padding: 0 20px 20px; color: var(--mute); margin: 0; }

  /* start / 사전등록 */
  .start-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
  .start-hero__phone { justify-self: center; }
  .prereg {
    background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: 28px; box-shadow: var(--shadow-sm); max-width: 460px;
  }
  .prereg h2 { font-size: 1.5rem; margin-bottom: 6px; }
  .prereg p { color: var(--mute); font-size: .92rem; margin-bottom: 18px; }
  .field { margin-bottom: 14px; }
  .field label { display: block; font-weight: 700; font-size: .86rem; margin-bottom: 6px; }
  .field input, .field select {
    width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line);
    background: var(--panel-2); transition: border-color .15s, box-shadow .15s;
  }
  .field input:focus, .field select:focus { border-color: var(--ice); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ice) 30%, transparent); outline: none; }
  .checkline { display: flex; gap: 9px; align-items: flex-start; font-size: .84rem; color: var(--mute); margin-bottom: 16px; }
  .checkline input { margin-top: 3px; flex: none; width: 18px; height: 18px; accent-color: var(--ice-deep); }
  .checkline button { color: var(--ice-deep); text-decoration: underline; font-size: inherit; }
  .prereg__ok {
    display: none; text-align: center; padding: 20px;
  }
  .prereg__ok svg { width: 54px; height: 54px; color: var(--mint); margin: 0 auto 12px; }
  .prereg__ok h2 { color: var(--ink); }
  .prereg.is-done form { display: none; }
  .prereg.is-done .prereg__ok { display: block; animation: pop .3s ease; }

  .store-cta { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 16px; margin-top: 8px; }
  .store-cta__card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
  .store-cta__card h3 { font-size: 1.1rem; }
  .store-cta__card p { color: var(--mute); font-size: .88rem; }

  /* ── 푸터 ── */
  .foot { background: var(--deep); color: #cdddf0; padding-top: clamp(44px, 7vh, 72px); }
  .foot__in { width: min(100% - 40px, var(--wrap)); margin-inline: auto; display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; padding-bottom: 40px; }
  .foot .brand__word--dk { color: #fff; }
  .foot__tag { margin: 14px 0 18px; color: #9fb8d4; max-width: 34ch; font-size: .94rem; }
  .foot__social { display: flex; gap: 10px; }
  .foot__social a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #cdddf0; transition: background .15s, color .15s, transform .15s; }
  .foot__social a:hover { background: var(--ice-deep); color: #fff; transform: translateY(-2px); }
  .foot__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .foot__col h3 { font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: #7f9bbd; margin-bottom: 14px; }
  .foot__col ul { display: grid; gap: 10px; }
  .foot__col a, .foot__col span { display: inline-flex; align-items: flex-start; gap: 8px; color: #cdddf0; font-size: .92rem; }
  .foot__col a:hover { color: var(--ice); }
  .foot__col .ico { width: 16px; height: 16px; color: var(--ice); flex: none; margin-top: 3px; fill: none; stroke: currentColor; }
  .foot__legal { border-top: 1px solid #22344c; padding: 22px 0; }
  .foot__legal p { width: min(100% - 40px, var(--wrap)); margin-inline: auto; color: #8fa8c6; font-size: .82rem; line-height: 1.7; }
  .foot__copy { margin-top: 8px !important; color: #6f89aa !important; }

  /* 404 */
  .err { min-height: 74svh; display: grid; place-items: center; text-align: center; padding-block: 60px; }
  .err__code { font-family: var(--disp); font-style: italic; font-weight: 800; font-size: clamp(5rem, 20vw, 11rem); line-height: .9; color: var(--ice-deep); }
  .err h1 { font-size: clamp(1.4rem, 4vw, 2rem); margin: 10px 0 12px; }
  .err p { color: var(--mute); margin-bottom: 24px; }
  .err__links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
}

@layer util {
  .center { text-align: center; }
  .mt-s { margin-top: 12px; } .mt-m { margin-top: 24px; } .mt-l { margin-top: 40px; }
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

  /* 반응형 */
  @media (max-width: 940px) {
    .hero__grid, .trick, .custom, .crew, .start-hero, .coursefull__item, .seasonbox { grid-template-columns: 1fr; }
    .coursefull__item:nth-child(even) .coursefull__art { order: 0; }
    .hero__art { order: -1; }
    .scorebar, .metrics { grid-template-columns: repeat(2, 1fr); }
    .crew__facts { grid-template-columns: repeat(3,1fr); }
  }
  @media (max-width: 760px) {
    .nav, .topbar__cta { display: none; }
    .hamb { display: flex; }
    .snap-sec--full { min-height: auto; }
  }
  @media (max-width: 460px) {
    .scorebar, .metrics { grid-template-columns: 1fr; }
    .badges img { height: 46px; }
  }
}
