/* Grundlegende Reset-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f0f2f5;
    position: relative;
}

/* Particles.js Container */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Main Container */
.builder-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

/* Component Selector Styles */
.component-selector {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.component-group {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.component-group h3 {
    margin-bottom: 0.5rem;
    color: #2a5298;
}

select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

/* Summary Styles */
.summary {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 20px;
}

.total {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 2px solid #eee;
}

#buy-button {
    display: block;
    width: 100%;
    padding: 1rem;
    background: #00a6ff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: background 0.3s ease;
}

#buy-button:hover {
    background: #0086cc;
}

/* Price Display */
.price {
    color: #00a6ff;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    background: #1e3c72;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .builder-container {
        grid-template-columns: 1fr;
    }
    
    .summary {
        position: static;
    }
} 

/* Performance Analysis Styles */
#performance-analysis {
    margin-top: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 5px;
}

.bottleneck {
    padding: 0.5rem;
    border-radius: 5px;
    margin: 1rem 0;
    text-align: center;
    font-weight: bold;
}

.bottleneck.cpu {
    background: #ffebee;
    color: #c62828;
}

.bottleneck.gpu {
    background: #e8f5e9;
    color: #2e7d32;
}

.bottleneck.balanced {
    background: #e3f2fd;
    color: #1565c0;
}

.gaming-performance {
    margin-top: 1rem;
}

.resolution {
    margin: 1rem 0;
}

.resolution h5 {
    color: #2a5298;
    margin-bottom: 0.5rem;
}

.resolution ul {
    list-style: none;
    padding-left: 1rem;
}

.resolution li {
    margin: 0.3rem 0;
    color: #666;
}

/* Component List Styles */
.selected-components {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.component-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.component-type {
    font-weight: bold;
    color: #2a5298;
    width: 120px;
}

.component-name {
    flex: 1;
    margin: 0 1rem;
}

.component-price {
    color: #00a6ff;
    font-weight: bold;
} 