BladePTK's picture
i need complete redesign of bento cards style , this design is very simple, make it more beautiful, more original and more professional using latest tendencies
032ed5e verified
/* Futuristic Automotive Design System */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');
:root {
--primary: #3B71FE;
--primary-dark: #1A56DB;
--secondary: #F9C74F;
--dark: #1F2937;
--light: #F9FAFB;
--accent: #FF5A5F;
--glass: rgba(255, 255, 255, 0.1);
--glass-border: rgba(255, 255, 255, 0.2);
}
body {
font-family: 'Manrope', sans-serif;
overflow-x: hidden;
background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
color: var(--light);
min-height: 100vh;
}
h1, h2, h3, h4, h5 {
font-family: 'Space Grotesk', sans-serif;
font-weight: 700;
}
.glass-card {
background: var(--glass);
backdrop-filter: blur(16px);
border-radius: 24px;
border: 1px solid var(--glass-border);
overflow: hidden;
transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-card:hover {
transform: translateY(-8px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
border-color: rgba(255, 255, 255, 0.3);
}
.particle-bg {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
pointer-events: none;
}
.micro-interaction {
transition: all 0.3s ease;
}
.micro-interaction:hover {
transform: scale(1.05);
}
.bento-grid {
max-width: 1400px;
margin: 0 auto;
perspective: 1000px;
}
.bento-row {
display: flex;
gap: 2rem;
margin-bottom: 2rem;
}
.bento-card {
flex: 1;
border-radius: 2rem;
padding: 2.5rem;
min-height: 280px;
transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
position: relative;
overflow: hidden;
display: flex;
align-items: flex-end;
text-decoration: none;
background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
border: 1px solid rgba(255,255,255,0.15);
backdrop-filter: blur(20px);
box-shadow:
0 8px 32px rgba(0,0,0,0.1),
inset 0 1px 0 rgba(255,255,255,0.2),
0 0 0 1px rgba(255,255,255,0.05);
transform-style: preserve-3d;
}
.bento-card::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
transition: left 0.6s ease;
z-index: 1;
}
.bento-card:hover::before {
left: 100%;
}
.bento-card::after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.2) 0%, transparent 50%);
z-index: 1;
}
.bento-card:nth-child(1) {
flex: 2;
}
.bento-card:nth-child(1) {
background: linear-gradient(135deg, #3B71FE 0%, #1A56DB 50%, #7C3AED 100%);
}
.bento-card:nth-child(2) {
background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 50%, #EC4899 100%);
}
.bento-card:nth-child(3) {
background: linear-gradient(135deg, #F59E0B 0%, #D97706 50%, #DC2626 100%);
}
.bento-card:nth-child(4) {
background: linear-gradient(135deg, #10B981 0%, #059669 50%, #0D9488 100%);
}
.bento-card:nth-child(5) {
background: linear-gradient(135deg, #EF4444 0%, #DC2626 50%, #B91C1C 100%);
}
.bento-card:hover {
transform: translateY(-12px) rotateX(5deg) rotateY(5deg);
box-shadow:
0 25px 50px -12px rgba(0,0,0,0.25),
inset 0 1px 0 rgba(255,255,255,0.3),
0 0 40px rgba(59, 113, 254, 0.2);
border-color: rgba(255,255,255,0.3);
}
.card-content {
position: relative;
z-index: 2;
color: white;
width: 100%;
transform: translateZ(30px);
}
.card-content h3 {
font-size: 1.75rem;
font-weight: 700;
margin-bottom: 0.75rem;
text-shadow: 0 2px 4px rgba(0,0,0,0.2);
letter-spacing: -0.025em;
}
.card-content p {
font-size: 1.125rem;
opacity: 0.9;
font-weight: 500;
}
.card-icon {
width: 64px;
height: 64px;
margin-bottom: 2rem;
stroke-width: 1.5;
filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2);
transition: all 0.4s ease;
}
.bento-card:hover .card-icon {
transform: scale(1.1) rotate(5deg);
filter: drop-shadow(0 6px 12px rgba(0,0,0,0.3);
}
.bento-card .floating-shapes {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 0;
}
.bento-card .shape {
position: absolute;
background: rgba(255,255,255,0.1);
border-radius: 50%;
animation: float 6s ease-in-out infinite;
}
.bento-card .shape:nth-child(1) {
width: 80px;
height: 80px;
top: 20%;
left: 70%;
animation-delay: 0s;
}
.bento-card .shape:nth-child(2) {
width: 40px;
height: 40px;
top: 60%;
left: 20%;
animation-delay: -2s;
}
.bento-card .shape:nth-child(3) {
width: 60px;
height: 60px;
top: 30%;
left: 10%;
animation-delay: -4s;
}
@keyframes float {
0%, 100% { transform: translateY(0px) rotate(0deg); }
50% { transform: translateY(-20px) rotate(180deg); }
}
@media (max-width: 768px) {
.bento-row {
flex-direction: column;
}
.bento-card:nth-child(1) {
flex: 1;
}
.bento-card {
min-height: 220px;
padding: 2rem;
}
.card-icon {
width: 48px;
height: 48px;
margin-bottom: 1.5rem;
}
.card-content h3 {
font-size: 1.5rem;
}
}