Spaces:
Sleeping
Sleeping
| 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%); | |
| color: #8892b0; | |
| min-height: 100vh; | |
| } | |
| code { | |
| font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', | |
| monospace; | |
| } | |
| #root { | |
| min-height: 100vh; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .nav { | |
| backdrop-filter: blur(10px); | |
| -webkit-backdrop-filter: blur(10px); | |
| border-bottom: 1px solid rgba(100, 255, 218, 0.1); | |
| } | |
| .nav ul { | |
| display: flex; | |
| justify-content: center; | |
| gap: 3rem; | |
| margin: 0; | |
| padding: 1.5rem 0; | |
| } | |
| .nav li { | |
| color: #64ffda; | |
| transition: all 0.3s ease; | |
| } | |
| .nav li:hover { | |
| color: #00ffd5; | |
| background: rgba(100, 255, 218, 0.1); | |
| } | |
| .button { | |
| background: transparent; | |
| color: #64ffda; | |
| border: 2px solid #64ffda; | |
| padding: 1rem 2rem; | |
| border-radius: 8px; | |
| font-weight: 600; | |
| cursor: pointer; | |
| transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| } | |
| .button:hover { | |
| background: rgba(100, 255, 218, 0.1); | |
| transform: translateY(-2px); | |
| box-shadow: 0 4px 12px rgba(100, 255, 218, 0.2); | |
| } | |
| .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; | |
| } | |
| .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; | |
| } | |
| .feature-card { | |
| background: rgba(17, 34, 64, 0.5); | |
| border: 1px solid rgba(100, 255, 218, 0.1); | |
| border-radius: 8px; | |
| padding: 2rem; | |
| transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| } | |
| .feature-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); | |
| } | |
| .analysis-graph { | |
| background: rgba(17, 34, 64, 0.3); | |
| border: 1px solid rgba(100, 255, 218, 0.1); | |
| border-radius: 8px; | |
| padding: 1rem; | |
| margin: 2rem 0; | |
| height: 400px; | |
| } | |
| /* New styles for frame display */ | |
| .frames-container { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); | |
| gap: 1.5rem; | |
| margin: 2rem 0; | |
| } | |
| .frame-item { | |
| background: rgba(17, 34, 64, 0.5); | |
| border: 1px solid rgba(100, 255, 218, 0.1); | |
| border-radius: 8px; | |
| overflow: hidden; | |
| transition: all 0.3s ease; | |
| } | |
| .frame-item:hover { | |
| transform: scale(1.05); | |
| box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); | |
| } | |
| .frame-item img { | |
| width: 100%; | |
| height: 200px; | |
| object-fit: cover; | |
| display: block; | |
| } | |
| .frame-info { | |
| padding: 1rem; | |
| text-align: center; | |
| } | |
| .frame-number { | |
| color: #64ffda; | |
| font-weight: 600; | |
| margin: 0; | |
| } | |
| .result-container { | |
| background: rgba(17, 34, 64, 0.5); | |
| border: 1px solid rgba(100, 255, 218, 0.1); | |
| border-radius: 8px; | |
| padding: 2rem; | |
| margin: 2rem 0; | |
| text-align: center; | |
| } | |
| .result-heading { | |
| color: #64ffda; | |
| font-size: 1.5rem; | |
| margin-bottom: 1rem; | |
| } | |
| .result-text { | |
| font-size: 2.5rem; | |
| font-weight: bold; | |
| margin: 1rem 0; | |
| } | |
| .result-text.fake { | |
| color: #ff4d4d; | |
| } | |
| .result-text.real { | |
| color: #4dff4d; | |
| } | |
| .confidence-text { | |
| color: #8892b0; | |
| font-size: 1.1rem; | |
| } | |
| .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: 2rem; | |
| } | |
| .footer-section { | |
| flex: 1; | |
| } | |
| .footer-section h3 { | |
| color: #64ffda; | |
| margin-bottom: 1rem; | |
| } | |
| .footer-section p { | |
| color: #8892b0; | |
| line-height: 1.6; | |
| } | |
| @media (max-width: 768px) { | |
| .nav ul { | |
| gap: 1.5rem; | |
| padding: 1rem 0; | |
| } | |
| .content { | |
| padding: 1rem; | |
| } | |
| .footer-content { | |
| flex-direction: column; | |
| text-align: center; | |
| } | |
| .frames-container { | |
| grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); | |
| gap: 1rem; | |
| } | |
| .frame-item img { | |
| height: 150px; | |
| } | |
| } | |
| /* MOBILE FIXES (Ignored by Desktop PCs) */ | |
| @media (max-width: 768px) { | |
| /* 1. Fix the Header Text */ | |
| .hero h1 { | |
| font-size: clamp(2rem, 8vw, 3.5rem); | |
| } | |
| /* 2. Fix the Navbar Overlap */ | |
| .navbar-nav { | |
| overflow-x: auto; | |
| white-space: nowrap; | |
| padding-bottom: 5px; | |
| -webkit-overflow-scrolling: touch; | |
| justify-content: flex-start; | |
| } | |
| /* 3. Fix the Image/Video Upload Box */ | |
| .form-container, .file-input-wrapper { | |
| width: 100%; | |
| max-width: 400px; | |
| box-sizing: border-box; | |
| } | |
| /* 4. Fix the Pie Chart */ | |
| .pie-chart-container { | |
| width: 100%; | |
| max-width: 350px; | |
| aspect-ratio: 1 / 1; | |
| height: auto; | |
| } | |
| /* 5. Add the "Native App" Feel */ | |
| body { | |
| -webkit-tap-highlight-color: transparent; | |
| -webkit-touch-callout: none; | |
| user-select: none; | |
| } | |
| } |