body {
    margin: 0;
    font-family: "Tajawal", "Segoe UI", sans-serif;
    direction: rtl;
    background: #fff7ef;
    color: #333;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 15px;
}

.card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    padding: 24px 28px;
    max-width: 1100px;
    width: 100%;
}

h1, h2 {
    color: #ff7a00;
    margin-top: 0;
    text-align: center;
}

.btn {
    background: #ff7a00;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 10px 22px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
    text-decoration: none;
    display: inline-block;
    margin: 5px;
}

.btn:hover {
    background: #ff8f26;
    box-shadow: 0 5px 15px rgba(255,122,0,0.3);
    transform: translateY(-1px);
}

.btn-secondary {
    background: #ffffff;
    color: #ff7a00;
    border: 1px solid #ff7a00;
}

input[type="text"], select, textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #ffd0a2;
    margin-bottom: 12px;
    font-size: 14px;
    box-sizing: border-box;
}

label {
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
}

.menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.board {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
}

.genre-column {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    padding: 12px;
    width: 280px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: repeat(3, auto);
    gap: 6px;
    align-items: center;
}

.genre-center {
    grid-row: 1 / span 3;
    grid-column: 2 / 3;
    text-align: center;
}

.genre-center img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ff7a00;
    margin-bottom: 6px;
}

.genre-name {
    font-weight: 700;
    font-size: 15px;
    color: #333;
}

.q-btn {
    width: 100%;
    text-align: center;
    padding: 8px 4px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    background: #ffe0bf;
    font-weight: 600;
}

.q-btn.used {
    background: #f1f1f1;
    color: #aaaaaa;
    cursor: default;
}

.score-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
    font-weight: 700;
    color: #ff7a00;
}

form {
    margin: 0;
}