/*
Design DNA (이번 생성용 – 고정)
스타일 프리셋: Premium Stellar Studio
컬러 전략: Deep Space Black Base + Vega Gold Accent + Cool White Highlights
레이아웃 패턴: Centered Hero + Star Map Sections
섹션 순서 템플릿: Header → Hero → Wired Online Game Dev → Services → About → Contact/Location → Business Info → Footer
아이콘 스타일: Refined Line Icon (SVG, elegant, consistent stroke)
배경 패턴: Subtle Star Map Grid (SVG, ultra low contrast)
*/

:root {
  --black-base: #0b0d12;
  --black-deep: #07080b;
  --white-cool: #f4f7fb;
  --white-muted: #cbd2dd;
  --gold: #c8a75a;
  --gold-soft: rgba(200, 167, 90, 0.2);
  --line: rgba(244, 247, 251, 0.12);
  --line-strong: rgba(244, 247, 251, 0.2);
  --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1200px;
  --star-map: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.06)' stroke-width='1'%3E%3Cpath d='M0 55h220M0 110h220M0 165h220'/%3E%3Cpath d='M55 0v220M110 0v220M165 0v220'/%3E%3C/g%3E%3Cg fill='rgba(200,167,90,0.15)'%3E%3Ccircle cx='28' cy='42' r='1.2'/%3E%3Ccircle cx='180' cy='90' r='1.4'/%3E%3Ccircle cx='140' cy='160' r='1'/%3E%3C/g%3E%3C/svg%3E");
  --font: "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--white-cool);
  background: radial-gradient(circle at top, #111422, var(--black-base) 55%);
  line-height: 1.6;
  letter-spacing: 0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--gold);
  color: #121212;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 1000;
}

.skip-link:focus {
  left: 12px;
}

.container {
  width: min(92vw, var(--container));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
  position: relative;
  background-image: var(--star-map);
  background-size: 220px;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 8, 11, 0.35), rgba(7, 8, 11, 0.65));
  pointer-events: none;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 2vw, 2.6rem);
  margin: 0 0 12px;
}

.section-head p {
  margin: 0;
  color: var(--white-muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(7, 8, 11, 0.6);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
}

.site-header.shrink {
  background: rgba(7, 8, 11, 0.85);
  padding: 4px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.brand-name {
  text-transform: uppercase;
  font-size: 0.9rem;
}

.logo {
  width: 46px;
  height: auto;
}

.nav {
  display: flex;
  gap: 22px;
  font-size: 0.95rem;
}

.nav a {
  position: relative;
  padding-bottom: 6px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 12px;
  cursor: pointer;
}

.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white-cool);
  margin: 4px 0;
}

.hero {
  padding: 120px 0 80px;
  background: radial-gradient(circle at top, rgba(20, 24, 40, 0.9), var(--black-deep) 65%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--star-map);
  opacity: 0.35;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  gap: 48px;
  z-index: 1;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 3vw, 3.4rem);
  margin: 0 0 18px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  color: var(--gold);
  margin-bottom: 14px;
}

.lead {
  color: var(--white-muted);
  max-width: 520px;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.3s ease;
}

.btn-primary {
  background: var(--gold);
  color: #181818;
}

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

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--white-cool);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.hero-meta {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.tag {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.75rem;
  color: var(--white-muted);
}

.hero-art img {
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35));
}

.section-wired .wired-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.wired-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(8, 10, 16, 0.8);
  box-shadow: var(--shadow-soft);
}

.icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.line-icon {
  width: 28px;
  height: 28px;
  stroke: var(--gold);
  stroke-width: 1.5;
  fill: none;
}

.text-btn {
  background: none;
  border: none;
  color: var(--gold);
  font-size: 0.85rem;
  padding: 0;
  margin-top: 10px;
  cursor: pointer;
}

.more-content {
  color: var(--white-muted);
  margin-top: 10px;
}

.diagram {
  margin-top: 48px;
}

.section-services .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.service-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
  background: rgba(9, 11, 18, 0.7);
}

.service-card h3 {
  margin: 10px 0 8px;
  font-size: 1rem;
}

.service-card p {
  margin: 0;
  color: var(--white-muted);
  font-size: 0.92rem;
}

.section-about .about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.about-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
  background: rgba(8, 10, 16, 0.7);
}

.section-contact .contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px;
  background: rgba(8, 10, 16, 0.8);
}

.info-list {
  padding-left: 18px;
  color: var(--white-muted);
}

.status-block p {
  margin: 0 0 8px;
  color: var(--white-muted);
}

form label {
  display: block;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

input,
textarea {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(8, 10, 14, 0.7);
  color: var(--white-cool);
}

.form-status {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--gold);
}

.section-business .business-list {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px;
  background: rgba(8, 10, 16, 0.8);
}

.business-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
}

.business-list dt {
  color: var(--gold);
  font-weight: 600;
}

.business-list dd {
  margin: 0;
  color: var(--white-muted);
}

.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  background: var(--black-deep);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}

.small {
  font-size: 0.85rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 880px) {
  .nav {
    position: absolute;
    top: 100%;
    right: 4%;
    background: rgba(7, 8, 11, 0.95);
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    padding: 16px 18px;
    display: none;
    flex-direction: column;
    gap: 12px;
    min-width: 220px;
  }

  .nav.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
  }

  .hero {
    padding-top: 100px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding: 12px 0;
  }

  .business-list div {
    grid-template-columns: 1fr;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-head,
.wired-card,
.service-card,
.about-item,
.contact-card,
.business-list {
  animation: fadeUp 0.6s ease both;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
