* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #EC4899;
    --background: #F8FAFC;
    --surface: #FFF;
    --text: #1E293B;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: linear-gradient(135deg, #EC4899 0%, #8B5CF6 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

#game-container {
    width: 100%;
    max-width: 400px;
    background: var(--surface);
    border-radius: 24px;
    overflow: hidden;
}

#game-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--background);
}

.game-title {
    font-weight: 700;
    font-size: 18px;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--surface);
    border-radius: 12px;
    font-size: 18px;
    cursor: pointer;
}

#game-area {
    padding: 24px;
    text-align: center;
}

.avatar {
    font-size: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
    padding: 32px;
    background: linear-gradient(135deg, #FDF2F8 0%, #EDE9FE 100%);
    border-radius: 20px;
}

.avatar span {
    line-height: 1.2;
}

.categories {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    justify-content: center;
}

.cat-btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    background: var(--background);
    border: 2px solid #E5E7EB;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.cat-btn:hover {
    border-color: var(--primary);
}

.cat-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 24px;
    min-height: 80px;
}

.option {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    background: var(--surface);
    border: 3px solid #E5E7EB;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.option:hover {
    border-color: var(--primary);
    transform: scale(1.1);
}

.option.selected {
    border-color: var(--primary);
    background: #FDF2F8;
}

.btn-primary {
    width: 100%;
    padding: 16px;
    font-size: 18px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--primary) 0%, #8B5CF6 100%);
    border: none;
    border-radius: 16px;
    cursor: pointer;
}