
body { 
    background: linear-gradient(180deg, #FFF5FB 0%, #F5EEFF 50%, #FFF5F8 100%); 
    min-height: 100vh; 
    position: relative;
    overflow-x: hidden;
}

.card-shadow { box-shadow: 0 2px 12px rgba(0,0,0,0.06); }

.btn-shadow { 
    box-shadow: 0 6px 24px rgba(124,77,255,0.35);
}
.btn-shadow:hover {
    box-shadow: 0 8px 32px rgba(124,77,255,0.45);
}

.tab-active {
    background: linear-gradient(135deg, #9B7BFF 0%, #7C4DFF 100%);
    color: white;
}

.word-card {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 32px rgba(123, 77, 255, 0.08);
    border: 1px solid rgba(123, 77, 255, 0.12);
}

.btn-primary {
    background: linear-gradient(135deg, #7C4DFF, #B388FF);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(124,77,255,0.3);
}

.btn-primary:hover { transform: scale(1.02); box-shadow: 0 6px 16px rgba(124,77,255,0.4); }
.btn-primary:active { transform: scale(0.98); }
.btn-primary:disabled { background: linear-gradient(135deg, #ccc, #ddd); box-shadow: none; cursor: not-allowed; }


.btn-secondary {
    background: #ffffff;
    color: #6B7280;
    border: 1.5px solid #E5E7EB;
    box-shadow: none;
    transition: all .15s ease;
}
.btn-secondary:active {
    background: #F9FAFB;
    transform: scale(0.98);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
}

.modal-box {
    background: white;
    border-radius: 24px;
    padding: 24px;
    min-width: 240px;
    max-width: 360px;
    margin: 0 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}