:root {
  /*
  Design DNA (이번 생성용 – 고정)
  스타일 프리셋: Crisp Tech Launchpad
  컬러 전략: Midnight Navy Base + Carrot Orange Accent + Ice White Highlights
  레이아웃 패턴: Hero Spotlight + Diagonal Section Cuts
  섹션 순서 템플릿: Header → Hero → Mobile Game Highlights → Services → About → Contact/Location → Business Info → Footer
  아이콘 스타일: Tech Outline Icon (SVG, consistent stroke, slightly angular)
  배경 패턴: Subtle Radial Grid + Particle Dots (SVG)
  */
  --navy-900: #0b1220;
  --navy-800: #111a2e;
  --navy-700: #18243d;
  --ice-100: #f4f7fb;
  --ice-200: #e7edf6;
  --carrot-500: #ff7a2f;
  --carrot-600: #e6651f;
  --text-main: #f8fbff;
  --text-muted: #c6d2e6;
  --shadow-1: 0 14px 30px rgba(5, 10, 20, 0.35);
  --radius-1: 18px;
  --radius-2: 10px;
  --grid: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", Arial, sans-serif;
  background: var(--navy-900);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  padding-left: 1.1rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--carrot-500);
  color: #1a1a1a;
  padding: 0.6rem 1rem;
  border-radius: 0 0 6px 6px;
  z-index: 10;
}

.skip-link:focus {
  left: 1rem;
}

.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

.section {
  padding: 5.5rem 0;
  position: relative;
  background: var(--navy-900);
}

.section-cut::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(255, 122, 47, 0.16), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.05), transparent 45%),
    var(--grid);
  background-size: 80px 80px, 120px 120px, 42px 42px;
  opacity: 0.6;
  z-index: 0;
}

.section-cut::after {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -60px;
  height: 120px;
  background: var(--navy-800);
  transform: skewY(-3deg);
  z-index: 0;
}

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

.section-title {
  max-width: 760px;
  margin-bottom: 2rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--carrot-500);
  font-weight: 700;
}

.lead {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 18, 32, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
}

.site-header.shrink {
  padding: 0.2rem 0;
  background: rgba(11, 18, 32, 0.98);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.site-nav a {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ice-100);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ice-100);
  transition: transform 0.3s ease;
}

.hero {
  padding: 6rem 0 7rem;
  background: linear-gradient(130deg, #0b1220 0%, #141f36 45%, #0b1220 100%);
}

.hero-inner {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 3vw + 1rem, 3.4rem);
  line-height: 1.15;
}

.hero-media {
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.45));
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.primary {
  background: var(--carrot-500);
  color: #1a1a1a;
  box-shadow: 0 10px 20px rgba(255, 122, 47, 0.3);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  background: var(--carrot-600);
  transform: translateY(-2px);
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--ice-100);
}

.btn.ghost:hover,
.btn.ghost:focus-visible {
  border-color: var(--carrot-500);
  color: var(--carrot-500);
}

.btn.small {
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
  margin-top: 1rem;
}

.card-grid {
  display: grid;
  gap: 1.5rem;
}

.highlight-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: rgba(17, 26, 46, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-1);
  padding: 1.6rem;
  box-shadow: var(--shadow-1);
}

.card h3 {
  margin-top: 0.4rem;
  margin-bottom: 0.6rem;
}

.card .tag {
  font-size: 0.75rem;
  color: var(--carrot-500);
  font-weight: 700;
}

.card-sub {
  color: var(--text-muted);
}

.card-detail {
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
  color: var(--text-muted);
}

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

.service-card {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.service-card svg {
  width: 36px;
  height: 36px;
  stroke: var(--carrot-500);
  stroke-width: 1.6;
  fill: none;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: center;
}

.about-panel {
  background: rgba(11, 18, 32, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-1);
  padding: 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: start;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.info-card {
  background: rgba(17, 26, 46, 0.8);
  border-radius: var(--radius-2);
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-form {
  background: rgba(17, 26, 46, 0.85);
  border-radius: var(--radius-1);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(9, 15, 26, 0.8);
  color: var(--ice-100);
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible,
.btn:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--carrot-500);
  outline-offset: 2px;
}

.form-status {
  min-height: 1.2rem;
  color: var(--carrot-500);
}

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

.site-footer {
  padding: 2rem 0 3rem;
  background: #0a111f;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.to-top {
  color: var(--carrot-500);
}

.muted {
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .site-nav {
    position: absolute;
    top: 70px;
    right: 5%;
    background: rgba(11, 18, 32, 0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.4rem;
    border-radius: var(--radius-2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 5rem;
  }

  .section {
    padding: 4.2rem 0;
  }

  .header-inner {
    padding: 0.8rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

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

.section-title,
.card,
.about-panel,
.contact-form {
  animation: fadeUp 0.8s ease both;
}
