Spaces:
Running
Running
File size: 2,025 Bytes
76f212c 957adcb 76f212c 957adcb 76f212c 957adcb 76f212c 957adcb 76f212c 957adcb 76f212c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700&family=Exo+2:wght@300;400;500;600;700&display=swap');
:root {
--primary-color: #8b5cf6;
--secondary-color: #ec4899;
--accent-color: #f43f5e;
--dark-bg: #0f172a;
--card-bg: rgba(30, 41, 59, 0.7);
}
body {
font-family: 'Exo 2', sans-serif;
background: linear-gradient(135deg, var(--dark-bg) 0%, #1e293b 100%);
min-height: 100vh;
background-attachment: fixed;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Orbitron', sans-serif;
}
.card {
background: var(--card-bg);
backdrop-filter: blur(10px);
border: 1px solid rgba(139, 92, 246, 0.2);
transition: all 0.3s ease;
border-radius: 1rem;
overflow: hidden;
}
.card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(139, 92, 246, 0.3), 0 10px 10px -5px rgba(139, 92, 246, 0.2);
border-color: rgba(139, 92, 246, 0.5);
}
.card-img {
width: 100%;
height: 200px;
object-fit: cover;
transition: transform 0.3s ease;
}
.card:hover .card-img {
transform: scale(1.05);
}
.pill-badge {
display: inline-block;
padding: 0.25rem 0.75rem;
border-radius: 9999px;
font-size: 0.75rem;
font-weight: 600;
}
.gradient-border {
position: relative;
border-radius: 1rem;
}
.gradient-border::before {
content: '';
position: absolute;
top: -2px;
left: -2px;
right: -2px;
bottom: -2px;
background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
border-radius: 1rem;
z-index: -1;
}
.stars {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: -1;
}
.star {
position: absolute;
background-color: white;
border-radius: 50%;
animation: twinkle var(--duration, 5s) infinite ease-in-out;
}
@keyframes twinkle {
0%, 100% { opacity: 0.2; }
50% { opacity: 1; }
}
@media (max-width: 768px) {
.hero-title {
font-size: 2.5rem !important;
}
.card-grid {
grid-template-columns: 1fr !important;
}
} |