/* ===== KULATUU WEBSITE — STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Noto+Serif:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a28;
  --bg-card-hover: #22223a;
  --gold: #d4a843;
  --gold-light: #f0d078;
  --gold-dark: #a07830;
  --text-primary: #e8e8f0;
  --text-secondary: #a0a0b8;
  --text-muted: #707088;
  --accent-snake: #2ecc71;
  --accent-bird: #3498db;
  --accent-mantis: #e67e22;
  --accent-saber: #e74c3c;
  --accent-spear: #5dade2;
  --accent-club: #8e44ad;
  --accent-dragon: #f39c12;
  --border: rgba(212, 168, 67, 0.15);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dark) var(--bg-primary);
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.nav-logo span {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 1px;
  margin-left: 8px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--gold);
}

.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  margin: 5px 0;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('images/hero.png') center/cover no-repeat;
  filter: brightness(0.3);
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(10, 10, 15, 0.4) 0%,
      rgba(10, 10, 15, 0.2) 50%,
      rgba(10, 10, 15, 0.95) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
  animation: heroFadeIn 1.5s ease-out;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-block;
  padding: 6px 20px;
  border: 1px solid var(--gold);
  border-radius: 50px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: 'Noto Serif', serif;
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.hero-motto {
  font-size: 1rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 1px;
  padding: 12px 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: inline-block;
  background: rgba(212, 168, 67, 0.08);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid var(--gold);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator span::after {
  content: '';
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollDot 2s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

@keyframes scrollDot {

  0%,
  100% {
    opacity: 1;
    top: 6px;
  }

  50% {
    opacity: 0.3;
    top: 18px;
  }
}

/* ===== SECTIONS ===== */
section {
  padding: 100px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-block;
  padding: 4px 16px;
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title span {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ===== PHILOSOPHY ===== */
.philosophy {
  background: var(--bg-secondary);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.phi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.phi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  opacity: 0;
  transition: var(--transition);
}

.phi-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 168, 67, 0.3);
}

.phi-card:hover::before {
  opacity: 1;
}

.phi-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.phi-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--gold-light);
}

.phi-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ===== HISTORY TIMELINE ===== */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.6s ease-out;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-dot {
  position: absolute;
  left: 12px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--gold);
}

.timeline-year {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
}

.timeline-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 4px;
}

/* ===== COMBAT STYLES GRID ===== */
.styles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.style-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.style-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 168, 67, 0.4);
  box-shadow: var(--shadow);
}

.style-card-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

.style-card:hover .style-card-img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.style-card-img-wrap {
  overflow: hidden;
  position: relative;
}

.style-card-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(transparent, var(--bg-card));
}

.style-card-body {
  padding: 1.5rem 2rem 2rem;
}

.style-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.style-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.style-card h3 span {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.style-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.style-weapons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.weapon-badge {
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(212, 168, 67, 0.1);
  color: var(--gold);
  border: 1px solid var(--border);
}

/* Style accent colors */
.style-snake .style-tag {
  background: rgba(46, 204, 113, 0.15);
  color: var(--accent-snake);
}

.style-bird .style-tag {
  background: rgba(52, 152, 219, 0.15);
  color: var(--accent-bird);
}

.style-mantis .style-tag {
  background: rgba(230, 126, 34, 0.15);
  color: var(--accent-mantis);
}

.style-saber .style-tag {
  background: rgba(231, 76, 60, 0.15);
  color: var(--accent-saber);
}

.style-spear .style-tag {
  background: rgba(93, 173, 226, 0.15);
  color: var(--accent-spear);
}

.style-club .style-tag {
  background: rgba(142, 68, 173, 0.15);
  color: var(--accent-club);
}

/* ===== STYLE DETAIL MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 2rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 900px;
  max-height: 85vh;
  width: 100%;
  overflow-y: auto;
  transform: scale(0.9) translateY(20px);
  transition: var(--transition);
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  position: sticky;
  top: 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

.modal-header h2 {
  font-size: 1.5rem;
}

.modal-header h2 span {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 1rem;
}

.modal-close {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.modal-body {
  padding: 2rem;
}

.modal-section {
  margin-bottom: 2rem;
}

.modal-section h3 {
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.modal-table {
  width: 100%;
  border-collapse: collapse;
}

.modal-table th,
.modal-table td {
  padding: 10px 14px;
  text-align: left;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.modal-table th {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modal-table td {
  color: var(--text-secondary);
}

.modal-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
}

.modal-text strong {
  color: var(--gold-light);
}

.modal-list {
  list-style: none;
  padding: 0;
}

.modal-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.modal-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ===== DRAGON SECTION ===== */
.dragon-section {
  background: linear-gradient(to bottom, var(--bg-primary), #15100a, var(--bg-primary));
  position: relative;
  overflow: hidden;
}

.dragon-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(243, 156, 18, 0.05) 0%, transparent 60%);
}

.dragon-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.dragon-img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.dragon-info h3 {
  font-size: 1.3rem;
  color: var(--gold-light);
  margin: 1.5rem 0 0.75rem;
}

.dragon-info p {
  color: var(--text-secondary);
  font-size: 0.93rem;
}

.dragon-forms {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.dragon-form-item {
  padding: 12px;
  background: rgba(212, 168, 67, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.dragon-form-item:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.dragon-form-item .df-emoji {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 6px;
}

/* ===== TRAINING ===== */
.training {
  background: var(--bg-secondary);
}

.exercises-flow {
  display: flex;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.exercise-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  width: 220px;
  position: relative;
  transition: var(--transition);
}

.exercise-step:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.exercise-step .step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-primary);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.exercise-step h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.exercise-step .step-kyrgyz {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.exercise-step p {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.exercise-arrow {
  display: flex;
  align-items: center;
  color: var(--gold);
  font-size: 1.5rem;
  padding: 0 0.5rem;
}

/* ===== SCORING ===== */
.scoring-section {
  background: var(--bg-primary);
}

.scoring-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.score-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.score-block h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--gold-light);
  text-align: center;
}

.score-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.score-item:last-child {
  border-bottom: none;
}

.score-num {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-primary);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.score-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ===== BIRUBAK SYSTEM ===== */
.birubak-section {
  background: var(--bg-secondary);
}

.birubak-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.birubak-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.birubak-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.birubak-card .bc-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.birubak-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.birubak-card .bc-name {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.birubak-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* ===== TERMINOLOGY ===== */
.terminology {
  background: var(--bg-primary);
}

.term-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.term-group {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.term-group-header {
  background: rgba(212, 168, 67, 0.06);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gold-light);
}

.term-list {
  padding: 0.5rem 0;
}

.term-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 1.5rem;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.term-item:last-child {
  border-bottom: none;
}

.term-item .term-kyrgyz {
  color: var(--gold);
  font-weight: 600;
}

.term-item .term-russian {
  color: var(--text-secondary);
}

/* ===== SUROT / KATA ===== */
.surot-section {
  background: var(--bg-secondary);
}

.surot-flow {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1rem;
}

.surot-move {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.surot-move:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.surot-move .move-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bg-primary);
  font-weight: 800;
  font-size: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.surot-move .move-action {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.surot-move .move-stance {
  font-size: 0.65rem;
  color: var(--gold);
  font-weight: 600;
  margin-top: 4px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  text-align: center;
}

.footer-quote {
  font-family: 'Noto Serif', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.footer-separator {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 2rem auto;
}

.footer p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== LANGUAGE TOGGLE ===== */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-toggle {
  display: flex;
  background: rgba(212, 168, 67, 0.08);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  padding: 5px 14px;
  border: none;
  border-radius: 50px;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}

.lang-btn:hover {
  color: var(--gold-light);
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-primary);
  box-shadow: 0 2px 8px rgba(212, 168, 67, 0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .styles-grid {
    grid-template-columns: 1fr;
  }

  .dragon-layout {
    grid-template-columns: 1fr;
  }

  .scoring-grid {
    grid-template-columns: 1fr;
  }

  .dragon-forms {
    grid-template-columns: repeat(2, 1fr);
  }

  .exercises-flow {
    flex-direction: column;
    align-items: center;
  }

  .exercise-arrow {
    transform: rotate(90deg);
  }

  .lang-toggle {
    margin-right: 0.5rem;
  }

  .lang-btn {
    padding: 4px 10px;
    font-size: 0.7rem;
  }
}