@charset "UTF-8";

/* RustInfo Website - Unified Styles */

:root {
  --bg: #0a0b0f;
  --surface: rgba(255,255,255,0.04);
  --muted: #9ca3af;
  --text: #f8fafc;
  --accent: #ff6b35;
  --accent-2: #fbbf24;
  --accent-purple: #a78bfa;
  --accent-cyan: #22d3ee;
  --border: rgba(255,255,255,0.08);
  --glow: rgba(255, 107, 53, 0.5);
}

* { 
  box-sizing: border-box; 
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  min-height: 100%;
  background-color: var(--bg);
  background-image: url('images/background.jpg');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
}

[data-theme="light"] html {
  background-image: none;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: transparent;
  position: relative;
  overflow-x: hidden;
  line-height: 1.7;
}

/* Tint + brand glow over photo */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 107, 53, 0.14), transparent),
    radial-gradient(ellipse 60% 50% at 0% 50%, rgba(167, 139, 250, 0.09), transparent),
    radial-gradient(ellipse 60% 50% at 100% 50%, rgba(34, 211, 238, 0.09), transparent),
    linear-gradient(to bottom, rgba(10, 11, 15, 0.52), rgba(10, 11, 15, 0.9));
  z-index: -1;
}

/* Floating Particles */
body::after {
  content: '';
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: 
    radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.07), transparent),
    radial-gradient(2px 2px at 60% 70%, rgba(255, 107, 53, 0.1), transparent),
    radial-gradient(1px 1px at 50% 50%, rgba(167, 139, 250, 0.08), transparent),
    radial-gradient(1px 1px at 80% 10%, rgba(34, 211, 238, 0.08), transparent),
    radial-gradient(2px 2px at 90% 60%, rgba(251, 191, 36, 0.06), transparent);
  background-size: 200% 200%;
  animation: particles 40s linear infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes particles {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

a { 
  color: var(--accent-2); 
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover { 
  color: var(--accent);
  text-shadow: 0 0 20px var(--glow);
  text-decoration: none;
}

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

/* Glassmorphic Header */
header {
  position: sticky; 
  top: 0; 
  z-index: 100;
  backdrop-filter: blur(20px) saturate(180%);
  background: rgba(10, 11, 15, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header:hover {
  background: rgba(10, 11, 15, 0.85);
  border-bottom-color: rgba(255, 107, 53, 0.3);
}

.nav { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  padding: 16px 0;
  position: relative;
}

.brand { 
  display: flex; 
  align-items: center; 
  gap: 12px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.brand:hover {
  transform: scale(1.05);
}

.logo { 
  width: 40px; 
  height: 40px; 
  border-radius: 12px; 
  background-image: url('/images/icon.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 8px 32px rgba(255, 107, 53, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-4px); }
}

.logo::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 14px;
  padding: 2px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--accent-purple));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
}

.brand:hover .logo::after {
  opacity: 1;
}

.title { 
  font-weight: 800; 
  letter-spacing: -0.02em; 
  font-size: 22px;
  background: linear-gradient(135deg, var(--text), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.links { 
  display: flex; 
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  padding: 6px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.link { 
  color: var(--muted); 
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(251, 191, 36, 0.1));
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.link:hover {
  color: var(--text);
  text-decoration: none;
  transform: translateY(-2px);
}

.link:hover::before {
  transform: translateY(0);
}

.lang-switcher {
  display: flex;
  gap: 8px;
  margin-left: 16px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lang-switcher a {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.lang-switcher a:hover {
  background: rgba(255, 107, 53, 0.1);
  text-shadow: none;
}

.lang-switcher a.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0a0b0f;
}

/* Mobile Menu Hamburger */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
  position: relative;
}

.mobile-menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(10px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-10px);
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(10, 11, 15, 0.98);
  backdrop-filter: blur(20px);
  z-index: 99;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 80px 24px 24px;
  overflow-y: auto;
}

.mobile-menu-overlay.active {
  opacity: 1;
}

.mobile-menu-content {
  max-width: 500px;
  margin: 0 auto;
}

.mobile-menu-content .links {
  flex-direction: column;
  background: transparent;
  border: none;
  padding: 0;
  gap: 12px;
}

.mobile-menu-content .link {
  width: 100%;
  text-align: center;
  padding: 16px 24px;
  font-size: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-content .lang-switcher {
  margin: 24px 0 0 0;
  justify-content: center;
  width: 100%;
}

.mobile-menu-content .lang-switcher a {
  padding: 12px 20px;
  font-size: 16px;
  min-height: 44px;
}

/* Premium Sections */
.section { 
  padding: 100px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.section h2 { 
  font-size: clamp(32px, 4vw, 48px);
  margin: 0 0 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 0.8s ease-out;
}

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

.section h3 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 48px 0 24px;
  font-weight: 700;
  color: var(--accent-2);
  text-shadow: 0 0 30px rgba(251, 191, 36, 0.3);
}

.section p { 
  color: var(--muted);
  margin: 0 0 32px;
  font-size: 18px;
  line-height: 1.7;
}

/* Premium Hero Section */
.hero { 
  position: relative; 
  padding: 120px 0 100px; 
  overflow: hidden;
}

.hero h1 { 
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 24px;
  background: linear-gradient(135deg, var(--text), var(--accent-2), var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 0.8s ease-out;
}

.hero p {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--muted);
  margin: 0 0 40px;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

/* Demo Showcase Premium */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 200%; }
}

@keyframes borderRotate {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.demo-showcase {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border-radius: 24px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  border: 2px solid transparent;
  background-clip: padding-box;
  animation: fadeInUp 0.8s ease-out 0.3s both, float 6s ease-in-out infinite;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.demo-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.5), rgba(139, 92, 246, 0.5), rgba(251, 191, 36, 0.5));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.demo-showcase:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(255, 107, 53, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.showcase-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.showcase-icon {
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(255, 107, 53, 0.6));
}

.showcase-header h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, #ff6b35, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.showcase-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-media:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 60px rgba(255, 107, 53, 0.4);
}

.showcase-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  transition: transform 0.4s ease;
}

.showcase-media:hover img {
  transform: scale(1.05);
}

.showcase-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.showcase-media:hover .showcase-overlay {
  opacity: 1;
}

.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 107, 53, 0.9);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: white;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.5);
}

.btn-premium {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(135deg, #ff6b35, #fbbf24);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
  border: none;
}

.btn-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #fbbf24, #ff6b35);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-premium:hover::before {
  opacity: 1;
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6);
}

.btn-premium svg,
.btn-premium span:not(.btn-shine) {
  position: relative;
  z-index: 1;
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shine 3s infinite;
}

/* Premium Grid */
.grid { 
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* Premium Cards */
.card { 
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 28px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-purple));
  transform: translateX(-100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover::before {
  transform: translateX(0);
}

.card:hover { 
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(255, 107, 53, 0.15);
  border-color: rgba(255, 107, 53, 0.3);
}

.card h3 { 
  margin: 0 0 12px;
  color: var(--accent-2);
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  text-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}

.card p { 
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
  font-size: 16px;
}

/* Stats Badge - Premium Edition */
@keyframes badgePulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.05) rotate(-2deg); }
  50% { transform: scale(1.1) rotate(2deg); }
  75% { transform: scale(1.05) rotate(-1deg); }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 
      0 0 40px rgba(255, 107, 53, 0.4),
      0 0 80px rgba(255, 107, 53, 0.2),
      inset 0 0 40px rgba(255, 107, 53, 0.1);
  }
  50% {
    box-shadow: 
      0 0 60px rgba(255, 107, 53, 0.6),
      0 0 120px rgba(255, 107, 53, 0.3),
      inset 0 0 60px rgba(255, 107, 53, 0.2);
  }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(5deg); }
}

.stats-badge {
  position: relative;
  display: inline-flex;
  background: linear-gradient(135deg, 
    rgba(255, 107, 53, 0.25) 0%,
    rgba(251, 191, 36, 0.15) 50%,
    rgba(255, 107, 53, 0.25) 100%);
  padding: 28px 40px;
  border-radius: 24px;
  margin-bottom: 32px;
  backdrop-filter: blur(20px) saturate(180%);
  animation: fadeInUp 0.8s ease-out 0.1s both, glowPulse 4s ease-in-out infinite;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: visible;
  border: 2px solid rgba(255, 107, 53, 0.3);
  box-shadow: 
    0 20px 60px rgba(255, 107, 53, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 0 40px rgba(255, 107, 53, 0.2) inset;
}

.stats-badge::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  padding: 3px;
  background: linear-gradient(135deg, 
    #ff6b35 0%,
    #fbbf24 50%,
    #ff6b35 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.8;
}

.stats-badge:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(255, 107, 53, 0.5);
}

.badge-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at center, rgba(255, 107, 53, 0.3) 0%, transparent 70%);
  filter: blur(30px);
  opacity: 0.6;
  animation: glowPulse 4s ease-in-out infinite;
  pointer-events: none;
}

.badge-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 24px;
}

.badge-icon {
  font-size: 56px;
  line-height: 1;
  animation: badgePulse 3s ease-in-out infinite, float 4s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.8))
          drop-shadow(0 0 40px rgba(255, 107, 53, 0.4));
  transform-origin: center;
}

.badge-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.badge-number {
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, 
    #ff6b35 0%,
    #fbbf24 50%,
    #ff6b35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 12px rgba(255, 107, 53, 0.5))
          drop-shadow(0 0 30px rgba(255, 107, 53, 0.3));
  text-shadow: 0 0 40px rgba(255, 107, 53, 0.6);
  position: relative;
}

.badge-number::after {
  content: attr(data-target);
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #fbbf24 0%, #ff6b35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: blur(20px);
  opacity: 0.4;
  z-index: -1;
}

.badge-label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* CTA / Buttons */
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 14px;
  font-weight: 750;
  font-size: 16px;
  letter-spacing: 0.01em;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35), 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn:hover {
  transform: translateY(-2px) scale(1.01);
  border-color: rgba(255, 107, 53, 0.45);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 107, 53, 0.25);
  text-shadow: none;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0a0b0f;
  border: none;
  box-shadow: 0 14px 42px rgba(255, 107, 53, 0.35);
}

.btn.primary:hover {
  box-shadow: 0 18px 56px rgba(255, 107, 53, 0.45);
}

.discord-btn {
  background: linear-gradient(135deg, #5865f2, #7289da);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(88, 101, 242, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
  background-size: 200% 200%;
  position: relative;
  overflow: hidden;
  animation: discordPulse 3s ease-in-out infinite;
}

.discord-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.discord-btn:hover::before {
  left: 100%;
}

.discord-btn:hover {
  background-position: right center;
  box-shadow: 0 12px 48px rgba(88, 101, 242, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: translateY(-3px) scale(1.02);
}

@keyframes discordPulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(88, 101, 242, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05); }
  50% { box-shadow: 0 10px 40px rgba(88, 101, 242, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08); }
}

.discord-icon {
  width: 20px;
  height: 20px;
}

/* Feature List / Feature Item */
.feature-list { 
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.feature-item { 
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 28px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-purple));
  transform: translateX(-100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover::before {
  transform: translateX(0);
}

.feature-item:hover { 
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(255, 107, 53, 0.15);
  border-color: rgba(255, 107, 53, 0.3);
}

.feature-item h4 { 
  margin: 0 0 12px;
  color: var(--accent-2);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}

.feature-item ul { 
  margin: 12px 0;
  padding-left: 24px;
  color: var(--muted);
}

.feature-item li { 
  margin: 8px 0;
  line-height: 1.6;
  position: relative;
}

.feature-item li::marker {
  color: var(--accent-2);
}

.feature-item img { 
  max-width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 16px;
  margin-top: 16px;
  border: 1px solid rgba(255, 107, 53, 0.3);
  box-shadow: 0 10px 40px rgba(255, 107, 53, 0.2);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover img {
  transform: scale(1.02);
}

/* Docs Intro */
.docs-intro { 
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.12), rgba(251, 191, 36, 0.08));
  border: 1px solid rgba(255, 107, 53, 0.25);
  border-radius: 24px;
  padding: 32px;
  margin-bottom: 48px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(255, 107, 53, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.docs-intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.docs-intro h3 { 
  margin: 0 0 16px;
  color: var(--accent-2);
  font-size: 24px;
  font-weight: 800;
  text-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
}

.docs-intro p { 
  margin: 0;
  line-height: 1.7;
  font-size: 17px;
}

/* Command Cards */
.command-card { 
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  margin: 20px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.command-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.1), transparent);
  border-radius: 50%;
  transform: translate(50%, -50%);
}

.command-card:hover { 
  transform: translateX(4px);
  border-color: rgba(255, 107, 53, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2), -4px 0 0 rgba(255, 107, 53, 0.5);
}

.command-card h5 { 
  margin: 0 0 12px;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  font-family: 'Courier New', ui-monospace, monospace;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 1;
}

.command-card p { 
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.command-card img { 
  max-width: 600px;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  margin-top: 16px;
  border: 1px solid rgba(255, 107, 53, 0.2);
  box-shadow: 0 8px 32px rgba(255, 107, 53, 0.15);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.command-card:hover img {
  transform: scale(1.02);
}

/* Note */
.note { 
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.12), rgba(88, 101, 242, 0.08));
  border-left: 4px solid #5865F2;
  padding: 20px 24px;
  border-radius: 12px;
  margin: 24px 0;
  color: var(--text);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(88, 101, 242, 0.15);
  position: relative;
  overflow: hidden;
}

.note::before {
  content: '💡';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  opacity: 0.2;
}

.note strong {
  color: #5865F2;
  text-shadow: 0 0 15px rgba(88, 101, 242, 0.5);
}

.note code {
  background: rgba(88, 101, 242, 0.2);
  padding: 3px 8px;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  color: var(--accent-2);
  border: 1px solid rgba(88, 101, 242, 0.3);
}

/* Step Card */
.step-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 32px;
  margin: 24px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 107, 53, 0.15);
  border-color: rgba(255, 107, 53, 0.3);
}

.step-card h3 {
  margin: 0 0 16px;
  color: var(--accent-2);
  font-size: 24px;
  font-weight: 700;
  text-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}

.step-card p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.7;
}

.step-card ol {
  margin: 16px 0;
  padding-left: 24px;
  color: var(--muted);
}

.step-card li {
  margin: 8px 0;
  line-height: 1.6;
}

.step-card strong {
  color: var(--text);
}

.step-card code {
  background: rgba(255, 107, 53, 0.15);
  padding: 3px 8px;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  color: var(--accent-2);
  border: 1px solid rgba(255, 107, 53, 0.3);
}

/* Image Gallery */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.image-gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255, 107, 53, 0.3);
  box-shadow: 0 8px 32px rgba(255, 107, 53, 0.2);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.image-gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 48px rgba(255, 107, 53, 0.4);
}

/* Link Button */
.link-button {
  display: inline-block;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--accent-2);
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 8px;
}

.link-button:hover {
  background: rgba(255, 107, 53, 0.1);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* Binds Quick Nav */
.quick-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.quick-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text);
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.quick-nav-btn:hover {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(251, 191, 36, 0.1));
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.3);
  text-shadow: none;
}

/* Content Section */
.content-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px;
  margin: 32px 0;
  backdrop-filter: blur(10px);
}

.content-section h2 {
  margin: 0 0 24px;
  color: var(--accent-2);
  font-size: 32px;
  font-weight: 800;
  text-shadow: 0 0 30px rgba(251, 191, 36, 0.3);
}

.content-section h3 {
  margin: 32px 0 16px;
  color: var(--text);
  font-size: 24px;
  font-weight: 700;
}

.content-section p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.content-section ul, .content-section ol {
  color: var(--muted);
  padding-left: 24px;
  margin: 16px 0;
}

.content-section li {
  margin: 8px 0;
  line-height: 1.6;
}

.content-section code {
  background: rgba(255, 107, 53, 0.15);
  padding: 3px 8px;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  color: var(--accent-2);
  border: 1px solid rgba(255, 107, 53, 0.3);
}

/* Binds Table */
.binds-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.binds-table thead {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(251, 191, 36, 0.1));
}

.binds-table th {
  padding: 16px;
  text-align: left;
  color: var(--accent-2);
  font-weight: 700;
  border-bottom: 2px solid var(--accent);
}

.binds-table td {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

.binds-table tr:hover {
  background: rgba(255, 107, 53, 0.05);
}

.binds-table code {
  background: rgba(255, 107, 53, 0.15);
  padding: 4px 8px;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  color: var(--accent-2);
  border: 1px solid rgba(255, 107, 53, 0.3);
  font-size: 14px;
}

/* Footer */
footer { 
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(10, 11, 15, 0.8);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), var(--accent-purple), transparent);
  opacity: 0.5;
}

.foot { 
  padding: 40px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-text {
  text-align: left;
}

.footer-discord-btn {
  padding: 12px 24px;
  font-size: 15px;
  white-space: nowrap;
}

.foot a:not(.footer-discord-btn) {
  color: var(--accent-2);
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 0 4px;
}

.foot a:not(.footer-discord-btn):hover {
  color: var(--accent);
  text-decoration: none;
  text-shadow: 0 0 15px var(--glow);
}

/* Responsive */
@media (max-width: 1024px) {
  .section { padding: 80px 0; }
}

/* Tablet Landscape */
@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav > div:last-child > .links,
  .nav > div:last-child > .lang-switcher {
    display: none;
  }
  
  .mobile-menu-overlay.active {
    display: block;
  }
}

/* Tablet Portrait */
@media (max-width: 768px) {
  .hero { padding: 80px 0 60px; }
  .hero h1 { font-size: clamp(32px, 8vw, 48px); }
  .section { padding: 60px 0; }
  .section h2 { font-size: clamp(28px, 6vw, 36px); }
  
  .links {
    flex-direction: column;
    width: 100%;
  }
  
  .link {
    text-align: center;
  }
  
  .lang-switcher {
    margin-left: 0;
    margin-top: 12px;
    justify-content: center;
    width: 100%;
  }
  
  .grid {
    grid-template-columns: 1fr;
  }
  
  .feature-item img,
  .command-card img {
    height: 200px;
  }
  
  .image-gallery img {
    height: 200px;
  }
  
  .quick-nav-grid {
    grid-template-columns: 1fr;
  }
  
  .content-section {
    padding: 24px;
  }
  
  .binds-table {
    font-size: 14px;
  }
  
  .binds-table th, .binds-table td {
    padding: 12px 8px;
  }
  
  h2 { font-size: 36px; }
  h3 { font-size: 24px; }
  .step-card { padding: 24px; }
  
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-text {
    text-align: center;
  }
  
  .footer-discord-btn {
    width: 100%;
    justify-content: center;
  }
  
  /* Mobile Table Optimization */
  .binds-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .binds-table thead {
    display: none;
  }
  
  .binds-table tbody {
    display: block;
  }
  
  .binds-table tr {
    display: block;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
  }
  
  .binds-table td {
    display: block;
    text-align: left;
    padding: 8px 0;
    border: none;
  }
  
  .binds-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--accent-2);
    display: block;
    margin-bottom: 4px;
  }
}

/* Mobile Landscape & Small Tablets */
@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
  
  .hero {
    padding: 60px 0 40px;
  }
  
  .hero h1 {
    font-size: clamp(28px, 7vw, 40px);
  }
  
  .hero p {
    font-size: 16px;
  }
  
  .section {
    padding: 48px 0;
  }
  
  .section h2 {
    font-size: clamp(24px, 5vw, 32px);
  }
  
  .btn {
    padding: 14px 24px;
    font-size: 15px;
    min-height: 48px;
  }
  
  .demo-showcase {
    padding: 20px;
  }
  
  .step-card {
    padding: 20px;
  }
  
  .feature-item img,
  .command-card img,
  .image-gallery img {
    height: 180px;
  }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  
  .hero {
    padding: 48px 0 32px;
  }
  
  .hero h1 {
    font-size: clamp(24px, 6vw, 32px);
    line-height: 1.2;
  }
  
  .hero p {
    font-size: 15px;
    margin-bottom: 24px;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .section h2 {
    font-size: clamp(22px, 5vw, 28px);
  }
  
  .section h3 {
    font-size: 20px;
  }
  
  .section p {
    font-size: 15px;
  }
  
  .btn {
    padding: 12px 20px;
    font-size: 14px;
    min-height: 44px;
    width: 100%;
  }
  
  .logo {
    width: 36px;
    height: 36px;
  }
  
  .title {
    font-size: 18px;
  }
  
  .mobile-menu-content .link {
    padding: 14px 20px;
    font-size: 16px;
    min-height: 52px;
  }
  
  .demo-showcase {
    padding: 16px;
  }
  
  .step-card {
    padding: 16px;
  }
  
  .content-section {
    padding: 16px;
  }
  
  .feature-item img,
  .command-card img,
  .image-gallery img {
    height: 150px;
  }
  
  .binds-table {
    font-size: 13px;
  }
  
  .binds-table tr {
    padding: 12px;
  }
  
  .footer-discord-btn {
    padding: 12px 16px;
    font-size: 14px;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .link,
  .btn,
  .lang-switcher a {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Remove hover effects on touch devices */
  .link:hover::before {
    transform: translateY(100%);
  }
  
  .demo-showcase:hover {
    transform: none;
  }
  
  /* Active states for touch */
  .link:active {
    transform: scale(0.98);
    background: rgba(255, 107, 53, 0.1);
  }
  
  .btn:active {
    transform: scale(0.98);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(10, 11, 15, 0.5);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 6px;
  border: 2px solid rgba(10, 11, 15, 0.5);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--accent-2), var(--accent-purple));
}

/* Selection */
::selection {
  background: rgba(255, 107, 53, 0.3);
  color: var(--text);
}

/* ===== Index-style navbar (yn-nav) — same header on all pages ===== */
.yn-nav {
  position: sticky; top: 0; z-index: 100;
  height: 64px;
  background: rgba(13,17,23,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center;
}
[data-theme="light"] .yn-nav {
  background: rgba(255,255,255,0.88);
  border-bottom-color: rgba(0,0,0,0.1);
}
.yn-nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  width: 100%; display: flex; align-items: center; gap: 32px;
}
.yn-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.15rem; letter-spacing: -0.3px;
  color: #e6edf3; white-space: nowrap;
}
[data-theme="light"] .yn-brand { color: #1c2330; }
.yn-brand-icon {
  width: 34px; height: 34px; border-radius: 8px;
  object-fit: cover; flex-shrink: 0; display: block;
}
.yn-links {
  display: flex; align-items: center; gap: 4px; margin-left: auto;
}
.yn-links a {
  padding: 6px 14px; border-radius: 8px;
  font-size: 0.875rem; font-weight: 500; color: #8b949e;
  transition: color .2s, background .2s;
}
[data-theme="light"] .yn-links a { color: #57606a; }
.yn-links a:hover, .yn-links a.active { background: #161b22; color: #e6edf3; }
[data-theme="light"] .yn-links a:hover, [data-theme="light"] .yn-links a.active { background: #f6f8fa; color: #1c2330; }
.yn-nav-right {
  display: flex; align-items: center; gap: 10px; margin-left: 16px;
}
.yn-theme-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: #161b22; border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 17px; transition: background .2s;
}
[data-theme="light"] .yn-theme-btn { background: #f6f8fa; border-color: rgba(0,0,0,0.1); }
.yn-theme-btn:hover { background: #1c2330; }
[data-theme="light"] .yn-theme-btn:hover { background: #eaeef2; }
.yn-cta-btn {
  padding: 8px 18px; border-radius: 9px;
  background: var(--accent); color: #fff;
  font-size: 0.875rem; font-weight: 600;
  border: none; cursor: pointer; transition: opacity .2s, transform .15s;
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  text-decoration: none;
}
.yn-cta-btn:hover { opacity: .88; transform: translateY(-1px); color: #fff; }
.yn-auth-btn {
  box-shadow: 0 0 0 2px rgba(255,255,255,0.14), 0 6px 20px rgba(0,0,0,0.35);
  font-weight: 700;
}
[data-theme="light"] .yn-auth-btn {
  box-shadow: 0 0 0 2px rgba(0,0,0,0.1), 0 6px 20px rgba(0,0,0,0.12);
}
.yn-lang {
  display: flex; align-items: center; gap: 4px;
}
.yn-lang a {
  padding: 4px 8px; border-radius: 6px; font-size: 0.85rem;
  color: #8b949e; transition: background .2s, color .2s;
}
[data-theme="light"] .yn-lang a { color: #57606a; }
.yn-lang a.active, .yn-lang a:hover { background: #161b22; color: #e6edf3; }
[data-theme="light"] .yn-lang a.active, [data-theme="light"] .yn-lang a:hover { background: #f6f8fa; color: #1c2330; }
.yn-mobile-btn {
  display: none;
  width: 40px; height: 40px;
  background: #161b22; border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px; cursor: pointer;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.yn-mobile-btn span { width: 18px; height: 2px; background: #e6edf3; border-radius: 1px; }
@media (max-width: 768px) {
  .yn-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(13,17,23,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .yn-nav.open .yn-links { display: flex; }
  .yn-links a { padding: 12px 14px; }
  .yn-mobile-btn { display: flex; margin-left: auto; }
  .yn-nav-inner { position: relative; flex-wrap: wrap; }
}
[data-theme="light"] .yn-nav.open .yn-links { background: rgba(255,255,255,0.98); }
[data-theme="light"] .yn-mobile-btn { background: #f6f8fa; border-color: rgba(0,0,0,0.1); }
[data-theme="light"] .yn-mobile-btn span { background: #1c2330; }
