expain this app and evaluate it <html lang="en"> <head> <base href="."> <title>Lyrical…
- User
expain this app and evaluate it
/* Root Variables for Theming */ :root { --primary: #9f7aea; --primary-light: #d6bcfa; --primary-dark: #6b46c1; --secondary: #4fd1c5; --secondary-light: #9decf9; --secondary-dark: #319795; --bg-primary: #1a202c; --bg-secondary: #2d3748; --bg-surface: rgba(255, 255, 255, 0.08); --text-primary: #ffffff; --text-secondary: #e2e8f0; --text-muted: #a0aec0; --accent: #f6ad55; --accent-light: #fbd38d; --accent-dark: #dd6b20; --hover: rgba(255, 255, 255, 0.12); --active: rgba(255, 255, 255, 0.16); --focus: rgba(159, 122, 234, 0.6); --gradient-start: var(--primary); --gradient-end: var(--secondary); } * { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: 'Roboto', sans-serif; color: var(--text-primary); background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%); line-height: 1.8; min-height: 100vh; } body::before { content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.1; background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 25L25 50L50 75L75 50L50 25Z' fill='%239f7aea' opacity='0.3'/%3E%3Cpath d='M75 25L50 0L25 25L50 50L75 25Z' fill='%234fd1c5' opacity='0.3'/%3E%3Cpath d='M25 75L50 100L75 75L50 50L25 75Z' fill='%234fd1c5' opacity='0.3'/%3E%3C/svg%3E"); background-repeat: repeat; } .app { position: relative; z-index: 1; max-width: 1400px; padding: 3rem; } /* Header Styling */ .header { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 4rem; } .logo { margin-bottom: 1rem; animation: fadeIn 1s ease-in-out; } .logo svg { filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2)); transition: transform 0.3s ease; width: 80px; height: 80px; } .logo svg:hover { transform: scale(1.05); } @keyframes fadeIn { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } } /* Responsive Adjustments for Logo */ @media (max-width: 768px) { .logo svg { width: 60px; height: 60px; } } /* Header Title and Tagline */ .header h1 { font-family: 'Roboto', sans-serif; font-size: 4rem; color: var(--text-primary); text-shadow: 0 2px 4px rgba(0,0,0,0.3); background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 2rem; letter-spacing: -0.5px; } .header p { font-family: 'Roboto', sans-serif; font-size: 1.5rem; color: var(--text-secondary); opacity: 0.9; max-width: 600px; } /* Error Message Styling */ .error-message { display: none; background: #e53e3e; color: var(--text-primary); border: 1px solid #c53030; padding: 1rem; border-radius: 0.5rem; margin-bottom: 1rem; text-align: center; font-size: 1.2rem; } /* Success Message Styling */ .error-message.success { background: #48bb78; border-color: #38a169; } /* Project Creation Section */ .project-creation { background: var(--bg-surface); border: 1px solid rgba(255,255,255,0.1); border-radius: 1.5rem; padding: 3rem; margin-bottom: 4rem; box-shadow: 0 4px 20px rgba(0,0,0,0.2); } .input-group { margin-bottom: 2rem; } .input-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; font-size: 1.2rem; } textarea, input, select { background: var(--bg-surface); border: 2px solid rgba(255,255,255,0.2); border-radius: 1rem; padding: 1.5rem; font-family: 'Roboto', sans-serif; font-size: 1rem; color: var(--text-primary); transition: all 0.3s ease; width: 100%; } textarea::placeholder, input::placeholder { color: var(--text-muted); } textarea#lyrics { min-height: 300px; width: 100%; line-height: 1.8; } select { cursor: pointer; } select option { background: var(--bg-secondary); color: var(--text-primary); padding: 1rem; } select:hover { background: #3a3f50; } select:focus { outline: none; border-color: var(--focus); background: #3a3f50; } textarea:focus, input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--focus); } /* Style Controls Grid */ .style-controls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding: 2rem; margin: 2rem 0; background: var(--bg-surface); border-radius: 0.5rem; } /* Control Buttons */ .controls { display: flex; gap: 1rem; margin-top: 2rem; justify-content: center; flex-wrap: wrap; } /* Improved Button Styling */ .btn { padding: 1.2rem 2.4rem; font-size: 1.1rem; border: none; border-radius: 0.75rem; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; } .btn:hover { transform: translateY(-2px); opacity: 0.9; } .btn:disabled { opacity: 0.5; cursor: not-allowed; } .btn-primary { background: linear-gradient(45deg, var(--primary-dark), var(--primary)); color: var(--text-primary); box-shadow: 0 4px 12px rgba(0,0,0,0.1); } .btn-secondary { background: var(--bg-surface); border: 2px solid var(--secondary); color: var(--text-primary); } #resetBtn { border: 2px solid var(--accent); color: var(--accent); background: var(--bg-surface); } #resetBtn:hover { background: var(--accent-light); border-color: var(--gradient-end); color: var(--gradient-end); } .btn.generating { position: relative; } .btn.generating::after { content: ''; position: absolute; width: 1rem; height: 1rem; border: 2px solid #fff; border-radius: 50%; border-left-color: transparent; margin-left: 0.5rem; animation: spin 1s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } /* Storybook Container */ .storybook-container { background: var(--bg-surface); border: 1px solid rgba(255,255,255,0.15); border-radius: 1.5rem; padding: 4rem; margin-top: 3rem; box-shadow: 0 8px 32px rgba(0,0,0,0.2); position: relative; overflow: hidden; } /* Preview Area */ #previewArea { color: #ffffff; min-height: 400px; } /* Storybook Page Styles */ .storybook-page { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 2rem; opacity: 0.7; } .storybook-page.layout-spread { flex-direction: column; } /* Responsive Grid Layout */ @media (max-width: 768px) { .storybook-page { padding: 1rem; } } .page-illustration { min-height: 400px; border-radius: 1rem; overflow: hidden; flex: 1; margin-bottom: 1rem; position: relative; background: var(--bg-surface); } .page-illustration::before { content: "Loading..."; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: var(--text-secondary); font-family: 'Roboto', sans-serif; } .page-illustration img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; opacity: 0; animation: fadeIn 0.5s ease-in forwards; } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } .storybook-page.layout-spread .page-illustration { margin-bottom: 0; } .page-text { font-family: 'Roboto', sans-serif; font-size: 1.1rem; line-height: 1.8; color: var(--text-primary); padding: 1.5rem 2rem; background: var(--bg-surface); border-radius: 1rem; margin-top: 1rem; width: 100%; box-sizing: border-box; } /* Page Controls */ .page-controls { display: flex; justify-content: center; align-items: center; gap: 2rem; margin-top: 3rem; } .page-btn { background: linear-gradient(45deg, var(--primary-dark), var(--primary)); color: var(--text-primary); border: none; padding: 0.75rem 1.5rem; border-radius: 0.75rem; font-family: 'Roboto', sans-serif; font-weight: 600; box-shadow: 0 4px 12px rgba(0,0,0,0.1); transition: all 0.3s ease; } .page-btn:hover { transform: translateY(-3px); } /* Page Transition Animation */ @keyframes pageFlip { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } } .page-transition { animation: pageFlip 0.6s ease; } - Assistant