UNPKG

bismillahcss

Version:

The next-gen utility-first CSS framework for modern, futuristic web development.

1,673 lines (1,530 loc) 39.7 kB
/* BismillahCSS - Buttons (Part 1) */ /* Basic Button Styles */ .bismillah-btn { display: inline-block; padding: 10px 20px; font-size: 16px; font-weight: bold; text-align: center; text-decoration: none; border-radius: 6px; cursor: pointer; transition: all 0.3s ease-in-out; } /* Primary Button */ .bismillah-btn-primary { background-color: var(--bismillah-primary); color: #fff; border: none; } /* Secondary Button */ .bismillah-btn-secondary { background-color: var(--bismillah-secondary); color: #fff; border: none; } /* Outline Button */ .bismillah-btn-outline { background: transparent; color: var(--bismillah-primary); border: 2px solid var(--bismillah-primary); } .bismillah-btn-outline:hover { background-color: var(--bismillah-primary); color: #fff; } /* Disabled Button */ .bismillah-btn-disabled { background-color: #ccc; color: #666; cursor: not-allowed; opacity: 0.7; } /* BismillahCSS - Buttons (Part 2) */ /* Primary Button */ .bismillah-btn-primary { background-color: var(--bismillah-primary); color: #fff; padding: 10px 20px; border-radius: 6px; border: none; cursor: pointer; transition: background-color 0.3s ease-in-out; } /* Ghost Button */ .bismillah-btn-ghost { background: transparent; color: var(--bismillah-primary); padding: 10px 20px; border: none; cursor: pointer; transition: opacity 0.3s ease-in-out; } .bismillah-btn-ghost:hover { opacity: 0.7; } /* Button Sizes */ .bismillah-btn-sm { padding: 5px 10px; font-size: 12px; } .bismillah-btn-lg { padding: 15px 30px; font-size: 18px; } .bismillah-btn-xl { padding: 20px 40px; font-size: 22px; } /* Icon Button */ .bismillah-btn-icon { display: flex; align-items: center; justify-content: center; padding: 10px; border-radius: 50%; border: none; cursor: pointer; } .bismillah-btn-icon svg { width: 20px; height: 20px; fill: currentColor; } /* BismillahCSS - Buttons (Part 3) */ /* Gradient Buttons */ .bismillah-btn-gradient { background: linear-gradient(45deg, var(--bismillah-primary), var(--bismillah-secondary)); color: white; padding: 10px 20px; border: none; border-radius: 5px; cursor: pointer; transition: background 0.3s ease-in-out; } /* Neon Buttons */ .bismillah-btn-neon { background: linear-gradient(120deg, #5865f2, #eb459e, #57f287); color: #fff; box-shadow: 0 0 15px rgba(88, 101, 242, 0.7), 0 0 25px rgba(235, 69, 158, 0.6), 0 0 35px rgba(87, 242, 135, 0.5); border: 1px solid rgba(255, 255, 255, 0.35); text-shadow: 0 0 10px rgba(255,255,255,0.8); } .bismillah-btn-neon:hover { transform: scale(1.03); box-shadow: 0 0 25px rgba(88, 101, 242, 1), 0 0 35px rgba(235, 69, 158, 0.9), 0 0 45px rgba(87, 242, 135, 0.8); } .bismillah-btn-outline-neon { background: rgba(0,0,0,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.35); box-shadow: inset 0 0 10px rgba(255,255,255,0.3), 0 0 12px rgba(255,255,255,0.2); } .bismillah-btn-outline-neon:hover { background: rgba(255,255,255,0.12); border-color: rgba(255, 255, 255, 0.8); transform: scale(1.02); } /* Responsive Button Utility */ .bismillah-btn-full { width: 100%; } @media (max-width: 768px) { .bismillah-btn-lg, .bismillah-btn-xl { width: 100%; padding: 14px 18px; } } /* Glassmorphism Button */ .bismillah-btn-glass { background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px); color: white; padding: 10px 20px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 5px; cursor: pointer; transition: transform 0.2s ease-in-out; } .bismillah-btn-glass:hover { transform: scale(1.05); } /* Loading Button with Spinner */ .bismillah-btn-loading { position: relative; padding: 10px 40px; background: var(--bismillah-primary); color: white; border: none; border-radius: 5px; cursor: pointer; overflow: hidden; } .bismillah-btn-loading::after { content: ''; position: absolute; top: 50%; left: 10px; width: 12px; height: 12px; border: 2px solid white; border-top: 2px solid transparent; border-radius: 50%; animation: bismillah-spin 1s linear infinite; } /* Button with Shadow */ .bismillah-btn-shadow { position: relative; padding: 10px 20px; background: var(--bismillah-primary); color: white; border: none; border-radius: 5px; cursor: pointer; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease-in-out; } .bismillah-btn-shadow:hover { transform: translateY(-2px); } /* Ripple Effect on Click */ .bismillah-btn-ripple { position: relative; overflow: hidden; background: var(--bismillah-primary); color: white; padding: 10px 20px; border: none; border-radius: 5px; cursor: pointer; } .bismillah-btn-ripple::after { content: ''; position: absolute; width: 100px; height: 100px; background: rgba(255, 255, 255, 0.5); top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0); border-radius: 50%; opacity: 0; transition: transform 0.5s, opacity 0.5s; } .bismillah-btn-ripple:active::after { transform: translate(-50%, -50%) scale(1); opacity: 1; } /* BismillahCSS - Buttons (Part 4) */ /* Animated Buttons */ .bismillah-btn-animated { position: relative; overflow: hidden; transition: all 0.3s ease-in-out; } .bismillah-btn-animated::before { content: ""; position: absolute; top: 50%; left: 50%; width: 300%; height: 300%; background: rgba(255, 255, 255, 0.2); transition: all 0.6s ease-in-out; border-radius: 50%; transform: translate(-50%, -50%) scale(0); } .bismillah-btn-animated:hover::before { transform: translate(-50%, -50%) scale(1); } /* Icon Buttons */ .bismillah-btn-icon { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 16px; } /* Neon Glow Buttons */ .bismillah-btn-neon { position: relative; color: #fff; background: linear-gradient(45deg, #ff00ff, #ff6600); box-shadow: 0 0 10px #ff00ff, 0 0 20px #ff6600; transition: box-shadow 0.3s ease-in-out; } .bismillah-btn-neon:hover { box-shadow: 0 0 20px #ff00ff, 0 0 40px #ff6600; } /* 🚀 Auto-Adaptive Buttons (Parent Width Ke Mutabiq Adjust Honay Wala) */ .bismillah-btn-auto { display: inline-block; padding: 10px; font-size: 1rem; text-align: center; border-radius: 8px; background-color: var(--bismillah-primary); color: white; transition: width 0.3s ease-in-out; } .bismillah-btn-auto:hover { width: 100%; } /* 🎮 Pressure-Sensitive Click Effect */ .bismillah-btn-press:active { transform: scale(0.92); transition: transform 0.1s ease-in-out; } /* 🌊 Wavy Button Animation */ @keyframes waveEffect { 0% { transform: translateY(0px); } } .bismillah-btn-wave:hover { animation: waveEffect 0.5s infinite; } /* 💥 Self-Destruct Button */ .bismillah-btn-self-destruct { display: inline-block; padding: 12px 20px; font-size: 1rem; border-radius: 5px; background-color: red; color: white; cursor: pointer; transition: opacity 0.5s ease-in-out; } .bismillah-btn-self-destruct:active { opacity: 0; pointer-events: none; } /* 🎨 Golden Ratio Button (Perfect Design Proportion - 1.618) */ .bismillah-btn-golden { display: inline-block; padding: 10px 16px; font-size: calc(1rem * 1.618); /* Golden Ratio Scaling */ border-radius: calc(10px * 1.618); background-color: var(--bismillah-primary); color: white; transition: transform 0.3s ease-in-out; } .bismillah-btn-golden:hover { transform: scale(1.618); /* Expand Using Golden Ratio */ } /* 🔢 Fibonacci Width Button */ .bismillah-btn-fibonacci { width: 89px; /* Fibonacci Series: 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ... */ height: 34px; font-size: 16px; background-color: var(--bismillah-secondary); color: white; border-radius: 5px; transition: width 0.3s ease-in-out; } .bismillah-btn-fibonacci:hover { width: 144px; /* Next Fibonacci Number */ } /* 🔄 Pi-Based Rotation Button */ .bismillah-btn-pi:hover { transform: rotate(3.14159rad); /* Rotate by π Radians */ transition: transform 0.5s ease-in-out; } /* 🌊 Sinusoidal Wave Button (Physics-Based Motion) */ @keyframes sineWave { 0% { transform: translateY(0px); } } .bismillah-btn-wave { display: inline-block; padding: 12px 24px; font-size: 1rem; border-radius: 6px; background-color: var(--bismillah-accent); color: white; cursor: pointer; } .bismillah-btn-wave:hover { animation: sineWave 1s infinite; } /* 🌍 Gravitational Drop Button (Simulating Gravity Effect) */ @keyframes gravityDrop { 0% { transform: translateY(0px); } 30% { transform: translateY(20px); } 70% { transform: translateY(5px); } } .bismillah-btn-gravity:active { animation: gravityDrop 0.6s ease-out; } /* BismillahCSS - Button Styles - Part 7 */ /* Toggle Button */ .bismillah-toggle-btn { padding: 10px 20px; background-color: var(--bismillah-primary); color: white; border: 2px solid var(--bismillah-primary); border-radius: 30px; cursor: pointer; font-size: 16px; font-weight: bold; transition: all 0.3s ease-in-out; } .bismillah-toggle-btn:hover { background-color: transparent; color: var(--bismillah-primary); transform: scale(1.05); } .bismillah-toggle-btn:active { transform: scale(0.98); } /* Icon Button */ .bismillah-icon-btn { padding: 10px; background-color: transparent; color: var(--bismillah-primary); border: 2px solid var(--bismillah-primary); border-radius: 50%; cursor: pointer; transition: all 0.3s ease-in-out; display: flex; justify-content: center; align-items: center; } .bismillah-icon-btn:hover { background-color: var(--bismillah-primary); color: white; transform: scale(1.1); } .bismillah-icon-btn:active { transform: scale(0.95); } /* Icon Inside Button */ .bismillah-btn-icon-left { display: inline-flex; align-items: center; } .bismillah-btn-icon-left .bismillah-btn-text { margin-left: 8px; } .bismillah-btn-icon-right { display: inline-flex; align-items: center; } .bismillah-btn-icon-right .bismillah-btn-text { margin-right: 8px; } /* Floating Action Button (FAB) */ .bismillah-fab { position: fixed; bottom: 20px; right: 20px; background-color: var(--bismillah-primary); color: white; border: none; border-radius: 50%; padding: 15px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); cursor: pointer; transition: all 0.3s ease-in-out; font-size: 24px; } .bismillah-fab:active { transform: scale(0.95); } /* Button with Gradient */ .bismillah-gradient-btn { padding: 12px 25px; background: linear-gradient(45deg, var(--bismillah-primary), var(--bismillah-secondary)); color: white; border: none; border-radius: 30px; cursor: pointer; font-weight: bold; transition: all 0.3s ease-in-out; } .bismillah-gradient-btn:hover { background: linear-gradient(45deg, var(--bismillah-secondary), var(--bismillah-primary)); transform: scale(1.05); } .bismillah-gradient-btn:active { transform: scale(0.98); } /* Loading Button */ .bismillah-loading-btn { position: relative; padding: 12px 20px; background-color: var(--bismillah-primary); color: white; border: 2px solid var(--bismillah-primary); border-radius: 30px; cursor: pointer; font-size: 16px; font-weight: bold; transition: all 0.3s ease-in-out; } .bismillah-loading-btn.loading::after { content: ''; position: absolute; top: 50%; left: 50%; width: 24px; height: 24px; border: 3px solid white; border-top: 3px solid transparent; border-radius: 50%; animation: spin 1s linear infinite; transform: translate(-50%, -50%); } /* 🌀 Einstein Relativity Button (Time Dilation Simulation) */ @keyframes relativityWarp { 0% { transform: scale(1); opacity: 1; } } .bismillah-btn-relativity:hover { animation: relativityWarp 0.6s infinite alternate ease-in-out; background-color: var(--bismillah-primary); color: white; } /* ⚛️ Quantum Jitter Button (Random Small Movements) */ @keyframes quantumJitter { 0% { transform: translate(0px, 0px); } } .bismillah-btn-quantum:hover { animation: quantumJitter 0.2s infinite linear; } /* 🏗️ Pendulum Motion Button (Swinging Effect) */ @keyframes pendulumSwing { 0% { transform: rotate(0deg); } } .bismillah-btn-pendulum:hover { animation: pendulumSwing 1s infinite ease-in-out; } /* 📈 Exponential Growth Button (Mathematical Growth) */ @keyframes exponentialGrowth { 0% { transform: scale(1); } } .bismillah-btn-exp-growth:hover { animation: exponentialGrowth 0.5s ease-out; } /* 🌀 Fractal Zoom Button (Recursive Self-Similarity Effect) */ @keyframes fractalZoom { 0% { transform: scale(1); } } .bismillah-btn-fractal:hover { animation: fractalZoom 0.8s infinite ease-in-out; } /* Holographic Button */ .bismillah-btn-holo { position: relative; display: inline-block; padding: 12px 24px; font-size: 16px; font-weight: bold; color: #fff; border: 2px solid transparent; border-radius: 8px; background: linear-gradient(135deg, #00c6ff, #0072ff); cursor: pointer; overflow: hidden; transition: all 0.4s ease-in-out; } .bismillah-btn-holo::before { content: ""; position: absolute; top: -100%; left: -100%; width: 300%; height: 300%; background: radial-gradient(circle, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0)); transition: all 0.4s ease-in-out; } .bismillah-btn-holo:hover::before { top: 0; left: 0; } /* ============================= */ /* 🎨 Bismillah Unique Buttons - CSS Only */ /* ============================= */ /* Pulse Button - Radiating pulse effect */ .bismillah-pulse-btn { position: relative; padding: 15px 30px; background: #6c5ce7; color: white; border: none; border-radius: 8px; font-weight: bold; cursor: pointer; overflow: hidden; } .bismillah-pulse-btn::before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 8px; box-shadow: 0 0 0 0 rgba(108, 92, 231, 0.7); animation: bismillah-pulse-ring 1.5s infinite; } @keyframes bismillah-pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(108, 92, 231, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(108, 92, 231, 0); } 100% { box-shadow: 0 0 0 0 rgba(108, 92, 231, 0); } } /* Slice Button - Slices in from sides */ .bismillah-slice-btn { position: relative; padding: 15px 30px; background: transparent; color: #e84393; border: 2px solid #e84393; border-radius: 8px; font-weight: bold; cursor: pointer; overflow: hidden; transition: color 0.3s ease; z-index: 1; } .bismillah-slice-btn::before, .bismillah-slice-btn::after { content: ""; position: absolute; top: 0; width: 0; height: 100%; background: #e84393; transition: width 0.3s ease; z-index: -1; } .bismillah-slice-btn::before { left: 0; } .bismillah-slice-btn::after { right: 0; } .bismillah-slice-btn:hover { color: white; } .bismillah-slice-btn:hover::before, .bismillah-slice-btn:hover::after { width: 50%; } /* Bubble Button - Bubbles rise on hover */ .bismillah-bubble-btn { position: relative; padding: 15px 30px; background: #0984e3; color: white; border: none; border-radius: 8px; font-weight: bold; cursor: pointer; overflow: hidden; z-index: 1; } .bismillah-bubble-btn::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient( circle at center, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70% ); opacity: 0; transition: opacity 0.3s; z-index: -1; } .bismillah-bubble-btn:hover::before { opacity: 1; } .bismillah-bubble-btn::after { content: ""; position: absolute; bottom: -50px; left: 0; width: 100%; height: 50px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Ccircle cx='10' cy='50' r='5' fill='rgba(255,255,255,0.2)'/%3E%3Ccircle cx='30' cy='50' r='7' fill='rgba(255,255,255,0.2)'/%3E%3Ccircle cx='50' cy='50' r='5' fill='rgba(255,255,255,0.2)'/%3E%3Ccircle cx='70' cy='50' r='8' fill='rgba(255,255,255,0.2)'/%3E%3Ccircle cx='90' cy='50' r='6' fill='rgba(255,255,255,0.2)'/%3E%3C/svg%3E"); animation: bismillah-bubbles 2s linear infinite; opacity: 0; transition: opacity 0.3s; } .bismillah-bubble-btn:hover::after { opacity: 1; } @keyframes bismillah-bubbles { 0% { transform: translateY(0); } 100% { transform: translateY(-50px); } } /* Neon Pulse Button - Glowing neon effect */ .bismillah-neon-pulse-btn { padding: 15px 30px; background: #2d3436; color: #00ffff; border: 2px solid #00ffff; border-radius: 8px; font-weight: bold; cursor: pointer; box-shadow: 0 0 10px rgba(0, 255, 255, 0.5), 0 0 20px rgba(0, 255, 255, 0.3), 0 0 30px rgba(0, 255, 255, 0.1); animation: bismillah-neon-pulse 1.5s infinite alternate; } @keyframes bismillah-neon-pulse { 0% { box-shadow: 0 0 10px rgba(0, 255, 255, 0.5), 0 0 20px rgba(0, 255, 255, 0.3), 0 0 30px rgba(0, 255, 255, 0.1); } 100% { box-shadow: 0 0 15px rgba(0, 255, 255, 0.7), 0 0 30px rgba(0, 255, 255, 0.5), 0 0 45px rgba(0, 255, 255, 0.3); } } /* Shutter Button - Shutters open on hover */ .bismillah-shutter-btn { position: relative; padding: 15px 30px; background: #2c3e50; color: white; border: none; border-radius: 8px; font-weight: bold; cursor: pointer; overflow: hidden; z-index: 1; } .bismillah-shutter-btn::before, .bismillah-shutter-btn::after { content: ""; position: absolute; height: 100%; width: 50%; background: #3498db; top: 0; transition: transform 0.3s ease; z-index: -1; } .bismillah-shutter-btn::before { left: 0; transform: translateX(-100%); } .bismillah-shutter-btn::after { right: 0; transform: translateX(100%); } .bismillah-shutter-btn:hover::before { transform: translateX(0); } .bismillah-shutter-btn:hover::after { transform: translateX(0); } /* Gradient Border Button - Animated gradient border */ .bismillah-gradient-border-btn { position: relative; padding: 15px 30px; background: transparent; color: white; font-weight: bold; cursor: pointer; border: none; border-radius: 8px; z-index: 1; } .bismillah-gradient-border-btn::before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 8px; padding: 2px; background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000); background-size: 400% 400%; animation: bismillah-gradient-border 3s linear infinite; -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; z-index: -1; } .bismillah-gradient-border-btn::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: #2c3e50; border-radius: 8px; z-index: -2; } @keyframes bismillah-gradient-border { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } /* Expanding Border Button */ .bismillah-expanding-border-btn { position: relative; padding: 15px 30px; background: transparent; color: #e74c3c; border: none; font-weight: bold; cursor: pointer; transition: color 0.3s ease; } .bismillah-expanding-border-btn::before, .bismillah-expanding-border-btn::after { content: ""; position: absolute; background: #e74c3c; transition: transform 0.3s ease; } .bismillah-expanding-border-btn::before { height: 2px; width: 0; left: 0; bottom: 0; } .bismillah-expanding-border-btn::after { height: 0; width: 2px; bottom: 0; right: 0; } .bismillah-expanding-border-btn:hover::before { width: 100%; } .bismillah-expanding-border-btn:hover::after { height: 100%; } .bismillah-expanding-border-btn span::before, .bismillah-expanding-border-btn span::after { content: ""; position: absolute; background: #e74c3c; transition: transform 0.3s ease; } .bismillah-expanding-border-btn span::before { height: 2px; width: 0; right: 0; top: 0; } .bismillah-expanding-border-btn span::after { height: 0; width: 2px; top: 0; left: 0; } .bismillah-expanding-border-btn:hover span::before { width: 100%; } .bismillah-expanding-border-btn:hover span::after { height: 100%; } .bismillah-expanding-border-btn:hover { color: #c0392b; } /* 3D Push Button - Appears to be pushed in */ .bismillah-3d-push-btn { padding: 15px 30px; background: #9b59b6; color: white; border: none; border-radius: 8px; font-weight: bold; cursor: pointer; position: relative; box-shadow: 0 6px 0 #8e44ad; transform: translateY(0); transition: all 0.1s ease; } .bismillah-3d-push-btn:hover { transform: translateY(2px); box-shadow: 0 4px 0 #8e44ad; } .bismillah-3d-push-btn:active { transform: translateY(6px); box-shadow: 0 0 0 #8e44ad; } /* Ripple Button - Creates ripple effect on click */ .bismillah-ripple-btn { position: relative; padding: 15px 30px; background: #3498db; color: white; border: none; border-radius: 8px; font-weight: bold; cursor: pointer; overflow: hidden; } .bismillah-ripple-btn::after { content: ""; position: absolute; top: 50%; left: 50%; width: 5px; height: 5px; background: rgba(255, 255, 255, 0.5); opacity: 0; border-radius: 100%; transform: scale(1, 1) translate(-50%, -50%); transform-origin: 50% 50%; } .bismillah-ripple-btn:hover::after { animation: bismillah-ripple 1s ease-out; } @keyframes bismillah-ripple { 0% { transform: scale(0, 0); opacity: 0.5; } 20% { transform: scale(25, 25); opacity: 0.5; } 100% { opacity: 0; transform: scale(40, 40); } } /* ============================= */ /* 🚀 Innovative Bismillah Buttons - Beyond Conventional Web Design */ /* ============================= */ /* Gravitational Button - Creates a gravity well effect */ .bismillah-gravity-btn { position: relative; padding: 15px 30px; background: #2c3e50; color: white; border: none; border-radius: 8px; font-weight: bold; cursor: pointer; overflow: hidden; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); } .bismillah-gravity-btn::before { content: ""; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%); transform: translate(-50%, -50%); transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); z-index: 0; opacity: 0; } .bismillah-gravity-btn:hover { transform: scale(1.05); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); } .bismillah-gravity-btn:hover::before { width: 300px; height: 300px; opacity: 1; } .bismillah-gravity-btn span { position: relative; z-index: 1; } .bismillah-gravity-btn::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.1); opacity: 0; transition: opacity 0.3s; } .bismillah-gravity-btn:hover::after { opacity: 1; animation: bismillah-gravity-pulse 1.5s infinite; } @keyframes bismillah-gravity-pulse { 0%, 100% { transform: scale(1); opacity: 0.1; } 50% { transform: scale(1.1); opacity: 0.3; } } /* Kinetic Energy Button - Stores and releases energy */ .bismillah-kinetic-btn { position: relative; padding: 15px 30px; background: #3498db; color: white; border: none; border-radius: 8px; font-weight: bold; cursor: pointer; overflow: hidden; transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55); } .bismillah-kinetic-btn::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent); transform: translateX(-100%); transition: transform 0.5s; } .bismillah-kinetic-btn:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3); } .bismillah-kinetic-btn:hover::before { transform: translateX(100%); } .bismillah-kinetic-btn:active { transform: translateY(0) scale(0.95); box-shadow: 0 5px 10px rgba(52, 152, 219, 0.2); transition: transform 0.1s, box-shadow 0.1s; } .bismillah-kinetic-btn::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0%, transparent 70%); opacity: 0; transform: scale(0); transition: transform 0.5s, opacity 0.5s; } .bismillah-kinetic-btn:active::after { opacity: 1; transform: scale(2); transition: transform 0.2s, opacity 0.2s; } /* Magnetic Field Button - Creates a magnetic field effect */ .bismillah-magnetic-field-btn { position: relative; padding: 15px 30px; background: #9c27b0; color: white; border: none; border-radius: 8px; font-weight: bold; cursor: pointer; overflow: hidden; transition: all 0.3s; } .bismillah-magnetic-field-btn::before { content: ""; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle at center, transparent 30%, rgba(255, 255, 255, 0.1) 70%), repeating-conic-gradient( rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.03) 1%, rgba(255, 255, 255, 0) 2% ); opacity: 0; transition: opacity 0.3s, transform 0.5s; transform: rotate(0deg); } .bismillah-magnetic-field-btn:hover::before { opacity: 1; animation: bismillah-magnetic-rotate 4s linear infinite; } @keyframes bismillah-magnetic-rotate { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .bismillah-magnetic-field-btn::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.1); opacity: 0; transition: opacity 0.3s; } .bismillah-magnetic-field-btn:hover::after { opacity: 1; } .bismillah-magnetic-field-btn:hover { box-shadow: 0 0 10px rgba(156, 39, 176, 0.5), 0 0 20px rgba(156, 39, 176, 0.3), 0 0 30px rgba(156, 39, 176, 0.1); } /* Dimensional Portal Button - Creates a portal effect */ .bismillah-portal-btn { position: relative; padding: 15px 30px; background: #1e1e1e; color: white; border: none; border-radius: 8px; font-weight: bold; cursor: pointer; overflow: hidden; z-index: 1; transition: all 0.3s; } .bismillah-portal-btn::before { content: ""; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: radial-gradient( circle at center, #ff9500, #ff5e3a 30%, #ff2d55 60%, #5856d6 80%, #007aff 100% ); border-radius: 50%; transform: translate(-50%, -50%); transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); z-index: -1; opacity: 0; } .bismillah-portal-btn:hover::before { width: 250px; height: 250px; opacity: 1; } .bismillah-portal-btn::after { content: ""; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: repeating-conic-gradient( rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.1) 1%, rgba(0, 0, 0, 0) 2% ); border-radius: 50%; transform: translate(-50%, -50%); transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); z-index: -1; opacity: 0; } .bismillah-portal-btn:hover::after { width: 200px; height: 200px; opacity: 1; animation: bismillah-portal-spin 10s linear infinite; } @keyframes bismillah-portal-spin { 0% { transform: translate(-50%, -50%) rotate(0deg); } 100% { transform: translate(-50%, -50%) rotate(360deg); } } .bismillah-portal-btn span { position: relative; z-index: 1; transition: all 0.3s; } .bismillah-portal-btn:hover span { color: #1e1e1e; text-shadow: 0 0 5px rgba(255, 255, 255, 0.5); } /* Quantum Entanglement Button - Two buttons that interact with each other */ .bismillah-quantum-btn-container { display: flex; gap: 20px; } .bismillah-quantum-btn { position: relative; padding: 15px 30px; background: #2c3e50; color: white; border: none; border-radius: 8px; font-weight: bold; cursor: pointer; overflow: hidden; transition: all 0.3s; } .bismillah-quantum-btn::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(45deg, #3498db, #2ecc71); opacity: 0; transition: opacity 0.3s; z-index: -1; } .bismillah-quantum-btn-container:hover .bismillah-quantum-btn::before { opacity: 0.8; animation: bismillah-quantum-pulse 1.5s infinite alternate; } .bismillah-quantum-btn-container:hover .bismillah-quantum-btn:nth-child(2)::before { animation-delay: 0.75s; } @keyframes bismillah-quantum-pulse { 0% { opacity: 0.2; } 100% { opacity: 0.8; } } .bismillah-quantum-btn::after { content: ""; position: absolute; top: 50%; left: 50%; width: 5px; height: 5px; background: rgba(255, 255, 255, 0.8); border-radius: 50%; transform: translate(-50%, -50%); opacity: 0; z-index: -1; } .bismillah-quantum-btn-container:hover .bismillah-quantum-btn::after { opacity: 1; animation: bismillah-quantum-particles 2s infinite; } @keyframes bismillah-quantum-particles { 0% { width: 5px; height: 5px; opacity: 1; } 100% { width: 100px; height: 100px; opacity: 0; } } /* Neuromorphic Button - Advanced neumorphism with dynamic lighting */ .bismillah-neuromorphic-btn { position: relative; padding: 15px 30px; background: #e0e5ec; color: #4a5568; border: none; border-radius: 15px; font-weight: bold; cursor: pointer; box-shadow: 8px 8px 15px rgba(163, 177, 198, 0.6), -8px -8px 15px rgba(255, 255, 255, 0.5); transition: all 0.3s; } .bismillah-neuromorphic-btn:hover { color: #2d3748; box-shadow: 10px 10px 20px rgba(163, 177, 198, 0.7), -10px -10px 20px rgba(255, 255, 255, 0.7); } .bismillah-neuromorphic-btn:active { box-shadow: inset 5px 5px 10px rgba(163, 177, 198, 0.6), inset -5px -5px 10px rgba(255, 255, 255, 0.5); } .bismillah-neuromorphic-btn::before { content: ""; position: absolute; top: 0; left: (255,255,0.5); } .bismillah-neuromorphic-btn::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 15px; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.5), transparent 70%); opacity: 0; transition: opacity 0.3s; } .bismillah-neuromorphic-btn:hover::before { opacity: 1; } /* Chromatic Aberration Button - Creates color splitting effect */ .bismillah-chromatic-btn { position: relative; padding: 15px 30px; background: #2d3748; color: white; border: none; border-radius: 8px; font-weight: bold; cursor: pointer; overflow: hidden; transition: all 0.3s; } .bismillah-chromatic-btn::before, .bismillah-chromatic-btn::after { content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; transition: all 0.3s; opacity: 0; } .bismillah-chromatic-btn::before { color: #ff0080; transform: translateX(-3px); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); } .bismillah-chromatic-btn::after { color: #00ffff; transform: translateX(3px); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); } .bismillah-chromatic-btn:hover::before, .bismillah-chromatic-btn:hover::after { opacity: 1; } .bismillah-chromatic-btn:hover { color: transparent; text-shadow: none; background: #1a202c; } /* Glitch Reality Button - Creates digital glitch effect */ .bismillah-glitch-btn { position: relative; padding: 15px 30px; background: #2d3748; color: white; border: none; border-radius: 8px; font-weight: bold; cursor: pointer; overflow: hidden; } .bismillah-glitch-btn::before { content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #2d3748; color: white; display: flex; align-items: center; justify-content: center; transform: translateX(0); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); } .bismillah-glitch-btn:hover::before { animation: bismillah-glitch 1s infinite; } @keyframes bismillah-glitch { 0% { transform: translateX(0); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); } 10% { transform: translateX(-3px); clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 90%); } 20% { transform: translateX(3px); clip-path: polygon(0 0, 100% 10%, 100% 90%, 0 100%); } 30% { transform: translateX(-3px); clip-path: polygon(0 30%, 100% 20%, 100% 70%, 0 80%); } 40% { transform: translateX(3px); clip-path: polygon(0 20%, 100% 30%, 100% 80%, 0 70%); } 50% { transform: translateX(-3px); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); } 60% { transform: translateX(3px); clip-path: polygon(0 40%, 100% 30%, 100% 60%, 0 70%); } 70% { transform: translateX(-3px); clip-path: polygon(0 30%, 100% 40%, 100% 70%, 0 60%); } 80% { transform: translateX(3px); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); } 90% { transform: translateX(-3px); clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 90%); } 100% { transform: translateX(0); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); } } .bismillah-glitch-btn span { position: relative; z-index: 1; } .bismillah-glitch-btn:hover span { opacity: 0; } /* Biometric Button - Simulates fingerprint scanning */ .bismillah-biometric-btn { position: relative; padding: 15px 30px; background: #2d3748; color: white; border: none; border-radius: 8px; font-weight: bold; cursor: pointer; overflow: hidden; transition: all 0.3s; } .bismillah-biometric-btn::before { content: ""; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: radial-gradient( circle at center, rgba(66, 153, 225, 0.8) 0%, rgba(66, 153, 225, 0.4) 50%, transparent 70% ); border-radius: 50%; transform: translate(-50%, -50%); opacity: 0; transition: all 0.5s; z-index: 0; } .bismillah-biometric-btn:hover::before { width: 150px; height: 150px; opacity: 1; } .bismillah-biometric-btn::after { content: ""; position: absolute; top: 50%; left: 50%; width: 30px; height: 30px; background: repeating-linear-gradient( 0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.2) 2px, rgba(255, 255, 255, 0.2) 4px ), repeating-linear-gradient( 90deg, transparent, transparent 2px, rgba(255, 255, 255, 0.2) 2px, rgba(255, 255, 255, 0.2) 4px ); border-radius: 50%; transform: translate(-50%, -50%); opacity: 0; transition: all 0.3s; z-index: 0; } .bismillah-biometric-btn:hover::after { opacity: 1; animation: bismillah-scan 2s infinite; } @keyframes bismillah-scan { 0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; } 50% { transform: translate(-50%, -50%) scale(1.5); opacity: 0.4; } 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; } } .bismillah-biometric-btn span { position: relative; z-index: 1; }