.tuning-simulator {
    background: #0a0a0a;
    min-height: 100vh;
    padding: 2rem;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
}

.simulator-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    padding-top: 80px;
}

.car-display {
    position: relative;
    background: linear-gradient(45deg, #111, #1a1a1a);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.2);
    overflow: hidden;
}

.car-image {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

/* Performance Stats */
.stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.stat-box {
    background: rgba(255, 69, 0, 0.1);
    border: 1px solid #ff4500;
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.3);
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: #ff4500;
    margin: 0.5rem 0;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Parts Selection */
.parts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.part-button {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 0.5rem;
    padding: 1rem;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.part-button.active {
    background: linear-gradient(45deg, #ff4500, #ff6347);
    border-color: #ff4500;
}

.part-button:hover {
    background: #222;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 69, 0, 0.2);
}

.part-name {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.part-stats {
    font-size: 0.8rem;
    color: #888;
}

.part-stats span {
    color: #ff4500;
}

/* Performance Chart */
.chart-container {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 1rem;
    padding: 1rem;
    margin-top: 2rem;
    border: 1px solid #333;
}

/* Visual Effects */
.effects-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.turbo-flames {
    position: absolute;
    bottom: 30%;
    right: 10%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.turbo-flames.active {
    opacity: 1;
}

/* Animations */
@keyframes glow {
    0% { box-shadow: 0 0 5px #ff4500; }
    50% { box-shadow: 0 0 20px #ff4500; }
    100% { box-shadow: 0 0 5px #ff4500; }
}

.glow-effect {
    animation: glow 2s infinite;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .simulator-container {
        grid-template-columns: 1fr;
    }
    
    .parts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .parts-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
}