/* === Reset & Base === */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    'Noto Sans KR', 'Malgun Gothic', sans-serif;
  background: #1A1A1A;
  color: #E8E8E8;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: #FFD700; text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Top Nav === */
.topnav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 215, 0, 0.12);
}
.topnav__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.topnav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FFD700;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.05em;
}
.topnav__brand img { width: 28px; height: 28px; border-radius: 6px; }
.topnav__brand:hover { text-decoration: none; }
.topnav__links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.topnav__links a {
  color: #C8C8C8;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.topnav__links a:hover { color: #FFD700; text-decoration: none; }
.topnav__links a.is-active { color: #FFD700; }

/* === Hero === */
.hero {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 215, 0, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 70% 80%, rgba(255, 69, 0, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, #0F0F0F 0%, #1A1A1A 100%);
  padding: 96px 0 80px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 215, 0, 0.15);
}

.hero__logo {
  width: 128px;
  height: 128px;
  margin: 0 auto 28px;
  border-radius: 28px;
  box-shadow: 0 12px 40px rgba(255, 215, 0, 0.25),
    0 0 0 1px rgba(255, 215, 0, 0.2) inset;
}

.hero__title {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 900;
  color: #FFD700;
  letter-spacing: 0.08em;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
  margin-bottom: 12px;
}

.hero__tagline {
  font-size: clamp(18px, 2.5vw, 22px);
  color: #FFFFFF;
  font-weight: 600;
  margin-bottom: 8px;
}

.hero__subtagline {
  font-size: clamp(14px, 1.8vw, 16px);
  color: #A0A0A0;
  margin-bottom: 32px;
}

.hero__cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

.badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.badge--beta {
  background: rgba(255, 215, 0, 0.12);
  color: #FFD700;
  border: 1px solid rgba(255, 215, 0, 0.4);
}

/* === Sections === */
.section { padding: 80px 0; }
.section--alt { background: #0F0F0F; }
.section--cta { text-align: center; }

.section__title {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  color: #FFD700;
  margin-bottom: 24px;
  text-align: center;
}

.section__lead {
  font-size: clamp(15px, 1.8vw, 17px);
  color: #C8C8C8;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 16px;
  line-height: 1.8;
}

/* === Feature grid === */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 16px;
}

.feature {
  background: #2A2A2A;
  border: 1px solid rgba(255, 215, 0, 0.12);
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.feature__icon { font-size: 36px; margin-bottom: 12px; }

.feature__title {
  font-size: 18px;
  font-weight: 700;
  color: #FFD700;
  margin-bottom: 10px;
}

.feature__desc {
  font-size: 14px;
  color: #B8B8B8;
  line-height: 1.7;
}

/* === Roadmap === */
.roadmap {
  list-style: none;
  max-width: 520px;
  margin: 0 auto;
}

.roadmap li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #C8C8C8;
  position: relative;
  padding-left: 28px;
}

.roadmap li:last-child { border-bottom: none; }

.roadmap li::before {
  content: '⏳';
  position: absolute;
  left: 0;
  top: 14px;
}

/* === Footer === */
.footer {
  background: #0A0A0A;
  border-top: 1px solid rgba(255, 215, 0, 0.15);
  padding: 36px 0;
  margin-top: 40px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__brand { display: flex; flex-direction: column; gap: 4px; }
.footer__brand strong { color: #FFD700; font-size: 16px; }
.footer__studio { font-size: 12px; color: #707070; }

.footer__nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__nav a {
  color: #B0B0B0;
  font-size: 13px;
  transition: color 0.2s;
}
.footer__nav a:hover { color: #FFD700; text-decoration: none; }

.link { font-weight: 600; }

/* === Article (privacy / deletion 페이지 공용) === */
.article { padding: 60px 0; }
.article__title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  color: #FFD700;
  margin-bottom: 8px;
}
.article__updated { color: #707070; font-size: 13px; margin-bottom: 32px; }
.article h2 {
  font-size: 20px;
  color: #FFD700;
  margin-top: 32px;
  margin-bottom: 12px;
  font-weight: 700;
}
.article h3 {
  font-size: 16px;
  color: #FFFFFF;
  margin-top: 20px;
  margin-bottom: 8px;
  font-weight: 600;
}
.article p, .article li {
  color: #C8C8C8;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 12px;
}
.article ul, .article ol { padding-left: 24px; margin-bottom: 16px; }
.article a:not(.btn) { color: #FFD700; }
.article .back {
  display: inline-block;
  margin-bottom: 24px;
  color: #B0B0B0;
  font-size: 14px;
}

@media (max-width: 600px) {
  .hero { padding: 64px 0 48px; }
  .section { padding: 56px 0; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .topnav__inner { gap: 8px; }
  .topnav__links { gap: 16px; }
  .topnav__links a { font-size: 13px; }
}

/* === Audio panel (floating BGM toggle) === */
.audio-panel {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 8px;
}
.audio-panel__toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 215, 0, 0.5);
  background: rgba(15, 15, 15, 0.9);
  color: #FFD700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, box-shadow 0.2s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.audio-panel__toggle:hover {
  transform: scale(1.06);
  box-shadow: 0 4px 18px rgba(255, 215, 0, 0.35);
}
.audio-panel__svg-on { display: none; }
.audio-panel__svg-off { display: block; }
.audio-panel.is-playing .audio-panel__svg-on { display: block; }
.audio-panel.is-playing .audio-panel__svg-off { display: none; }

.audio-panel__meta {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 0 14px 0 12px;
  height: 36px;
  border-radius: 999px;
  background: rgba(15, 15, 15, 0.9);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: #E8E8E8;
  font-size: 12px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.audio-panel.is-playing .audio-panel__meta { display: flex; }
.audio-panel__title { color: #C8C8C8; }
.audio-panel__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFD700;
  animation: bgm-pulse 1.5s ease-in-out infinite;
}
@keyframes bgm-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.4); opacity: 1; }
}
.audio-panel__skip {
  width: 22px;
  height: 22px;
  border: none;
  background: none;
  color: #888;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
}
.audio-panel__skip:hover { color: #FFD700; }

@media (max-width: 600px) {
  .audio-panel { bottom: 12px; right: 12px; }
  .audio-panel__meta { display: none !important; }
}

/* === Download page === */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.download-card {
  background: #2A2A2A;
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}
.download-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 215, 0, 0.4);
}
.download-card__platform {
  font-size: 13px;
  color: #888;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.download-card__title {
  font-size: 22px;
  color: #FFD700;
  font-weight: 700;
  margin-bottom: 6px;
}
.download-card__status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}
.download-card__status--beta {
  background: rgba(255, 215, 0, 0.12);
  color: #FFD700;
  border: 1px solid rgba(255, 215, 0, 0.4);
}
.download-card__status--soon {
  background: rgba(160, 160, 160, 0.1);
  color: #A0A0A0;
  border: 1px solid rgba(160, 160, 160, 0.3);
}
.download-card__desc {
  color: #B0B0B0;
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 18px;
}
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn--primary {
  background: #FFD700;
  color: #1A1A1A;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}
.btn--primary:hover { box-shadow: 0 10px 30px rgba(255, 215, 0, 0.45); }
.btn--secondary {
  background: transparent;
  color: #FFD700;
  border: 1px solid rgba(255, 215, 0, 0.5);
}
.btn--disabled {
  background: rgba(160, 160, 160, 0.15);
  color: #707070;
  pointer-events: none;
}

.steps {
  list-style: none;
  counter-reset: step;
  max-width: 640px;
  margin: 24px auto 0;
}
.steps li {
  position: relative;
  padding: 14px 14px 14px 56px;
  margin-bottom: 12px;
  background: #2A2A2A;
  border-left: 3px solid #FFD700;
  border-radius: 0 12px 12px 0;
  counter-increment: step;
  color: #C8C8C8;
  font-size: 14px;
  line-height: 1.7;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #FFD700;
  color: #1A1A1A;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps strong { color: #FFD700; }

.join-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.join-option {
  background: #2A2A2A;
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 14px;
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
}
.join-option__tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #888;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.join-option h3 {
  font-size: 18px;
  color: #FFD700;
  margin-bottom: 8px;
  font-weight: 700;
}
.join-option p {
  flex: 1;
  color: #C0C0C0;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.join-option .btn { align-self: flex-start; }

.req-table {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
  font-size: 14px;
}
.req-table th, .req-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.req-table th {
  color: #888;
  font-weight: 600;
  width: 40%;
}
.req-table td { color: #E0E0E0; }

