/*! UEditorPlus - 按钮特效样式库
 * 集成自 cssbuttons.io 和 ui-buttons.web.app
 */

/* ===== CSSButtons.io 特效按钮 ===== */

/* 1. 渐变双色按钮 */
.btn-css-01 {
  font-size: 15px;
  font-family: inherit;
  font-weight: 700;
  padding: 4px;
  border-radius: 20px;
  cursor: pointer;
  border: none;
  color: black;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px,
              rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
  background: linear-gradient(0deg,
    rgba(255, 213, 0, 1) 0%,
    rgba(255, 213, 0, 1) 47%,
    rgba(0, 91, 187, 1) 47%,
    rgba(0, 91, 187, 1) 100%);
  transition: all 0.1s ease-in-out;
  display: inline-block;
}
.btn-css-01:active { transform: translateY(3px); }
.btn-css-01 .btn-content {
  display: inline-flex;
  align-items: center;
  background: white;
  padding: 0.6em 1.3em;
  border-radius: 16px;
}

/* 2. 3D悬浮按钮 */
.btn-css-02 {
  position: relative;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  outline-offset: 4px;
  transition: filter 250ms;
  user-select: none;
  display: inline-block;
}
.btn-css-02 .btn-shadow {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  will-change: transform;
  transform: translateY(2px);
  transition: transform 600ms cubic-bezier(0.3, 0.7, 0.4, 1);
}
.btn-css-02 .btn-edge {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 12px;
  background: linear-gradient(to left,
    hsl(340deg 100% 16%) 0%,
    hsl(340deg 100% 32%) 8%,
    hsl(340deg 100% 32%) 92%,
    hsl(340deg 100% 16%) 100%);
}
.btn-css-02 .btn-front {
  display: block;
  position: relative;
  padding: 10px 22px;
  border-radius: 12px;
  font-size: 15px;
  color: white;
  background: hsl(345deg 100% 47%);
  transform: translateY(-4px);
  transition: transform 600ms cubic-bezier(0.3, 0.7, 0.4, 1);
}
.btn-css-02:hover .btn-front { transform: translateY(-6px); transition: transform 250ms cubic-bezier(0.3, 0.7, 0.4, 1.5); }
.btn-css-02:active .btn-front { transform: translateY(-2px); transition: transform 34ms; }
.btn-css-02:hover .btn-shadow { transform: translateY(4px); transition: transform 250ms cubic-bezier(0.3, 0.7, 0.4, 1.5); }
.btn-css-02:active .btn-shadow { transform: translateY(1px); transition: transform 34ms; }

/* 3. 圆形膨胀按钮 */
.btn-css-03 {
  position: relative;
  font-size: 15px;
  text-transform: uppercase;
  padding: 0.8em 2em;
  display: inline-block;
  cursor: pointer;
  border-radius: 6em;
  transition: all 0.2s;
  border: none;
  font-weight: 500;
  color: #333;
  background-color: white;
}
.btn-css-03:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); }
.btn-css-03:active { transform: translateY(-1px); box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); }
.btn-css-03::after { content: ""; display: inline-block; height: 100%; width: 100%; border-radius: 100px; position: absolute; top: 0; left: 0; z-index: -1; transition: all 0.4s; background-color: #fff; }
.btn-css-03:hover::after { transform: scaleX(1.4) scaleY(1.6); opacity: 0; }

/* 4. 霓虹按钮 */
.btn-css-04 { font-size: 15px; padding: 10px 25px; cursor: pointer; border: none; color: #fff; border-radius: 5px; background: #1f1f1f; transition: all 0.2s; display: inline-block; }
.btn-css-04:hover { background: #ff00c8; box-shadow: 0 0 25px #ff00c8; }

/* 5. 玻璃态按钮 */
.btn-css-05 { font-size: 15px; padding: 10px 25px; border-radius: 25px; cursor: pointer; color: #333; background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.3); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); transition: all 0.3s; display: inline-block; }
.btn-css-05:hover { background: rgba(255, 255, 255, 0.9); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15); }

/* 6. 渐变发光按钮 */
.btn-css-06 { font-size: 15px; padding: 10px 30px; cursor: pointer; border: none; color: #fff; background: linear-gradient(45deg, #667eea 0%, #764ba2 100%); border-radius: 5px; transition: all 0.3s; display: inline-block; box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4); }
.btn-css-06:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6); }
.btn-css-06:active { transform: translateY(0); }

/* 7. 渐变缩放按钮 */
.btn-css-07 { font-size: 15px; font-weight: 600; padding: 10px 28px; border-radius: 8px; cursor: pointer; color: #fff; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border: none; transition: all 0.3s ease; display: inline-block; }
.btn-css-07:hover { transform: scale(1.05); box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5); }

/* 8. 3D按压按钮 */
.btn-css-08 { font-size: 15px; font-weight: 700; padding: 10px 28px; border-radius: 8px; cursor: pointer; color: #fff; background: #4a90e2; border: none; box-shadow: 0 5px 0 #357abd, 0 7px 10px rgba(0,0,0,0.2); transition: all 0.15s ease; display: inline-block; }
.btn-css-08:hover { background: #5aa0f2; }
.btn-css-08:active { transform: translateY(3px); box-shadow: 0 2px 0 #357abd, 0 3px 5px rgba(0,0,0,0.2); }

/* 9. 闪光扫过按钮 */
.btn-css-09 { font-size: 15px; font-weight: 600; padding: 12px 30px; border-radius: 8px; cursor: pointer; color: #fff; background: #2563eb; border: none; position: relative; overflow: hidden; transition: all 0.3s; display: inline-block; }
.btn-css-09::before { content: ""; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent); transition: left 0.5s; }
.btn-css-09:hover::before { left: 100%; }
.btn-css-09:hover { box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4); }

/* 10. 脉冲呼吸按钮 */
.btn-css-10 { font-size: 15px; font-weight: 600; padding: 12px 30px; border-radius: 50px; cursor: pointer; color: #fff; background: #10b981; border: none; display: inline-block; animation: btn-pulse 2s infinite; }
@keyframes btn-pulse { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }

/* 11. 波纹扩散按钮 */
.btn-css-11 { font-size: 15px; font-weight: 600; padding: 12px 30px; border-radius: 6px; cursor: pointer; color: #fff; background: #7c3aed; border: none; position: relative; overflow: hidden; display: inline-block; }
.btn-css-11::after { content: ""; position: absolute; top: 50%; left: 50%; width: 0; height: 0; border-radius: 50%; background: rgba(255,255,255,0.3); transform: translate(-50%, -50%); transition: width 0.4s, height 0.4s; }
.btn-css-11:hover::after { width: 300px; height: 300px; }

/* 12. 边框渐变按钮 */
.btn-css-12 { font-size: 15px; font-weight: 600; padding: 10px 28px; border: 2px solid transparent; border-radius: 8px; cursor: pointer; color: #333; background-image: linear-gradient(#fff, #fff), linear-gradient(135deg, #f093fb, #f5576c); background-origin: border-box; background-clip: padding-box, border-box; transition: all 0.3s; display: inline-block; }
.btn-css-12:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(245, 87, 108, 0.3); }

/* 13. 翻转渐变按钮 */
.btn-css-13 { font-size: 15px; font-weight: 600; padding: 12px 30px; border-radius: 8px; cursor: pointer; color: #fff; border: none; background: #3b82f6; position: relative; overflow: hidden; display: inline-block; transition: color 0.3s; }
.btn-css-13::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #1d4ed8; transform: scaleX(0); transform-origin: right; transition: transform 0.3s ease; z-index: -1; }
.btn-css-13:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-css-13:hover { color: #fff; }

/* 14. 阴影下沉按钮 */
.btn-css-14 { font-size: 15px; font-weight: 600; padding: 12px 28px; border-radius: 10px; cursor: pointer; color: #333; background: #fff; border: none; box-shadow: 0 4px 12px rgba(0,0,0,0.1); transition: all 0.3s; display: inline-block; }
.btn-css-14:hover { box-shadow: 0 8px 25px rgba(0,0,0,0.15); transform: translateY(-2px); }
.btn-css-14:active { box-shadow: 0 2px 8px rgba(0,0,0,0.1); transform: translateY(0); }

/* 15. 渐变流光按钮 */
.btn-css-15 { font-size: 15px; font-weight: 600; padding: 12px 30px; border-radius: 8px; cursor: pointer; color: #fff; border: none; background: linear-gradient(45deg, #f093fb, #f5576c, #4facfe, #00f2fe); background-size: 300% 300%; display: inline-block; animation: btn-gradient-flow 3s ease infinite; }
@keyframes btn-gradient-flow { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* 16. 弹性缩放按钮 */
.btn-css-16 { font-size: 15px; font-weight: 600; padding: 12px 30px; border-radius: 8px; cursor: pointer; color: #fff; background: #ec4899; border: none; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); display: inline-block; }
.btn-css-16:hover { transform: scale(1.1); background: #db2777; }
.btn-css-16:active { transform: scale(0.95); }

/* 17. 描边动画按钮 */
.btn-css-17 { font-size: 15px; font-weight: 600; padding: 12px 30px; border: 2px solid #333; border-radius: 8px; cursor: pointer; color: #333; background: transparent; position: relative; overflow: hidden; transition: color 0.3s; display: inline-block; }
.btn-css-17::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #333; transform: translateY(100%); transition: transform 0.3s ease; z-index: -1; }
.btn-css-17:hover::before { transform: translateY(0); }
.btn-css-17:hover { color: #fff; }

/* 18. 底部线条按钮 */
.btn-css-18 { font-size: 15px; font-weight: 600; padding: 8px 2px; border: none; cursor: pointer; color: #333; background: transparent; position: relative; display: inline-block; }
.btn-css-18::after { content: ""; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; background: #3b82f6; border-radius: 2px; transition: width 0.3s ease; }
.btn-css-18:hover::after { width: 100%; }
.btn-css-18:hover { color: #3b82f6; }

/* 19. 双色渐变按钮 */
.btn-css-19 { font-size: 15px; font-weight: 700; padding: 12px 30px; border-radius: 50px; cursor: pointer; color: #fff; border: none; background: linear-gradient(135deg, #ff6a00, #ee0979); transition: all 0.3s; display: inline-block; box-shadow: 0 4px 15px rgba(238, 9, 121, 0.4); }
.btn-css-19:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(238, 9, 121, 0.6); }

/* 20. 暗黑发光按钮 */
.btn-css-20 { font-size: 15px; font-weight: 600; padding: 12px 30px; border-radius: 8px; cursor: pointer; color: #a78bfa; background: transparent; border: 1px solid #a78bfa; transition: all 0.3s; display: inline-block; }
.btn-css-20:hover { color: #fff; background: #a78bfa; box-shadow: 0 0 20px #a78bfa, 0 0 40px rgba(167, 139, 250, 0.5); }

/* 21. 涡轮加速按钮 */
.btn-css-21 { font-size: 15px; font-weight: 600; padding: 12px 30px; border-radius: 6px; cursor: pointer; color: #fff; background: #059669; border: none; position: relative; overflow: hidden; transition: all 0.3s; display: inline-block; }
.btn-css-21::before { content: ""; position: absolute; top: 50%; left: 50%; width: 0; height: 0; border-radius: 50%; background: rgba(255,255,255,0.2); transform: translate(-50%, -50%); transition: width 0.5s, height 0.5s; }
.btn-css-21:hover::before { width: 400px; height: 400px; }
.btn-css-21:hover { background: #047857; }

/* 22. 简约圆角按钮 */
.btn-css-22 { font-size: 15px; font-weight: 500; padding: 10px 24px; border-radius: 12px; cursor: pointer; color: #6366f1; background: #eef2ff; border: 1px solid #c7d2fe; transition: all 0.2s; display: inline-block; }
.btn-css-22:hover { background: #6366f1; color: #fff; border-color: #6366f1; box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3); }

/* 23. 极光按钮 */
.btn-css-23 { font-size: 15px; font-weight: 600; padding: 12px 30px; border-radius: 10px; cursor: pointer; color: #fff; border: none; background: linear-gradient(135deg, #00c6ff, #0072ff, #00c6ff); background-size: 200% 200%; display: inline-block; animation: btn-aurora 3s ease infinite; box-shadow: 0 4px 15px rgba(0, 114, 255, 0.4); }
@keyframes btn-aurora { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* 24. 火焰按钮 */
.btn-css-24 { font-size: 15px; font-weight: 700; padding: 12px 30px; border-radius: 8px; cursor: pointer; color: #fff; border: none; background: linear-gradient(0deg, #f72585, #ff6b6b, #ffd166); background-size: 100% 200%; display: inline-block; transition: background-position 0.3s; }
.btn-css-24:hover { background-position: 0% 100%; }

/* 25. 涂鸦边框按钮 */
.btn-css-25 { font-size: 15px; font-weight: 700; padding: 10px 24px; border: 3px solid #1a1a2e; border-radius: 12px; cursor: pointer; color: #1a1a2e; background: #e0aaff; box-shadow: 4px 4px 0 #1a1a2e; transition: all 0.15s; display: inline-block; }
.btn-css-25:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #1a1a2e; }
.btn-css-25:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #1a1a2e; }

/* 26. 星空按钮 */
.btn-css-26 { font-size: 15px; font-weight: 600; padding: 12px 30px; border-radius: 8px; cursor: pointer; color: #fff; border: none; background: #1a1a2e; position: relative; overflow: hidden; display: inline-block; }
.btn-css-26::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 20% 50%, #fff 1px, transparent 1px), radial-gradient(circle at 80% 30%, #fff 1px, transparent 1px), radial-gradient(circle at 50% 80%, #fff 1px, transparent 1px); opacity: 0; transition: opacity 0.3s; }
.btn-css-26:hover::before { opacity: 0.5; }
.btn-css-26:hover { background: #16213e; box-shadow: 0 0 20px rgba(255,255,255,0.1); }

/* 27. 迷你渐变按钮 */
.btn-css-27 { font-size: 13px; font-weight: 600; padding: 8px 18px; border-radius: 6px; cursor: pointer; color: #fff; border: none; background: linear-gradient(135deg, #f43f5e, #f97316); transition: all 0.2s; display: inline-block; }
.btn-css-27:hover { filter: brightness(1.15); transform: translateY(-1px); }

/* 28. 暖色调渐变按钮 */
.btn-css-28 { font-size: 15px; font-weight: 600; padding: 12px 30px; border-radius: 10px; cursor: pointer; color: #fff; border: none; background: linear-gradient(135deg, #fa709a, #fee140); transition: all 0.3s; display: inline-block; }
.btn-css-28:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(250, 112, 154, 0.4); }

/* 29. 冷色调渐变按钮 */
.btn-css-29 { font-size: 15px; font-weight: 600; padding: 12px 30px; border-radius: 10px; cursor: pointer; color: #fff; border: none; background: linear-gradient(135deg, #4facfe, #00f2fe); transition: all 0.3s; display: inline-block; }
.btn-css-29:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(79, 172, 254, 0.4); }

/* 30. 折叠动画按钮 */
.btn-css-30 { font-size: 15px; font-weight: 600; padding: 12px 30px; border-radius: 8px; cursor: pointer; color: #fff; background: #6366f1; border: none; position: relative; overflow: hidden; transition: all 0.3s; display: inline-block; }
.btn-css-30::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #4f46e5; transform: translateX(-100%); transition: transform 0.3s ease; z-index: -1; }
.btn-css-30:hover::before { transform: translateX(0); }

/* ===== UI-Buttons 特效按钮 ===== */

/* 31. 霓虹边框填充按钮 */
.btn-ui-09 { --neon: #0ea5e9; box-sizing: border-box; display: inline-block; font-weight: 900; outline: 4px solid #fff; outline-offset: -4px; overflow: hidden; padding: 1rem 2.5rem; position: relative; text-transform: uppercase; background: transparent; color: #333; cursor: pointer; border: none; font-size: 14px; transition: 0.2s linear 0.1s; }
.btn-ui-09:hover { background: var(--neon); box-shadow: 0 0 5px var(--neon), 0 0 25px var(--neon), 0 0 50px var(--neon); color: #fff; outline-color: transparent; transition: 0.2s linear 0.6s; }
.btn-ui-09 .span-top, .btn-ui-09 .span-right, .btn-ui-09 .span-bottom, .btn-ui-09 .span-left { display: block; inset: 0; position: absolute; }
.btn-ui-09 .span-top { border-top: 4px solid var(--neon); opacity: 0; transform: translateX(calc(-100% + var(--progress, 0%))); transition: none; }
.btn-ui-09:hover .span-top { --progress: 100%; opacity: 1; transition: transform 0.2s linear; }
.btn-ui-09 .span-right { border-right: 4px solid var(--neon); opacity: 0; transform: translateY(calc(-100% + var(--progress, 0%))); transition: none; }
.btn-ui-09:hover .span-right { --progress: 100%; opacity: 1; transition: transform 0.2s linear 0.2s; }
.btn-ui-09 .span-bottom { border-bottom: 4px solid var(--neon); opacity: 0; transform: translateX(calc(100% - var(--progress, 0%))); transition: none; }
.btn-ui-09:hover .span-bottom { --progress: 100%; opacity: 1; transition: transform 0.2s linear 0.4s; }
.btn-ui-09 .span-left { border-left: 4px solid var(--neon); opacity: 0; transform: translateY(calc(100% - var(--progress, 0%))); transition: none; }
.btn-ui-09:hover .span-left { --progress: 100%; opacity: 1; transition: transform 0.2s linear 0.6s; }

/* 32. 边框蛇形动画 */
.btn-ui-10 { box-shadow: inset 0 0 0 2px #333; box-sizing: border-box; display: inline-block; font-weight: 900; padding: 1rem 2.5rem; position: relative; text-transform: uppercase; background: transparent; color: #333; cursor: pointer; border: none; font-size: 14px; transition: color 0.1s linear; }
.btn-ui-10:hover { color: #fff; transition: color 0.1s linear 1s; }
.btn-ui-10::after, .btn-ui-10::before { content: ""; height: 0; position: absolute; width: 0; }
.btn-ui-10::before { border-right: 4px solid #0ea5e9; border-top: 4px solid #0ea5e9; left: 0; top: 0; }
.btn-ui-10:hover::before { -webkit-animation: border-top-right 1s forwards; animation: border-top-right 1s forwards; }
.btn-ui-10::after { border-bottom: 4px solid #0ea5e9; border-left: 4px solid #0ea5e9; bottom: 0; right: 0; z-index: -1; }
.btn-ui-10:hover::after { -webkit-animation: border-bottom-left 1s 1s forwards; animation: border-bottom-left 1s 1s forwards; }
@keyframes border-top-right { 0% { height: 0; width: 0; } 50% { height: 0; width: 100%; } to { height: 100%; width: 100%; } }
@keyframes border-bottom-left { 0% { height: 0; width: 0; } 50% { height: 0; width: 100%; } to { height: 100%; width: 100%; } }

/* 33. 滑动文字切换 */
.btn-ui-11 { border: 1px solid #333; box-sizing: border-box; display: inline-block; font-weight: 900; overflow: hidden; padding: 0.9rem 3rem; position: relative; text-transform: uppercase; background: transparent; color: #333; cursor: pointer; font-size: 14px; }
.btn-ui-11 .label-new { background: #333; color: #fff; display: grid; inset: 0; place-content: center; pointer-events: none; position: absolute; transform: translateX(-100%); transition: transform 0.3s; }
.btn-ui-11:hover .label-new { transform: translateX(0); }

/* 34. 圆形充能动画 */
.btn-ui-12 { position: relative; width: 80px; height: 80px; border-radius: 50%; border: none; background: #333; color: #fff; font-weight: 700; cursor: pointer; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; transition: all 0.3s; }
.btn-ui-12::before { content: ""; position: absolute; top: -4px; left: -4px; right: -4px; bottom: -4px; border-radius: 50%; background: linear-gradient(45deg, #ff00c8, #00fff9, #ff00c8); background-size: 300% 300%; z-index: -1; animation: charge 2s linear infinite; }
@keyframes charge { 0% { background-position: 0% 50%; } 100% { background-position: 300% 50%; } }

/* 35. 线条滑动动画 */
.btn-ui-13 { position: relative; display: inline-block; padding: 10px 30px; color: #333; font-size: 14px; font-weight: 700; text-transform: uppercase; background: transparent; border: none; cursor: pointer; overflow: hidden; }
.btn-ui-13::before { content: ""; position: absolute; top: 50%; left: 50%; width: 0; height: 2px; background: #333; transition: all 0.3s; transform: translate(-50%, -50%); }
.btn-ui-13:hover::before { width: 100%; }
.btn-ui-13::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 2px solid #333; opacity: 0; transition: all 0.3s; }
.btn-ui-13:hover::after { opacity: 1; transform: scale(1.1); }

/* 36. 3D旋转按钮 */
.btn-ui-14 { perspective: 600px; display: inline-block; }
.btn-ui-14-inner { position: relative; display: inline-block; padding: 12px 30px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; font-weight: 700; text-transform: uppercase; border-radius: 6px; cursor: pointer; transition: transform 0.4s; transform-style: preserve-3d; }
.btn-ui-14:hover .btn-ui-14-inner { transform: rotateY(-15deg) rotateX(5deg); box-shadow: 10px 10px 20px rgba(0,0,0,0.3); }

/* 37. 进度填充动画 */
.btn-ui-15 { position: relative; padding: 10px 30px; background: #f0f0f0; color: #333; border: none; border-radius: 4px; cursor: pointer; font-weight: 700; overflow: hidden; display: inline-block; transition: color 0.3s; }
.btn-ui-15::before { content: ""; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, #ff6b6b, #ee5a52); transition: left 0.4s; z-index: 0; }
.btn-ui-15:hover { color: #fff; }
.btn-ui-15:hover::before { left: 0; }
.btn-ui-15 span { position: relative; z-index: 1; }

/* 38. 底部填充动画 */
.btn-ui-16 { position: relative; display: inline-block; padding: 12px 30px; color: #333; font-size: 14px; font-weight: 700; text-transform: uppercase; background: transparent; border: none; cursor: pointer; overflow: hidden; }
.btn-ui-16::before { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 0; background: #f59e0b; transition: height 0.3s; z-index: -1; }
.btn-ui-16:hover::before { height: 100%; }
.btn-ui-16:hover { color: #fff; }

/* 39. 顶部填充动画 */
.btn-ui-17 { position: relative; display: inline-block; padding: 12px 30px; color: #333; font-size: 14px; font-weight: 700; text-transform: uppercase; background: transparent; border: none; cursor: pointer; overflow: hidden; }
.btn-ui-17::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 0; background: #8b5cf6; transition: height 0.3s; z-index: -1; }
.btn-ui-17:hover::before { height: 100%; }
.btn-ui-17:hover { color: #fff; }

/* 40. 左侧填充动画 */
.btn-ui-18 { position: relative; display: inline-block; padding: 12px 30px; color: #333; font-size: 14px; font-weight: 700; text-transform: uppercase; background: transparent; border: 2px solid #333; cursor: pointer; overflow: hidden; }
.btn-ui-18::before { content: ""; position: absolute; left: 0; top: 0; width: 0; height: 100%; background: #333; transition: width 0.3s; z-index: -1; }
.btn-ui-18:hover::before { width: 100%; }
.btn-ui-18:hover { color: #fff; }

/* 41. 右侧填充动画 */
.btn-ui-19 { position: relative; display: inline-block; padding: 12px 30px; color: #333; font-size: 14px; font-weight: 700; text-transform: uppercase; background: transparent; border: 2px solid #333; cursor: pointer; overflow: hidden; }
.btn-ui-19::before { content: ""; position: absolute; right: 0; top: 0; width: 0; height: 100%; background: #333; transition: width 0.3s; z-index: -1; }
.btn-ui-19:hover::before { width: 100%; }
.btn-ui-19:hover { color: #fff; }

/* 42. 双向填充动画 */
.btn-ui-20 { position: relative; display: inline-block; padding: 12px 30px; color: #333; font-size: 14px; font-weight: 700; text-transform: uppercase; background: transparent; border: 2px solid #333; cursor: pointer; overflow: hidden; }
.btn-ui-20::before { content: ""; position: absolute; left: 50%; top: 0; width: 0; height: 100%; background: #ec4899; transition: width 0.3s; transform: translateX(-50%); z-index: -1; }
.btn-ui-20:hover::before { width: 100%; }
.btn-ui-20:hover { color: #fff; }

/* 43. 中心放大填充 */
.btn-ui-21 { position: relative; display: inline-block; padding: 12px 30px; color: #333; font-size: 14px; font-weight: 700; text-transform: uppercase; background: transparent; border: 2px solid #333; cursor: pointer; overflow: hidden; }
.btn-ui-21::before { content: ""; position: absolute; left: 50%; top: 50%; width: 0; height: 0; background: #10b981; border-radius: 50%; transform: translate(-50%, -50%); transition: width 0.4s, height 0.4s; z-index: -1; }
.btn-ui-21:hover::before { width: 400px; height: 400px; }
.btn-ui-21:hover { color: #fff; }

/* 44. 角落填充 */
.btn-ui-22 { position: relative; display: inline-block; padding: 12px 30px; color: #333; font-size: 14px; font-weight: 700; text-transform: uppercase; background: transparent; border: 2px solid #333; cursor: pointer; overflow: hidden; }
.btn-ui-22::before { content: ""; position: absolute; top: 0; left: 0; width: 0; height: 100%; background: #f43f5e; transition: width 0.3s; z-index: -1; }
.btn-ui-22:hover::before { width: 100%; }
.btn-ui-22:hover { color: #fff; }

/* 45. 边框展开动画 */
.btn-ui-23 { position: relative; display: inline-block; padding: 12px 30px; color: #333; font-size: 14px; font-weight: 700; text-transform: uppercase; background: transparent; border: none; cursor: pointer; }
.btn-ui-23::before, .btn-ui-23::after { content: ""; position: absolute; width: 0; height: 0; border-style: solid; transition: all 0.3s; }
.btn-ui-23::before { top: 0; left: 0; border-width: 2px 0 0 2px; border-color: #3b82f6; }
.btn-ui-23::after { bottom: 0; right: 0; border-width: 0 2px 2px 0; border-color: #3b82f6; }
.btn-ui-23:hover::before { width: 100%; height: 100%; }
.btn-ui-23:hover::after { width: 100%; height: 100%; }
.btn-ui-23:hover { color: #3b82f6; }

/* 46. 下划线扩展动画 */
.btn-ui-24 { position: relative; display: inline-block; padding: 10px 20px; color: #333; font-size: 14px; font-weight: 700; text-transform: uppercase; background: transparent; border: none; cursor: pointer; }
.btn-ui-24::before { content: ""; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background: #3b82f6; transform: translateX(-50%); transition: width 0.3s; }
.btn-ui-24:hover::before { width: 100%; }
.btn-ui-24:hover { color: #3b82f6; }

/* 47. 双线动画 */
.btn-ui-25 { position: relative; display: inline-block; padding: 12px 30px; color: #333; font-size: 14px; font-weight: 700; text-transform: uppercase; background: transparent; border: none; cursor: pointer; }
.btn-ui-25::before, .btn-ui-25::after { content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: #333; transition: transform 0.3s; }
.btn-ui-25::before { top: 0; transform: scaleX(0); transform-origin: left; }
.btn-ui-25::after { bottom: 0; transform: scaleX(0); transform-origin: right; }
.btn-ui-25:hover::before { transform: scaleX(1); }
.btn-ui-25:hover::after { transform: scaleX(1); }

/* 48. 旋转边框 */
.btn-ui-26 { position: relative; display: inline-block; padding: 12px 30px; color: #fff; font-size: 14px; font-weight: 700; text-transform: uppercase; background: #1a1a2e; border: none; cursor: pointer; z-index: 1; }
.btn-ui-26::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; background: linear-gradient(45deg, #ff00c8, #00fff9, #ff00c8); background-size: 300% 300%; z-index: -1; animation: btn-rotate-border 3s linear infinite; }
@keyframes btn-rotate-border { 0% { background-position: 0% 50%; } 100% { background-position: 300% 50%; } }

/* 49. 文字渐变按钮 */
.btn-ui-27 { display: inline-block; padding: 12px 30px; font-size: 15px; font-weight: 700; text-transform: uppercase; background: transparent; border: 2px solid #333; cursor: pointer; color: #333; transition: all 0.3s; }
.btn-ui-27:hover { border-color: transparent; background: linear-gradient(45deg, #667eea, #764ba2); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* 50. 弹跳按钮 */
.btn-ui-28 { display: inline-block; padding: 12px 30px; font-size: 14px; font-weight: 700; text-transform: uppercase; background: #f59e0b; color: #fff; border: none; border-radius: 8px; cursor: pointer; transition: all 0.3s; }
.btn-ui-28:hover { animation: btn-bounce 0.5s ease; }
@keyframes btn-bounce { 0%, 100% { transform: translateY(0); } 25% { transform: translateY(-10px); } 50% { transform: translateY(5px); } 75% { transform: translateY(-3px); } }

/* 51. 浮动按钮 */
.btn-ui-29 { display: inline-block; padding: 12px 30px; font-size: 14px; font-weight: 700; text-transform: uppercase; background: #fff; color: #333; border: 1px solid #ddd; border-radius: 10px; cursor: pointer; box-shadow: 0 5px 15px rgba(0,0,0,0.08); transition: all 0.3s; }
.btn-ui-29:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.12); }

/* 52. 玻璃边框按钮 */
.btn-ui-30 { display: inline-block; padding: 12px 30px; font-size: 14px; font-weight: 600; text-transform: uppercase; background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.3); border-radius: 10px; cursor: pointer; backdrop-filter: blur(10px); transition: all 0.3s; }
.btn-ui-30:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.5); box-shadow: 0 8px 32px rgba(255,255,255,0.1); }

/* 53. 锐角动画 */
.btn-ui-31 { display: inline-block; padding: 12px 30px; font-size: 14px; font-weight: 700; text-transform: uppercase; background: #6366f1; color: #fff; border: none; border-radius: 8px; cursor: pointer; position: relative; overflow: hidden; transition: border-radius 0.3s; }
.btn-ui-31:hover { border-radius: 20px; }
.btn-ui-31:active { border-radius: 4px; }

/* 54. 分裂填充 */
.btn-ui-32 { display: inline-block; padding: 12px 30px; font-size: 14px; font-weight: 700; text-transform: uppercase; background: transparent; color: #333; border: 2px solid #333; cursor: pointer; position: relative; overflow: hidden; z-index: 1; }
.btn-ui-32::before { content: ""; position: absolute; left: 50%; top: 0; width: 0; height: 100%; background: #333; transition: width 0.3s; z-index: -1; transform: translateX(-50%); }
.btn-ui-32:hover::before { width: 100%; }
.btn-ui-32:hover { color: #fff; }

/* 55. 透明度过渡 */
.btn-ui-33 { display: inline-block; padding: 12px 30px; font-size: 14px; font-weight: 600; text-transform: uppercase; background: #10b981; color: #fff; border: none; border-radius: 8px; cursor: pointer; opacity: 0.85; transition: all 0.3s; }
.btn-ui-33:hover { opacity: 1; box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4); transform: translateY(-2px); }

/* 56. 阴影变体 */
.btn-ui-34 { display: inline-block; padding: 12px 30px; font-size: 14px; font-weight: 600; text-transform: uppercase; background: #f43f5e; color: #fff; border: none; border-radius: 8px; cursor: pointer; box-shadow: 0 4px 6px rgba(244, 63, 94, 0.2); transition: all 0.3s; }
.btn-ui-34:hover { box-shadow: 0 10px 40px rgba(244, 63, 94, 0.5); transform: translateY(-3px); }

/* 57. 闪电点击 */
.btn-ui-35 { display: inline-block; padding: 12px 30px; font-size: 14px; font-weight: 700; text-transform: uppercase; background: #fbbf24; color: #92400e; border: none; border-radius: 8px; cursor: pointer; transition: all 0.1s; }
.btn-ui-35:hover { background: #f59e0b; transform: scale(1.05); }
.btn-ui-35:active { transform: scale(0.92); background: #d97706; }

/* 58. 翻转切换 */
.btn-ui-36 { display: inline-block; padding: 12px 30px; font-size: 14px; font-weight: 700; text-transform: uppercase; background: #1e293b; color: #38bdf8; border: 2px solid #38bdf8; border-radius: 8px; cursor: pointer; transition: all 0.3s; }
.btn-ui-36:hover { background: #38bdf8; color: #1e293b; box-shadow: 0 0 20px rgba(56, 189, 248, 0.5); }

/* 59. 简约指示器 */
.btn-ui-37 { display: inline-block; padding: 10px 24px; font-size: 14px; font-weight: 600; text-transform: uppercase; background: transparent; color: #64748b; border: none; cursor: pointer; position: relative; transition: color 0.3s; }
.btn-ui-37::before { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 100%; background: #e2e8f0; border-radius: 6px; transform: translateY(-50%); transition: width 0.3s; z-index: -1; }
.btn-ui-37:hover::before { width: 100%; }
.btn-ui-37:hover { color: #1e293b; }

/* 60. 渐变描边动画 */
.btn-ui-38 { display: inline-block; padding: 12px 30px; font-size: 14px; font-weight: 700; text-transform: uppercase; background: #0f172a; color: #fff; border: none; border-radius: 8px; cursor: pointer; position: relative; z-index: 1; }
.btn-ui-38::before { content: ""; position: absolute; inset: -3px; border-radius: 10px; background: linear-gradient(45deg, #f43f5e, #fbbf24, #34d399, #38bdf8); background-size: 300% 300%; z-index: -1; opacity: 0; transition: opacity 0.3s; animation: btn-grad-border 3s linear infinite; }
@keyframes btn-grad-border { 0% { background-position: 0% 50%; } 100% { background-position: 300% 50%; } }
.btn-ui-38:hover::before { opacity: 1; }

/* ===== 菜单选择器项样式 ===== */
.btnstyle-item button,
.btnstyle-preview-box button {
  display: inline-block !important;
  margin: 5px 0 !important;
  vertical-align: middle;
}
.btnstyle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 15px;
  max-height: 520px;
  overflow-y: auto;
  padding: 5px;
}
.btnstyle-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: #fafafa;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.btnstyle-item:hover {
  border-color: #0066cc;
  background: #f0f7ff;
  box-shadow: 0 2px 8px rgba(0,102,204,0.15);
  transform: translateY(-2px);
}
.btnstyle-item.selected {
  border-color: #0066cc;
  background: #e6f0ff;
}
.btnstyle-label {
  font-size: 12px;
  color: #666;
  margin-top: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
