<!DOCTYPE html> <html lang="zh"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>刚 AI - 音乐创作平台</title> <style> * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; line-height: 1.6; color: #fff; background: #111; } header { background-color: rgba(0, 0, 0, 0.8); padding: 1rem 2rem; box-shadow: 0 2px 15px rgba(0, 255, 255, 0.1); position: fixed; width: 100%; top: 0; z-index: 100; backdrop-filter: blur(10px); transition: all 0.3s ease; } header:hover { box-shadow: 0 2px 20px rgba(0, 255, 255, 0.2); } nav { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; } .logo { font-size: 1.5rem; font-weight: bold; color: #fff; text-decoration: none; text-shadow: 0 0 10px rgba(0, 255, 255, 0.5); transition: all 0.3s ease; } .logo:hover { text-shadow: 0 0 20px rgba(0, 255, 255, 0.8); transform: scale(1.05); } .nav-links { display: flex; gap: 2rem; } .nav-links a { color: #fff; text-decoration: none; font-weight: 500; position: relative; transition: all 0.3s ease; } .nav-links a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background-color: #00ffff; transition: width 0.3s ease; } .nav-links a:hover::after { width: 100%; } .hero { padding: 8rem 2rem 4rem; text-align: center; background: linear-gradient(135deg, #000 0%, #1a1a2e 100%); position: relative; overflow: hidden; } .hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle, transparent 20%, #000 70%); animation: pulse 4s infinite; } @keyframes pulse { 0% { opacity: 0.5; } 50% { opacity: 0.8; } 100% { opacity: 0.5; } } .hero h1 { font-size: 3.5rem; margin-bottom: 1.5rem; color: #fff; text-shadow: 0 0 20px rgba(0, 255, 255, 0.5); animation: glow 2s infinite; } @keyframes glow { 0% { text-shadow: 0 0 20px rgba(0, 255, 255, 0.5); } 50% { text-shadow: 0 0 30px rgba(0, 255, 255, 0.8); } 100% { text-shadow: 0 0 20px rgba(0, 255, 255, 0.5); } } .hero p { font-size: 1.25rem; color: #aaa; max-width: 800px; margin: 0 auto 2rem; } .cta-button { display: inline-block; padding: 1rem 2rem; background-color: transparent; color: #fff; text-decoration: none; border-radius: 5px; font-weight: 500; border: 2px solid #00ffff; transition: all 0.3s ease; position: relative; overflow: hidden; } .cta-button:hover { background-color: #00ffff; color: #000; box-shadow: 0 0 20px rgba(0, 255, 255, 0.5); transform: translateY(-2px); } .features { padding: 4rem 2rem; max-width: 1200px; margin: 0 auto; position: relative; } .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; } .feature-card { padding: 2rem; background: rgba(255, 255, 255, 0.05); border-radius: 10px; box-shadow: 0 4px 20px rgba(0, 255, 255, 0.1); transition: all 0.3s ease; border: 1px solid rgba(0, 255, 255, 0.1); backdrop-filter: blur(5px); } .feature-card:hover { transform: translateY(-10px); box-shadow: 0 8px 30px rgba(0, 255, 255, 0.2); border-color: rgba(0, 255, 255, 0.3); } .feature-card h3 { margin-bottom: 1rem; font-size: 1.5rem; color: #00ffff; } footer { background-color: rgba(0, 0, 0, 0.9); padding: 2rem; text-align: center; margin-top: 4rem; border-top: 1px solid rgba(0, 255, 255, 0.1); } /* 新加上的 */ @keyframes float { 0% { transform: translateY(0); } 50% { transform: translateY(-10px); } 100% { transform: translateY(0); } } .floating-text { display: inline-block; white-space: nowrap; /* 防止折行 */ animation: float 2s ease-in-out infinite; } </style> </head> <body> <header> <nav> <a href="#" class="logo">GANG AI</a> <div class="nav-links"> <!-- <a href="#features">功能</a> <a href="#pricing">价格</a> <a href="#about">关于</a> <a href="#login">登录</a> --> </div> </nav> </header> <main> <section class="hero"> <h1>用AI创作你的音乐</h1> <p class="floating-text">使用最先进的人工智能技术,轻松创作专业品质的音乐。无需音乐理论知识,让创意自由流动。</p> <br> <a href="create.html" class="cta-button">开始创作</a> </section> <section class="features" id="features"> <h2 style="text-align: center; margin-bottom: 2rem; color: #00ffff;">主要功能</h2> <div class="features-grid"> <div class="feature-card"> <h3>AI作曲</h3> <p>只需输入简单描述,即可生成完整的音乐作品。支持多种风格和情感表达。</p> </div> <div class="feature-card"> <h3>专业品质</h3> <p>所有生成的音乐都经过专业级混音处理,确保最佳音质表现。</p> </div> <div class="feature-card"> <h3>快速导出</h3> <p>支持多种音频格式导出,随时分享你的创作成果。</p> </div> </div> </section> </main> <footer> <p>© 2024 GANG AI. 保留所有权利。</p> </footer> </body> </html>
浙公网安备 33010602011771号