.blanks-body {
    background-color: #F8C8DC;
    min-height: 100vh;
}

.blanks-wrap {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 16px 40px;
}

.blanks-title {
    text-align: center;
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 700;
    margin: 8px 0 4px;
}

.blanks-instructions {
    text-align: center;
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-style: italic;
    margin: 0 0 24px;
    min-height: 28px;
}

.passage-card {
    background-color: white;
    border-radius: 14px;
    padding: 28px 32px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    margin-bottom: 16px;
}

.result-card {
    background-color: #fff6fa;
}

.passage-label {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    color: #5a3b4a;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 14px;
    text-align: center;
    font-weight: 600;
}

.passage-text {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    line-height: 1.8;
    color: #2b1a22;
    margin: 0;
    text-align: left;
}

.passage-source {
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    font-style: italic;
    color: #5a3b4a;
    margin: 14px 0 0;
    text-align: right;
}

.blank-input {
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    padding: 2px 10px;
    border: none;
    border-bottom: 2px solid #2b1a22;
    background: transparent;
    color: #2b1a22;
    outline: none;
    text-align: center;
    min-width: 80px;
}

.blank-input:focus {
    border-bottom-color: #b03a6c;
    background-color: rgba(248, 200, 220, 0.25);
}

.blank-input::placeholder {
    color: #a88a9a;
    font-style: italic;
    font-size: 15px;
}

.blank-result {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    padding: 0 6px;
    border-radius: 6px;
}

.blank-result.correct {
    color: #1f6b3a;
    background-color: #d8f0df;
}

.blank-result.wrong {
    color: #8a2f2f;
    background-color: #f7dede;
}

.blank-result.wrong .user-word {
    text-decoration: line-through;
    opacity: 0.7;
    margin-right: 6px;
    font-weight: 500;
}

.blank-result.wrong .correct-word {
    color: #1f6b3a;
}

.blanks-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 6px;
}

.blanks-btn {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 11px 26px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffffff 0%, #fce7ef 100%);
    color: #2b1a22;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(43, 26, 34, 0.18), inset 0 0 0 2px #2b1a22;
    transition: transform 0.15s, box-shadow 0.2s, background 0.2s, color 0.2s;
}

.blanks-btn:hover {
    background: linear-gradient(135deg, #2b1a22 0%, #5a3b4a 100%);
    color: #fce7ef;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(43, 26, 34, 0.28), inset 0 0 0 2px #2b1a22;
}

.blanks-btn:active {
    transform: translateY(0);
}

.blanks-btn.primary {
    background: linear-gradient(135deg, #2b1a22 0%, #5a3b4a 100%);
    color: #fce7ef;
    font-size: 20px;
    padding: 13px 34px;
}

.blanks-btn.primary:hover {
    background: linear-gradient(135deg, #5a3b4a 0%, #7a5465 100%);
    color: white;
}

@media (max-width: 600px) {
    .blanks-title { font-size: 30px; }
    .blanks-instructions { font-size: 16px; }
    .passage-card { padding: 20px 18px; }
    .passage-text { font-size: 17px; line-height: 1.75; }
    .blank-input { font-size: 16px; min-width: 70px; }
}
