/**
 * ButtonCraft - Modern Animated Button CSS Design System (30 Presets)
 * Version: 1.0.0
 *
 * @package ButtonCraft
 */

/* -------------------------------------------------------------
 * 1. DESIGN TOKENS & BASE STYLES
 * ------------------------------------------------------------- */
:root {
	--bc-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	--bc-primary: #6366f1;
	--bc-primary-hover: #4f46e5;
	--bc-accent: #ec4899;
	--bc-cyan: #06b6d4;
	--bc-neon: #10b981;
	--bc-gold: #f59e0b;
	--bc-dark: #0f172a;
	--bc-light: #ffffff;
	--bc-radius-sm: 6px;
	--bc-radius-md: 10px;
	--bc-radius-full: 9999px;
	--bc-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bc-btn-wrapper {
	display: flex !important;
	margin: 15px 0 !important;
	width: 100% !important;
}
.bc-align-left { justify-content: flex-start !important; }
.bc-align-center { justify-content: center !important; }
.bc-align-right { justify-content: flex-end !important; }

.bc-btn {
	position: relative !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 10px !important;
	font-family: var(--bc-font-family) !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	cursor: pointer !important;
	border: none;
	outline: none;
	user-select: none;
	box-sizing: border-box !important;
	transition: var(--bc-transition) !important;
	line-height: 1.3 !important;
	vertical-align: middle;
	-webkit-tap-highlight-color: transparent;
	overflow: visible;
}

.bc-btn-size-small { font-size: 13px !important; padding: 8px 18px !important; border-radius: var(--bc-radius-sm) !important; }
.bc-btn-size-medium { font-size: 15px !important; padding: 12px 28px !important; border-radius: var(--bc-radius-md) !important; }
.bc-btn-size-large { font-size: 18px !important; padding: 16px 36px !important; border-radius: 14px !important; }

.bc-btn-icon {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: transform 0.3s ease !important;
}

/* -------------------------------------------------------------
 * FREE PRESETS (1-20)
 * ------------------------------------------------------------- */
/* 1: Glow Pulse Neon */
.bc-btn-glow-pulse {
	background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
	color: #ffffff !important;
	box-shadow: 0 0 15px rgba(99, 102, 241, 0.6) !important;
}
.bc-btn-glow-pulse::before {
	content: '';
	position: absolute;
	inset: -4px;
	border-radius: inherit;
	background: inherit;
	z-index: -1;
	opacity: 0.7;
	filter: blur(10px);
	animation: bc-pulse 2s infinite;
}
@keyframes bc-pulse {
	0% { transform: scale(0.98); opacity: 0.7; }
	50% { transform: scale(1.05); opacity: 0.3; }
	100% { transform: scale(0.98); opacity: 0.7; }
}

/* 2: Glassmorphism Liquid */
.bc-btn-glassmorphism {
	background: rgba(30, 41, 59, 0.85) !important;
	backdrop-filter: blur(12px) !important;
	-webkit-backdrop-filter: blur(12px) !important;
	border: 1px solid rgba(255, 255, 255, 0.3) !important;
	color: #ffffff !important;
	box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2) !important;
}

/* 3: 3D Push Depth */
.bc-btn-push-3d {
	background: #3b82f6 !important;
	color: #ffffff !important;
	box-shadow: 0 6px 0 #1d4ed8, 0 10px 15px rgba(0, 0, 0, 0.2) !important;
}
.bc-btn-push-3d:hover {
	background: #60a5fa !important;
	transform: translateY(2px) !important;
	box-shadow: 0 4px 0 #1d4ed8, 0 6px 10px rgba(0, 0, 0, 0.15) !important;
}

/* 4: Gradient Border Sparkle */
.bc-btn-gradient-border {
	background: #0f172a !important;
	color: #ffffff !important;
	padding: 2px !important;
	border-radius: var(--bc-radius-md) !important;
	overflow: hidden !important;
}
.bc-btn-gradient-border .bc-btn-text {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	background: #0f172a !important;
	padding: 10px 24px !important;
	border-radius: calc(var(--bc-radius-md) - 2px) !important;
	width: 100% !important;
	height: 100% !important;
}
.bc-btn-gradient-border::before {
	content: '';
	position: absolute;
	top: -50%; left: -50%; width: 200%; height: 200%;
	background: conic-gradient(#ec4899, #8b5cf6, #06b6d4, #ec4899);
	animation: bc-rotate-border 4s linear infinite;
	z-index: 0;
}
@keyframes bc-rotate-border { 100% { transform: rotate(360deg); } }

/* 5: Gradient Shift Flow */
.bc-btn-gradient-shift {
	background: linear-gradient(270deg, #ec4899, #8b5cf6, #3b82f6, #10b981) !important;
	background-size: 300% 300% !important;
	color: #ffffff !important;
	animation: bc-gradient-animation 6s ease infinite;
}
@keyframes bc-gradient-animation {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

/* 6: Ripple Wave Click */
.bc-btn-ripple-wave {
	background: #10b981 !important;
	color: #ffffff !important;
	overflow: hidden !important;
}

/* 7: Shine Sweep Flare */
.bc-btn-shine-sweep {
	background: #0284c7 !important;
	color: #ffffff !important;
	overflow: hidden !important;
}

/* 8: Minimal Line Underline Fill */
.bc-btn-minimal-line {
	background: #0f172a !important;
	border: 2px solid #0f172a !important;
	color: #ffffff !important;
}

/* 9: Magnetic Floating Shadow */
.bc-btn-magnetic-shadow {
	background: #ffffff !important;
	color: #0f172a !important;
	border: 1px solid #cbd5e1 !important;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

/* 10: Neumorphic Soft Emboss */
.bc-btn-neumorphic {
	background: #e0e5ec !important;
	color: #334155 !important;
	box-shadow: 9px 9px 16px rgb(163 177 198 / 60%), -9px -9px 16px rgba(255, 255, 255, 0.8) !important;
}

/* 11: Icon Slide Reveal */
.bc-btn-icon-slide { background: #4f46e5 !important; color: #ffffff !important; }

/* 12: Skew Slant Angle */
.bc-btn-skew-slant { background: #f43f5e !important; color: #ffffff !important; transform: skewX(-10deg) !important; }
.bc-btn-skew-slant .bc-btn-text { transform: skewX(10deg) !important; }

/* 13: Retro Cyberpunk Cyber */
.bc-btn-cyberpunk {
	background: #facc15 !important;
	color: #0f172a !important;
	border: 3px solid #0f172a !important;
	box-shadow: 5px 5px 0px #0f172a !important;
	font-weight: 800 !important;
	text-transform: uppercase !important;
}

/* 14: Pill Badge Tag */
.bc-btn-pill-badge { background: #0f172a !important; color: #ffffff !important; border-radius: var(--bc-radius-full) !important; }
.bc-btn-badge { background: #ec4899 !important; color: #ffffff !important; font-size: 11px !important; padding: 2px 8px !important; border-radius: 12px !important; }

/* 15: Outline Fill Fill-Up */
.bc-btn-outline-fill { background: #8b5cf6 !important; border: 2px solid #8b5cf6 !important; color: #ffffff !important; }

/* 16: Double Border Accent */
.bc-btn-double-border { background: #1e1b4b !important; color: #c7d2fe !important; border: 1px solid #6366f1 !important; outline: 2px solid #312e81 !important; outline-offset: 3px !important; }

/* 17: Floating Shadow Glow */
.bc-btn-floating-glow { background: linear-gradient(135deg, #06b6d4, #3b82f6) !important; color: #ffffff !important; box-shadow: 0 10px 20px -5px rgba(6, 182, 212, 0.5) !important; }

/* 18: Border Draw Tracer */
.bc-btn-border-draw { background: #0f172a !important; color: #38bdf8 !important; border: 2px solid #38bdf8 !important; }

/* 19: Elastic Bounce Scale */
.bc-btn-elastic-bounce { background: #f97316 !important; color: #ffffff !important; }

/* 20: Dark Slate Minimalist */
.bc-btn-dark-minimal { background: #18181b !important; color: #f4f4f5 !important; border: 1px solid #3f3f46 !important; }
.bc-btn-dot { width: 8px !important; height: 8px !important; background: #22c55e !important; border-radius: 50% !important; box-shadow: 0 0 8px #22c55e !important; }

/* -------------------------------------------------------------
 * 2. PRO PRESETS (21-30) - DISTINCT & VIBRANT PRO STYLES
 * ------------------------------------------------------------- */
/* 21: 3D Mesh Hologram */
.bc-btn-hologram-3d {
	background: linear-gradient(135deg, #ec4899, #8b5cf6, #06b6d4, #3b82f6) !important;
	background-size: 300% 300% !important;
	color: #ffffff !important;
	box-shadow: 0 10px 25px rgba(236, 72, 153, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
	animation: bc-hologram-shift 4s ease infinite;
}
@keyframes bc-hologram-shift {
	0% { background-position: 0% 50%; filter: hue-rotate(0deg); }
	50% { background-position: 100% 50%; filter: hue-rotate(60deg); }
	100% { background-position: 0% 50%; filter: hue-rotate(0deg); }
}

/* 22: Confetti Burst */
.bc-btn-confetti-burst {
	background: linear-gradient(135deg, #ff007f, #ffaa00) !important;
	color: #ffffff !important;
	box-shadow: 0 8px 20px rgba(255, 0, 127, 0.5) !important;
}

/* 23: Particle Galaxy */
.bc-btn-galaxy-particle {
	background: #030712 !important;
	color: #38bdf8 !important;
	border: 1px solid #0284c7 !important;
	box-shadow: 0 0 20px rgba(56, 189, 248, 0.4), inset 0 0 15px rgba(56, 189, 248, 0.2) !important;
}

/* 24: Liquid Lava Blob */
.bc-btn-lava-blob {
	background: linear-gradient(135deg, #ea580c, #dc2626) !important;
	color: #ffffff !important;
	border-radius: 60% 40% 30% 70% / 60% 30% 70% 40% !important;
	animation: bc-lava-morph 6s ease-in-out infinite;
	box-shadow: 0 10px 25px rgba(234, 88, 12, 0.5) !important;
}
@keyframes bc-lava-morph {
	0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
	50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
	100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

/* 25: Gold Metallic Foil */
.bc-btn-gold-foil {
	background: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c) !important;
	color: #261c02 !important;
	font-weight: 800 !important;
	border: 1px solid #d97706 !important;
	box-shadow: 0 4px 15px rgba(191, 149, 63, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

/* 26: Cyber Matrix Glow */
.bc-btn-matrix-glow {
	background: #022c22 !important;
	color: #34d399 !important;
	border: 2px solid #10b981 !important;
	box-shadow: 0 0 15px #10b981, inset 0 0 10px rgba(16, 185, 129, 0.4) !important;
}

/* 27: Floating Magnetic Follow */
.bc-btn-magnetic-follow {
	background: #1e1b4b !important;
	color: #a5b4fc !important;
	border: 1px solid #6366f1 !important;
	box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4) !important;
}

/* 28: Neon Pulse Dual */
.bc-btn-neon-dual {
	background: #09090b !important;
	color: #ffffff !important;
	border: 1px solid #ec4899 !important;
	box-shadow: -6px 0 18px #ec4899, 6px 0 18px #06b6d4 !important;
}

/* 29: Glass Morphism Rainbow */
.bc-btn-glass-rainbow {
	background: rgba(30, 41, 59, 0.9) !important;
	border: 2px solid #ec4899 !important;
	color: #ffffff !important;
	box-shadow: 0 8px 30px rgba(236, 72, 153, 0.3) !important;
}

/* 30: Diamond Crystal Shimmer */
.bc-btn-crystal-shimmer {
	background: linear-gradient(135deg, #e0f2fe 0%, #7dd3fc 50%, #0284c7 100%) !important;
	color: #0369a1 !important;
	border: 1px solid #7dd3fc !important;
	box-shadow: 0 10px 25px rgba(125, 211, 252, 0.7), inset 0 1px 2px #ffffff !important;
}
