* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

.header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.upload-area {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;
    margin-bottom: 30px;
}

.upload-box {
    border: 3px dashed #667eea;
    border-radius: 15px;
    padding: 60px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(102, 126, 234, 0.05);
}

.upload-box:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: #764ba2;
}

.upload-box div {
    font-size: 4rem;
    margin-bottom: 20px;
}

.upload-box h3 {
    color: #333;
    margin-bottom: 10px;
}

.upload-box p {
    color: #666;
    margin-bottom: 5px;
}

#fileInput {
    display: none;
}

.btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.premium-banner {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
    text-align: center;
}

.premium-banner h3 {
    color: #333;
    margin-bottom: 15px;
}

.loading {
    text-align: center;
    padding: 60px 20px;
}

.spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #667eea;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.result-area {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.result-header {
    text-align: center;
    margin-bottom: 30px;
}

.confidence-badge {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 15px;
}

.confidence-badge.real {
    background: #4CAF50;
    color: white;
}

.confidence-badge.fake {
    background: #f44336;
    color: white;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.metric-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.score-bar {
    background: #e0e0e0;
    border-radius: 10px;
    height: 20px;
    margin: 10px 0;
    overflow: hidden;
}

.score-fill {
    background: linear-gradient(135deg, #667eea, #764ba2);
    height: 100%;
    border-radius: 10px;
    transition: width 0.5s ease;
}

.score-value {
    font-weight: bold;
    font-size: 1.2rem;
}

.face-count {
    font-size: 2rem;
    font-weight: bold;
    color: #667eea;
}

.faces-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.face-result {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.face-score {
    font-weight: bold;
    color: #667eea;
}

.result-actions {
    text-align: center;
    margin-top: 30px;
}

.premium-btn {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
}

.feature {
    margin: 10px 0;
    font-weight: 500;
}

.feature.yes {
    color: #4CAF50;
}

.feature.no {
    color: #ccc;
}

/* Responsive design */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .upload-area {
        padding: 20px;
    }
    
    .upload-box {
        padding: 40px 15px;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
}