Spaces:
Sleeping
Sleeping
| :root { | |
| --primary-color: #2e7d32; | |
| --secondary-color: #1b5e20; | |
| --accent-color: #ffd54f; | |
| --text-color: #333; | |
| --glass-bg: rgba(255, 255, 255, 0.1); | |
| --glass-border: rgba(255, 255, 255, 0.2); | |
| --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37); | |
| } | |
| body { | |
| font-family: 'Poppins', sans-serif; | |
| margin: 0; | |
| padding: 0; | |
| overflow-x: hidden; | |
| background-color: #1a1a1a; /* Fallback */ | |
| } | |
| /* Background with overlay */ | |
| .background-overlay { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| background: url('../wheat-image-new.jpg') no-repeat center center/cover; | |
| z-index: -1; | |
| } | |
| .background-overlay::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(20, 50, 20, 0.6) 100%); | |
| backdrop-filter: blur(5px); | |
| } | |
| /* Glassmorphism Card */ | |
| .glass-card { | |
| background: var(--glass-bg); | |
| backdrop-filter: blur(12px); | |
| -webkit-backdrop-filter: blur(12px); | |
| border: 1px solid var(--glass-border); | |
| border-radius: 20px; | |
| box-shadow: var(--glass-shadow); | |
| width: 100%; | |
| max-width: 500px; | |
| transition: transform 0.3s ease; | |
| } | |
| .glass-card:hover { | |
| transform: translateY(-5px); | |
| } | |
| /* Logo */ | |
| .logo-img { | |
| width: 80px; | |
| height: auto; | |
| filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3)); | |
| } | |
| /* Upload Zone */ | |
| .upload-zone { | |
| border: 2px dashed rgba(255, 255, 255, 0.5); | |
| border-radius: 15px; | |
| padding: 30px; | |
| text-align: center; | |
| transition: all 0.3s ease; | |
| background: rgba(255, 255, 255, 0.05); | |
| cursor: pointer; | |
| } | |
| .upload-zone:hover, .upload-zone.drag-over { | |
| background: rgba(255, 255, 255, 0.15); | |
| border-color: #fff; | |
| } | |
| /* Buttons */ | |
| .btn-gradient { | |
| background: linear-gradient(45deg, var(--primary-color), var(--secondary-color)); | |
| border: none; | |
| color: white; | |
| font-weight: 600; | |
| padding: 12px 20px; | |
| border-radius: 10px; | |
| transition: all 0.3s ease; | |
| box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); | |
| } | |
| .btn-gradient:hover { | |
| background: linear-gradient(45deg, var(--secondary-color), var(--primary-color)); | |
| transform: scale(1.02); | |
| box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); | |
| color: white; | |
| } | |
| .btn-gradient:disabled { | |
| background: #555; | |
| cursor: not-allowed; | |
| transform: none; | |
| } | |
| /* Result Page */ | |
| .result-image-container { | |
| padding: 10px; | |
| background: rgba(255, 255, 255, 0.1); | |
| border-radius: 15px; | |
| } | |
| .result-img { | |
| max-height: 300px; | |
| object-fit: contain; | |
| width: 100%; | |
| } | |
| .result-badge { | |
| background: rgba(0, 0, 0, 0.4); | |
| padding: 15px; | |
| border-radius: 10px; | |
| border: 1px solid rgba(255, 255, 255, 0.1); | |
| } | |
| /* Utilities */ | |
| .tracking-wider { | |
| letter-spacing: 0.1em; | |
| } | |