UNPKG

bismillahcss

Version:

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

965 lines (852 loc) 24.2 kB
/** * BismillahCSS High Quality Ultra Components * Futuristic, unique, and premium UI components */ :root { /* ========================================================================== BISMILLAHCSS V3: INTENT-DRIVEN SEMANTIC PRIMITIVES "Expressing ideas, not just styles." ========================================================================== */ /* --- Intent: Layout & State --- */ .layout-focus, .layout-focus-center { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 80vh; padding: 40px; text-align: center; } .layout-reflection { background: #050507; padding: 100px 5%; display: flex; flex-direction: column; gap: 40px; } /* --- Intent: Emotional States --- */ .interface-calm { --b-primary: #00f2ff; --b-accent-glow: rgba(0, 242, 255, 0.1); background: #0a0a0c; transition: all 0.5s ease; backdrop-filter: blur(20px); } .interface-urgency { --b-primary: #ff007a; --b-accent-glow: rgba(255, 0, 122, 0.2); border-left: 4px solid var(--b-primary); animation: bismillahPulse 2s infinite; } /* --- Intent: Actions --- */ .action-trust-primary, .bismillah-btn-neon { border: 1px solid var(--bismillah-ultra-primary); background: transparent; color: var(--bismillah-ultra-primary); padding: 12px 28px; border-radius: 12px; font-weight: 700; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 0 10px rgba(0, 242, 255, 0.1); } .action-trust-primary:hover, .bismillah-btn-neon:hover { background: var(--bismillah-ultra-primary); color: var(--bismillah-ultra-dark); box-shadow: 0 0 30px var(--bismillah-ultra-primary); } /* --- Intent: Narrative & Text --- */ .text-impact-peace { font-size: clamp(2.5rem, 8vw, 5rem); font-weight: 900; letter-spacing: -2px; line-height: 1; background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.4)); -webkit-background-clip: text; background-clip: text; color: transparent; } /* --- Intent: Components --- */ .card-primary { position: relative; padding: 32px; overflow: hidden; transition: all 0.4s ease; background: var(--bismillah-ultra-surface); backdrop-filter: blur(var(--bismillah-ultra-blur)); -webkit-backdrop-filter: blur(var(--bismillah-ultra-blur)); border: 1px solid var(--bismillah-ultra-border); border-radius: var(--bismillah-ultra-radius); box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37); } --bismillah-ultra-primary: #00f2ff; --bismillah-ultra-secondary: #7000ff; --bismillah-ultra-accent: #ff007a; --bismillah-ultra-dark: #0a0a0c; --bismillah-ultra-surface: rgba(20, 20, 25, 0.7); --bismillah-ultra-border: rgba(255, 255, 255, 0.1); --bismillah-ultra-glow: 0 0 20px rgba(0, 242, 255, 0.3); --bismillah-ultra-radius: 24px; --bismillah-ultra-blur: 16px; } /* --- Glassmorphism Base --- */ .bismillah-glass { background: var(--bismillah-ultra-surface); backdrop-filter: blur(var(--bismillah-ultra-blur)); -webkit-backdrop-filter: blur(var(--bismillah-ultra-blur)); border: 1px solid var(--bismillah-ultra-border); border-radius: var(--bismillah-ultra-radius); box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37); } /* --- Futuristic Navbar --- */ .bismillah-navbar-ultra { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); width: 90%; max-width: 1200px; height: 70px; z-index: 1000; display: flex; align-items: center; justify-content: space-between; padding: 0 32px; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); } .bismillah-navbar-ultra:hover { width: 92%; border-color: rgba(0, 242, 255, 0.3); box-shadow: 0 8px 32px 0 rgba(0, 242, 255, 0.15); } .bismillah-navbar-ultra .logo { font-size: 1.5rem; font-weight: 800; background: linear-gradient(90deg, var(--bismillah-ultra-primary), var(--bismillah-ultra-secondary)); -webkit-background-clip: text; background-clip: text; color: transparent; text-decoration: none; } .bismillah-navbar-ultra .nav-links { display: flex; gap: 32px; } .bismillah-navbar-ultra .nav-link { color: rgba(255, 255, 255, 0.7); text-decoration: none; font-weight: 500; font-size: 0.95rem; position: relative; padding: 8px 0; transition: color 0.3s ease; } .bismillah-navbar-ultra .nav-link:hover { color: var(--bismillah-ultra-primary); } .bismillah-navbar-ultra .nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--bismillah-ultra-primary); box-shadow: 0 0 10px var(--bismillah-ultra-primary); transition: width 0.3s ease; } .bismillah-navbar-ultra .nav-link:hover::after { width: 100%; } .bismillah-navbar-ultra .cta-btn { background: linear-gradient(45deg, var(--bismillah-ultra-primary), var(--bismillah-ultra-secondary)); color: #fff; border: none; padding: 10px 24px; border-radius: 50px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0, 242, 255, 0.2); } .bismillah-navbar-ultra .cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 242, 255, 0.4); } /* --- Ultra Card --- */ .bismillah-card-ultra { position: relative; padding: 32px; overflow: hidden; transition: all 0.4s ease; } .bismillah-card-ultra::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--bismillah-ultra-primary), var(--bismillah-ultra-secondary)); opacity: 0; transition: opacity 0.4s ease; } .bismillah-card-ultra:hover { transform: translateY(-10px) scale(1.02); border-color: rgba(0, 242, 255, 0.2); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); } .bismillah-card-ultra:hover::before { opacity: 1; } .bismillah-card-ultra .card-icon { width: 60px; height: 60px; background: rgba(255, 255, 255, 0.05); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; color: var(--bismillah-ultra-primary); font-size: 1.5rem; transition: all 0.4s ease; } .bismillah-card-ultra:hover .card-icon { background: var(--bismillah-ultra-primary); color: var(--bismillah-ultra-dark); box-shadow: 0 0 20px var(--bismillah-ultra-primary); } .bismillah-card-ultra h3 { margin: 0 0 12px 0; font-size: 1.5rem; color: #fff; } .bismillah-card-ultra p { margin: 0; color: rgba(255, 255, 255, 0.5); line-height: 1.6; } /* --- Neon Button --- */ .bismillah-btn-neon { background: transparent; border: 2px solid var(--bismillah-ultra-primary); color: var(--bismillah-ultra-primary); padding: 12px 32px; font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; border-radius: 8px; cursor: pointer; position: relative; overflow: hidden; transition: all 0.3s ease; z-index: 1; } .bismillah-btn-neon::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: var(--bismillah-ultra-primary); transition: all 0.3s ease; z-index: -1; } .bismillah-btn-neon:hover { color: var(--bismillah-ultra-dark); box-shadow: 0 0 30px var(--bismillah-ultra-primary); } .bismillah-btn-neon:hover::before { left: 0; } /* --- Animated Background --- */ .bismillah-bg-gradient-animate { background: linear-gradient(-45deg, #0a0a0c, #1a1a2e, #16213e, #0f3460); background-size: 400% 400%; animation: bismillahGradientBG 15s ease infinite; } /* --- Futuristic Input --- */ .bismillah-input-ultra { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--bismillah-ultra-border); border-radius: 12px; padding: 14px 20px; color: #fff; width: 100%; outline: none; transition: all 0.3s ease; } .bismillah-input-ultra:focus { border-color: var(--bismillah-ultra-primary); background: rgba(255, 255, 255, 0.08); box-shadow: 0 0 15px rgba(0, 242, 255, 0.2); } /* --- Glowing Text --- */ .bismillah-text-glow { color: #fff; text-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 0 20px var(--bismillah-ultra-primary); } /* --- Hero Section Ultra --- */ .bismillah-hero-ultra { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 20px; position: relative; overflow: hidden; } .bismillah-hero-ultra h1 { font-size: clamp(3rem, 10vw, 6rem); font-weight: 900; margin: 0; line-height: 1; letter-spacing: -2px; background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.5) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; } .bismillah-hero-ultra p { font-size: 1.25rem; color: rgba(255, 255, 255, 0.6); max-width: 600px; margin: 24px 0 40px 0; } /* --- Micro Charts (CSS Only) --- */ .bismillah-chart-bar { display: flex; align-items: flex-end; gap: 4px; height: 40px; } .bismillah-chart-bar .bar { width: 6px; background: var(--bismillah-ultra-primary); border-radius: 3px 3px 0 0; animation: barGrow 2s ease-in-out infinite alternate; } @keyframes barGrow { from { height: 20%; } to { height: 100%; } } /* --- Ultra Pricing --- */ .bismillah-pricing-ultra { background: rgba(10, 10, 15, 0.8); backdrop-filter: blur(20px); border: 1px solid rgba(0, 242, 255, 0.2); border-radius: 20px; padding: 40px; text-align: center; position: relative; overflow: hidden; transition: all 0.4s ease; } .bismillah-pricing-ultra:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0, 242, 255, 0.15); } .bismillah-pricing-ultra .price { font-size: 3rem; font-weight: 800; color: var(--bismillah-ultra-primary); margin: 20px 0; text-shadow: 0 0 10px rgba(0, 242, 255, 0.3); } /* --- Ultra Table --- */ .bismillah-table-ultra { width: 100%; border-collapse: separate; border-spacing: 0; background: rgba(20, 20, 25, 0.6); border-radius: 12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); } .bismillah-table-ultra th { background: rgba(0, 242, 255, 0.1); color: var(--bismillah-ultra-primary); padding: 16px; text-align: left; font-weight: 600; } .bismillah-table-ultra td { padding: 16px; color: rgba(255, 255, 255, 0.8); border-bottom: 1px solid rgba(255, 255, 255, 0.05); transition: background 0.3s ease; } .bismillah-table-ultra tr:hover td { background: rgba(255, 255, 255, 0.02); color: #fff; } /* --- New Ultra Premium Components --- */ /* Bismillah Glass Button */ .bismillah-btn-glass { position: relative; padding: 12px 24px; background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; color: white; font-weight: 600; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); overflow: hidden; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; } .bismillah-btn-glass:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); } .bismillah-btn-glass::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.1), transparent); transition: all 0.6s; } .bismillah-btn-glass:hover::before { left: 100%; } /* Bismillah Neon Badge */ .bismillah-badge-neon { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; background: rgba(0, 242, 255, 0.1); color: #00f2ff; border: 1px solid rgba(0, 242, 255, 0.3); box-shadow: 0 0 15px rgba(0, 242, 255, 0.1); } .bismillah-badge-neon.success { background: rgba(0, 255, 133, 0.1); color: #00ff85; border-color: rgba(0, 255, 133, 0.3); } .bismillah-badge-neon.warning { background: rgba(255, 170, 0, 0.1); color: #ffaa00; border-color: rgba(255, 170, 0, 0.3); } /* Bismillah Cyber Input */ .bismillah-input-cyber { width: 100%; background: rgba(15, 15, 26, 0.5); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 14px 20px; color: white; transition: all 0.3s ease; outline: none; font-size: 1rem; } .bismillah-input-cyber:focus { border-color: #00f2ff; background: rgba(15, 15, 26, 0.8); box-shadow: 0 0 20px rgba(0, 242, 255, 0.2); } /* Bismillah Ultra Gradient Card */ .bismillah-card-gradient { position: relative; background: #0f0f1a; border-radius: 24px; padding: 1px; overflow: hidden; height: 100%; } .bismillah-card-gradient::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #7e22ce 100%); z-index: 0; } .bismillah-card-gradient-inner { position: relative; background: #0f0f1a; border-radius: 23px; padding: 32px; height: 100%; z-index: 1; } /* Bismillah Pulse Indicator */ .bismillah-pulse { width: 10px; height: 10px; background: #00f2ff; border-radius: 50%; position: relative; display: inline-block; } .bismillah-pulse::after { content: ''; position: absolute; top: -5px; left: -5px; right: -5px; bottom: -5px; border-radius: 50%; border: 2px solid #00f2ff; animation: bismillah-pulse-anim 2s infinite; opacity: 0; } @keyframes bismillah-pulse-anim { 0% { transform: scale(0.5); opacity: 0.8; } 100% { transform: scale(2.5); opacity: 0; } } /* --- EXTRAORDINARY UI PRIMITIVES (BismillahCSS Elite) --- */ /* Aurora Dynamic Background */ .bismillah-aurora-bg { position: relative; background: #000; overflow: hidden; z-index: 0; } .bismillah-aurora-bg::before, .bismillah-aurora-bg::after { content: ""; position: absolute; width: 200vw; height: 200vh; top: -50%; left: -50%; background: radial-gradient(circle at center, rgba(0, 242, 255, 0.15) 0%, transparent 50%), radial-gradient(circle at 20% 30%, rgba(112, 0, 255, 0.15) 0%, transparent 40%), radial-gradient(circle at 80% 70%, rgba(255, 0, 122, 0.1) 0%, transparent 40%); animation: bismillahAuroraRotate 30s linear infinite; z-index: -1; } .bismillah-aurora-bg::after { animation-duration: 45s; animation-direction: reverse; opacity: 0.7; } @keyframes bismillahAuroraRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } /* Cyber Tooltip / Label */ .bismillah-tooltip-cyber { position: relative; display: inline-block; cursor: help; } .bismillah-tooltip-cyber::before { content: attr(data-tooltip); position: absolute; bottom: 120%; left: 50%; transform: translateX(-50%) translateY(10px); padding: 8px 16px; background: rgba(10, 10, 15, 0.95); backdrop-filter: blur(10px); border: 1px solid #00f2ff; color: #00f2ff; font-size: 12px; white-space: nowrap; border-radius: 4px; opacity: 0; visibility: hidden; transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55); box-shadow: 0 0 20px rgba(0, 242, 255, 0.2); z-index: 100; } .bismillah-tooltip-cyber:hover::before { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); } /* Extraordinary Animated Border Input */ .bismillah-input-container-elite { position: relative; width: 100%; margin: 20px 0; } .bismillah-input-elite { width: 100%; padding: 16px; background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; color: #fff; font-size: 16px; outline: none; transition: 0.3s; } .bismillah-input-elite-border { position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: linear-gradient(90deg, #00f2ff, #7000ff); transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 0 10px rgba(0, 242, 255, 0.5); } .bismillah-input-elite:focus~.bismillah-input-elite-border { width: 100%; } .bismillah-input-elite:focus { background: rgba(255, 255, 255, 0.05); } /* Glass Float Card (Floating effect) */ .bismillah-card-float { background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 30px; padding: 40px; display: flex; flex-direction: column; align-items: center; text-align: center; animation: bismillahFloat 6s ease-in-out infinite; transition: all 0.3s ease; } .bismillah-card-float:hover { border-color: rgba(0, 242, 255, 0.4); box-shadow: 0 0 40px rgba(0, 242, 255, 0.1); } @keyframes bismillahFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } } /* --- ROYAL ELITE COMPONENTS (BismillahCSS Majesty) --- */ /* Royal Golden Glow Card */ .bismillah-card-royal { background: linear-gradient(135deg, rgba(20, 20, 25, 0.9) 0%, rgba(30, 30, 40, 0.9) 100%); border: 1px solid rgba(255, 215, 0, 0.2); border-radius: 20px; padding: 40px; position: relative; overflow: hidden; transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); } .bismillah-card-royal::after { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 60%); opacity: 0; transition: opacity 0.5s ease; pointer-events: none; } .bismillah-card-royal:hover { transform: scale(1.02); border-color: rgba(255, 215, 0, 0.5); box-shadow: 0 20px 50px rgba(255, 215, 0, 0.1); } .bismillah-card-royal:hover::after { opacity: 1; } /* Royal Silk Text Button */ .bismillah-btn-royal { padding: 16px 40px; background: #000; color: #ffd700; border: 1px solid #ffd700; font-family: 'Playfair Display', serif; /* Falling back to serif if not loaded */ font-size: 1.1rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; position: relative; transition: 0.4s; overflow: hidden; border-radius: 4px; } .bismillah-btn-royal:hover { color: #000; background: #ffd700; box-shadow: 0 0 30px rgba(255, 215, 0, 0.4); } /* Silk Gradient Text */ .bismillah-text-silk { background: linear-gradient(180deg, #ffd700 0%, #b8860b 100%); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; } /* Extraordinary Royal Header */ .bismillah-header-royal { border-left: 2px solid #ffd700; padding-left: 24px; margin: 40px 0; } .bismillah-header-royal h2 { font-size: 3rem; margin: 0; color: #fff; letter-spacing: -1px; } /* --- PRISM ELITE COMPONENTS (BismillahCSS Crystalline) --- */ /* Prism Geometric Glass Card */ .bismillah-card-prism { background: rgba(255, 255, 255, 0.02); backdrop-filter: blur(30px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 0px; /* Sharp geometric look */ padding: 40px; position: relative; clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%); transition: all 0.4s ease; } .bismillah-card-prism:hover { background: rgba(255, 255, 255, 0.05); border-color: #00f2ff; box-shadow: 0 0 30px rgba(0, 242, 255, 0.2); transform: translateY(-5px); } /* Prism Crystalline Button */ .bismillah-btn-prism { background: transparent; border: 1px solid rgba(0, 242, 255, 0.5); color: #00f2ff; padding: 14px 30px; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; clip-path: polygon(15% 0, 100% 0, 100% 70%, 85% 100%, 0 100%, 0 30%); cursor: pointer; transition: 0.3s; position: relative; overflow: hidden; } .bismillah-btn-prism:hover { background: #00f2ff; color: #000; box-shadow: 0 0 40px rgba(0, 242, 255, 0.4); } /* Prism Label */ .bismillah-label-prism { font-size: 10px; background: #00f2ff; color: #000; padding: 2px 8px; font-weight: 900; text-transform: uppercase; position: absolute; top: 0; right: 30px; transform: translateY(-50%); } /* --- VAPOR ELITE COMPONENTS (BismillahCSS Ethereal) --- */ /* Vapor Glass Progress */ .bismillah-progress-vapor { width: 100%; height: 6px; background: rgba(255, 255, 255, 0.05); border-radius: 10px; overflow: hidden; position: relative; border: 1px solid rgba(255, 255, 255, 0.05); } .bismillah-progress-vapor-bar { position: absolute; top: 0; left: 0; height: 100%; background: linear-gradient(90deg, #00f2ff, #7000ff); box-shadow: 0 0 15px #00f2ff; animation: bismillahVaporLoading 2s infinite ease-in-out; } @keyframes bismillahVaporLoading { 0% { width: 0%; left: 0%; } 50% { width: 50%; left: 25%; } 100% { width: 0%; left: 100%; } } /* Vapor Ethereal Card */ .bismillah-card-vapor { background: radial-gradient(circle at top left, rgba(0, 242, 255, 0.05), transparent); backdrop-filter: blur(40px); border: 1px solid rgba(255, 255, 255, 0.03); border-radius: 40px; padding: 32px; transition: 0.5s; } .bismillah-card-vapor:hover { background: radial-gradient(circle at top left, rgba(0, 242, 255, 0.1), transparent); border-color: rgba(0, 242, 255, 0.2); } /* Vapor Button (Text only hover) */ .bismillah-btn-vapor { background: transparent; border: none; color: rgba(255, 255, 255, 0.4); font-size: 14px; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; transition: 0.3s; padding: 10px 20px; } .bismillah-btn-vapor:hover { color: #00f2ff; text-shadow: 0 0 10px #00f2ff; }