:root { --bg: #121212; --card: #1e1e1e; --text: #e0e0e0; --primary: #ffb74d; }
*, *::before, *::after { box-sizing: border-box; }

body { 
    background: var(--bg); 
    color: var(--text); 
    font-family: sans-serif; 
    padding: 20px; 
    
    max-width: 600px; 
    margin: 0 auto; 
    min-height: 100vh;           
    display: flex;               
    flex-direction: column;      
    justify-content: center;     
}

header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 20px; 
    width: 100%;
}

.back-btn { text-decoration: none; color: #888; }
h1 { margin: 0; color: var(--primary); font-size: 1.5rem; }

.card { background: var(--card); padding: 20px; border-radius: 12px; margin-bottom: 15px; width: 100%; }
label { display: block; color: #888; margin-bottom: 5px; font-size: 0.9rem; }
input, select { width: 100%; padding: 12px; background: #2d2d2d; border: 1px solid #333; color: white; border-radius: 8px; font-size: 1.1rem; }
.row { display: flex; gap: 10px; } .col-2 { flex: 2; } .col-1 { flex: 1; }
small { color: #555; font-size: 0.8rem; }

.btn-primary { 
    width: 100%; 
    padding: 15px; 
    
    margin-top: 20px; 
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    
    background: var(--primary); 
    border: none; 
    border-radius: 8px; 
    font-weight: bold; 
    color: black; 
    cursor: pointer; 
    font-size: 1.1rem; 
}

.result-box { text-align: center; margin-top: 20px; padding: 20px; background: #252525; border-radius: 12px; border: 1px solid var(--primary); width: 100%; }
.hidden { display: none; }
.big-time { font-size: 2.2rem; font-weight: bold; color: white; margin: 10px 0; }
.details { color: #aaa; font-size: 0.9rem; }
.home-btn {
    text-decoration: none;
    font-size: 1.5rem;
    padding: 5px 10px;
    background: #333;
    border-radius: 8px;
    transition: 0.2s;
}