body {
    background-color: #0f0c1b;
    color: #e0d6f6;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    margin: 0;
    padding: 20px;
}

header nav a {
    color: #a29bfe;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
}

header nav a.active {
    color: #ffd700;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

.question-box input {
    width: 80%;
    padding: 15px;
    border-radius: 8px;
    border: 2px solid #6c5ce7;
    background: #1e1b2e;
    color: white;
    font-size: 1rem;
    margin-bottom: 20px;
}

.cards-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.card {
    width: 90px;
    height: 140px;
    background: linear-gradient(135deg, #2d132c, #801336);
    border: 2px solid #e2b4bd;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: transform 0.2s, border-color 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

.card.selected {
    border-color: #ffd700;
    box-shadow: 0 0 15px #ffd700;
    transform: translateY(-10px);
}

button {
    background: #6c5ce7;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    cursor: pointer;
}

button:disabled {
    background: #4a475a;
    cursor: not-allowed;
}

.result-box {
    margin-top: 30px;
    padding: 20px;
    background: #1a162b;
    border-radius: 12px;
    border: 1px solid #6c5ce7;
}

.hidden { display: none; }