/* Traffic Simulator - Styles Simples */
:root {
    --coal: #1C1512;
    --coal-light: #2D221C;
    --ember: #D35400;
    --ember-dark: #A04000;
    --ember-light: #E67E22;
    --gold: #F39C12;
    --gold-dark: #D68910;
    --cream: #F9F6F1;
    --peach: #FDEBD0;
    --soft-black: #0d0d0d;
    --text-primary: #f5f0e8;
    --text-secondary: #a89e8e;
    --accent: #d35400;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
    font-family: 'Outfit', sans-serif;
    background: var(--soft-black);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
}

/* Container */
.container { max-width: 800px; margin: 0 auto; padding: 2rem; }

/* Header */
header { text-align: center; margin-bottom: 2rem; }
header h1 { 
    font-family: 'Bebas Neue', sans-serif; 
    font-size: 2.5rem; 
    margin-bottom: 0.5rem; 
    background: linear-gradient(135deg, var(--ember), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
header p { color: var(--text-secondary); font-size: 1rem; }
.subtitle { margin-top: 0.5rem; color: var(--ember-light); }

/* Main Content */
main { min-height: 60vh; }

/* Card */
.card { 
    background: var(--coal); 
    border: 1px solid var(--coal-light); 
    border-radius: 12px; 
    padding: 2rem; 
    margin: 1.5rem 0; 
}

/* Form */
.form-group { margin-bottom: 1.5rem; }
.form-group label { 
    display: block; 
    margin-bottom: 0.5rem; 
    font-weight: 500; 
    color: var(--text-secondary); 
}
.form-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--coal-light);
    border: 1px solid var(--coal-light);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s;
}
.form-group input:focus {
    outline: none;
    border-color: var(--ember);
}
.form-group input::placeholder { color: var(--text-secondary); }

.hint { 
    display: block; 
    margin-top: 0.25rem; 
    font-size: 0.875rem; 
    color: var(--text-secondary); 
}

//* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.3s;
    text-decoration: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--ember), var(--gold));
    color: var(--soft-black);
}
.btn-primary:hover { opacity: 0.9; }
.btn-secondary {
    background: transparent;
    color: var(--ember-light);
    border: 1px solid var(--ember-light);
}
.btn-secondary:hover { background: var(--ember-light); color: var(--soft-black); }

/* Result Section */
.result-section { 
    text-align: center; 
    margin: 2rem 0; 
}
.result-card { 
    max-width: 600px; 
    margin: 0 auto; 
}
.metrics { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 1rem; 
    margin-top: 1rem; 
    color: var(--text-secondary); 
}
.metric-item { 
    background: var(--coal-light); 
    padding: 0.75rem; 
    border-radius: 8px; 
    text-align: left; 
}
.metric-item strong { color: var(--text-primary); }

/* Footer */
footer { 
    margin-top: 2rem; 
    padding-top: 1rem; 
    border-top: 1px solid var(--coal-light); 
    color: var(--text-secondary); 
    font-size: 0.875rem; 
    text-align: center; 
}

/* Responsive */
@media (max-width: 480px) {
    .metrics { grid-template-columns: 1fr; }
}