/* ============================================================
   Metin2 Laisie - Landing
   Dark theme with gold + emerald accents (old-school MMO vibes).
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #0a0a0f;
  color: #e7e3d6;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
img { max-width: 100%; display: block; }
code {
  font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;
  background: rgba(212, 175, 55, 0.12);
  color: #f4d27d;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.9em;
}

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

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Cinzel', serif;
  font-weight: 700;
}
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  color: #0a0a0f;
  border-radius: 8px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.5px;
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.4);
}
.brand-name {
  font-size: 19px;
  color: #f4ecd5;
  letter-spacing: 0.5px;
}
.brand-name em {
  font-style: italic;
  color: #d4af37;
  font-weight: 600;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: #c0bba8;
}
.site-nav a:hover { color: #f4d27d; }
.nav-cta, .nav-cta-secondary {
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3px;
}
.nav-cta-secondary {
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #d4af37 !important;
}
.nav-cta-secondary:hover {
  border-color: #d4af37;
  background: rgba(212, 175, 55, 0.08);
}
.nav-cta {
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  color: #0a0a0f !important;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.45);
  color: #0a0a0f !important;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  gap: 5px;
  flex-direction: column;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #f4ecd5;
  display: block;
  border-radius: 2px;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: 100px 0 120px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.4;
}
.hero-glow-1 {
  width: 480px; height: 480px;
  top: -120px; left: -100px;
  background: radial-gradient(circle, #d4af37 0%, transparent 70%);
}
.hero-glow-2 {
  width: 600px; height: 600px;
  bottom: -200px; right: -160px;
  background: radial-gradient(circle, #2d7a4e 0%, transparent 70%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero-inner { position: relative; text-align: center; max-width: 900px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(45, 122, 78, 0.15);
  border: 1px solid rgba(45, 122, 78, 0.4);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: #6fd99a;
  margin-bottom: 28px;
  letter-spacing: 0.4px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  background: #6fd99a;
  border-radius: 50%;
  box-shadow: 0 0 12px #6fd99a;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.15); }
}
.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  color: #f4ecd5;
  margin-bottom: 24px;
}
.hero-title-accent {
  background: linear-gradient(135deg, #d4af37 0%, #f4d27d 50%, #b8941f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: #b8b3a0;
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  color: #0a0a0f !important;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.5);
  color: #0a0a0f !important;
}
.btn-primary[data-state="unavailable"] {
  background: linear-gradient(135deg, #444 0%, #2c2c2c 100%);
  color: #888 !important;
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
}
.btn-secondary {
  background: transparent;
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  color: #d4af37 !important;
}
.btn-secondary:hover {
  border-color: #d4af37;
  background: rgba(212, 175, 55, 0.08);
  transform: translateY(-2px);
}
.btn-small { padding: 12px 22px; font-size: 14px; }

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.meta-num {
  font-family: 'Cinzel', serif;
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 700;
  color: #d4af37;
  line-height: 1;
}
.meta-label {
  font-size: 13px;
  color: #8d8773;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 8px;
  font-weight: 500;
}

/* ============================================================
   Section base
   ============================================================ */
.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.5px;
  text-align: center;
  margin-bottom: 14px;
  color: #f4ecd5;
}
.section-sub {
  text-align: center;
  color: #8d8773;
  font-size: 16px;
  margin-bottom: 56px;
}

/* ============================================================
   Features
   ============================================================ */
.features {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(212, 175, 55, 0.03) 50%, transparent 100%);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  padding: 32px 28px;
  background: rgba(20, 18, 15, 0.5);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 16px;
  transition: all 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.35);
  background: rgba(28, 24, 18, 0.7);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.feature-icon {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.05) 100%);
  border-radius: 12px;
  margin-bottom: 20px;
}
.feature-icon svg {
  width: 24px; height: 24px;
  color: #d4af37;
}
.feature-card h3 {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 10px;
  color: #f4ecd5;
}
.feature-card p {
  color: #b8b3a0;
  font-size: 15px;
  line-height: 1.65;
}

/* ============================================================
   Download
   ============================================================ */
.download {
  padding: 100px 0;
}
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 64px;
}
.step-card {
  padding: 36px 30px;
  background: linear-gradient(180deg, rgba(28, 24, 18, 0.5) 0%, rgba(20, 18, 15, 0.3) 100%);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.step-num {
  position: absolute;
  top: -16px;
  right: 24px;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  color: #0a0a0f;
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: 22px;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35);
}
.step-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 22px;
  font-weight: 600;
  color: #f4ecd5;
}
.step-card p {
  color: #b8b3a0;
  font-size: 15px;
  flex-grow: 1;
}
.step-card .btn {
  align-self: flex-start;
}
.sysreq {
  padding: 32px;
  background: rgba(20, 18, 15, 0.5);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 16px;
}
.sysreq h3 {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  margin-bottom: 16px;
  color: #d4af37;
}
.sysreq ul { list-style: none; }
.sysreq li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: #c0bba8;
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}
.sysreq li:last-child { border-bottom: none; }
.sysreq li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 17px;
  width: 6px; height: 6px;
  border: 1.5px solid #d4af37;
  border-bottom: none;
  border-left: none;
  transform: rotate(45deg);
}
.sysreq a {
  color: #d4af37;
  text-decoration: underline;
  text-decoration-color: rgba(212, 175, 55, 0.3);
}
.sysreq a:hover { text-decoration-color: #d4af37; }

/* ============================================================
   Status
   ============================================================ */
.status-block {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, transparent 0%, rgba(45, 122, 78, 0.04) 100%);
}
.status-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.status-card {
  padding: 24px;
  background: rgba(20, 18, 15, 0.5);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 12px;
}
.status-label {
  font-size: 13px;
  color: #8d8773;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(168, 168, 168, 0.15);
  color: #aaa;
}
.status-pill.online {
  background: rgba(45, 122, 78, 0.2);
  color: #6fd99a;
}
.status-pill.online::before {
  content: '';
  width: 6px; height: 6px;
  background: #6fd99a;
  border-radius: 50%;
  box-shadow: 0 0 8px #6fd99a;
}
.status-pill.offline {
  background: rgba(176, 60, 60, 0.18);
  color: #ff8989;
}
.status-pill.offline::before {
  content: '';
  width: 6px; height: 6px;
  background: #ff8989;
  border-radius: 50%;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  background: #06060a;
  padding: 40px 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
}
.footer-brand {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: #d4af37;
  font-size: 18px;
}
.footer-meta {
  font-size: 13px;
  color: #6e6957;
  margin-top: 6px;
}
.footer-nav {
  display: flex;
  gap: 20px;
}
.footer-nav a {
  font-size: 13px;
  color: #8d8773;
}
.footer-nav a:hover { color: #d4af37; }
.footer-tech {
  text-align: right;
  font-size: 12px;
  color: #6e6957;
}
.footer-tech a {
  color: #b8941f;
  text-decoration: underline;
  text-decoration-color: rgba(184, 148, 31, 0.3);
}
.footer-tech a:hover { text-decoration-color: #d4af37; color: #d4af37; }

/* ============================================================
   Mobile
   ============================================================ */
@media (max-width: 880px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .site-nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 10, 15, 0.98);
    padding: 16px 24px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  }
  .site-nav.open a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
  }
  .site-nav.open a:last-child { border-bottom: none; }
  .hero { padding: 60px 0 80px; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: 1fr; }
  .status-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-tech { text-align: center; }
  .footer-nav { justify-content: center; flex-wrap: wrap; }
}
