Spaces:
Running
Running
| :root { | |
| --bg-color: #0f0c29; | |
| --text-color: #ffffff; | |
| --accent-color: #ff00cc; | |
| --accent-secondary: #333399; | |
| --glass-bg: rgba(255, 255, 255, 0.05); | |
| --glass-border: rgba(255, 255, 255, 0.1); | |
| --font-heading: 'Playfair Display', serif; | |
| --font-body: 'Outfit', sans-serif; | |
| } | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| scroll-behavior: smooth; | |
| } | |
| body { | |
| background-color: var(--bg-color); | |
| color: var(--text-color); | |
| font-family: var(--font-body); | |
| overflow-x: hidden; | |
| min-height: 100vh; | |
| } | |
| /* Animated Background */ | |
| .background-container { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| z-index: -1; | |
| overflow: hidden; | |
| } | |
| .orb { | |
| position: absolute; | |
| border-radius: 50%; | |
| filter: blur(80px); | |
| opacity: 0.6; | |
| animation: float 20s infinite ease-in-out; | |
| } | |
| .orb-1 { | |
| width: 400px; | |
| height: 400px; | |
| background: var(--accent-color); | |
| top: -100px; | |
| left: -100px; | |
| animation-delay: 0s; | |
| } | |
| .orb-2 { | |
| width: 500px; | |
| height: 500px; | |
| background: var(--accent-secondary); | |
| bottom: -150px; | |
| right: -150px; | |
| animation-delay: -5s; | |
| } | |
| .orb-3 { | |
| width: 300px; | |
| height: 300px; | |
| background: #00d4ff; | |
| top: 40%; | |
| left: 40%; | |
| animation-delay: -10s; | |
| } | |
| @keyframes float { | |
| 0% { transform: translate(0, 0) scale(1); } | |
| 33% { transform: translate(30px, -50px) scale(1.1); } | |
| 66% { transform: translate(-20px, 20px) scale(0.9); } | |
| 100% { transform: translate(0, 0) scale(1); } | |
| } | |
| /* Navigation */ | |
| .glass-nav { | |
| position: fixed; | |
| top: 0; | |
| width: 100%; | |
| padding: 1.5rem 5%; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| background: rgba(15, 12, 41, 0.6); | |
| backdrop-filter: blur(10px); | |
| border-bottom: 1px solid var(--glass-border); | |
| z-index: 1000; | |
| } | |
| .logo { | |
| font-family: var(--font-heading); | |
| font-size: 1.8rem; | |
| font-weight: 700; | |
| letter-spacing: 1px; | |
| background: linear-gradient(45deg, #fff, var(--accent-color)); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| } | |
| .nav-links { | |
| list-style: none; | |
| display: flex; | |
| gap: 2rem; | |
| } | |
| .nav-links a { | |
| text-decoration: none; | |
| color: var(--text-color); | |
| font-weight: 600; | |
| transition: color 0.3s; | |
| font-size: 1rem; | |
| } | |
| .nav-links a:hover, .nav-links a.admin-link:hover { | |
| color: var(--accent-color); | |
| } | |
| /* Hero Section */ | |
| .hero-section { | |
| height: 100vh; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| text-align: center; | |
| padding: 0 1rem; | |
| } | |
| .hero-content h2 { | |
| font-size: 2rem; | |
| font-weight: 300; | |
| margin-bottom: 1rem; | |
| opacity: 0.9; | |
| } | |
| .hero-content h1 { | |
| font-family: var(--font-heading); | |
| font-size: 5rem; | |
| margin-bottom: 1rem; | |
| line-height: 1.1; | |
| } | |
| .gradient-text { | |
| background: linear-gradient(90deg, #fff, var(--accent-color), #00d4ff); | |
| background-size: 200% auto; | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| animation: gradientText 5s linear infinite; | |
| } | |
| @keyframes gradientText { | |
| 0% { background-position: 0% 50%; } | |
| 50% { background-position: 100% 50%; } | |
| 100% { background-position: 0% 50%; } | |
| } | |
| .hero-content p { | |
| font-size: 1.2rem; | |
| color: #ccc; | |
| margin-bottom: 2.5rem; | |
| } | |
| .cta-button { | |
| display: inline-block; | |
| padding: 1rem 2.5rem; | |
| background: var(--accent-color); | |
| color: white; | |
| text-decoration: none; | |
| border-radius: 50px; | |
| font-weight: 600; | |
| box-shadow: 0 10px 20px rgba(255, 0, 204, 0.3); | |
| transition: transform 0.3s, box-shadow 0.3s; | |
| } | |
| .cta-button:hover { | |
| transform: translateY(-3px); | |
| box-shadow: 0 15px 30px rgba(255, 0, 204, 0.5); | |
| } | |
| /* Entry Animations */ | |
| .fade-in { | |
| opacity: 0; | |
| animation: fadeIn 1s ease-out forwards; | |
| } | |
| .slide-up { | |
| opacity: 0; | |
| transform: translateY(30px); | |
| animation: slideUp 1s ease-out 0.3s forwards; | |
| } | |
| .slide-up-delay { | |
| opacity: 0; | |
| transform: translateY(30px); | |
| animation: slideUp 1s ease-out 0.6s forwards; | |
| } | |
| @keyframes fadeIn { to { opacity: 1; } } | |
| @keyframes slideUp { to { opacity: 1; transform: translateY(0); } } | |
| /* Blogs Section */ | |
| .blogs-section { | |
| padding: 5rem 5%; | |
| min-height: 80vh; | |
| } | |
| .section-title { | |
| font-family: var(--font-heading); | |
| font-size: 3rem; | |
| margin-bottom: 3rem; | |
| text-align: center; | |
| } | |
| .blogs-container { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); | |
| gap: 2rem; | |
| } | |
| /* Blog Card Styles (Dynamic) */ | |
| .blog-card { | |
| background: var(--glass-bg); | |
| border: 1px solid var(--glass-border); | |
| backdrop-filter: blur(10px); | |
| border-radius: 16px; | |
| overflow: hidden; | |
| transition: transform 0.3s; | |
| position: relative; | |
| min-height: 300px; /* Placeholder Aspect Ratio */ | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .blog-card:hover { | |
| transform: translateY(-10px); | |
| border-color: rgba(255, 255, 255, 0.3); | |
| } | |
| .blog-preview { | |
| padding: 1rem; | |
| color: #eee; | |
| /* Since the blog content is free-form canvas, we might just scale it down or grab a screenshot/thumbnail representation. | |
| For now, we'll try to just show a preview container. */ | |
| flex-grow: 1; | |
| overflow: hidden; | |
| position: relative; | |
| } | |
| .empty-state { | |
| grid-column: 1 / -1; | |
| text-align: center; | |
| padding: 3rem; | |
| color: rgba(255,255,255,0.5); | |
| font-size: 1.2rem; | |
| border: 2px dashed rgba(255,255,255,0.1); | |
| border-radius: 16px; | |
| } | |
| footer { | |
| padding: 2rem; | |
| text-align: center; | |
| background: rgba(0,0,0,0.3); | |
| color: rgba(255,255,255,0.5); | |
| margin-top: auto; | |
| } | |