Spaces:
Running
Running
| @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 ; | |
| } | |
| .card-grid { | |
| grid-template-columns: 1fr ; | |
| } | |
| } |