position: absolute;
inset: 0;
border-radius: 1rem;
padding: 2px;
background: linear-gradient(135deg, var(--color-primary), var(--color-accent), var(--color-primary));
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
opacity: 0.5;
transition: opacity 0.3s;
}
.gradient-border:hover::before {
opacity: 1;
}
/* Floating Animation */
@keyframes float {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-10px); }
}
.float-animation {
animation: float 3s ease-in-out infinite;
}
/* Shimmer Effect */
@keyframes shimmer {
0% { background-position: -1000px 0; }
100% { background-position: 1000px 0; }
}
.shimmer {
background: linear-gradient(90deg, transparent, rgba(224, 180, 69, 0.2), transparent);
background-size: 1000px 100%;
animation: shimmer 3s infinite;
}
/* Modern Button Styles */
.btn-modern {
position: relative;
overflow: hidden;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-modern::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 0;
height: 0;
border-radius: 50%;
background: rgba(255, 255, 255, 0.2);
transform: translate(-50%, -50%);
transition: width 0.6s, height 0.6s;
}
.btn-modern:hover::before {
width: 300px;
height: 300px;
}
/* Smooth Scroll Indicator */
.scroll-indicator {
position: absolute;
bottom: 30px;
left: 50%;
transform: translateX(-50%);
animation: bounce 2s infinite;
}
@keyframes bounce {
0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
40% { transform: translateX(-50%) translateY(-10px); }
60% { transform: translateX(-50%) translateY(-5px); }
}
/* Custom Scrollbar */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.02);
}
::-webkit-scrollbar-thumb {
background: linear-gradient(180deg, var(--color-primary), var(--color-accent));
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--color-primary);
}
/* Glow Effect */
.glow {
box-shadow: 0 0 20px rgba(224, 180, 69, 0.3);
}
.glow:hover {
box-shadow: 0 0 30px rgba(224, 180, 69, 0.5);
}
/* Background Patterns */
.pattern-dots {
background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
background-size: 20px 20px;
}
/* Gradient Text */
.gradient-text {
background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* Modern Card Hover */
.modern-card {
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.modern-card:hover {
transform: translateY(-8px) scale(1.02);
}
/* Pulse Animation */
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.5; }
}
.pulse {
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.bg-size-200 {
background-size: 200% 100%;
}
.bg-pos-0 {
background-position: 0% 0%;
}
.bg-pos-100 {
background-position: 100% 0%;
}
/* Custom CSS */