/* =========================================================
   TURKISH DRIFT - STIL DOSYASI
   ========================================================= */

:root {
  --bg: #07080d;
  --bg-2: #0d0f18;
  --surface: rgba(20, 23, 36, 0.7);
  --border: rgba(255, 255, 255, 0.08);
  --text: #eef1f7;
  --muted: #9aa3b8;
  --primary: #ff2e63;     /* drift kirmizi-pembe */
  --primary-2: #ff6b35;   /* turuncu */
  --accent: #00e0ff;      /* neon mavi */
  --discord: #5865f2;
  --radius: 16px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Rajdhani", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, .brand-name, .stat-num {
  font-family: "Orbitron", sans-serif;
  letter-spacing: 1px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.accent { color: var(--primary); }

/* ---------- Arka plan efektleri ---------- */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
  z-index: -3;
}
.bg-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.35;
  z-index: -2;
  animation: float 14s ease-in-out infinite;
}
.glow-1 { background: var(--primary); top: -150px; left: -120px; }
.glow-2 { background: var(--accent); bottom: -200px; right: -120px; animation-delay: -7s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.15); }
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  padding: 10px 0;
  background: rgba(7, 8, 13, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 18px;
  min-height: 66px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(20, 23, 36, 0.72), rgba(10, 12, 20, 0.52));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  font-family: "Orbitron", sans-serif;
  font-weight: 900;
  font-size: 18px;
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 46, 99, 0.25), rgba(0, 224, 255, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 28px rgba(255, 46, 99, 0.22);
  overflow: hidden;
  position: relative;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
  position: relative;
  z-index: 2;
}
.brand-mark img.is-hidden { display: none; }
.brand-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}
.brand-mark img:not(.is-hidden) + .brand-fallback { opacity: 0; }
.brand-copy { display: grid; line-height: 1.1; }
.brand-name { font-size: 18px; font-weight: 700; }
.brand-sub {
  margin-top: 5px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links { display: flex; align-items: center; justify-content: center; gap: 22px; }
.nav-links a {
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a:not(.nav-cta):hover { color: var(--text); }
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  padding: 10px 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(255, 46, 99, 0.35);
}
.nav-cta:hover { transform: translateY(-2px); }

.nav-hud {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hud-chip {
  display: grid;
  min-width: 92px;
  padding: 9px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.hud-chip span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.hud-chip strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1.2;
}
.hud-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 224, 255, 0.45);
  background: rgba(0, 224, 255, 0.08);
}
.hud-connect strong { color: var(--primary-2); }
.hud-market strong { color: var(--accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span {
  width: 26px; height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-smoke {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 80%, rgba(255, 107, 53, 0.18), transparent),
    radial-gradient(ellipse 50% 40% at 20% 70%, rgba(0, 224, 255, 0.12), transparent);
  z-index: -1;
}
.hero-inner { text-align: center; }

.hero-badge {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  backdrop-filter: blur(8px);
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 26px;
  animation: fadeUp 0.6s ease both;
}

.hero-title {
  font-size: clamp(44px, 9vw, 110px);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 20px;
  animation: fadeUp 0.6s 0.1s ease both;
}
.glitch {
  background: linear-gradient(135deg, #fff 30%, var(--primary) 70%, var(--primary-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  text-shadow: 0 0 40px rgba(255, 46, 99, 0.3);
}

.hero-slogan {
  font-size: clamp(18px, 2.6vw, 26px);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
  animation: fadeUp 0.6s 0.2s ease both;
}
.hero-desc {
  max-width: 620px;
  margin: 0 auto 38px;
  color: var(--muted);
  font-size: 18px;
  animation: fadeUp 0.6s 0.3s ease both;
}

/* ---------- Canli sunucu durumu ---------- */
.live-status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 18px;
  margin: 0 auto 30px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(10px);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.4px;
  animation: fadeUp 0.6s 0.35s ease both;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.live-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--muted);
  flex-shrink: 0;
  position: relative;
}
.live-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid transparent;
}
.live-text { color: var(--text); }
.live-players {
  color: var(--accent);
  font-weight: 700;
  padding-left: 12px;
  border-left: 1px solid var(--border);
}
.live-players:empty { display: none; }

/* Online */
.live-status.online { border-color: rgba(34, 197, 94, 0.45); box-shadow: 0 0 24px rgba(34, 197, 94, 0.18); }
.live-status.online .live-dot { background: #22c55e; box-shadow: 0 0 10px #22c55e; }
.live-status.online .live-dot::after { border-color: rgba(34, 197, 94, 0.5); animation: pulseRing 1.8s ease-out infinite; }
.live-status.online .live-text { color: #22c55e; }

/* Yukleniyor */
.live-status.loading .live-dot { background: var(--accent); animation: blink 1s ease-in-out infinite; }

/* Offline / alinamiyor */
.live-status.offline { border-color: rgba(255, 46, 99, 0.35); }
.live-status.offline .live-dot { background: var(--primary); }
.live-status.offline .live-text { color: var(--muted); }

@keyframes pulseRing {
  0% { transform: scale(0.8); opacity: 0.9; }
  100% { transform: scale(1.8); opacity: 0; }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.4s ease both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 12px;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn::before {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.btn:hover::before { left: 140%; }
.btn > * { position: relative; z-index: 1; }
.btn-ico { font-size: 20px; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 10px 30px rgba(255, 46, 99, 0.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(255, 46, 99, 0.55); }
.btn-discord {
  background: var(--discord);
  color: #fff;
  box-shadow: 0 10px 30px rgba(88, 101, 242, 0.4);
}
.btn-discord:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(88, 101, 242, 0.55); }

.ip-copy {
  margin: 40px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  border: 1px dashed var(--border);
  border-radius: 12px;
  background: var(--surface);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: border-color 0.2s ease;
  animation: fadeUp 0.6s 0.5s ease both;
}
.ip-copy:hover { border-color: var(--accent); }
.ip-label { font-size: 11px; letter-spacing: 2px; color: var(--accent); font-weight: 700; }
.ip-copy code { font-family: "Rajdhani", monospace; font-size: 16px; color: var(--text); font-weight: 600; }
.ip-copy-ico { opacity: 0.6; }

.scroll-hint {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid var(--border);
  border-radius: 14px;
}
.scroll-hint span {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; top: 8px; }
  40% { opacity: 1; }
  100% { opacity: 0; top: 22px; }
}

/* ---------- Stats ---------- */
.stats { padding: 40px 0; position: relative; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-card {
  text-align: center;
  padding: 32px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.stat-card:hover { transform: translateY(-6px); border-color: var(--primary); }
.stat-num {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), #fff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label { color: var(--muted); font-weight: 600; margin-top: 8px; text-transform: uppercase; letter-spacing: 1px; font-size: 14px; }

/* ---------- Section genel ---------- */
.section { padding: 100px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(13, 15, 24, 0.6), transparent); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 4px;
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-title { font-size: clamp(30px, 5vw, 48px); font-weight: 900; margin-bottom: 14px; }
.section-sub { color: var(--muted); font-size: 18px; }

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.feature-card:hover { transform: translateY(-8px); border-color: rgba(255, 46, 99, 0.4); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-ico {
  font-size: 32px;
  margin-bottom: 18px;
  width: 64px; height: 64px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 46, 99, 0.15), rgba(0, 224, 255, 0.12));
  border: 1px solid var(--border);
  transition: transform 0.3s ease;
}
.feature-card:hover .feature-ico { transform: scale(1.08) rotate(-4deg); }
.feature-card h3 { font-size: 20px; margin-bottom: 10px; }
.feature-card p { color: var(--muted); }

/* ---------- Market ---------- */
.market-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin: -26px 0 28px;
  flex-wrap: wrap;
}
.market-status {
  color: var(--muted);
  font-weight: 600;
}
.market-profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(0, 224, 255, 0.35);
  color: var(--accent);
  background: rgba(0, 224, 255, 0.08);
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.market-profile:hover { transform: translateY(-2px); border-color: var(--accent); }
.market-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.market-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    var(--surface);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.market-card::before {
  content: "";
  position: absolute;
  inset: auto -40px -70px auto;
  width: 170px; height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 46, 99, 0.24), transparent 65%);
}
.market-card:hover { transform: translateY(-8px); border-color: rgba(0, 224, 255, 0.45); }
.market-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}
.market-tag,
.market-source {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.market-tag { background: rgba(255, 46, 99, 0.14); color: var(--primary); }
.market-source { background: rgba(0, 224, 255, 0.1); color: var(--accent); }
.market-card h3 {
  min-height: 58px;
  font-size: 21px;
  line-height: 1.35;
  margin-bottom: 18px;
}
.market-price {
  font-family: "Orbitron", sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 22px;
  text-shadow: 0 0 24px rgba(255, 46, 99, 0.28);
}
.market-buy {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  padding: 13px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(255, 46, 99, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.market-buy:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(255, 46, 99, 0.45); }

/* ---------- Staff ---------- */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.staff-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.staff-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.staff-avatar {
  width: 60px; height: 60px;
  flex-shrink: 0;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: "Orbitron", sans-serif;
  font-weight: 900;
  font-size: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}
.staff-info h3 { font-size: 18px; font-family: "Rajdhani", sans-serif; font-weight: 700; }
.staff-info p { color: var(--primary); font-weight: 600; font-size: 14px; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-ph {
  width: 100%; height: 100%;
  display: grid;
  place-items: center;
  font-size: 48px;
  background: linear-gradient(135deg, rgba(255, 46, 99, 0.18), rgba(0, 224, 255, 0.18));
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px;
  font-weight: 700;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  transform: translateY(8px);
  opacity: 0;
  transition: 0.3s ease;
}
.gallery-item:hover .gallery-cap { transform: translateY(0); opacity: 1; }

/* ---------- Rules ---------- */
.rules-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.rule-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  background: var(--surface);
  backdrop-filter: blur(8px);
  font-weight: 500;
  transition: transform 0.2s ease;
}
.rule-item:hover { transform: translateX(6px); }
.rule-num {
  font-family: "Orbitron", sans-serif;
  font-weight: 900;
  font-size: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

/* ---------- CTA Band ---------- */
.cta-band {
  padding: 90px 0;
  text-align: center;
  background:
    radial-gradient(ellipse at center, rgba(255, 46, 99, 0.15), transparent 70%);
}
.cta-inner h2 { font-size: clamp(28px, 5vw, 46px); font-weight: 900; margin-bottom: 12px; }
.cta-inner p { color: var(--muted); font-size: 18px; margin-bottom: 32px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding-top: 50px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-tag { color: var(--muted); font-size: 14px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-weight: 600; transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.footer-note { opacity: 0.6; font-size: 12px; margin-top: 6px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 30px; left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 14px 26px;
  background: #16a34a;
  color: #fff;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  transition: 0.35s ease;
  z-index: 200;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ---------- Reveal animasyon ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-inner { grid-template-columns: auto 1fr auto; }
  .nav-hud { display: none; }
  .features-grid, .market-grid, .staff-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
    min-height: 62px;
  }
  .brand-mark { width: 50px; height: 50px; }
  .brand-sub { display: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 82px; right: 4%;
    width: 250px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 26px;
    background: rgba(7, 8, 13, 0.97);
    backdrop-filter: blur(16px);
    border-left: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    border-radius: 0 0 0 16px;
    transform: translateX(110%);
    transition: transform 0.3s ease;
    height: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 520px) {
  .brand-name { font-size: 15px; }
  .features-grid, .market-grid, .staff-grid, .gallery-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .ip-copy { flex-wrap: wrap; justify-content: center; }
}
