/* The Weekend Projects - Main Styles */ /* Based on huashu-variation-1 design */ :root { --bg-dark: #0a0a0c; --bg-card: #131316; --text-primary: #ffffff; --text-secondary: #a0a0a0; --accent-orange: #f97316; --accent-purple: #c026d3; --accent-orange-hover: #ea580c; --accent-purple-hover: #a21caf; --border-color: #26262c; --transition: all 0.3s ease; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background-color: var(--bg-dark); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; } /* Gradient Text */ .gradient-text { background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-purple) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 200%; animation: gradientMove 3s ease infinite; } @keyframes gradientMove { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } } /* Container */ .container { max-width: 1280px; margin: 0 auto; padding: 0 24px; } /* Header */ header { position: fixed; top: 0; width: 100%; padding: 20px 0; background: rgba(10, 10, 12, 0.8); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); z-index: 1000; } .header-content { display: flex; justify-content: space-between; align-items: center; } .logo { font-size: 1.5rem; font-weight: 800; text-decoration: none; color: var(--text-primary); } .logo .gradient-text { background-size: 200% 200%; animation: gradientMove 3s ease infinite; } nav { display: flex; gap: 32px; } nav a { color: var(--text-secondary); text-decoration: none; font-weight: 500; font-size: 0.9375rem; transition: var(--transition); } nav a:hover { color: var(--text-primary); } /* Hero Section */ .hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 140px 0 80px; position: relative; overflow: hidden; } .hero::before { content: ''; position: absolute; width: 600px; height: 600px; background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, transparent 70%); top: 10%; right: 10%; border-radius: 50%; animation: float 10s ease-in-out infinite; } .hero::after { content: ''; position: absolute; width: 500px; height: 500px; background: radial-gradient(circle, rgba(192, 38, 211, 0.1) 0%, transparent 70%); bottom: 10%; left: 10%; border-radius: 50%; animation: float 12s ease-in-out infinite reverse; } @keyframes float { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(30px, -50px); } 66% { transform: translate(-20px, 20px); } } .hero-content { max-width: 720px; position: relative; z-index: 1; } .hero h1 { font-size: 4.5rem; font-weight: 900; line-height: 1.1; margin-bottom: 24px; letter-spacing: -0.02em; } .hero p { font-size: 1.25rem; color: var(--text-secondary); margin-bottom: 40px; line-height: 1.7; } .cta-buttons { display: flex; gap: 16px; } .btn { padding: 14px 28px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 1rem; transition: var(--transition); display: inline-block; } .btn-primary { background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-purple) 100%); color: white; border: none; } .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(249, 115, 22, 0.3); } .btn-secondary { background: rgba(255, 255, 255, 0.05); color: white; border: 2px solid var(--border-color); } .btn-secondary:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(249, 115, 22, 0.5); transform: translateY(-3px); } /* Projects Section */ .projects { padding: 100px 0; } .section-header { text-align: center; margin-bottom: 60px; } .section-header h2 { font-size: 3rem; font-weight: 800; margin-bottom: 16px; } .section-header p { color: var(--text-secondary); font-size: 1.125rem; } .projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; } .project-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 20px; padding: 32px; transition: var(--transition); position: relative; overflow: hidden; } .project-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--accent-orange), var(--accent-purple)); transform: scaleX(0); transform-origin: left; transition: var(--transition); } .project-card:hover { transform: translateY(-8px); border-color: rgba(249, 115, 22, 0.3); box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4); } .project-card:hover::before { transform: scaleX(1); } .project-tags { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; } .tag { padding: 6px 14px; background: rgba(249, 115, 22, 0.1); color: var(--accent-orange); border-radius: 20px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; } .project-card h3 { font-size: 1.5rem; margin-bottom: 16px; font-weight: 700; } .project-card p { color: var(--text-secondary); margin-bottom: 24px; } .project-links { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border-color); padding-top: 24px; } .project-links a { color: var(--accent-orange); text-decoration: none; font-weight: 600; transition: var(--transition); } .project-links a:hover { color: var(--accent-purple); } /* Blog Section */ .blog { padding: 100px 0; background: #0e0e10; } .blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 32px; } .blog-card { background: var(--bg-card); border-radius: 20px; overflow: hidden; transition: var(--transition); border: 1px solid var(--border-color); } .blog-card:hover { transform: translateY(-6px); border-color: rgba(192, 38, 211, 0.3); box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4); } .blog-header { height: 180px; background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-orange) 100%); position: relative; } .blog-content { padding: 32px; } .blog-meta { display: flex; gap: 16px; font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 16px; flex-wrap: wrap; } .blog-meta span { display: flex; align-items: center; gap: 6px; } .blog-card h3 { font-size: 1.375rem; margin-bottom: 16px; font-weight: 700; } .blog-card p { color: var(--text-secondary); font-size: 0.9375rem; margin-bottom: 24px; } /* About Section */ .about { padding: 100px 0; text-align: center; } .about-content { max-width: 720px; margin: 0 auto; } .about h2 { font-size: 3rem; font-weight: 800; margin-bottom: 24px; } .about p { font-size: 1.25rem; color: var(--text-secondary); line-height: 1.8; } /* Footer */ footer { padding: 80px 0 40px; background: #0e0e10; border-top: 1px solid var(--border-color); } .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 60px; } .footer-col h4 { color: var(--text-primary); margin-bottom: 24px; font-size: 1.125rem; font-weight: 700; } .footer-col p { color: var(--text-secondary); font-size: 0.875rem; line-height: 1.6; margin-bottom: 24px; } .footer-col a { display: block; color: var(--text-secondary); text-decoration: none; margin-bottom: 12px; transition: var(--transition); } .footer-col a:hover { color: var(--accent-orange); } .copyright { text-align: center; padding-top: 40px; border-top: 1px solid var(--border-color); color: var(--text-secondary); font-size: 0.875rem; } /* Responsive */ @media (max-width: 768px) { .hero h1 { font-size: 2.5rem; } nav { display: none; } .cta-buttons { flex-direction: column; } .projects-grid { grid-template-columns: 1fr; } }