| :root { | |
| --bg-color: #0f172a; | |
| --card-bg: rgba(30, 41, 59, 0.7); | |
| --accent-color: #38bdf8; | |
| --text-primary: #f8fafc; | |
| --text-secondary: #94a3b8; | |
| --input-bg: rgba(15, 23, 42, 0.5); | |
| } | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| body::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| background: radial-gradient(circle at center, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.9) 100%); | |
| z-index: -1; | |
| } | |
| .container { | |
| width: 100%; | |
| max-width: 850px; | |
| background: rgba(30, 41, 59, 0.6); | |
| backdrop-filter: blur(25px) saturate(180%); | |
| -webkit-backdrop-filter: blur(25px) saturate(180%); | |
| border: 1px solid rgba(255, 255, 255, 0.15); | |
| border-radius: 32px; | |
| padding: 50px; | |
| box-shadow: 0 40px 60px -15px rgba(0, 0, 0, 0.6); | |
| animation: fadeIn 0.8s ease-out; | |
| } | |
| header { | |
| text-align: center; | |
| margin-bottom: 40px; | |
| } | |
| header p { | |
| color: var(--text-secondary); | |
| } | |
| .input-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); | |
| gap: 20px; | |
| margin-bottom: 30px; | |
| } | |
| .input-group { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 8px; | |
| } | |
| .input-group label { | |
| font-size: 0.9rem; | |
| font-weight: 400; | |
| color: var(--text-secondary); | |
| } | |
| .input-group input { | |
| background: var(--input-bg); | |
| border: 1px solid rgba(255, 255, 255, 0.1); | |
| border-radius: 12px; | |
| padding: 12px 16px; | |
| color: white; | |
| font-size: 1rem; | |
| transition: all 0.3s ease; | |
| } | |
| .input-group input:focus { | |
| outline: none; | |
| border-color: var(--accent-color); | |
| box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2); | |
| } | |
| .btn-predict { | |
| width: 100%; | |
| background: linear-gradient(to right, #38bdf8, #818cf8); | |
| border: none; | |
| border-radius: 12px; | |
| padding: 16px; | |
| color: white; | |
| font-family: 'Outfit', sans-serif; | |
| font-size: 1.1rem; | |
| font-weight: 600; | |
| cursor: pointer; | |
| transition: transform 0.2s, box-shadow 0.2s; | |
| margin-top: 10px; | |
| } | |
| .btn-predict:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 10px 15px -3px rgba(56, 189, 248, 0.4); | |
| } | |
| .btn-predict:active { | |
| transform: translateY(0); | |
| } | |
| .result-card { | |
| margin-top: 40px; | |
| background: rgba(255, 255, 255, 0.08); | |
| border-radius: 24px; | |
| padding: 30px; | |
| text-align: center; | |
| backdrop-filter: blur(10px); | |
| border: 1px solid rgba(255, 255, 255, 0.1); | |
| animation: slideUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); | |
| } | |
| .result-card h2 { | |
| font-size: 2rem; | |
| font-weight: 600; | |
| margin-bottom: 12px; | |
| } | |
| .category { | |
| font-size: 1.4rem; | |
| font-weight: 600; | |
| text-transform: uppercase; | |
| letter-spacing: 1px; | |
| } | |
| @keyframes fadeIn { | |
| from { | |
| opacity: 0; | |
| transform: scale(0.95); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: scale(1); | |
| } | |
| } | |
| @keyframes slideUp { | |
| from { | |
| opacity: 0; | |
| transform: translateY(40px); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| } | |
| @media (max-width: 600px) { | |
| .container { | |
| padding: 24px; | |
| } | |
| header h1 { | |
| font-size: 2rem; | |
| } | |
| } |