UNPKG

bismillahcss

Version:

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

1,990 lines (1,805 loc) 54.3 kB
/* ========== BismillahCSS Card System ========== */ /** * BismillahCSS Card Components */ /* Glassmorphism Card */ .bismillah-card-glass { background: rgba(255, 255, 255, 0.25); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 1rem; box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15); } /* Modern Card */ .bismillah-card-modern { background: white; border-radius: 1rem; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; } .bismillah-card-modern:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); } .bismillah-b-card { background: var(--card-bg, #ffffff); border-radius: 10px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); padding: 1.5rem; transition: transform 0.3s ease, box-shadow 0.3s ease; overflow: hidden; } .bismillah-b-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); } /* Card Header */ .bismillah-b-card-header { font-size: 1.4rem; font-weight: bold; color: var(--card-title-color, #333); margin-bottom: 0.5rem; } /* Card Body */ .bismillah-b-card-body { font-size: 1rem; color: var(--card-text-color, #555); line-height: 1.6; } /* Card Footer */ .bismillah-b-card-footer { margin-top: 1rem; text-align: right; } /* Card with Image */ .bismillah-b-card-image { width: 100%; height: auto; border-radius: 8px; margin-bottom: 1rem; } /* Buttons inside Cards */ .bismillah-b-card-footer .b-btn { padding: 0.5rem 1rem; font-size: 0.9rem; font-weight: bold; border-radius: 5px; cursor: pointer; text-decoration: none; transition: background 0.3s; } .bismillah-b-card-footer .b-btn-primary { background: var(--primary-color, #007bff); color: white; } .bismillah-b-card-footer .b-btn-primary:hover { background: #0056b3; } /* Responsive Grid for Cards */ .bismillah-b-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; padding: 1rem; } /* Responsive adjustments */ @media (max-width: 768px) { .bismillah-b-card { padding: 1rem; } } /* ========== BismillahCSS Responsive Cards ========== */ /* Card Grid Layout */ .bismillah-b-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; padding: 1rem; } /* Default Card Styling */ .bismillah-b-card { background: var(--card-bg, #ffffff); border-radius: 10px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); padding: 1.5rem; transition: transform 0.3s ease, box-shadow 0.3s ease; overflow: hidden; } /* Card Hover Effect */ .bismillah-b-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); } /* Neon Card */ .bismillah-b-card-neon { background: linear-gradient(145deg, rgba(88, 101, 242, 0.2), rgba(235, 69, 158, 0.2), rgba(87, 242, 135, 0.2)); border: 1px solid rgba(255, 255, 255, 0.3); box-shadow: 0 0 20px rgba(88, 101, 242, 0.4), 0 0 20px rgba(235, 69, 158, 0.4), 0 0 20px rgba(87, 242, 135, 0.4); color: #fff; } .bismillah-b-card-neon .bismillah-b-card-header, .bismillah-b-card-neon .bismillah-b-card-body, .bismillah-b-card-neon .bismillah-b-card-footer { color: #fff; } /* ========== Responsive Adjustments ========== */ @media (max-width: 1024px) { .bismillah-b-card-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); } .bismillah-b-card { padding: 1.2rem; } } /* ========== BismillahCSS Cards ========== */ .bismillah-b-card { background: var(--card-bg, #fff); border-radius: 10px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; max-width: 350px; } /* 🏆 Hover Lift Effect */ .bismillah-b-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); } /* 📸 Image Section */ .bismillah-b-card img { width: 100%; height: auto; object-fit: cover; } /* 📜 Content */ .bismillah-b-card-body { padding: 1.5rem; } /* 🏷️ Badge (e.g., "New", "Sale") */ .bismillah-b-card-badge { position: absolute; top: 10px; right: 10px; background: var(--badge-color, #ff5733); color: white; padding: 5px 10px; font-size: 0.8rem; font-weight: bold; border-radius: 5px; } /* ✨ Glassmorphism Card */ .bismillah-b-card-glass { background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.3); color: white; } /* ========== BismillahCSS Mathematical Rule-Based Card ========== */ /* Fibonacci Ratio Card (1:1.618) */ .bismillah-math-card { background: var(--card-bg, #ffffff); border-radius: 8px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15); padding: 1.618rem; /* Golden Ratio */ transition: transform 0.3s ease, box-shadow 0.3s ease; overflow: hidden; max-width: 420px; /* Fibonacci Number */ text-align: center; display: flex; flex-direction: column; align-items: center; border-left: 5px solid var(--math-accent, #007bff); } /* Proportional Hover Effect */ .bismillah-math-card:hover { transform: scale(1.05); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); } /* Centered Math Icon */ .bismillah-math-icon { font-size: 2rem; color: var(--math-icon, #ff5733); margin-bottom: 1rem; } /* Header with Golden Ratio Font Size */ .bismillah-math-card-header { font-size: 1.618rem; /* Golden Ratio */ font-weight: bold; color: var(--math-title, #222); margin-bottom: 1rem; } /* Formula Section (Balanced Layout) */ .bismillah-math-formula { font-size: 1.3rem; font-weight: bold; color: var(--math-formula, #007bff); background: rgba(0, 123, 255, 0.1); padding: 0.8rem; border-radius: 8px; width: 85%; /* Rule of Thirds */ margin: 1rem 0; font-family: "Courier New", monospace; } /* Body Text with Perfect Line Height */ .bismillah-math-card-body { font-size: 1rem; color: var(--math-text, #444); line-height: 1.618; /* Golden Ratio */ width: 90%; } /* Card Footer with Fibonacci Margin */ .bismillah-math-card-footer { margin-top: 1.618rem; /* Fibonacci Sequence */ font-size: 0.9rem; font-weight: bold; color: var(--math-footer, #007bff); } /* Responsive Grid (Mathematical Layout) */ @media (max-width: 768px) { .bismillah-math-card { padding: 1.2rem; max-width: 360px; /* Fibonacci Number */ } } /* Hexagonal Card */ .bismillah-hex-card { width: 250px; height: 140px; background: var(--card-bg, #007bff); color: white; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 1.2rem; font-weight: bold; clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); } .bismillah-hex-card:hover { transform: scale(1.05); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); } /* Trapezium Card */ .bismillah-trap-card { width: 280px; height: 150px; background: var(--card-bg, #ff5733); color: white; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 1.2rem; font-weight: bold; clip-path: polygon(15% 0%, 85% 0%, 100% 100%, 0% 100%); transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); } .bismillah-trap-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3); } /* Circular Card */ .bismillah-circle-card { width: 180px; height: 180px; background: var(--card-bg, #28a745); color: white; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 1.2rem; font-weight: bold; border-radius: 50%; transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); } .bismillah-circle-card:hover { transform: scale(1.1); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); } /* Parallelogram Card */ .bismillah-para-card { width: 250px; height: 140px; background: var(--card-bg, #6610f2); color: white; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 1.2rem; font-weight: bold; transform: skew(-20deg); transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); } .bismillah-para-card:hover { transform: skew(-20deg) scale(1.05); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); } /* Pentagon Card */ .bismillah-pentagon-card { width: 200px; height: 120px; background: var(--card-bg, #ff9800); color: white; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 1.2rem; font-weight: bold; clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%); transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); } .bismillah-pentagon-card:hover { transform: scale(1.05); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3); } /* Triangle Card */ .bismillah-triangle-card { width: 0; height: 0; border-left: 100px solid transparent; border-right: 100px solid transparent; border-bottom: 150px solid var(--card-bg, #e91e63); position: relative; } .bismillah-triangle-card::after { content: "Triangle Card"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: white; font-weight: bold; text-align: center; } /* Rhombus Card */ .bismillah-rhombus-card { width: 150px; height: 150px; background: var(--card-bg, #3f51b5); color: white; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 1.2rem; font-weight: bold; transform: rotate(45deg); transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); } .bismillah-rhombus-card span { transform: rotate(-45deg); } /* Circular Gradient Card */ .bismillah-circle-gradient { width: 180px; height: 180px; background: radial-gradient(circle, #ff4081, #ff1744); color: white; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 1.2rem; font-weight: bold; border-radius: 50%; transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); } .bismillah-circle-gradient:hover { transform: scale(1.1); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); } /* 🏆 Football Card */ .bismillah-football-card { width: 250px; height: 350px; background: rgba(0, 0, 0, 0.8); border-radius: 15px; color: white; text-align: center; padding: 1.5rem; position: relative; overflow: hidden; backdrop-filter: blur(10px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); transition: transform 0.3s ease, box-shadow 0.3s ease; } /* 🌀 Hover Lift Effect */ .bismillah-football-card:hover { transform: scale(1.05); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4); } /* ⚽ Football Icon */ .bismillah-football-icon { font-size: 3rem; animation: bounce 1.5s infinite; } /* 📌 Player Name */ .bismillah-football-card-header { font-size: 1.5rem; font-weight: bold; margin-top: 10px; } /* 📊 Player Stats */ .bismillah-football-stats { font-size: 1rem; margin-top: 10px; } /* 🎯 Button */ .bismillah-football-btn { margin-top: 15px; padding: 10px 15px; background: #ffcc00; color: black; font-weight: bold; border-radius: 5px; cursor: pointer; text-decoration: none; transition: background 0.3s; } .bismillah-football-btn:hover { background: #ffaa00; } /* 🏀 Bouncing Football Animation */ @keyframes bounce { 0%, 100% { transform: translateY(0); } } /* ============================= */ /* 🎨 Bismillah Unique Cards - CSS Only */ /* ============================= */ /* Flip Card - Pure CSS 3D flip effect */ .bismillah-flip-card { width: 300px; height: 200px; perspective: 1000px; margin: 20px; } .bismillah-flip-card-inner { position: relative; width: 100%; height: 100%; text-align: center; transition: transform 0.8s; transform-style: preserve-3d; } .bismillah-flip-card:hover .bismillah-flip-card-inner { transform: rotateY(180deg); } .bismillah-flip-card-front, .bismillah-flip-card-back { position: absolute; width: 100%; height: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: 15px; display: flex; align-items: center; justify-content: center; padding: 20px; box-sizing: border-box; } .bismillah-flip-card-front { background: linear-gradient(135deg, #6e8efb, #a777e3); color: white; } .bismillah-flip-card-back { background: linear-gradient(135deg, #a777e3, #6e8efb); color: white; transform: rotateY(180deg); } /* Reveal Card - Content slides up on hover */ .bismillah-reveal-card { position: relative; width: 300px; height: 200px; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); } .bismillah-reveal-card-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; } .bismillah-reveal-card-content { position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px; background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent); color: white; transform: translateY(70%); transition: transform 0.5s ease; } .bismillah-reveal-card:hover .bismillah-reveal-card-content { transform: translateY(0); } .bismillah-reveal-card:hover .bismillah-reveal-card-image { transform: scale(1.1); } /* Stacked Card - Multiple layers that fan out */ .bismillah-stacked-card { position: relative; width: 300px; height: 200px; margin: 40px 20px; } .bismillah-stacked-card-layer { position: absolute; width: 100%; height: 100%; border-radius: 15px; background: white; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); transition: all 0.3s ease; } .bismillah-stacked-card-layer:nth-child(1) { background: #f8f9fa; z-index: 4; } .bismillah-stacked-card-layer:nth-child(2) { background: #e9ecef; z-index: 3; } .bismillah-stacked-card-layer:nth-child(3) { background: #dee2e6; z-index: 2; } .bismillah-stacked-card-layer:nth-child(4) { background: #ced4da; z-index: 1; } .bismillah-stacked-card:hover .bismillah-stacked-card-layer:nth-child(1) { transform: translateX(30px) rotate(5deg); } .bismillah-stacked-card:hover .bismillah-stacked-card-layer:nth-child(2) { transform: translateX(60px) rotate(10deg); } .bismillah-stacked-card:hover .bismillah-stacked-card-layer:nth-child(3) { transform: translateX(90px) rotate(15deg); } .bismillah-stacked-card:hover .bismillah-stacked-card-layer:nth-child(4) { transform: translateX(120px) rotate(20deg); } /* Spotlight Card - Spotlight follows hover position */ .bismillah-spotlight-card { position: relative; width: 300px; height: 200px; background: #2d3436; border-radius: 15px; color: white; padding: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); overflow: hidden; } .bismillah-spotlight-card::before { content: ""; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient( circle at center, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 30% ); opacity: 0; transition: opacity 0.3s; } .bismillah-spotlight-card:hover::before { opacity: 1; animation: bismillah-spotlight 3s infinite linear; } @keyframes bismillah-spotlight { 0% { transform: translate(0%, 0%); } 25% { transform: translate(-25%, 25%); } 50% { transform: translate(0%, 50%); } 75% { transform: translate(25%, 25%); } 100% { transform: translate(0%, 0%); } } /* Morphing Card - Shape changes on hover */ .bismillah-morphing-card { width: 300px; height: 200px; background: linear-gradient(135deg, #00c6fb, #005bea); border-radius: 15px; display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); box-shadow: 0 10px 30px rgba(0, 91, 234, 0.3); } .bismillah-morphing-card:hover { border-radius: 50% 15px 50% 15px; background: linear-gradient(135deg, #005bea, #00c6fb); transform: rotate(5deg); } /* Glowing Card - Pulsating glow effect */ .bismillah-glowing-card { width: 300px; height: 200px; background: #2d3436; border-radius: 15px; display: flex; align-items: center; justify-content: center; color: #00ffff; font-weight: bold; position: relative; overflow: hidden; box-shadow: 0 0 10px rgba(0, 255, 255, 0.5); animation: bismillah-glow-pulse 2s infinite alternate; } @keyframes bismillah-glow-pulse { 0% { box-shadow: 0 0 10px rgba(0, 255, 255, 0.5); } 100% { box-shadow: 0 0 20px rgba(0, 255, 255, 0.8), 0 0 30px rgba(0, 255, 255, 0.6); } } /* Folding Card - Unfolds on hover */ .bismillah-folding-card { width: 300px; height: 200px; position: relative; perspective: 1500px; } .bismillah-folding-card-inner { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; transition: transform 0.8s; } .bismillah-folding-card:hover .bismillah-folding-card-inner { transform: rotateY(-180deg); } .bismillah-folding-card-front, .bismillah-folding-card-back { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; border-radius: 15px; display: flex; align-items: center; justify-content: center; padding: 20px; box-sizing: border-box; } .bismillah-folding-card-front { background: linear-gradient(135deg, #fd746c, #ff9068); color: white; transform: rotateY(0deg); } .bismillah-folding-card-back { background: linear-gradient(135deg, #ff9068, #fd746c); color: white; transform: rotateY(180deg); } .bismillah-folding-card-front::before, .bismillah-folding-card-back::before { content: ""; position: absolute; top: 0; left: 50%; width: 2px; height: 100%; background: rgba(255, 255, 255, 0.2); } /* ============================= */ /* 🚀 Innovative Bismillah Cards - Beyond Conventional Web Design */ /* ============================= */ /* Parallax Depth Card - Creates true depth illusion with layered parallax */ .bismillah-parallax-card { width: 300px; height: 400px; position: relative; perspective: 1000px; border-radius: 20px; overflow: hidden; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3); transform-style: preserve-3d; } .bismillah-parallax-card-layers { position: absolute; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.5s ease-out; } .bismillah-parallax-card:hover .bismillah-parallax-card-layers { transform: translateZ(40px); } .bismillah-parallax-card-layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 0.5s ease-out; } .bismillah-parallax-card-layer-1 { transform: translateZ(0px); opacity: 1; } .bismillah-parallax-card-layer-2 { transform: translateZ(20px); opacity: 0.9; } .bismillah-parallax-card-layer-3 { transform: translateZ(40px); opacity: 0.8; } .bismillah-parallax-card-layer-4 { transform: translateZ(60px); opacity: 0.7; } .bismillah-parallax-card-content { position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(10px); color: white; transform: translateZ(80px); opacity: 0; transition: all 0.5s ease-out; } .bismillah-parallax-card:hover .bismillah-parallax-card-content { opacity: 1; transform: translateZ(100px); } /* Liquid Blob Card - Morphing organic shape with liquid animation */ .bismillah-liquid-card { width: 300px; height: 200px; position: relative; display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; overflow: hidden; border-radius: 30px; } .bismillah-liquid-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(45deg, #12c2e9, #c471ed, #f64f59); border-radius: 30px; filter: blur(0); transition: filter 0.3s; } .bismillah-liquid-card::after { content: ""; position: absolute; inset: -50%; background: radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, 0.5) 70%); opacity: 0; transition: opacity 0.3s; } .bismillah-liquid-card:hover::before { filter: blur(10px); animation: bismillah-liquid-morph 8s linear infinite alternate; } .bismillah-liquid-card:hover::after { opacity: 1; animation: bismillah-liquid-light 4s linear infinite; } .bismillah-liquid-card-content { position: relative; z-index: 1; background: rgba(0, 0, 0, 0.2); backdrop-filter: blur(5px); padding: 20px; border-radius: 15px; transition: transform 0.3s; } .bismillah-liquid-card:hover .bismillah-liquid-card-content { transform: scale(1.05); } @keyframes bismillah-liquid-morph { 0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; } 25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; } 50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; } 75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; } 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; } } @keyframes bismillah-liquid-light { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* Dimensional Card - Creates a 3D room effect */ .bismillah-dimensional-card { width: 300px; height: 300px; position: relative; perspective: 1000px; cursor: pointer; } .bismillah-dimensional-card-inner { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); } .bismillah-dimensional-card:hover .bismillah-dimensional-card-inner { transform: rotateY(25deg) rotateX(10deg); } .bismillah-dimensional-card-face { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; border-radius: 15px; overflow: hidden; } .bismillah-dimensional-card-front { background: linear-gradient(135deg, #667eea, #764ba2); transform: translateZ(0); } .bismillah-dimensional-card-wall-left { position: absolute; width: 300px; height: 300px; background: #5a67d8; transform: rotateY(90deg) translateZ(-150px); transform-origin: left center; } .bismillah-dimensional-card-wall-right { position: absolute; width: 300px; height: 300px; background: #4c51bf; transform: rotateY(-90deg) translateZ(-150px); transform-origin: right center; } .bismillah-dimensional-card-wall-top { position: absolute; width: 300px; height: 300px; background: #6b46c1; transform: rotateX(-90deg) translateZ(-150px); transform-origin: top center; } .bismillah-dimensional-card-wall-bottom { position: absolute; width: 300px; height: 300px; background: #805ad5; transform: rotateX(90deg) translateZ(-150px); transform-origin: bottom center; } .bismillah-dimensional-card-content { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; color: white; padding: 20px; text-align: center; transform: translateZ(20px); transition: transform 0.5s; } .bismillah-dimensional-card:hover .bismillah-dimensional-card-content { transform: translateZ(50px); } /* Holographic Card - Simulates holographic effect */ .bismillah-holographic-card { width: 300px; height: 200px; position: relative; border-radius: 15px; background: linear-gradient(135deg, #000000, #333333); overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); } .bismillah-holographic-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient( 45deg, rgba(255, 0, 0, 0.3), rgba(255, 165, 0, 0.3), rgba(255, 255, 0, 0.3), rgba(0, 128, 0, 0.3), rgba(0, 0, 255, 0.3), rgba(75, 0, 130, 0.3), rgba(238, 130, 238, 0.3) ); background-size: 400% 400%; mix-blend-mode: color-dodge; opacity: 0; transition: opacity 0.3s; } .bismillah-holographic-card:hover::before { opacity: 1; animation: bismillah-rainbow 3s linear infinite; } .bismillah-holographic-card::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: repeating-linear-gradient( 0deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1) 1px, transparent 1px, transparent 2px ); mix-blend-mode: overlay; opacity: 0.3; } .bismillah-holographic-card-content { position: relative; z-index: 1; height: 100%; display: flex; align-items: center; justify-content: center; color: white; padding: 20px; text-align: center; } @keyframes bismillah-rainbow { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } /* Quantum Card - Simulates quantum superposition with split states */ .bismillah-quantum-card { width: 300px; height: 200px; position: relative; perspective: 1000px; } .bismillah-quantum-card-inner { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); } .bismillah-quantum-card:hover .bismillah-quantum-card-inner { transform: rotateY(180deg); } .bismillah-quantum-card-face { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; border-radius: 15px; overflow: hidden; display: grid; grid-template-columns: repeat(8, 1fr); grid-template-rows: repeat(8, 1fr); gap: 2px; } .bismillah-quantum-card-front { background: #1a202c; } .bismillah-quantum-card-back { background: #2d3748; transform: rotateY(180deg); } .bismillah-quantum-cell { background: rgba(255, 255, 255, 0.1); transition: all 0.3s ease; } .bismillah-quantum-card:hover .bismillah-quantum-cell { animation: bismillah-quantum-flicker 2s infinite; animation-delay: calc(var(--cell-index) * 0.05s); } @keyframes bismillah-quantum-flicker { 0%, 100% { opacity: 0.1; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1); } } .bismillah-quantum-card-content { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: white; z-index: 1; text-align: center; padding: 20px; pointer-events: none; } /* ============================= */ /* 🚀 Innovative Bismillah Cards - Beyond Conventional Web Design */ /* ============================= */ /* Neutrino Card - Particles emanate from center on hover */ .bismillah-neutrino-card { position: relative; width: 300px; height: 200px; background: #0f172a; border-radius: 16px; overflow: hidden; display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; z-index: 1; } .bismillah-neutrino-card::before { content: ""; position: absolute; top: 50%; left: 50%; width: 5px; height: 5px; background: white; border-radius: 50%; transform: translate(-50%, -50%); opacity: 0; z-index: -1; transition: opacity 0.3s; } .bismillah-neutrino-card:hover::before { opacity: 1; animation: bismillah-neutrino-burst 1.5s ease-out; } @keyframes bismillah-neutrino-burst { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8), 0 0 0 0 rgba(255, 255, 255, 0.4), 0 0 0 0 rgba(255, 255, 255, 0.2); } 100% { box-shadow: 0 0 50px 30px rgba(255, 255, 255, 0), 0 0 100px 60px rgba(255, 255, 255, 0), 0 0 150px 90px rgba(255, 255, 255, 0); } } /* Tesseract Card - 4D cube effect */ .bismillah-tesseract-card { position: relative; width: 300px; height: 300px; perspective: 1000px; margin: 50px; } .bismillah-tesseract-outer { position: absolute; width: 100%; height: 100%; transform-style: preserve-3d; animation: bismillah-tesseract-rotate 20s linear infinite; } .bismillah-tesseract-inner { position: absolute; width: 70%; height: 70%; top: 15%; left: 15%; transform-style: preserve-3d; animation: bismillah-tesseract-rotate 10s linear infinite reverse; } .bismillah-tesseract-face { position: absolute; width: 100%; height: 100%; background: rgba(72, 118, 255, 0.2); border: 2px solid rgba(72, 118, 255, 0.8); display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; backface-visibility: visible; } .bismillah-tesseract-face:nth-child(1) { transform: translateZ(150px); } .bismillah-tesseract-face:nth-child(2) { transform: rotateY(180deg) translateZ(150px); } .bismillah-tesseract-face:nth-child(3) { transform: rotateY(90deg) translateZ(150px); } .bismillah-tesseract-face:nth-child(4) { transform: rotateY(-90deg) translateZ(150px); } .bismillah-tesseract-face:nth-child(5) { transform: rotateX(90deg) translateZ(150px); } .bismillah-tesseract-face:nth-child(6) { transform: rotateX(-90deg) translateZ(150px); } .bismillah-tesseract-inner-face { position: absolute; width: 100%; height: 100%; background: rgba(255, 72, 196, 0.2); border: 2px solid rgba(255, 72, 196, 0.8); backface-visibility: visible; } .bismillah-tesseract-inner-face:nth-child(1) { transform: translateZ(105px); } .bismillah-tesseract-inner-face:nth-child(2) { transform: rotateY(180deg) translateZ(105px); } .bismillah-tesseract-inner-face:nth-child(3) { transform: rotateY(90deg) translateZ(105px); } .bismillah-tesseract-inner-face:nth-child(4) { transform: rotateY(-90deg) translateZ(105px); } .bismillah-tesseract-inner-face:nth-child(5) { transform: rotateX(90deg) translateZ(105px); } .bismillah-tesseract-inner-face:nth-child(6) { transform: rotateX(-90deg) translateZ(105px); } @keyframes bismillah-tesseract-rotate { 0% { transform: rotateX(0deg) rotateY(0deg); } 100% { transform: rotateX(360deg) rotateY(360deg); } } /* Mirage Card - Shimmering desert mirage effect */ .bismillah-mirage-card { position: relative; width: 300px; height: 200px; background: linear-gradient(135deg, #ffd89b, #19547b); border-radius: 16px; overflow: hidden; display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; } .bismillah-mirage-card::before { content: ""; position: absolute; top: 0; left: -100%; width: 200%; height: 100%; background: linear-gradient( to right, transparent, rgba(255, 255, 255, 0.3), transparent ); transform: skewX(-20deg); animation: bismillah-mirage-shimmer 3s infinite; } @keyframes bismillah-mirage-shimmer { 0% { transform: translateX(-100%) skewX(-20deg); } 100% { transform: translateX(50%) skewX(-20deg); } } .bismillah-mirage-card::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient( 0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.1) 2px, rgba(255, 255, 255, 0.1) 4px ); opacity: 0.3; } /* Vortex Card - Spiral animation effect */ .bismillah-vortex-card { position: relative; width: 300px; height: 300px; background: #000; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; } .bismillah-vortex-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: conic-gradient( from 0deg, #000, #111, #222, #333, #444, #555, #666, #777, #888, #999, #aaa, #bbb, #ccc, #ddd, #eee, #fff, #eee, #ddd, #ccc, #bbb, #aaa, #999, #888, #777, #666, #555, #444, #333, #222, #111, #000 ); animation: bismillah-vortex-spin 5s linear infinite; opacity: 0.7; } @keyframes bismillah-vortex-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .bismillah-vortex-card-content { position: relative; z-index: 1; background: rgba(0, 0, 0, 0.5); padding: 20px; border-radius: 50%; width: 60%; height: 60%; display: flex; align-items: center; justify-content: center; text-align: center; } /* Nebula Card - Space nebula effect */ .bismillah-nebula-card { position: relative; width: 300px; height: 200px; background: #000; border-radius: 16px; overflow: hidden; display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; } .bismillah-nebula-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 30%, rgba(255, 0, 128, 0.5), transparent 50%), radial-gradient(circle at 80% 70%, rgba(0, 128, 255, 0.5), transparent 50%), radial-gradient(circle at 50% 50%, rgba(128, 0, 255, 0.3), transparent 70%); filter: blur(10px); opacity: 0.8; animation: bismillah-nebula-pulse 8s ease infinite alternate; } .bismillah-nebula-card::after { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='white' fill-opacity='0.5'%3E%3Ccircle cx='10' cy='10' r='1'/%3E%3Ccircle cx='30' cy='40' r='0.5'/%3E%3Ccircle cx='50' cy='20' r='0.8'/%3E%3Ccircle cx='70' cy='90' r='0.6'/%3E%3Ccircle cx='90' cy='30' r='0.7'/%3E%3Ccircle cx='110' cy='60' r='0.4'/%3E%3Ccircle cx='130' cy='10' r='0.9'/%3E%3Ccircle cx='150' cy='70' r='0.5'/%3E%3Ccircle cx='170' cy='40' r='0.7'/%3E%3Ccircle cx='190' cy='20' r='0.6'/%3E%3Ccircle cx='20' cy='80' r='0.8'/%3E%3Ccircle cx='40' cy='100' r='0.5'/%3E%3Ccircle cx='60' cy='50' r='0.7'/%3E%3Ccircle cx='80' cy='120' r='0.4'/%3E%3Ccircle cx='100' cy='90' r='0.6'/%3E%3Ccircle cx='120' cy='140' r='0.8'/%3E%3Ccircle cx='140' cy='110' r='0.5'/%3E%3Ccircle cx='160' cy='130' r='0.7'/%3E%3Ccircle cx='180' cy='100' r='0.4'/%3E%3Ccircle cx='200' cy='150' r='0.6'/%3E%3C/g%3E%3C/svg%3E"); opacity: 0.8; } @keyframes bismillah-nebula-pulse { 0% { opacity: 0.5; filter: blur(10px) hue-rotate(0deg); } 100% { opacity: 0.8; filter: blur(15px) hue-rotate(90deg); } } .bismillah-nebula-card-content { position: relative; z-index: 1; text-shadow: 0 0 10px rgba(255, 255, 255, 0.8); } /* ============================= */ /* 🚀 Innovative Bismillah Cards - Beyond Conventional Web Design */ /* ============================= */ /* Neutrino Card - Particles emanate from center on hover */ .bismillah-neutrino-card { position: relative; width: 300px; height: 200px; background: #0f172a; border-radius: 16px; overflow: hidden; display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; z-index: 1; } .bismillah-neutrino-card::before { content: ""; position: absolute; top: 50%; left: 50%; width: 5px; height: 5px; background: white; border-radius: 50%; transform: translate(-50%, -50%); opacity: 0; z-index: -1; transition: opacity 0.3s; } .bismillah-neutrino-card:hover::before { opacity: 1; animation: bismillah-neutrino-burst 1.5s ease-out; } @keyframes bismillah-neutrino-burst { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8), 0 0 0 0 rgba(255, 255, 255, 0.4), 0 0 0 0 rgba(255, 255, 255, 0.2); } 100% { box-shadow: 0 0 50px 30px rgba(255, 255, 255, 0), 0 0 100px 60px rgba(255, 255, 255, 0), 0 0 150px 90px rgba(255, 255, 255, 0); } } /* Tesseract Card - 4D cube effect */ .bismillah-tesseract-card { position: relative; width: 300px; height: 300px; perspective: 1000px; margin: 50px; } .bismillah-tesseract-outer { position: absolute; width: 100%; height: 100%; transform-style: preserve-3d; animation: bismillah-tesseract-rotate 20s linear infinite; } .bismillah-tesseract-inner { position: absolute; width: 70%; height: 70%; top: 15%; left: 15%; transform-style: preserve-3d; animation: bismillah-tesseract-rotate 10s linear infinite reverse; } .bismillah-tesseract-face { position: absolute; width: 100%; height: 100%; background: rgba(72, 118, 255, 0.2); border: 2px solid rgba(72, 118, 255, 0.8); display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; backface-visibility: visible; } .bismillah-tesseract-face:nth-child(1) { transform: translateZ(150px); } .bismillah-tesseract-face:nth-child(2) { transform: rotateY(180deg) translateZ(150px); } .bismillah-tesseract-face:nth-child(3) { transform: rotateY(90deg) translateZ(150px); } .bismillah-tesseract-face:nth-child(4) { transform: rotateY(-90deg) translateZ(150px); } .bismillah-tesseract-face:nth-child(5) { transform: rotateX(90deg) translateZ(150px); } .bismillah-tesseract-face:nth-child(6) { transform: rotateX(-90deg) translateZ(150px); } .bismillah-tesseract-inner-face { position: absolute; width: 100%; height: 100%; background: rgba(255, 72, 196, 0.2); border: 2px solid rgba(255, 72, 196, 0.8); backface-visibility: visible; } .bismillah-tesseract-inner-face:nth-child(1) { transform: translateZ(105px); } .bismillah-tesseract-inner-face:nth-child(2) { transform: rotateY(180deg) translateZ(105px); } .bismillah-tesseract-inner-face:nth-child(3) { transform: rotateY(90deg) translateZ(105px); } .bismillah-tesseract-inner-face:nth-child(4) { transform: rotateY(-90deg) translateZ(105px); } .bismillah-tesseract-inner-face:nth-child(5) { transform: rotateX(90deg) translateZ(105px); } .bismillah-tesseract-inner-face:nth-child(6) { transform: rotateX(-90deg) translateZ(105px); } @keyframes bismillah-tesseract-rotate { 0% { transform: rotateX(0deg) rotateY(0deg); } 100% { transform: rotateX(360deg) rotateY(360deg); } } /* Mirage Card - Shimmering desert mirage effect */ .bismillah-mirage-card { position: relative; width: 300px; height: 200px; background: linear-gradient(135deg, #ffd89b, #19547b); border-radius: 16px; overflow: hidden; display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; } .bismillah-mirage-card::before { content: ""; position: absolute; top: 0; left: -100%; width: 200%; height: 100%; background: linear-gradient( to right, transparent, rgba(255, 255, 255, 0.3), transparent ); transform: skewX(-20deg); animation: bismillah-mirage-shimmer 3s infinite; } @keyframes bismillah-mirage-shimmer { 0% { transform: translateX(-100%) skewX(-20deg); } 100% { transform: translateX(50%) skewX(-20deg); } } .bismillah-mirage-card::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient( 0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.1) 2px, rgba(255, 255, 255, 0.1) 4px ); opacity: 0.3; } /* Vortex Card - Spiral animation effect */ .bismillah-vortex-card { position: relative; width: 300px; height: 300px; background: #000; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; } .bismillah-vortex-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: conic-gradient( from 0deg, #000, #111, #222, #333, #444, #555, #666, #777, #888, #999, #aaa, #bbb, #ccc, #ddd, #eee, #fff, #eee, #ddd, #ccc, #bbb, #aaa, #999, #888, #777, #666, #555, #444, #333, #222, #111, #000 ); animation: bismillah-vortex-spin 5s linear infinite; opacity: 0.7; } @keyframes bismillah-vortex-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .bismillah-vortex-card-content { position: relative; z-index: 1; background: rgba(0, 0, 0, 0.5); padding: 20px; border-radius: 50%; width: 60%; height: 60%; display: flex; align-items: center; justify-content: center; text-align: center; } /* Nebula Card - Space nebula effect */ .bismillah-nebula-card { position: relative; width: 300px; height: 200px; background: #000; border-radius: 16px; overflow: hidden; display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; } .bismillah-nebula-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 30%, rgba(255, 0, 128, 0.5), transparent 50%), radial-gradient(circle at 80% 70%, rgba(0, 128, 255, 0.5), transparent 50%), radial-gradient(circle at 50% 50%, rgba(128, 0, 255, 0.3), transparent 70%); filter: blur(10px); opacity: 0.8; animation: bismillah-nebula-pulse 8s ease infinite alternate; } .bismillah-nebula-card::after { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='white' fill-opacity='0.5'%3E%3Ccircle cx='10' cy='10' r='1'/%3E%3Ccircle cx='30' cy='40' r='0.5'/%3E%3Ccircle cx='50' cy='20' r='0.8'/%3E%3Ccircle cx='70' cy='90' r='0.6'/%3E%3Ccircle cx='90' cy='30' r='0.7'/%3E%3Ccircle cx='110' cy='60' r='0.4'/%3E%3Ccircle cx='130' cy='10' r='0.9'/%3E%3Ccircle cx='150' cy='70' r='0.5'/%3E%3Ccircle cx='170' cy='40' r='0.7'/%3E%3Ccircle cx='190' cy='20' r='0.6'/%3E%3Ccircle cx='20' cy='80' r='0.8'/%3E%3Ccircle cx='40' cy='100' r='0.5'/%3E%3Ccircle cx='60' cy='50' r='0.7'/%3E%3Ccircle cx='80' cy='120' r='0.4'/%3E%3Ccircle cx='100' cy='90' r='0.6'/%3E%3Ccircle cx='120' cy='140' r='0.8'/%3E%3Ccircle cx='140' cy='110' r='0.5'/%3E%3Ccircle cx='160' cy='130' r='0.7'/%3E%3Ccircle cx='180' cy='100' r='0.4'/%3E%3Ccircle cx='200' cy='150' r='0.6'/%3E%3C/g%3E%3C/svg%3E"); opacity: 0.8; } @keyframes bismillah-nebula-pulse { 0% { opacity: 0.5; filter: blur(10px) hue-rotate(0deg); } 100% { opacity: 0.8; filter: blur(15px) hue-rotate(90deg); } } .bismillah-nebula-card-content { position: relative; z-index: 1; text-shadow: 0 0 10px rgba(255, 255, 255, 0.8); } /* ============================= */ /* 🚀 Innovative Bismillah Buttons - Beyond Conventional Web Design */ /* ============================= */ /* Plasma Button - Creates a plasma energy effect */ .bismillah-plasma-btn { position: relative; padding: 15px 30px; background: #000; color: #fff; border: none; border-radius: 8px; font-weight: bold; cursor: pointer; overflow: hidden; z-index: 1; } .bismillah-plasma-btn::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 35%, #ff00cc, transparent 40%), radial-gradient(circle at 80% 65%, #00ccff, transparent 40%); filter: blur(10px); opacity: 0.7; z-index: -1; transition: all 0.5s ease; } .bismillah-plasma-btn:hover::before { filter: blur(15px); animation: bismillah-plasma-shift 3s infinite alternate; } @keyframes bismillah-plasma-shift { 0% { background-position: 0% 0%; filter: blur(10px) hue-rotate(0deg); } 100% { background-position: 100% 100%; filter: blur(15px) hue-rotate(90deg); } } .bismillah-plasma-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent); z-index: -1; transform: translateX(-100%); transition: transform 0.5s ease; } .bismillah-plasma-btn:hover::after { transform: translateX(100%); } /* Wormhole Button - Creates a space-time wormhole effect */ .bismillah-wormhole-btn { position: relative; padding: 15px 30px; background: #1a1a2e; color: white; border: none; border-radius: 8px; font-weight: bold; cursor: pointer; overflow: hidden; transition: all 0.5s; } .bismillah-wormhole-btn::before { content: ""; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: radial-gradient( circle, rgba(255, 255, 255, 0.8) 0%, rgba(100, 100, 255, 0.6) 20%, rgba(50, 50, 200, 0.4) 40%, transparent 70% ); transform: translate(-50%, -50%); border-radius: 50%; z-index: 0; opacity: 0; transition: all 0.5s; } .bismillah-wormhole-btn:hover::before { width: 300px; height: 300px; opacity: 1; animation: bismillah-wormhole-pulse 2s infinite alternate; } @keyframes bismillah-wormhole-pulse { 0% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.7; } 100% { transform: translate(-50%, -50%) scale(1.05); opacity: 1; } } .bismillah-wormhole-btn span { position: relative; z-index: 1; transition: all 0.5s; } .bismillah-wormhole-btn:hover span { transform: scale(1.1); text-shadow: 0 0 10px rgba(255, 255, 255, 0.8); } /* Supernova Button - Exploding star effect */ .bismillah-supernova-btn { position: relative; padding: 15px 30px; background: #2d3748; color: white; border: none; border-radius: 8px; font-weight: bold; cursor: pointer; overflow: hidden; z-index: 1; } .bismillah-supernova-btn::before { content: ""; position: absolute; top: 50%; left: 50%; width: 5px; height: 5px; background: white; border-radius: 50%; transform: translate(-50%, -50%); opacity: 0; z-index: -1; transition: opacity 0.3s; } .bismillah-supernova-btn:hover::before { opacity: 1; animation: bismillah-supernova-explode 1.5s ease-out forwards; } @keyframes bismillah-supernova-explode { 0% { box-shadow: 0 0 0 0 white; opacity: 1; transform: translate(-50%, -50%) scale(1); } 50% { box-shadow: 0 0 30px 15px rgba(255, 255, 255, 0.8), 0 0 60px 30px rgba(255, 200, 100, 0.6), 0 0 100px 50px rgba(255, 100, 50, 0.4); opacity: 0.8; } 100% { box-shadow: 0 0 50px 25px rgba(255, 255, 255, 0), 0 0 100px 50px rgba(255, 200, 100, 0), 0 0 150px 75px rgba(255, 100, 50, 0); opacity: 0; transform: translate(-50%, -50%) scale(2); } } .bismillah-supernova-btn span { position: relative; z-index: 1; } /* Hypercube Button - 4D cube rotation effect */ .bismillah-hypercube-btn { position: