:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121e;
  --bg-card: rgba(20, 20, 35, 0.6);
  --bg-glow: rgba(123, 97, 255, 0.15);
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(123, 97, 255, 0.35);
  
  --accent-primary: #eb6835;
  --accent-secondary: #7b61ff;
  --accent-gradient: linear-gradient(135deg, #eb6835, #7b61ff);
  
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 25px rgba(123, 97, 255, 0.35);
}

.dark-mode {
  --bg-primary: #030303;
  --bg-secondary: #0d0d15;
  --bg-card: rgba(10, 10, 18, 0.7);
  --bg-glow: rgba(235, 104, 53, 0.12);
  --border-color: rgba(255, 255, 255, 0.06);
}

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

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand-text {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
}

.main-home {
  padding: 120px 40px 60px 320px;
  max-width: 1800px;
  margin: 0 auto;
}

.page-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  padding: 80px;
  border-radius: 40px;
  background: radial-gradient(circle at 80% 20%, rgba(123, 97, 255, 0.25), transparent 45%),
              radial-gradient(circle at 10% 80%, rgba(235, 104, 53, 0.18), transparent 45%),
              linear-gradient(145deg, var(--bg-secondary), #06060c);
  border: 1px solid var(--border-color);
  margin-bottom: 50px;
  box-shadow: var(--shadow-lg);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.01) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  opacity: 0.7;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: var(--accent-secondary);
}

.breadcrumb i {
  font-size: 10px;
  color: var(--text-muted);
}

.breadcrumb span {
  color: var(--accent-primary);
}

.page-title {
  font-size: clamp(48px, 6vw, 84px);
  line-height: 0.95;
  letter-spacing: -4px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-desc {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 36px;
}

.page-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: 0.3s;
}

.meta-badge:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.meta-badge i {
  color: var(--accent-secondary);
}

.hero-preview-toggles {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 36px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  justify-content: center;
  align-items: center;
}

.toggles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.component-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 36px;
  padding: 40px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
}

.component-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lg), 0 10px 30px rgba(123, 97, 255, 0.1);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.card-label {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}

.card-tag {
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tag-popular {
  background: rgba(123, 97, 255, 0.12);
  color: #a78bfa;
}

.tag-trending {
  background: rgba(6, 182, 212, 0.12);
  color: #22d3ee;
}

.tag-pro {
  background: rgba(235, 104, 53, 0.12);
  color: #ff9f7d;
}

.card-preview {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.005));
  border: 1px solid rgba(255, 255, 255, 0.03);
  margin-bottom: 30px;
}

.card-desc {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 30px;
  font-size: 14px;
}

.actions {
  display: flex;
  gap: 16px;
  margin-top: auto;
}

.action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 20px;
  border: none;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s ease;
}

.view-btn {
  background: rgba(123, 97, 255, 0.1);
  color: #a78bfa;
}

.view-btn:hover {
  background: rgba(123, 97, 255, 0.2);
  transform: translateY(-2px);
}

.copy-btn {
  background: rgba(235, 104, 53, 0.1);
  color: #ff9f7d;
}

.copy-btn:hover {
  background: rgba(235, 104, 53, 0.2);
  transform: translateY(-2px);
}

.copy-btn.copied {
  background: #10b981;
  color: #fff;
}

.code-block {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 24px;
  background: #050508;
  color: #cbd5e1;
  border: 1px solid var(--border-color);
}

.code-block.open {
  max-height: 600px;
  opacity: 1;
  margin-top: 30px;
  padding: 30px;
  overflow-y: auto;
}

.code-block code {
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 13px;
  line-height: 1.8;
}

.copy-toast {
  position: fixed;
  bottom: 40px;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  border-radius: 20px;
  background: #10b981;
  color: white;
  font-size: 15px;
  font-weight: 700;
  transform: translateY(150px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1000;
}

.copy-toast.show {
  transform: translateY(0);
  opacity: 1;
}

#scrollTopBtn {
  position: fixed;
  right: 40px;
  bottom: 40px;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: white;
  cursor: pointer;
  font-size: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
}

#scrollTopBtn.visible {
  opacity: 1;
  visibility: visible;
}

.ios-glass-switch {
  position: relative;
  display: inline-block;
  width: 64px;
  height: 36px;
}

.ios-glass-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.ios-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 36px;
  transition: .4s;
  backdrop-filter: blur(8px);
}

.ios-slider::before {
  position: absolute;
  content: "";
  height: 28px;
  width: 28px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: .4s cubic-bezier(0.3, 1.5, 0.7, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.ios-glass-switch input:checked + .ios-slider {
  background-color: var(--accent-secondary);
  border-color: var(--accent-secondary);
}

.ios-glass-switch input:checked + .ios-slider::before {
  transform: translateX(28px);
}

.neumorphic-switch {
  position: relative;
  display: inline-block;
  width: 70px;
  height: 38px;
}

.neumorphic-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.neu-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #12121e;
  border-radius: 38px;
  box-shadow: inset 4px 4px 8px rgba(0,0,0,0.5), inset -4px -4px 8px rgba(255,255,255,0.05);
  transition: .3s;
}

.neu-slider::before {
  position: absolute;
  content: "";
  height: 30px;
  width: 30px;
  left: 4px;
  bottom: 4px;
  background: linear-gradient(135deg, #1e1e30, #2c2c4d);
  border-radius: 50%;
  transition: .3s;
  box-shadow: 3px 3px 6px rgba(0,0,0,0.4), -2px -2px 5px rgba(255,255,255,0.05);
}

.neumorphic-switch input:checked + .neu-slider::before {
  transform: translateX(32px);
  background: var(--accent-gradient);
  box-shadow: 0 0 10px var(--accent-primary);
}

.cyberpunk-switch {
  position: relative;
  display: inline-block;
  width: 70px;
  height: 34px;
}

.cyberpunk-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cyber-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: transparent;
  border: 2px solid #3b3b4f;
  transition: .3s;
}

.cyber-slider::before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 3px;
  bottom: 3px;
  background-color: #5d5d81;
  transition: .3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cyberpunk-switch input:checked + .cyber-slider {
  border-color: #00f2fe;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

.cyberpunk-switch input:checked + .cyber-slider::before {
  transform: translateX(36px);
  background-color: #00f2fe;
  box-shadow: 0 0 8px #00f2fe;
}

.elastic-switch {
  position: relative;
  display: inline-block;
  width: 76px;
  height: 36px;
}

.elastic-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.elastic-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 36px;
  transition: .4s;
}

.elastic-slider::before {
  position: absolute;
  content: "";
  height: 28px;
  width: 28px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  border-radius: 50%;
  transition: transform .4s cubic-bezier(0.68, -0.6, 0.27, 1.55), width .2s, left .2s;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.elastic-switch input:active + .elastic-slider::before {
  width: 38px;
}

.elastic-switch input:checked + .elastic-slider {
  background-color: var(--accent-primary);
}

.elastic-switch input:checked + .elastic-slider::before {
  transform: translateX(42px);
}

.push-3d-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 60px;
}

.push-3d-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.push-btn {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #1a1a2b;
  border-radius: 12px;
  border: 2px solid #2e2e4a;
  box-shadow: 0 6px 0 #0d0d17, 0 8px 15px rgba(0,0,0,0.5);
  transition: all .1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 18px;
}

.push-btn i {
  transition: all .2s ease;
}

.push-3d-switch input:checked + .push-btn {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #0d0d17, 0 4px 8px rgba(0,0,0,0.4);
  background-color: var(--accent-secondary);
  border-color: #8c76ff;
  color: white;
  text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.glow-slide-switch {
  position: relative;
  display: inline-block;
  width: 68px;
  height: 34px;
}

.glow-slide-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.glow-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #151525;
  border: 1px solid var(--border-color);
  border-radius: 34px;
  transition: .3s;
}

.glow-slider::before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 3px;
  bottom: 3px;
  background-color: #3b3b55;
  border-radius: 50%;
  transition: .3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.glow-slide-switch input:checked + .glow-slider {
  border-color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(235, 104, 53, 0.3);
}

.glow-slide-switch input:checked + .glow-slider::before {
  transform: translateX(34px);
  background-color: var(--accent-primary);
  box-shadow: 0 0 12px var(--accent-primary);
}

.emoji-toggle-switch {
  position: relative;
  display: inline-block;
  width: 72px;
  height: 38px;
}

.emoji-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.emoji-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #181928;
  border: 1px solid var(--border-color);
  border-radius: 38px;
  transition: .4s;
  overflow: hidden;
}

.emoji-slider::before {
  position: absolute;
  content: "☀️";
  height: 30px;
  width: 30px;
  left: 3px;
  bottom: 3px;
  background-color: #2b2c45;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: .4s cubic-bezier(0.3, 1.5, 0.7, 1);
}

.emoji-toggle-switch input:checked + .emoji-slider {
  background-color: #0b0c16;
}

.emoji-toggle-switch input:checked + .emoji-slider::before {
  transform: translateX(34px);
  content: "🌙";
  background-color: #101222;
}

.liquid-switch {
  position: relative;
  display: inline-block;
  width: 68px;
  height: 36px;
}

.liquid-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.liquid-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 36px;
  transition: .4s;
}

.liquid-slider::before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 4px;
  bottom: 4px;
  background-color: #64748b;
  border-radius: 50%;
  transition: .4s cubic-bezier(0.77, 0, 0.175, 1);
}

.liquid-switch input:checked + .liquid-slider {
  background-color: transparent;
}

.liquid-switch input:checked + .liquid-slider::before {
  transform: translateX(32px) scale(1.1);
  background-color: #10b981;
  filter: drop-shadow(0 0 6px #10b981);
}

.text-indicator-switch {
  position: relative;
  display: inline-block;
  width: 80px;
  height: 34px;
}

.text-indicator-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.text-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #161622;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  transition: .3s;
}

.text-slider::before {
  position: absolute;
  content: "OFF";
  height: 26px;
  width: 36px;
  left: 3px;
  bottom: 3px;
  background-color: #2a2b3d;
  color: var(--text-secondary);
  font-family: monospace;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: .3s;
}

.text-indicator-switch input:checked + .text-slider {
  border-color: rgba(16, 185, 129, 0.4);
}

.text-indicator-switch input:checked + .text-slider::before {
  transform: translateX(36px);
  content: "ON";
  background-color: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.retro-arcade-switch {
  position: relative;
  display: inline-block;
  width: 76px;
  height: 34px;
}

.retro-arcade-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.retro-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #000;
  border: 3px solid #fff;
  transition: .15s;
}

.retro-slider::before {
  position: absolute;
  content: "";
  height: 20px;
  width: 30px;
  left: 2px;
  bottom: 2px;
  background-color: #ff0055;
  border: 2px solid #fff;
  transition: .15s;
}

.retro-arcade-switch input:checked + .retro-slider::before {
  transform: translateX(36px);
  background-color: #00ff66;
}

@media (max-width: 1400px) {
  .main-home {
    padding: 120px 30px 60px 280px;
  }
}

@media (max-width: 1100px) {
  .main-home {
    padding: 100px 24px 40px;
  }
  
  .page-hero {
    grid-template-columns: 1fr;
    padding: 60px 40px;
  }
}

@media (max-width: 768px) {
  .page-title {
    font-size: 52px;
    letter-spacing: -2px;
  }
  
  .toggles-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .page-hero {
    padding: 40px 24px;
  }
}

/* 11. Minimal Dot Switch */
.minimal-dot-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}
.minimal-dot-switch input { opacity: 0; width: 0; height: 0; }
.minimal-dot-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: transparent;
  border: 2px solid var(--border-color);
  border-radius: 24px;
  transition: .3s;
}
.minimal-dot-slider::before {
  position: absolute;
  content: "";
  height: 12px; width: 12px;
  left: 4px; bottom: 4px;
  background-color: var(--text-secondary);
  border-radius: 50%;
  transition: .3s;
}
.minimal-dot-switch input:checked + .minimal-dot-slider {
  border-color: #fff;
}
.minimal-dot-switch input:checked + .minimal-dot-slider::before {
  transform: translateX(26px);
  background-color: #fff;
  box-shadow: 0 0 10px rgba(255,255,255,0.8);
}

/* 12. Cyber Hex Switch */
.cyber-hex-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}
.cyber-hex-switch input { opacity: 0; width: 0; height: 0; }
.cyber-hex-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #0d0d12;
  border: 1px solid #ff003c;
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0 50%);
  transition: .3s;
}
.cyber-hex-slider::before {
  position: absolute;
  content: "";
  height: 18px; width: 18px;
  left: 6px; bottom: 5px;
  background-color: #ff003c;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transition: .3s;
}
.cyber-hex-switch input:checked + .cyber-hex-slider {
  background-color: rgba(255,0,60,0.1);
  box-shadow: 0 0 15px rgba(255,0,60,0.4);
}
.cyber-hex-switch input:checked + .cyber-hex-slider::before {
  transform: translateX(28px);
  background-color: #ff003c;
  box-shadow: 0 0 10px #ff003c;
}

/* 13. Glass Morphism Switch */
.glass-morph-switch {
  position: relative;
  display: inline-block;
  width: 80px;
  height: 40px;
}
.glass-morph-switch input { opacity: 0; width: 0; height: 0; }
.glass-morph-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 40px;
  box-shadow: inset 0 0 10px rgba(255,255,255,0.05);
  transition: .4s;
}
.glass-morph-slider::before {
  position: absolute;
  content: "";
  height: 30px; width: 30px;
  left: 4px; bottom: 4px;
  background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(255,255,255,0.2));
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: .4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.glass-morph-switch input:checked + .glass-morph-slider {
  background: rgba(123, 97, 255, 0.2);
  border-color: rgba(123, 97, 255, 0.5);
}
.glass-morph-switch input:checked + .glass-morph-slider::before {
  transform: translateX(40px);
  background: linear-gradient(135deg, #a78bfa, #7b61ff);
}

/* 14. Brutalist Block Switch */
.brutalist-block-switch {
  position: relative;
  display: inline-block;
  width: 70px;
  height: 34px;
}
.brutalist-block-switch input { opacity: 0; width: 0; height: 0; }
.brutalist-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #fff;
  border: 3px solid #000;
  box-shadow: 4px 4px 0px #000;
  transition: .1s;
}
.brutalist-slider::before {
  position: absolute;
  content: "";
  height: 24px; width: 24px;
  left: 2px; bottom: 2px;
  background-color: #000;
  transition: .2s cubic-bezier(0.25, 1, 0.5, 1);
}
.brutalist-block-switch input:checked + .brutalist-slider {
  background-color: #ffeb3b;
}
.brutalist-block-switch input:checked + .brutalist-slider::before {
  transform: translateX(34px);
}
.brutalist-block-switch input:active + .brutalist-slider {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px #000;
}

/* 15. Magnetic Track Switch */
.magnetic-track-switch {
  position: relative;
  display: inline-block;
  width: 64px;
  height: 20px;
  margin-top: 8px;
}
.magnetic-track-switch input { opacity: 0; width: 0; height: 0; }
.magnetic-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #2a2a35;
  border-radius: 20px;
  transition: .3s;
}
.magnetic-slider::before {
  position: absolute;
  content: "";
  height: 32px; width: 32px;
  left: -4px; bottom: -6px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  transition: .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.magnetic-track-switch input:checked + .magnetic-slider {
  background-color: #10b981;
}
.magnetic-track-switch input:checked + .magnetic-slider::before {
  transform: translateX(40px);
}
