@font-face {
  font-family: "MemomentKkukkukk";
  src: url('/assets/fonts/memoment-kkukkukk/memoment-kkukkukk.ttf') format('truetype');
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: "MemomentKkukkukk", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: #fff;
  background: #05091d;
  --blue: #0524e3;
  --sky: #72e7ff;
  --gold: #ffd24a;
  --panel: rgba(12, 24, 66, .92);
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 50% 0, #17326f, transparent 42rem), #05091d; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  height: 70px;
  padding: 0 clamp(18px, 5vw, 76px);
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(114,231,255,.24);
  background: rgba(5, 9, 29, .76);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 42px; height: 42px; border-radius: 12px; }
.brand strong { font-size: 20px; }
.site-nav { display: flex; gap: 22px; }
.site-nav a { color: #cbd8ff; font-size: 14px; text-decoration: none; }
.site-nav a:hover { color: #fff; }
.language-links { display: flex; align-items: center; gap: 8px; color: #91a0ca; font-size: 12px; }
.language-links a { color: #cbd8ff; text-decoration: none; }
.language-links a[aria-current="page"] { color: var(--gold); }

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: 106px clamp(22px, 7vw, 112px) 62px;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background: url('/assets/official/ghostcut-official-hero-v1.webp') 50% 48% / cover no-repeat;
}
.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(3,7,25,.94) 0%, rgba(3,7,25,.72) 38%, rgba(3,7,25,.05) 72%), linear-gradient(0deg, #05091d 0%, transparent 28%);
}
.hero-copy { width: min(560px, 100%); }
.hero-kicker { margin: 0 0 12px; color: var(--sky); font-size: 15px; letter-spacing: .12em; }
.hero h1 { margin: 0; font-size: clamp(48px, 8vw, 92px); line-height: .98; text-shadow: 0 6px 0 #151a51, 0 14px 26px #000; }
.hero h1 span { color: var(--gold); }
.hero-copy > p:not(.hero-kicker) { max-width: 470px; margin: 22px 0 0; color: #e4eaff; font-size: clamp(17px, 2vw, 22px); line-height: 1.55; }
.store-actions {
  position: absolute;
  z-index: 3;
  right: 20px;
  bottom: 92px;
  left: 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.store-button {
  display: grid;
  min-width: 190px;
  min-height: 60px;
  padding: 8px 18px 8px 58px;
  place-content: center start;
  border: 2px solid rgba(255,255,255,.82);
  border-radius: 14px;
  color: #fff;
  background: rgba(4, 8, 27, .88);
  box-shadow: 0 6px 0 rgba(0,0,0,.5);
  text-decoration: none;
  background-repeat: no-repeat;
  background-position: 17px 50%;
  background-size: 30px;
}
.store-button small { color: #aebee7; font-size: 10px; }
.store-button strong { margin-top: 2px; font-size: 16px; }
.store-button.google { background-image: url('/icons/google-g-v1.svg'); }
.store-button.apple { background-image: url('/icons/apple-logo-v1.svg'); }
.store-button.disabled { opacity: .58; cursor: not-allowed; }

.feature-strip { display: grid; width: min(1120px, calc(100% - 32px)); margin: -70px auto 76px; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; z-index: 2; }
.feature-strip article { min-height: 150px; padding: 24px; border: 2px solid rgba(114,231,255,.55); border-radius: 22px; background: var(--panel); box-shadow: inset 0 2px 0 rgba(255,255,255,.12), 0 9px 0 #03081b; }
.feature-strip b { color: var(--gold); font-size: 20px; }
.feature-strip p { margin: 10px 0 0; color: #bfcbed; font-size: 14px; line-height: 1.55; }

.site-footer { padding: 32px 20px 42px; border-top: 1px solid #233368; color: #91a0ca; text-align: center; }
.site-footer > .language-links { margin-bottom: 14px; justify-content: center; }
.footer-links { display: flex; margin-bottom: 18px; justify-content: center; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: #d9e0fa; font-size: 13px; }
.site-footer p { margin: 5px 0; font-size: 12px; }

.legal-main { width: min(820px, calc(100% - 28px)); min-height: calc(100svh - 150px); margin: 100px auto 50px; }
.legal-hero { padding: 30px; border: 2px solid #5bd9ff; border-radius: 26px 26px 0 0; background: linear-gradient(135deg, #164ed5, #4a2a9e); }
.legal-hero h1 { margin: 0; font-size: clamp(30px, 6vw, 48px); }
.legal-hero p { margin: 10px 0 0; color: #dce8ff; line-height: 1.5; }
.legal-card { padding: clamp(20px, 4vw, 38px); border: 2px solid #30447e; border-top: 0; border-radius: 0 0 26px 26px; background: #0a1435; }
.legal-card h2 { margin: 34px 0 10px; color: #fff; font-size: 21px; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card h3 { margin: 24px 0 8px; color: var(--sky); font-size: 17px; }
.legal-card p, .legal-card li { color: #c3cceb; font-size: 14px; line-height: 1.72; }
.legal-card ul, .legal-card ol { padding-left: 21px; }
.legal-card .notice { padding: 15px; border: 1px solid #ef6d8e; border-radius: 14px; color: #ffdce5; background: rgba(100,22,54,.35); }
.delete-link { display: inline-flex; min-height: 50px; margin-top: 12px; padding: 0 24px; align-items: center; justify-content: center; border-radius: 16px; color: #fff; background: linear-gradient(#f05d7a, #bb2450); box-shadow: 0 5px 0 #6d1732; font-weight: 700; text-decoration: none; }

@media (max-width: 720px) {
  .site-header { height: 60px; padding-inline: 15px; }
  .brand img { width: 36px; height: 36px; }
  .brand strong { font-size: 17px; }
  .site-nav a:not(:last-child) { display: none; }
  .language-links { gap: 6px; font-size: 11px; }
  .hero { min-height: 790px; padding: 80px 20px 178px; align-items: end; text-align: center; }
  .hero::before { background-position: 60% 50%; }
  .hero::after { background: linear-gradient(0deg, rgba(3,7,25,.98) 0%, rgba(3,7,25,.7) 46%, rgba(3,7,25,.04) 78%); }
  .hero-copy { margin-inline: auto; }
  .hero-copy > p:not(.hero-kicker) { margin-inline: auto; }
  .store-actions { bottom: 48px; justify-content: center; }
  .store-button { min-width: min(290px, 100%); }
  .feature-strip { margin-top: -24px; grid-template-columns: 1fr; }
  .legal-main { margin-top: 78px; }
}
