mkcart / frontend /src /App.css
Kumar
updated
c2efbe6
:root {
--primary-gradient: linear-gradient(135deg, #1c3c6b 0%, #542881 100%);
--Premium-gold: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
--Premium-purple: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
--Premium-blue: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
--Premium-pink: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
--Premium-green: linear-gradient(135deg, #a8e6cf 0%, #dcedc1 100%);
--neon-glow: 0 0 20px rgba(102, 126, 234, 0.6);
--glass-bg: rgba(255, 255, 255, 0.1);
--glass-border: rgba(255, 255, 255, 0.2);
--text-primary: #ffffff;
--text-secondary: rgba(255, 255, 255, 0.8);
--text-muted: rgba(255, 255, 255, 0.6);
--shadow-Premium: 0 20px 60px rgba(0, 0, 0, 0.3);
--shadow-glow: 0 0 40px rgba(102, 126, 234, 0.3);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Merriweather', serif;
outline: none !important;
outline-color: none !important;
outline-offset: none !important;
outline-style: none !important;
outline-width: none !important;
}
body {
font-family: 'Merriweather', serif;
min-height: 100vh;
overflow-x: hidden;
padding-top: 80px;
color: var(--text-primary);
position: relative;
z-index: 1;
outline: none !important;
outline-color: none !important;
outline-offset: none !important;
outline-style: none !important;
outline-width: none !important;
background:
radial-gradient(circle at 20% 80%, rgba(71, 7, 0, 0.751) 0%, transparent 50%),
radial-gradient(circle at 80% 20%, rgba(3, 15, 19, 0.775) 0%, transparent 50%),
radial-gradient(circle at 40% 40%, rgba(56, 1, 15, 0.695) 0%, transparent 50%),
radial-gradient(circle at 20% 50%, rgba(38, 9, 12, 0.6) 0%, rgba(53, 10, 14, 0.2) 40%, transparent 70%),
radial-gradient(circle at 30% 60%, rgba(37, 9, 11, 0.4) 0%, rgba(54, 9, 13, 0.2) 50%, transparent 80%),
radial-gradient(circle at 15% 40%, rgba(10, 6, 6, 0.46) 0%, transparent 60%),
radial-gradient(circle at 40% 50%, rgba(45, 18, 10, 0.289) 0%, transparent 80%),
radial-gradient(circle at 80% 50%, rgba(6, 23, 32, 0.6) 0%, rgba(5, 16, 24, 0.2) 40%, transparent 70%),
radial-gradient(circle at 70% 60%, rgba(9, 41, 69, 0.4) 0%, rgba(5, 17, 24, 0.363) 50%, transparent 80%),
radial-gradient(circle at 85% 40%, rgba(2, 4, 5, 0.15) 0%, transparent 60%),
radial-gradient(circle at 60% 50%, rgba(3, 6, 8, 0.08) 0%, transparent 80%),
linear-gradient(135deg, #040101dd 0%, #050709 25%, #020508 50%, #03080bda 75%, #020304 100%);
background-attachment: fixed;
background-size: cover;
background-color: linear-gradient(135deg, #040101dd 0%, #050709 25%, #020508 50%, #03080bda 75%, #020304 100%);
}
.Premium-toast {
background: rgba(255, 255, 255, 0.1) !important;
backdrop-filter: blur(20px) !important;
border: 1px solid rgba(255, 255, 255, 0.2) !important;
color: white !important;
box-shadow: var(--shadow-Premium) !important;
font-weight: 500 !important;
}
.Premium-progress {
background: var(--Premium-gold) !important;
height: 4px !important;
overflow: hidden !important;
}
.Premium-progress-bar {
background: var(--Premium-gold) !important;
overflow: hidden !important;
}
.glass-effect {
background: var(--glass-bg);
backdrop-filter: blur(5px);
border: 1px solid var(--glass-border);
border-radius: 20px;
}
.glass-effect-strong {
background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.3);
border-radius: 25px;
}
.gradient-text {
background: var(--Premium-gold);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
font-weight: 700;
}
.gradient-text-blue {
background: var(--Premium-blue);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
font-weight: 700;
}
.gradient-text-pink {
background: var(--Premium-pink);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
font-weight: 700;
}
.glow-effect {
box-shadow: var(--neon-glow);
transition: all 0.3s ease;
}
.glow-effect:hover {
box-shadow: 0 0 30px rgba(1, 70, 82, 0.638);
transform: translateY(-2px);
}
.text-glow {
text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}
.text-glow-gold {
text-shadow: 0 0 20px rgba(246, 211, 101, 0.8);
}
.Premium-btn {
display: inline-flex;
align-items: center;
gap: 12px;
padding: 16px 32px;
border: none;
border-radius: 50px;
font-weight: 600;
font-size: 1rem;
text-decoration: none;
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
position: relative;
overflow: hidden;
backdrop-filter: blur(10px);
border: 1px solid var(--glass-border);
cursor: pointer;
text-transform: uppercase;
letter-spacing: 1px;
}
.Premium-btn::before {
content: "";
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
transition: left 0.6s;
}
.Premium-btn:hover::before {
left: 100%;
}
.Premium-btn:hover {
transform: translateY(-3px) scale(1.02);
box-shadow: var(--shadow-Premium);
}
.Premium-btn-primary {
background: var(--Premium-gold);
color: #1a1a2e;
}
.Premium-btn-secondary {
background: var(--Premium-blue);
color: white;
}
.Premium-btn-outline {
background: transparent;
border: 2px solid;
border-image: var(--Premium-gold) 1;
color: white;
}
.shimmer {
position: relative;
overflow: hidden;
}
.shimmer::before {
content: "";
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
animation: shimmer 2s infinite;
}
@keyframes shimmer {
0% {
left: -100%;
}
100% {
left: 100%;
}
}
@keyframes float {
0%,
100% {
transform: translateY(0px);
}
50% {
transform: translateY(-20px);
}
}
.floating {
animation: float 6s ease-in-out infinite;
}
.floating-delayed {
animation: float 6s ease-in-out infinite;
animation-delay: -2s;
}
@keyframes pulse {
0%,
100% {
transform: scale(1);
opacity: 1;
}
50% {
transform: scale(1.05);
opacity: 0.8;
}
}
.pulse {
animation: pulse 3s ease-in-out infinite;
}
@keyframes rotate {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
.rotate {
animation: rotate 20s linear infinite;
}
@keyframes bounce {
0%,
20%,
53%,
80%,
100% {
transform: translate3d(0, 0, 0);
}
40%,
43% {
transform: translate3d(0, -30px, 0);
}
70% {
transform: translate3d(0, -15px, 0);
}
90% {
transform: translate3d(0, -4px, 0);
}
}
.bounce {
animation: bounce 2s ease infinite;
}
@keyframes slideInLeft {
from {
transform: translateX(-100%);
opacity: 0;
}
to {
transform: translateX(0);
opacity: 1;
}
}
@keyframes slideInRight {
from {
transform: translateX(100%);
opacity: 0;
}
to {
transform: translateX(0);
opacity: 1;
}
}
@keyframes slideInUp {
from {
transform: translateY(100%);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
@keyframes slideInDown {
from {
transform: translateY(-100%);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
.slide-in-left {
animation: slideInLeft 0.8s ease-out;
}
.slide-in-right {
animation: slideInRight 0.8s ease-out;
}
.slide-in-up {
animation: slideInUp 0.8s ease-out;
}
.slide-in-down {
animation: slideInDown 0.8s ease-out;
}
@keyframes scaleIn {
from {
transform: scale(0);
opacity: 0;
}
to {
transform: scale(1);
opacity: 1;
}
}
.scale-in {
animation: scaleIn 0.6s ease-out;
}
::-webkit-scrollbar {
width: 12px;
}
::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.1);
border-radius: 10px;
}
::-webkit-scrollbar-thumb {
background: var(--Premium-gold);
border-radius: 10px;
border: 2px solid transparent;
background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
background: var(--Premium-blue);
background-clip: content-box;
}
@keyframes PremiumPulse {
0% {
transform: scale(1);
opacity: 1;
}
50% {
transform: scale(1.1);
opacity: 0.7;
}
100% {
transform: scale(1);
opacity: 1;
}
}
.Premium-loading {
animation: PremiumPulse 2s infinite;
}
.Premium-container {
max-width: 1400px;
margin: 0 auto;
padding: 0 20px;
}
.Premium-section {
padding: 100px 0;
position: relative;
}
.hover-lift {
transition: all 0.3s ease;
}
.hover-lift:hover {
transform: translateY(-10px);
box-shadow: var(--shadow-Premium);
}
.hover-glow {
transition: all 0.3s ease;
}
.hover-glow:hover {
box-shadow: var(--shadow-glow);
border-color: rgba(102, 126, 234, 0.5);
}
.text-Premium {
font-weight: 600;
letter-spacing: 0.5px;
}
.text-elegant {
font-weight: 400;
line-height: 1.6;
}
.backdrop-blur-sm {
backdrop-filter: blur(4px);
}
.backdrop-blur {
backdrop-filter: blur(8px);
}
.backdrop-blur-md {
backdrop-filter: blur(12px);
}
.backdrop-blur-lg {
backdrop-filter: blur(16px);
}
.backdrop-blur-xl {
backdrop-filter: blur(24px);
}
.backdrop-blur-2xl {
backdrop-filter: blur(40px);
}
.border-gradient {
border: 2px solid transparent;
background: linear-gradient(white, white) padding-box, var(--Premium-gold) border-box;
}
.border-gradient-blue {
border: 2px solid transparent;
background: linear-gradient(white, white) padding-box, var(--Premium-blue) border-box;
}
.Premium-card {
background: var(--glass-bg);
backdrop-filter: blur(20px);
border: 1px solid var(--glass-border);
border-radius: 25px;
padding: 30px;
transition: all 0.4s ease;
position: relative;
overflow: hidden;
}
.Premium-card::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
opacity: 0;
transition: opacity 0.3s ease;
pointer-events: none;
}
.Premium-card:hover::before {
opacity: 1;
}
.Premium-card:hover {
transform: translateY(-10px);
box-shadow: var(--shadow-Premium);
border-color: rgba(255, 255, 255, 0.3);
}
.neon-border {
position: relative;
border: 2px solid transparent;
border-radius: 20px;
background: linear-gradient(45deg, #820e40, #033367, #15545c) border-box;
animation: neonGlow 3s ease-in-out infinite alternate;
}
@keyframes neonGlow {
from {
box-shadow: 0 0 20px rgba(255, 0, 110, 0.5);
}
to {
box-shadow: 0 0 40px rgba(12, 72, 123, 0.8);
}
}
.particle-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: -1;
}
.Premium-transition {
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.Premium-transition-fast {
transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.Premium-transition-slow {
transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.stagger-1 {
animation-delay: 0.1s;
}
.stagger-2 {
animation-delay: 0.2s;
}
.stagger-3 {
animation-delay: 0.3s;
}
.stagger-4 {
animation-delay: 0.4s;
}
.stagger-5 {
animation-delay: 0.5s;
}
.stagger-6 {
animation-delay: 0.6s;
}
.Premium-focus:focus {
outline: none;
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
border-color: rgba(102, 126, 234, 0.5);
}
::selection {
background: rgba(102, 126, 234, 0.3);
color: white;
}
::-moz-selection {
background: rgba(102, 126, 234, 0.3);
color: white;
}
@media (max-width: 768px) {
body {
padding-top: 70px;
}
.Premium-btn {
padding: 12px 24px;
font-size: 0.9rem;
}
.Premium-section {
padding: 60px 0;
}
}
.carousel-slide {
will-change: transform, opacity;
}
.slide-image {
will-change: transform;
}
.cosmic-orb,
.cosmic-nebula {
will-change: transform, opacity;
}