@font-face {
  font-family: "Pretendard Fallback";
  src: local("Apple SD Gothic Neo"), local("Malgun Gothic"), local("system-ui");
  size-adjust: 100%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}

:root {
  color-scheme: dark;
  --bg: #0a0d14;
  --bg-deep: #07080d;
  --panel: #11151f;
  --panel-2: #1a2030;
  --line: #2a3142;
  --text: #f5f7fa;
  --muted: #9aa4b8;
  --dim: #5b6478;
  --orange: #ff8c1a;
  --gold: #ffd23f;
  --blue: #3b82f6;
  --pink: #ff5ca8;
  --green: #7bd3b5;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

html.hanana-fans-header-mounted {
  scroll-padding-top: calc(var(--hanana-fans-header-height, 44px) + 72px);
}

html.hanana-fans-header-mounted body {
  padding-top: var(--hanana-fans-header-height, 44px);
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard Variable", "Pretendard", "Pretendard Fallback", system-ui, sans-serif;
  font-feature-settings: "tnum";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 140, 26, 0.08), transparent 32%),
    linear-gradient(240deg, rgba(59, 130, 246, 0.08), transparent 36%),
    var(--bg);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    repeating-linear-gradient(115deg, transparent 0 22px, rgba(255, 255, 255, 0.025) 22px 23px),
    repeating-linear-gradient(65deg, transparent 0 32px, rgba(255, 140, 26, 0.025) 32px 33px);
}

a {
  color: inherit;
}

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

::selection {
  background: var(--gold);
  color: var(--bg-deep);
}

.shell {
  width: min(1120px, calc(100% - 40px));
  max-width: 100%;
  margin: 0 auto;
}

main,
.hero,
.hero__layout,
.hero__copy,
.hub-visual,
.hub-visual__frame {
  min-width: 0;
  max-width: 100%;
}

.hero {
  position: relative;
  min-height: 84svh;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -5;
  background:
    linear-gradient(110deg, rgba(7, 8, 13, 0.98) 0%, rgba(7, 8, 13, 0.9) 48%, rgba(7, 8, 13, 0.72) 100%),
    linear-gradient(145deg, transparent 0 56%, rgba(255, 140, 26, 0.18) 56% 57%, transparent 57% 100%),
    linear-gradient(35deg, transparent 0 62%, rgba(59, 130, 246, 0.14) 62% 63%, transparent 63% 100%),
    linear-gradient(180deg, rgba(8, 8, 13, 0.28), #0a0d14 100%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -4;
  opacity: 0.7;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, black 0%, black 55%, transparent 100%);
}

.hero__watermark {
  position: absolute;
  right: -3vw;
  bottom: -2vw;
  z-index: -3;
  color: transparent;
  font-family: "Chakra Petch", "Black Han Sans", system-ui, sans-serif;
  font-size: clamp(96px, 17vw, 260px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.8;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.055);
  text-shadow: 0 0 64px rgba(255, 140, 26, 0.08);
}

.noise {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.hero__layout {
  min-height: 84svh;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 0.82fr);
  gap: 54px;
  align-items: center;
  padding: 80px 0 88px;
}

.hero__copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-family: "Chakra Petch", "Pretendard", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Black Han Sans", "Pretendard", system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: 84px;
  line-height: 0.92;
  color: transparent;
  background: linear-gradient(180deg, #fff5c2 0%, var(--gold) 35%, #c98a1a 65%, #fff5c2 82%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 16px 34px rgba(255, 140, 26, 0.25));
}

h2 {
  font-size: 44px;
  line-height: 1.05;
}

.hero__lead {
  width: min(680px, 100%);
  margin: 22px 0 0;
  color: rgba(245, 247, 250, 0.86);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.58;
  word-break: keep-all;
}

.mobile-line {
  display: none;
}

.hero__notice {
  width: min(680px, 100%);
  margin-top: 22px;
  border: 1px solid rgba(255, 140, 26, 0.42);
  border-radius: 8px;
  background: rgba(255, 140, 26, 0.11);
  box-shadow: 0 0 0 1px rgba(255, 210, 63, 0.05), 0 18px 50px rgba(0, 0, 0, 0.22);
  padding: 14px 16px;
  color: #ffe6bf;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.55;
  word-break: keep-all;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hub-visual {
  min-width: 0;
}

.hub-visual__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(17, 21, 31, 0.86), rgba(7, 8, 13, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    0 34px 90px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(255, 140, 26, 0.08);
}

.hub-visual__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 140, 26, 0.14), transparent 34%, rgba(59, 130, 246, 0.12)),
    repeating-linear-gradient(0deg, transparent 0 8px, rgba(255, 255, 255, 0.025) 8px 9px);
  opacity: 0.72;
}

.hub-visual__topline,
.hub-visual__bottomline {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 16px;
  color: rgba(245, 247, 250, 0.72);
  font-family: "Chakra Petch", "Pretendard", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hub-visual__topline {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hub-visual__bottomline {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hub-visual__map {
  position: relative;
  z-index: 2;
  min-height: 390px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
}

.hub-core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 152px;
  height: 152px;
  transform: translate(-50%, -50%);
  place-items: center;
  border: 1px solid rgba(255, 210, 63, 0.5);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 210, 63, 0.16), rgba(255, 140, 26, 0.06)),
    rgba(7, 8, 13, 0.82);
  box-shadow:
    0 0 42px rgba(255, 140, 26, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.hub-core img {
  width: 74px;
  height: 74px;
  border-radius: 15px;
  object-fit: cover;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.36));
}

.hub-core span {
  color: var(--gold);
  font-family: "Chakra Petch", "Pretendard", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hub-line {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 180px;
  height: 1px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(255, 210, 63, 0.5), rgba(255, 255, 255, 0.05));
}

.hub-line--a {
  transform: rotate(213deg);
}

.hub-line--b {
  transform: rotate(326deg);
}

.hub-line--c {
  transform: rotate(145deg);
}

.hub-line--d {
  transform: rotate(36deg);
}

.hub-node {
  position: absolute;
  display: grid;
  width: 178px;
  min-height: 96px;
  align-content: start;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), transparent 48%),
    rgba(9, 12, 18, 0.82);
  padding: 13px;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.hub-node::after {
  content: "";
  position: absolute;
  inset: auto 12px 10px 12px;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 18px var(--accent-soft);
}

.hub-node:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.34);
}

.hub-node span {
  color: var(--accent);
  font-family: "Chakra Petch", "Pretendard", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hub-node strong {
  color: var(--text);
  font-size: 20px;
  line-height: 1.12;
  word-break: keep-all;
}

.hub-node small {
  color: rgba(245, 247, 250, 0.52);
  font-family: "Chakra Petch", "Pretendard", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.hub-node--nanacup {
  --accent: var(--orange);
  --accent-soft: rgba(255, 140, 26, 0.58);
  left: 26px;
  top: 36px;
}

.hub-node--playmarbl {
  --accent: var(--blue);
  --accent-soft: rgba(59, 130, 246, 0.58);
  right: 26px;
  top: 54px;
}

.hub-node--roulette {
  --accent: var(--pink);
  --accent-soft: rgba(255, 92, 168, 0.58);
  left: 38px;
  bottom: 42px;
}

.hub-node--card {
  --accent: var(--green);
  --accent-soft: rgba(123, 211, 181, 0.58);
  right: 34px;
  bottom: 34px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 0 20px;
  font-family: "Chakra Petch", "Pretendard", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  border: 1px solid rgba(255, 140, 26, 0.58);
  background: var(--orange);
  color: #080b12;
  box-shadow: 0 20px 48px rgba(255, 140, 26, 0.22);
}

.button--ghost {
  border: 1px solid var(--line);
  background: rgba(17, 21, 31, 0.78);
  color: var(--text);
}

.section {
  padding: 76px 0;
}

.section__head {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1.2fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 24px;
}

.section__head p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.62;
  word-break: keep-all;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.tool-card {
  position: relative;
  min-height: 214px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.06), transparent 42%),
    linear-gradient(180deg, rgba(26, 32, 48, 0.96), rgba(9, 12, 18, 0.96));
  padding: 18px;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.tool-card::before {
  content: "";
  position: absolute;
  inset: auto 18px 18px 18px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
  box-shadow: 0 0 20px var(--accent-soft);
}

.tool-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.tool-card__meta {
  display: inline-flex;
  color: var(--accent);
  font-family: "Chakra Petch", "Pretendard", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.tool-card strong {
  display: block;
  margin-top: 28px;
  color: var(--text);
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: 0;
}

.tool-card span:last-child {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  word-break: keep-all;
}

.tool-card--orange {
  --accent: var(--orange);
  --accent-soft: rgba(255, 140, 26, 0.55);
}

.tool-card--blue {
  --accent: var(--blue);
  --accent-soft: rgba(59, 130, 246, 0.55);
}

.tool-card--pink {
  --accent: var(--pink);
  --accent-soft: rgba(255, 92, 168, 0.55);
}

.tool-card--green {
  --accent: var(--green);
  --accent-soft: rgba(123, 211, 181, 0.55);
}

.notice {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(90deg, rgba(255, 140, 26, 0.08), transparent 48%),
    rgba(7, 8, 13, 0.6);
}

.notice__inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(280px, 1.25fr);
  gap: 34px;
  align-items: center;
}

.notice__inner p:last-child {
  margin: 0;
  color: rgba(245, 247, 250, 0.84);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.75;
  word-break: keep-all;
}

.footer {
  padding: 28px 0 34px;
  color: var(--dim);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  font-weight: 700;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: "Chakra Petch", "Pretendard", system-ui, sans-serif;
  letter-spacing: 0.12em;
}

.footer__brand img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  object-fit: cover;
}

@media (max-width: 900px) {
  .hero {
    min-height: 82svh;
  }

  .hero__layout {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 82svh;
    padding: 64px 0 72px;
  }

  .hub-visual__map {
    min-height: 330px;
  }

  .hub-core {
    width: 132px;
    height: 132px;
  }

  .hub-node {
    width: 170px;
  }

  h1 {
    font-size: 62px;
  }

  h2 {
    font-size: 34px;
  }

  .section__head,
  .notice__inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(1120px, calc(100% - 28px));
  }

  h1 {
    font-size: 48px;
  }

  .hero__lead {
    font-size: 17px;
  }

  .hero__lead,
  .hero__notice,
  .section__head p:last-child,
  .notice__inner p:last-child {
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .hero__watermark {
    display: none;
  }

  .hub-visual__topline,
  .hub-visual__bottomline {
    min-height: 40px;
    justify-content: flex-start;
    padding: 0 12px;
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .hub-visual__topline span + span,
  .hub-visual__bottomline span + span {
    display: none;
  }

  .mobile-line {
    display: block;
  }

  .hub-visual__map {
    display: grid;
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
  }

  .hub-core,
  .hub-node {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    min-height: 0;
    transform: none;
  }

  .hub-core {
    display: flex;
    order: -1;
    height: 78px;
    justify-content: flex-start;
    gap: 12px;
    padding: 12px;
  }

  .hub-core img {
    width: 48px;
    height: 48px;
  }

  .hub-node {
    padding: 12px 13px 18px;
  }

  .hub-line {
    display: none;
  }

  .button {
    width: 100%;
  }

  .tool-grid {
    grid-template-columns: 1fr;
  }

  .tool-card {
    min-height: 178px;
  }

  .footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
