Spaces:
Running
Running
| body { | |
| margin: 0; | |
| font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', | |
| 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', | |
| sans-serif; | |
| -webkit-font-smoothing: antialiased; | |
| -moz-osx-font-smoothing: grayscale; | |
| /* background: linear-gradient(135deg, #0a192f 0%, #1e293b 100%); */ | |
| background: linear-gradient(135deg, #111d40 0%, #0a0d30 100%); | |
| color: white; | |
| min-height: 100vh; | |
| } | |
| code { | |
| font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', | |
| monospace; | |
| } | |
| #root { | |
| min-height: 100vh; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| /* Navigation */ | |
| .navbar { | |
| background: rgba(26, 26, 26, 0.95); | |
| padding: 1rem; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | |
| position: sticky; | |
| top: 0; | |
| z-index: 1000; | |
| backdrop-filter: blur(10px); | |
| -webkit-backdrop-filter: blur(10px); | |
| border-bottom: 1px solid rgba(100, 255, 218, 0.1); | |
| } | |
| .navbar-brand { | |
| color: #64ffda; | |
| font-size: 1.5rem; | |
| font-weight: bold; | |
| text-decoration: none; | |
| transition: color 0.3s ease; | |
| } | |
| .navbar-brand:hover { | |
| color: #4cd6b3; | |
| } | |
| .navbar-nav { | |
| display: flex; | |
| gap: 1rem; | |
| align-items: center; | |
| } | |
| .nav-link { | |
| color: #fff; | |
| text-decoration: none; | |
| padding: 0.5rem 1rem; | |
| border-radius: 4px; | |
| transition: all 0.3s ease; | |
| } | |
| .nav-link:hover { | |
| background: rgba(100, 255, 218, 0.1); | |
| color: #64ffda; | |
| } | |
| .nav-link.active { | |
| background: rgba(100, 255, 218, 0.1); | |
| color: #64ffda; | |
| } | |
| .nav-link.highlight { | |
| background: #64ffda; | |
| color: #1a1a1a; | |
| } | |
| .nav-link.highlight:hover { | |
| background: #4cd6b3; | |
| } | |
| /* Content */ | |
| .content { | |
| padding: 2rem; | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| animation: fadeIn 0.5s ease-in-out; | |
| } | |
| @keyframes fadeIn { | |
| from { | |
| opacity: 0; | |
| transform: translateY(20px); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| } | |
| .heading { | |
| color: #64ffda; | |
| font-size: clamp(2rem, 4vw, 3.5rem); | |
| text-align: center; | |
| margin-bottom: 2rem; | |
| text-shadow: 0 0 10px rgba(100, 255, 218, 0.3); | |
| } | |
| .para { | |
| color: #8892b0; | |
| font-size: clamp(1rem, 1.5vw, 1.25rem); | |
| line-height: 1.6; | |
| text-align: center; | |
| max-width: 800px; | |
| margin: 0 auto 3rem; | |
| } | |
| /* Upload Section */ | |
| .upload-section { | |
| margin: 2rem 0; | |
| background: rgba(17, 34, 64, 0.3); | |
| border-radius: 12px; | |
| border: 1px solid rgba(100, 255, 218, 0.1); | |
| padding: 2rem; | |
| } | |
| .upload-container { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| gap: 2rem; | |
| padding: 2rem; | |
| } | |
| .file-input-wrapper { | |
| position: relative; | |
| width: 100%; | |
| max-width: 400px; | |
| } | |
| .file-input-wrapper input[type="file"] { | |
| position: absolute; | |
| left: 0; | |
| top: 0; | |
| opacity: 0; | |
| width: 100%; | |
| height: 100%; | |
| cursor: pointer; | |
| } | |
| .file-label { | |
| display: block; | |
| padding: 1.5rem 2.5rem; | |
| background: rgba(100, 255, 218, 0.1); | |
| border: 2px dashed #64ffda; | |
| border-radius: 12px; | |
| text-align: center; | |
| color: #64ffda; | |
| cursor: pointer; | |
| transition: all 0.3s ease; | |
| font-weight: 500; | |
| } | |
| .file-label:hover { | |
| background: rgba(100, 255, 218, 0.2); | |
| transform: translateY(-2px); | |
| box-shadow: 0 4px 12px rgba(100, 255, 218, 0.2); | |
| } | |
| .upload-info { | |
| text-align: center; | |
| color: #8892b0; | |
| font-size: 0.9rem; | |
| margin-top: 1rem; | |
| padding: 0.5rem 1rem; | |
| background: rgba(17, 34, 64, 0.3); | |
| border-radius: 4px; | |
| } | |
| /* Results Section */ | |
| .result-container { | |
| background: rgba(17, 34, 64, 0.5); | |
| border: 1px solid rgba(100, 255, 218, 0.1); | |
| border-radius: 12px; | |
| padding: 3rem; | |
| margin: 3rem 0; | |
| text-align: center; | |
| box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); | |
| } | |
| .result-content { | |
| display: grid; | |
| grid-template-columns: 1fr 1fr; | |
| gap: 3rem; | |
| align-items: center; | |
| max-width: 1000px; | |
| margin: 0 auto; | |
| } | |
| .result-text-container { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| justify-content: center; | |
| padding: 2rem; | |
| background: rgba(17, 34, 64, 0.7); | |
| border-radius: 12px; | |
| border: 1px solid rgba(100, 255, 218, 0.1); | |
| } | |
| .result-heading { | |
| color: #64ffda; | |
| font-size: 2rem; | |
| margin-bottom: 2rem; | |
| text-shadow: 0 0 10px rgba(100, 255, 218, 0.3); | |
| } | |
| .result-text { | |
| font-size: 4rem; | |
| font-weight: bold; | |
| margin: 1rem 0; | |
| transition: all 0.3s ease; | |
| text-shadow: 0 0 20px rgba(255, 255, 255, 0.2); | |
| letter-spacing: 2px; | |
| } | |
| .result-text.fake { | |
| color: #ff4d4d; | |
| text-shadow: 0 0 20px rgba(255, 77, 77, 0.3); | |
| } | |
| .result-text.real { | |
| color: #4dff4d; | |
| text-shadow: 0 0 20px rgba(77, 255, 77, 0.3); | |
| } | |
| .confidence-text { | |
| color: #8892b0; | |
| font-size: 1.5rem; | |
| margin-top: 1rem; | |
| font-weight: 500; | |
| } | |
| .analysis-graph { | |
| width: 100%; | |
| height: 100%; | |
| min-height: 300px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| background: rgba(17, 34, 64, 0.3); | |
| border-radius: 12px; | |
| padding: .5rem; | |
| border: 1px solid rgba(100, 255, 218, 0.1); | |
| } | |
| .analysis-graph img { | |
| width: 100%; | |
| height: auto; | |
| max-height: 400px; | |
| object-fit: contain; | |
| border-radius: 8px; | |
| } | |
| /* Comparison Section */ | |
| .comparison-section { | |
| margin: 3rem 0; | |
| padding: 2rem; | |
| background: rgba(17, 34, 64, 0.3); | |
| border-radius: 12px; | |
| border: 1px solid rgba(100, 255, 218, 0.1); | |
| } | |
| .comparison-description { | |
| color: #8892b0; | |
| text-align: center; | |
| margin: 1rem 0 2rem; | |
| font-size: 1.1rem; | |
| } | |
| .comparison-graph { | |
| width: 100%; | |
| max-width: 800px; | |
| margin: 0 auto; | |
| background: rgba(17, 34, 64, 0.3); | |
| border-radius: 12px; | |
| padding: 1.5rem; | |
| border: 1px solid rgba(100, 255, 218, 0.1); | |
| } | |
| .comparison-graph img { | |
| width: 100%; | |
| height: auto; | |
| border-radius: 8px; | |
| } | |
| /* Analysis Details */ | |
| .analysis-details { | |
| margin: 3rem 0; | |
| padding: 2rem; | |
| background: rgba(17, 34, 64, 0.3); | |
| border-radius: 12px; | |
| border: 1px solid rgba(100, 255, 218, 0.1); | |
| } | |
| .details-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); | |
| gap: 2rem; | |
| margin-top: 2rem; | |
| } | |
| .detail-item { | |
| background: rgba(17, 34, 64, 0.5); | |
| border: 1px solid rgba(100, 255, 218, 0.1); | |
| border-radius: 12px; | |
| padding: 2rem; | |
| text-align: center; | |
| transition: all 0.3s ease; | |
| } | |
| .detail-item:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 8px 24px rgba(100, 255, 218, 0.1); | |
| border-color: rgba(100, 255, 218, 0.3); | |
| } | |
| .detail-label { | |
| display: block; | |
| color: #64ffda; | |
| font-size: 1rem; | |
| margin-bottom: 1rem; | |
| text-transform: uppercase; | |
| letter-spacing: 1px; | |
| } | |
| .detail-value { | |
| font-size: 2rem; | |
| font-weight: 700; | |
| color: #fff; | |
| text-shadow: 0 0 10px rgba(255, 255, 255, 0.2); | |
| } | |
| /* Frames Grid */ | |
| .frames-section { | |
| margin: 3rem 0; | |
| } | |
| .section-heading { | |
| color: #64ffda; | |
| font-size: 2rem; | |
| margin-bottom: 1rem; | |
| text-align: center; | |
| text-shadow: 0 0 10px rgba(100, 255, 218, 0.3); | |
| } | |
| .frames-description { | |
| color: #8892b0; | |
| text-align: center; | |
| margin-bottom: 2rem; | |
| font-size: 1.1rem; | |
| } | |
| .frames-container { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); | |
| gap: 2rem; | |
| padding: 1rem; | |
| } | |
| .frame-item { | |
| position: relative; | |
| background: rgba(17, 34, 64, 0.5); | |
| border: 1px solid rgba(100, 255, 218, 0.1); | |
| border-radius: 12px; | |
| overflow: hidden; | |
| transition: all 0.3s ease; | |
| cursor: pointer; | |
| box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); | |
| } | |
| .frame-item:hover { | |
| transform: scale(1.03); | |
| box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); | |
| border-color: rgba(100, 255, 218, 0.3); | |
| } | |
| .frame-item img { | |
| width: 100%; | |
| height: 250px; | |
| object-fit: cover; | |
| display: block; | |
| transition: all 0.3s ease; | |
| } | |
| .frame-info { | |
| position: absolute; | |
| bottom: 0; | |
| left: 0; | |
| right: 0; | |
| padding: 1rem; | |
| background: rgba(17, 34, 64, 0.9); | |
| backdrop-filter: blur(4px); | |
| transform: translateY(100%); | |
| transition: transform 0.3s ease; | |
| } | |
| .frame-item:hover .frame-info { | |
| transform: translateY(0); | |
| } | |
| .frame-number { | |
| color: #64ffda; | |
| font-weight: 600; | |
| margin: 0; | |
| font-size: 1rem; | |
| } | |
| /* Footer */ | |
| .footer { | |
| margin-top: auto; | |
| padding: 3rem 0; | |
| background: rgba(10, 25, 47, 0.95); | |
| border-top: 1px solid rgba(100, 255, 218, 0.1); | |
| } | |
| .footer-content { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| padding: 0 2rem; | |
| display: flex; | |
| justify-content: space-between; | |
| gap: 3rem; | |
| } | |
| .footer-section { | |
| flex: 1; | |
| } | |
| .footer-section h3 { | |
| color: #64ffda; | |
| margin-bottom: 1.5rem; | |
| font-size: 1.25rem; | |
| } | |
| .footer-section p { | |
| color: #8892b0; | |
| line-height: 1.6; | |
| } | |
| .footer-link { | |
| color: #8892b0; | |
| text-decoration: none; | |
| display: block; | |
| margin: 0.75rem 0; | |
| transition: all 0.3s ease; | |
| padding: 0.5rem 0; | |
| } | |
| .footer-link:hover { | |
| color: #64ffda; | |
| transform: translateX(5px); | |
| } | |
| /* Loading States */ | |
| .loading-container { | |
| display: none; | |
| flex-direction: column; | |
| align-items: center; | |
| gap: 1.5rem; | |
| margin: 2rem 0; | |
| } | |
| .loading-spinner { | |
| width: 50px; | |
| height: 50px; | |
| border: 3px solid rgba(100, 255, 218, 0.1); | |
| border-top: 3px solid #64ffda; | |
| border-radius: 50%; | |
| animation: spin 1s linear infinite; | |
| } | |
| .loading-text { | |
| color: #64ffda; | |
| font-size: 1rem; | |
| font-weight: 500; | |
| } | |
| @keyframes spin { | |
| 0% { transform: rotate(0deg); } | |
| 100% { transform: rotate(360deg); } | |
| } | |
| /* Error Message */ | |
| .error-message { | |
| color: #ff4d4d; | |
| background: rgba(255, 77, 77, 0.1); | |
| border: 1px solid #ff4d4d; | |
| padding: 1rem; | |
| border-radius: 8px; | |
| margin: 1rem 0; | |
| text-align: center; | |
| font-weight: 500; | |
| } | |
| /* Buttons */ | |
| .cta-button { | |
| display: inline-block; | |
| padding: 1rem 2.5rem; | |
| background: #64ffda; | |
| color: #1a1a1a; | |
| text-decoration: none; | |
| border-radius: 8px; | |
| font-weight: 600; | |
| font-size: 1.1rem; | |
| transition: all 0.3s ease; | |
| border: none; | |
| cursor: pointer; | |
| box-shadow: 0 4px 12px rgba(100, 255, 218, 0.2); | |
| } | |
| .cta-button:hover { | |
| background: #4cd6b3; | |
| transform: translateY(-2px); | |
| box-shadow: 0 6px 16px rgba(100, 255, 218, 0.3); | |
| } | |
| .cta-button:disabled { | |
| background: #4a5568; | |
| cursor: not-allowed; | |
| transform: none; | |
| box-shadow: none; | |
| } | |
| /* Responsive Design */ | |
| @media (max-width: 768px) { | |
| .navbar { | |
| flex-direction: column; | |
| padding: 1rem; | |
| } | |
| .navbar-nav { | |
| flex-direction: column; | |
| width: 100%; | |
| gap: 0.75rem; | |
| margin-top: 1rem; | |
| } | |
| .nav-link { | |
| width: 100%; | |
| text-align: center; | |
| } | |
| .content { | |
| padding: 1rem; | |
| } | |
| .result-content { | |
| grid-template-columns: 1fr; | |
| gap: 2rem; | |
| } | |
| .result-text { | |
| font-size: 3rem; | |
| } | |
| .confidence-text { | |
| font-size: 1.25rem; | |
| } | |
| .analysis-graph { | |
| min-height: 250px; | |
| } | |
| .footer-content { | |
| flex-direction: column; | |
| text-align: center; | |
| gap: 2rem; | |
| } | |
| .frames-container { | |
| grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); | |
| gap: 1.5rem; | |
| } | |
| .frame-item img { | |
| height: 200px; | |
| } | |
| .upload-container { | |
| padding: 1rem; | |
| } | |
| .file-input-wrapper { | |
| max-width: 100%; | |
| } | |
| .details-grid { | |
| grid-template-columns: 1fr; | |
| gap: 1.5rem; | |
| } | |
| } | |
| /* Utility Classes */ | |
| .visually-hidden { | |
| position: absolute; | |
| width: 1px; | |
| height: 1px; | |
| padding: 0; | |
| margin: -1px; | |
| overflow: hidden; | |
| clip: rect(0, 0, 0, 0); | |
| border: 0; | |
| } |