/* 냥트료시카 / Meowtryoshka — GitHub Pages shared stylesheet */
:root {
  --bg: #120d16;
  --bg-deep: #0a122e;
  --card: #1d1729;
  --card-warm: #271b16;
  --border: rgba(255, 216, 74, 0.24);
  --gold: #ffd84a;
  --gold-soft: #ffe899;
  --red: #e04d42;
  --blue: #3d79c9;
  --teal: #2f9d8a;
  --text: #fff7e8;
  --muted: #cbbda9;
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 196, 61, 0.14), transparent 42%),
    radial-gradient(circle at 12% 20%, rgba(61, 121, 201, 0.2), transparent 45%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 52%, #17100b 100%);
  font-family: "Apple SD Gothic Neo", "Noto Sans KR", "Hiragino Kaku Gothic ProN", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
  min-height: 100vh;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Top Navigation */
.topbar {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(12, 14, 32, 0.82);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
  padding: 12px 0;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 800; font-size: 1.15rem; color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand img {
  width: 40px; height: 40px; border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  border: 1.5px solid rgba(255, 216, 74, 0.5);
}
.nav-links {
  display: flex; align-items: center; flex-wrap: wrap; gap: 16px;
  font-size: 0.95rem; font-weight: 600;
}
.nav-links a { color: var(--muted); }
.nav-links a:hover, .nav-links a.active { color: var(--gold); text-decoration: none; }

.lang-bar {
  display: inline-flex; gap: 6px; padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.lang-btn {
  border: 0; background: transparent; color: var(--muted);
  font: inherit; font-size: 0.82rem; font-weight: 700;
  padding: 5px 11px; border-radius: 999px; cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.lang-btn.active {
  background: var(--gold); color: #24131a;
}

/* Hero */
.hero {
  padding: 54px 0 36px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 36px;
  align-items: center;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 15px; border-radius: 999px;
  background: rgba(255, 216, 74, 0.14);
  border: 1px solid rgba(255, 216, 74, 0.5);
  color: var(--gold); font-weight: 700; font-size: 0.88rem;
  margin-bottom: 14px;
}
h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.15; letter-spacing: -0.02em;
  color: #fffdf5;
}
.lead {
  margin: 0 0 24px;
  font-size: 1.08rem; color: var(--muted);
}
.cta-row {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 14px;
  font-weight: 800; font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary {
  background: linear-gradient(135deg, #ffd84a, #f59c24);
  color: #24131a;
  box-shadow: 0 10px 26px rgba(245, 156, 36, 0.3);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-color: rgba(255, 216, 74, 0.4);
}
.hero-banner {
  width: 100%; border-radius: 24px;
  border: 2.5px solid rgba(255, 216, 74, 0.55);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  display: block;
}

/* Sections */
.section { padding: 42px 0; }
.section-title {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2.8vw, 2.05rem);
  color: var(--gold-soft);
}
.section-sub { margin: 0 0 26px; color: var(--muted); }

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}
.card h3 { margin: 8px 0 8px; font-size: 1.1rem; color: #fff8e6; }
.card p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.emoji { font-size: 1.8rem; line-height: 1; }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}
.gallery img {
  width: 100%; border-radius: 16px; display: block;
  border: 1.5px solid rgba(255, 216, 74, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

/* Legal / Doc prose */
.doc-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 42px);
  margin: 28px 0 48px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.36);
}
.doc-card h1 { font-size: clamp(1.65rem, 3.2vw, 2.3rem); margin-bottom: 8px; }
.doc-card h2 {
  margin: 28px 0 10px; font-size: 1.2rem; color: var(--gold);
  border-bottom: 1px solid rgba(255, 216, 74, 0.18); padding-bottom: 6px;
}
.doc-card ul { padding-left: 20px; color: #ece0ce; }
.doc-card li { margin-bottom: 6px; }
.meta-note { color: var(--muted); font-size: 0.9rem; margin-bottom: 20px; }

.info-table {
  width: 100%; border-collapse: collapse; margin: 14px 0;
  font-size: 0.94rem;
}
.info-table th, .info-table td {
  text-align: left; padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.info-table th { color: var(--gold-soft); width: 32%; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.03);
}
.faq-item h3 { margin: 0 0 6px; font-size: 1.05rem; color: #fff8e6; }
.faq-item p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Language visibility */
[data-lang] { display: none; }
html[data-active-lang="ko"] [data-lang="ko"],
html[data-active-lang="en"] [data-lang="en"],
html[data-active-lang="ja"] [data-lang="ja"],
html[data-active-lang="es"] [data-lang="es"] {
  display: block;
}
html[data-active-lang="ko"] span[data-lang="ko"],
html[data-active-lang="en"] span[data-lang="en"],
html[data-active-lang="ja"] span[data-lang="ja"],
html[data-active-lang="es"] span[data-lang="es"] {
  display: inline;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 42px;
  color: var(--muted); font-size: 0.9rem;
}
.footer-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 14px; align-items: center;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
}
