body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f5f5f5;
}

.container {
    width: 100%;
    min-height: 100vh;
    padding: 40px 20px;
    box-sizing: border-box;
}

header {
    text-align: center;
    margin-bottom: 50px;
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
}

.brand-logo {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.brand-logo img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.vs {
    font-size: 48px;
    font-weight: 700;
    color: #333;
}

.subtitle {
    font-size: 18px;
    color: #666;
    margin: 0;
}

.loading-container {
    text-align: center;
    padding: 100px 20px;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid #e0e0e0;
    border-top-color: #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto 50px;
}

.category-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.category-card h3 {
    margin: 0 0 25px 0;
    font-size: 20px;
    color: #333;
}

.comparison-bar {
    display: flex;
    height: 50px;
    border-radius: 25px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.bar-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.6s ease;
}

.bar-segment.coke {
    background: linear-gradient(135deg, #f40009 0%, #c00008 100%);
}

.bar-segment.pepsi {
    background: linear-gradient(135deg, #004b93 0%, #003366 100%);
}

.metrics {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.metric {
    text-align: center;
}

.metric-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.metric-value {
    font-size: 24px;
    font-weight: 700;
}

.metric-value.coke {
    color: #f40009;
}

.metric-value.pepsi {
    color: #004b93;
}

.winner-badge {
    display: inline-block;
    background: #FFD700;
    color: #333;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 10px;
}

.summary-section {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.summary-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
}

.winner-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.winner-brand {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

.winner-score {
    font-size: 28px;
    color: #666;
    margin-bottom: 20px;
}

.winner-trophy {
    font-size: 80px;
    margin-bottom: 20px;
}

.insight {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

@media (max-width: 768px) {
    .logo-section {
        gap: 20px;
    }
    
    .brand-logo {
        width: 80px;
        height: 80px;
    }
    
    .vs {
        font-size: 32px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

