/* ============================================
   NIKON 1 J5 — Interactive Photography Guide
   Premium Dark Theme with Glassmorphism
   ============================================ */

/* === CSS Variables === */
:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-card: rgba(17, 24, 39, 0.6);
  --bg-card-hover: rgba(30, 41, 59, 0.7);
  --bg-glass: rgba(15, 23, 42, 0.75);
  --border-glass: rgba(99, 102, 241, 0.15);
  --border-subtle: rgba(148, 163, 184, 0.1);
  
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-blue: #60a5fa;
  --accent-indigo: #818cf8;
  --accent-purple: #a78bfa;
  --accent-cyan: #22d3ee;
  --accent-green: #34d399;
  --accent-amber: #fbbf24;
  --accent-red: #f87171;
  --accent-orange: #fb923c;
  
  --gradient-primary: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  --gradient-blue: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  --gradient-green: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  --gradient-amber: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  --gradient-red: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(96,165,250,0.15);
  
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* === Light Theme Variables === */
body.light-mode {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(241, 245, 249, 0.95);
  --bg-glass: rgba(255, 255, 255, 0.9);
  --border-glass: rgba(0, 0, 0, 0.1);
  --border-subtle: rgba(0, 0, 0, 0.05);
  
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  
  --shadow-glow: 0 0 30px rgba(96,165,250,0.25);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
}

body.light-mode .header {
  background: rgba(248, 250, 252, 0.85);
}
body.light-mode .header.scrolled {
  background: rgba(248, 250, 252, 0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}
body.light-mode .nav-mobile {
  background: rgba(255, 255, 255, 0.95);
}

/* === Reset & Base === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* === Ambient Background === */
.ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  animation: blobFloat 20s infinite ease-in-out;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: var(--accent-blue);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: var(--accent-purple);
  bottom: 20%;
  left: -100px;
  animation-delay: -7s;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: var(--accent-cyan);
  top: 50%;
  right: 20%;
  animation-delay: -14s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(15px, 10px) scale(1.02); }
}

/* === Header === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

.header.scrolled {
  background: rgba(10, 14, 23, 0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.logo-sub {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-desktop {
  display: flex;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(96, 165, 250, 0.1);
}

.nav-link.active, .nav-link-mobile.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.1);
}

body.light-mode .nav-link.active, body.light-mode .nav-link-mobile.active {
  background: rgba(0,0,0,0.05);
}

/* === Header Actions === */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-toggle {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
}

body.light-mode .theme-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  background: rgba(10, 14, 23, 0.98);
  border-top: 1px solid var(--border-subtle);
}

.nav-mobile.open {
  display: flex;
}

.nav-link-mobile {
  padding: 14px 0;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--border-subtle);
  transition: color var(--transition-fast);
}

.nav-link-mobile:last-child {
  border-bottom: none;
}

.nav-link-mobile:hover {
  color: var(--accent-blue);
}

/* === Hero Section === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 70px;
  position: relative;
  z-index: 1;
}

.hero-content {
  text-align: center;
  padding: 60px 0;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: var(--radius-full);
  font-size: 14px;
  color: var(--accent-blue);
  font-weight: 500;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease forwards;
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease 0.1s forwards;
  opacity: 0;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.8;
  animation: fadeInUp 0.6s ease 0.2s forwards;
  opacity: 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
  animation: fadeInUp 0.6s ease 0.3s forwards;
  opacity: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition-normal);
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(96, 165, 250, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(96, 165, 250, 0.4);
}

.btn-glass {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 0.6s ease 0.4s forwards;
  opacity: 0;
}

.stat-item {
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  font-family: var(--font-mono);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
}

/* === Sections === */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.15);
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--accent-blue);
  font-weight: 500;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* === Glass Card === */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 32px;
  margin-bottom: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96,165,250,0.3), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.glass-card:hover::before {
  opacity: 1;
}

.glass-card:hover {
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: var(--shadow-glow);
}

.card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(96, 165, 250, 0.1);
  border-radius: var(--radius-md);
  font-size: 24px;
  flex-shrink: 0;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.card-subtitle {
  font-size: 14px;
  color: var(--text-muted);
}

/* === Settings Row === */
.settings-list {
  display: flex;
  flex-direction: column;
}

.setting-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
  gap: 16px;
}

.setting-row:last-child {
  border-bottom: none;
}

.setting-key {
  font-size: 14px;
  color: var(--text-secondary);
}

.setting-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: right;
}

/* === Badges === */
.badge-blue {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(96, 165, 250, 0.15);
  color: var(--accent-blue);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
}

.badge-green {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(52, 211, 153, 0.15);
  color: var(--accent-green);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
}

.badge-amber {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(251, 191, 36, 0.15);
  color: var(--accent-amber);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
}

.badge-red {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(248, 113, 113, 0.15);
  color: var(--accent-red);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
}

/* === Situation Tabs === */
.situation-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.sit-tab {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-sans);
}

.sit-tab:hover {
  border-color: rgba(96, 165, 250, 0.3);
  color: var(--text-primary);
}

.sit-tab.active {
  background: rgba(96, 165, 250, 0.15);
  border-color: rgba(96, 165, 250, 0.4);
  color: var(--accent-blue);
}

.sit-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.sit-panel.active {
  display: block;
}

.sit-info {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.sit-emoji {
  font-size: 36px;
  flex-shrink: 0;
}

.sit-info h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.sit-info p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.sit-settings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.sit-set {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 13px;
}

.sit-set span:first-child {
  color: var(--text-muted);
  font-weight: 500;
}

.sit-set span:last-child {
  font-weight: 600;
  color: var(--text-primary);
}

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

.trick-item {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.trick-item:hover {
  background: rgba(96, 165, 250, 0.05);
  border-color: rgba(96, 165, 250, 0.2);
  transform: translateY(-2px);
}

.trick-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trick-item h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.trick-item p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* === Problems === */
.problems-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.problem-item {
  padding: 20px;
  background: rgba(248, 113, 113, 0.05);
  border: 1px solid rgba(248, 113, 113, 0.15);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.problem-item:hover {
  background: rgba(248, 113, 113, 0.08);
  transform: translateY(-2px);
}

.problem-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(248, 113, 113, 0.15);
  color: var(--accent-red);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

.problem-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* === Mode Grid === */
.mode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.mode-card {
  padding: 20px;
  text-align: center;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.mode-card:hover {
  background: rgba(96, 165, 250, 0.05);
  border-color: rgba(96, 165, 250, 0.2);
  transform: translateY(-2px);
}

.mode-card.active {
  background: rgba(96, 165, 250, 0.1);
  border-color: rgba(96, 165, 250, 0.4);
  box-shadow: 0 0 20px rgba(96, 165, 250, 0.1);
}

.mode-letter {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 800;
  color: var(--mode-color, var(--accent-blue));
  margin-bottom: 8px;
}

.mode-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.mode-badge {
  font-size: 11px;
  color: var(--text-muted);
  padding: 3px 10px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-full);
  display: inline-block;
}

.mode-badge.recommended {
  background: rgba(96, 165, 250, 0.15);
  color: var(--accent-blue);
}

.mode-detail {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.mode-detail-content h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.mode-detail-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.mode-use-cases {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.use-case {
  padding: 6px 14px;
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-blue);
}

/* === Buttons Grid === */
.buttons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 20px;
}

.group-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-blue);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(96, 165, 250, 0.2);
}

/* === Tip Box === */
.tip-box {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(96, 165, 250, 0.08);
  border-left: 3px solid var(--accent-blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.tip-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.tip-box p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.tip-box strong {
  color: var(--text-primary);
}

/* === Menu Sections === */
.menu-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.menu-section {
  padding: 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.menu-section-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

/* === Table === */
.table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.settings-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

.settings-table th {
  text-align: left;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border-subtle);
}

.settings-table td {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.settings-table tr:last-child td {
  border-bottom: none;
}

.settings-table tr:hover td {
  background: rgba(96, 165, 250, 0.03);
}

/* === Workflow === */
.workflow-steps {
  position: relative;
}

.workflow-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 24px;
  position: relative;
}

.workflow-step:last-child {
  padding-bottom: 0;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.step-line {
  position: absolute;
  left: 17px;
  top: 36px;
  width: 2px;
  height: calc(100% - 36px);
  background: rgba(96, 165, 250, 0.2);
}

.workflow-step p {
  font-size: 14px;
  color: var(--text-secondary);
  padding-top: 6px;
  line-height: 1.6;
}

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

/* ============================================
   EXPOSURE SIMULATOR
   ============================================ */
.simulator-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: start;
}

.sim-viewport {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  aspect-ratio: 3/2;
}

.sim-viewport canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.sim-overlay {
  position: absolute;
  top: 12px;
  right: 12px;
}

.sim-ev {
  padding: 6px 14px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: white;
}

.sim-indicators {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.sim-ind {
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.sim-ind-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.sim-meter {
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  margin: 6px 0 4px;
  overflow: hidden;
}

.sim-meter-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width var(--transition-normal);
}

.sim-meter-fill.dof-meter { background: var(--gradient-green); }
.sim-meter-fill.motion-meter { background: var(--gradient-amber); }
.sim-meter-fill.noise-meter { background: var(--gradient-red); }

.sim-ind-val {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
}

/* Sim Controls */
.sim-controls {
  position: sticky;
  top: 90px;
}

.sim-ctrl-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
}

.sim-control {
  margin-bottom: 28px;
}

.sim-ctrl-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.sim-ctrl-header label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.sim-ctrl-val {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-blue);
}

/* Custom Range Slider */
.sim-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.1);
  outline: none;
  cursor: pointer;
}

.sim-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid var(--accent-blue);
  background: var(--bg-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 0 10px rgba(96, 165, 250, 0.3);
}

.sim-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 20px rgba(96, 165, 250, 0.5);
}

.sim-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid var(--accent-blue);
  background: var(--bg-primary);
  cursor: pointer;
}

.aperture-slider::-webkit-slider-thumb { border-color: var(--accent-blue); }
.shutter-slider::-webkit-slider-thumb { border-color: var(--accent-green); }
.iso-slider::-webkit-slider-thumb { border-color: var(--accent-amber); }
.aperture-slider::-moz-range-thumb { border-color: var(--accent-blue); }
.shutter-slider::-moz-range-thumb { border-color: var(--accent-green); }
.iso-slider::-moz-range-thumb { border-color: var(--accent-amber); }

.sim-ctrl-hints {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  font-family: var(--font-mono);
}

.sim-ctrl-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.5;
}

.sim-presets {
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.preset-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 500;
}

.preset-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.preset-btn {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all var(--transition-fast);
}

.preset-btn:hover {
  border-color: rgba(96, 165, 250, 0.4);
  color: var(--accent-blue);
  background: rgba(96, 165, 250, 0.1);
}

/* ============================================
   GAME / CHALLENGE SECTION
   ============================================ */
.level-card {
  text-align: center;
}

.level-main {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  justify-content: center;
}

.level-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 30px rgba(96, 165, 250, 0.3);
  animation: pulse 3s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(96, 165, 250, 0.2); }
  50% { box-shadow: 0 0 40px rgba(96, 165, 250, 0.4); }
}

.level-avatar span {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 800;
  color: white;
}

.level-info {
  text-align: left;
  flex: 1;
  max-width: 400px;
}

.level-info h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.xp-bar-wrap {
  width: 100%;
}

.xp-bar {
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 6px;
}

.xp-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 4px;
  transition: width 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.xp-text {
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.level-stats {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-bottom: 20px;
}

.lstat {
  text-align: center;
}

.lstat-num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--accent-blue);
}

.lstat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.level-actions {
  display: flex;
  justify-content: center;
}

/* === Challenge Filter === */
.challenge-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: rgba(96, 165, 250, 0.3);
  color: var(--text-primary);
}

.filter-btn.active {
  background: rgba(96, 165, 250, 0.15);
  border-color: rgba(96, 165, 250, 0.4);
  color: var(--accent-blue);
}

/* === Challenge Items === */
.challenge-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.challenge-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.challenge-item:hover {
  background: rgba(96, 165, 250, 0.03);
  border-color: rgba(96, 165, 250, 0.15);
}

.challenge-item.done {
  background: rgba(52, 211, 153, 0.05);
  border-color: rgba(52, 211, 153, 0.2);
}

.challenge-stars {
  font-size: 14px;
  flex-shrink: 0;
  min-width: 54px;
}

.challenge-info {
  flex: 1;
}

.challenge-label {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.5;
}

.challenge-item.done .challenge-label {
  text-decoration: line-through;
  color: var(--text-muted);
}

.challenge-xp {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-top: 2px;
}

.challenge-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.challenge-btn:hover {
  border-color: rgba(96, 165, 250, 0.4);
  color: var(--accent-blue);
  background: rgba(96, 165, 250, 0.1);
}

.challenge-btn.done {
  background: rgba(52, 211, 153, 0.15);
  border-color: rgba(52, 211, 153, 0.3);
  color: var(--accent-green);
}

/* === Theory === */
.theory-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.theory-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.theory-item:hover {
  background: rgba(167, 139, 250, 0.05);
  border-color: rgba(167, 139, 250, 0.2);
  transform: translateX(4px);
}

.theory-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a78bfa, #818cf8);
  color: white;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.theory-item h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.theory-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* === Footer === */
.footer {
  padding: 60px 0 32px;
  border-top: 1px solid var(--border-subtle);
  position: relative;
  z-index: 1;
}

.footer-inner {
  text-align: center;
}

.footer-logo-text {
  font-size: 24px;
  font-weight: 800;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin: 24px 0;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-blue);
}

.footer-copy {
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.footer-copy p {
  font-size: 13px;
  color: var(--text-muted);
}

/* === Back to top === */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-normal);
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(96, 165, 250, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 30px rgba(96, 165, 250, 0.5);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .header-actions {
    gap: 8px;
  }
  
  .hero-stats {
    gap: 16px;
  }
  
  .stat-num {
    font-size: 22px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  section {
    padding: 60px 0;
  }
}

/* === Animations === */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Toast Notification === */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 14px 28px;
  background: rgba(52, 211, 153, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.3);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-full);
  color: var(--accent-green);
  font-size: 14px;
  font-weight: 600;
  z-index: 9999;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .header-actions {
    gap: 8px;
  }
  
  .hero-stats {
    gap: 16px;
  }
  
  .stat-num {
    font-size: 22px;
  }
  
  .stat-label {
    font-size: 10px;
  }
  
  .stat-divider {
    height: 30px;
  }
  
  .simulator-layout {
    grid-template-columns: 1fr;
  }
  
  .sim-controls {
    position: static;
  }
  
  .buttons-grid,
  .menu-sections {
    grid-template-columns: 1fr;
  }
  
  .glass-card {
    padding: 24px 20px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .mode-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .level-main {
    flex-direction: column;
    gap: 16px;
  }
  
  .level-info {
    text-align: center;
    max-width: 100%;
  }
  
  .level-stats {
    gap: 24px;
  }
  
  .challenge-item {
    flex-wrap: wrap;
  }
  
  .sim-indicators {
    grid-template-columns: 1fr;
  }
  
  .tricks-grid {
    grid-template-columns: 1fr;
  }
  
  .problems-list {
    grid-template-columns: 1fr;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .hero-title {
    letter-spacing: -0.5px;
  }
  
  .hero-desc {
    font-size: 15px;
  }
  
  .hero-stats {
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .mode-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .sit-settings {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    flex-wrap: wrap;
    gap: 12px;
  }
}

/* ============================================
   TUTORIALS SECTION
   ============================================ */

.tutorials-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  align-items: start;
}

/* Sidebar */
.tut-sidebar {
  position: sticky;
  top: 90px;
  padding: 24px;
}

.tut-sidebar-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.tut-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-bottom: 4px;
  border: 1px solid transparent;
}

.tut-nav-item:hover {
  background: rgba(255,255,255,0.04);
  border-color: var(--border-subtle);
}

.tut-nav-item.active {
  background: rgba(96, 165, 250, 0.1);
  border-color: rgba(96, 165, 250, 0.25);
}

.tut-nav-icon {
  font-size: 20px;
  flex-shrink: 0;
  width: 32px;
  text-align: center;
}

.tut-nav-info {
  flex: 1;
  min-width: 0;
}

.tut-nav-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tut-nav-sub {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tut-nav-item.active .tut-nav-title {
  color: var(--accent-blue);
}

.tut-nav-count {
  font-size: 11px;
  background: rgba(255,255,255,0.06);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  flex-shrink: 0;
}

/* Welcome state */
.tut-welcome {
  text-align: center;
  padding: 60px 32px;
}

.tut-welcome-icon {
  font-size: 56px;
  margin-bottom: 16px;
}

.tut-welcome h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.tut-welcome p {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 400px;
  margin: 0 auto 28px;
}

.tut-stats-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.tut-stat {
  text-align: center;
}

.tut-stat-num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  font-family: var(--font-mono);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tut-stat span:last-child {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Tutorial Header */
.tut-header {
  padding: 28px 32px;
  margin-bottom: 20px;
}

.tut-header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
}

.tut-header-icon {
  font-size: 40px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  flex-shrink: 0;
}

.tut-header-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 4px;
}

.tut-header-sub {
  font-size: 14px;
  color: var(--text-secondary);
}

.tut-header-meta {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.tut-header-badge {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
}

/* Lesson Cards */
.tut-lesson-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.tut-lesson-card:hover {
  border-color: rgba(99, 102, 241, 0.2);
}

.tut-lesson-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  font-family: var(--font-sans);
  text-align: left;
  transition: background var(--transition-fast);
}

.tut-lesson-toggle:hover {
  background: rgba(255,255,255,0.02);
}

.tut-lesson-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  color: white;
}

.tut-lesson-title {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
}

.tut-lesson-arrow {
  font-size: 12px;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.tut-lesson-card.open .tut-lesson-arrow {
  transform: rotate(180deg);
}

.tut-lesson-body {
  display: none;
  padding: 0 24px 24px;
  animation: fadeIn 0.3s ease;
}

.tut-lesson-card.open .tut-lesson-body {
  display: block;
}

.tut-lesson-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.tut-lesson-body strong {
  color: var(--text-primary);
}

/* Steps */
.tut-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  counter-reset: step;
}

.tut-steps li {
  counter-increment: step;
  display: flex;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.tut-steps li:last-child {
  border-bottom: none;
}

.tut-steps li::before {
  content: counter(step);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(96, 165, 250, 0.15);
  color: var(--accent-blue);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.tut-steps li strong {
  color: var(--text-primary);
}

/* Settings in tutorials */
.tut-settings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.tut-setting {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 13px;
  gap: 8px;
}

.tut-setting-key {
  color: var(--text-muted);
  font-weight: 500;
}

.tut-setting-val {
  color: var(--text-primary);
  font-weight: 600;
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: right;
}

/* Tip box */
.tut-tip {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: rgba(96, 165, 250, 0.06);
  border: 1px solid rgba(96, 165, 250, 0.15);
  border-radius: var(--radius-md);
  margin-top: 8px;
}

.tut-tip-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.tut-tip p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 !important;
}

/* Effects grid */
.effects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.effect-item {
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.effect-item:hover {
  background: rgba(251, 146, 60, 0.06);
  border-color: rgba(251, 146, 60, 0.2);
}

.effect-name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-orange);
  margin-bottom: 2px;
}

.effect-desc {
  font-size: 12px;
  color: var(--text-muted);
}

/* Specs grid */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
}

.spec-item {
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.spec-key {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.spec-val {
  font-size: 13px;
  color: var(--text-primary);
  font-weight: 600;
}

/* Tutorial responsive */
@media (max-width: 900px) {
  .tutorials-layout {
    grid-template-columns: 1fr;
  }
  
  .tut-sidebar {
    position: static;
  }
  
  .tut-nav {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 6px;
  }
  
  .tut-nav-item {
    padding: 10px 12px;
  }
  
  .tut-nav-sub, .tut-nav-count {
    display: none;
  }
}

@media (max-width: 480px) {
  .tut-nav {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tut-settings {
    grid-template-columns: 1fr;
  }
  
  .effects-grid {
    grid-template-columns: 1fr;
  }
  
  .specs-grid {
    grid-template-columns: 1fr;
  }
  
  .tut-header-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .tut-lesson-toggle {
    padding: 16px 18px;
  }
  
  .tut-lesson-body {
    padding: 0 18px 18px;
  }
}
